Forum RSS Feed Follow @ Twitter Follow On Facebook

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[-]
Welcome
You have to register before you can post on our site.

Username:


Password:





[-]
Latest Threads
[REQUEST] Dell Inspiron 5675 CPU Upgrade
Last Post: ngocthienta
Today 03:26 AM
» Replies: 5
» Views: 6000
(Help Please) CQ61-109TU Modded SP51527 ...
Last Post: Jay71
Yesterday 09:48 PM
» Replies: 0
» Views: 91
[Request] Samsung np-rv511 bios unlock
Last Post: TemmieTheThicc
Yesterday 06:11 PM
» Replies: 1
» Views: 114
ThinkPad T470 Whitelist removal and adva...
Last Post: krisgdc
Yesterday 03:10 PM
» Replies: 0
» Views: 123
[Request] HP Erica2 8643 BIOS F.41 - Unl...
Last Post: becca
Yesterday 10:13 AM
» Replies: 0
» Views: 141
BIOS Lock variable reverts to 0x1
Last Post: ransack
Yesterday 12:56 AM
» Replies: 1
» Views: 1668
[REQUEST] HP Compaq NX9420 Whitelist Rem...
Last Post: DubbsPi
05-19-2026 07:23 PM
» Replies: 2
» Views: 3537
[REQUEST] Lenovo G580 (5ECNxxWW) Whiteli...
Last Post: chimeara
05-19-2026 09:10 AM
» Replies: 1730
» Views: 1141387
IRQ in Custom BIOS
Last Post: ngocthienta
05-19-2026 07:54 AM
» Replies: 1
» Views: 227
[REQUEST] Lenovo G50-70 (9ACNxxWW) White...
Last Post: Puentes
05-19-2026 01:55 AM
» Replies: 255
» Views: 160047
Gigabyte AORUS 5 (KB/SB/MB) BIOS Unlock
Last Post: MigeruAnheru
05-18-2026 07:30 PM
» Replies: 29
» Views: 17398
[REQUEST] Acer Aspire 3 A315-53 BIOS Unl...
Last Post: multimahn
05-18-2026 07:11 PM
» Replies: 6
» Views: 7045
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: pauljamesdaviz
05-18-2026 10:47 AM
» Replies: 505
» Views: 308817
ASUS-TUF GAMING X570-PLUS (WI-FI)
Last Post: natanaelece
05-18-2026 09:47 AM
» Replies: 0
» Views: 223
[Request] Lenovo g40-30 (80fy) whitelist...
Last Post: Matmadu
05-17-2026 11:35 AM
» Replies: 6
» Views: 6428
Fujitsu Esprimo D756/E9X Intel Xeon
Last Post: DeathBringer
05-17-2026 07:24 AM
» Replies: 8
» Views: 568
[Success] [Bios Mod] Dell XPS L321X EFI ...
Last Post: JohnG123
05-17-2026 06:29 AM
» Replies: 21
» Views: 43079
[REQUEST] Lenovo G570 (40CNxxWW) Whiteli...
Last Post: IcLeNd
05-17-2026 04:36 AM
» Replies: 174
» Views: 191383
AMI BIOS on de-branded laptop
Last Post: duckydan
05-16-2026 08:56 AM
» Replies: 0
» Views: 358
Lenovo T420 Ivy Bridge Support - i7-3540...
Last Post: spithink
05-15-2026 06:23 PM
» Replies: 39
» Views: 70342

Run BIOS at QEMU
#1
Good day.
I have the task of run real BIOS at QEMU. I set Q35 motherboards BIOS instead of seabios. QEMU made a few hundreds or thousands instructions and hang up during IO ports initialization.
Is somebody do something like this?

P.S.I use QEMU with Intel Q35 chipset support.
find
quote
#2
I am very well aware that this is an old topic, but I keep getting google results to this exact thread.
And maybe this might be usefull or well known already:

Qemu stands for Quick Emulator.
To run some Bioses in qemu use a variant of:
Code:
qemu-system-i386.exe -M pc -bios "C:\Users\nicov\Desktop\ROMDump\bios test\final.bin"


[Image: SOH3oeO.png]

For linux:
Code:
qemu-system-i386 -M pc -bios ~/qemu/bios.bin

change the M option (Machine) to match your bioses hardware more closely. in my case, an old "Award BootBlock Bios v1.0" was not happy with q35 nor with plain isapc.

An empty machine does not contain anything, no cpu, no isa or pci busses. I think the purpose of that is to run bare code on a specific CPU if you specify one.

Together with GDB or an other debugger you might be able to step, trace and walk in your dumped bios. but this is "advanced" debugging, and Ill asume you are capable of doing so yourself.

I dislike threads popping up with no usufull replies and I do have an answer for it. (The rules dont state I cant or shouldn't necrobump threads) Hope this helps or give someone a helpfull idea. Also, if you dump a PowerPC firmware, you can run that too Wink just try qemu-system-ppc or qemu-system-ppc64 Wink

Have a good and awesome day Big Grin
www find
quote
#3
Quote:you might be able to step, trace and walk
But what can I do when getting request on hardware registers not described in datasheet? Or it have another dependence factor.

Bios ASUS AT5NM10T-I, AMI post code 1A(check refresh timings?): used hpet timer, MCHBAR Registers 0x5D8, 0x561+4*x, word 0x58C, 0x248, r/w to/from ram address 0x0 to for set 0x560+4*x, x=0-7 - need trying emulated this?
So in Emulator skips very specified things, like chipset fsb strap, any info about MCHBAR Register 0x0C00 do you seeing anywhere ? Also skipped clockgen, sio with hw monitoring, smbus, internal vga card, spi flash ... even cmos in bochs was 128 byte.
Quote:I have the task of run real BIOS at QEMU.
Possible only with skip some code and might change registers values.
find
quote


Forum Jump:


Users browsing this thread: 2 Guest(s)