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] HP G62-100, -200, -300 & -400 ...
Last Post: JetstreamSam
Today 08:57 PM
» Replies: 53
» Views: 29663
[REQUEST] Lenovo G700 (7ACNxxWW) Whiteli...
Last Post: Dudu2002
Today 04:42 AM
» Replies: 164
» Views: 103707
TerraMaster F2-221 BIOS MOD
Last Post: sd1898
Yesterday 02:38 PM
» Replies: 2
» Views: 7825
Dell 5285, bios 1.23.0 downgrade unlock
Last Post: drukman
Yesterday 06:18 AM
» Replies: 0
» Views: 123
Rampage V Extreme Bios
Last Post: Stipularbirch
01-18-2026 11:20 PM
» Replies: 1
» Views: 1258
[Request] HP 3300 Pro MT Bios Unlock/Mod
Last Post: manu69xyz
01-18-2026 07:12 PM
» Replies: 36
» Views: 36104
[Request] Unlock the BIOS HP ProDesk 40...
Last Post: manu69xyz
01-18-2026 06:57 PM
» Replies: 12
» Views: 13138
LG Gram BIOS modding
Last Post: Aqualung
01-18-2026 11:20 AM
» Replies: 1
» Views: 183
[REQUEST] Huawei Matebook 14 Core Ultra ...
Last Post: Ikrom_1
01-18-2026 10:52 AM
» Replies: 0
» Views: 206
[REQUEST] Lenovo B50-70 (9DCNxxWW) BIOS ...
Last Post: billibons
01-18-2026 09:52 AM
» Replies: 75
» Views: 54621
Latest Sony VAIO SVS13A17GBB (SVS131 ser...
Last Post: mirroreduser
01-17-2026 03:54 PM
» Replies: 0
» Views: 198
[REQUEST] Sony Vaio VPC-EE (R0210Z5) Adv...
Last Post: qwertyu123
01-17-2026 11:44 AM
» Replies: 58
» Views: 37562
Foxconn P4M8907SA-RS2H Intel Core 2 Duo ...
Last Post: acquamaster
01-16-2026 04:20 PM
» Replies: 2
» Views: 273
[REQUEST] Lenovo G400S (7BCNxxWW) Whitel...
Last Post: RyzerLenovoG400S
01-16-2026 02:30 PM
» Replies: 219
» Views: 136511
Asus F80Q
Last Post: megvadulthangya
01-16-2026 02:30 PM
» Replies: 3
» Views: 6429
[REQUEST] MSI MS-16F2 Barebone BIOS Unlo...
Last Post: den384
01-16-2026 10:51 AM
» Replies: 4
» Views: 6685
[REQUEST] Lenovo G50-70 (9ACNxxWW) White...
Last Post: ploukop
01-16-2026 03:41 AM
» Replies: 250
» Views: 143213
[REQUEST] Lenovo Ideapad Z710 (7FCNxxWW)...
Last Post: SomePCUser
01-16-2026 01:47 AM
» Replies: 229
» Views: 184996
[REQUEST] Acer Nitro 5 AN517-54 BIOS Unl...
Last Post: alexandrmd
01-15-2026 10:56 AM
» Replies: 31
» Views: 13972
[REQUEST] Acer Aspire E1-531(G) BIOS Unl...
Last Post: 0rkan
01-14-2026 08:43 PM
» Replies: 103
» Views: 73618

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)