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] Unlocking BIOS for iMedia D361...
Last Post: SplatPie
Today 04:20 AM
» Replies: 0
» Views: 33
[Request] Lenovo ThinkPad x100e Whitelis...
Last Post: Komzpa
Today 04:10 AM
» Replies: 2
» Views: 6865
[REQUEST] Lenovo Thinkpad W540 & W541 (G...
Last Post: nameerfk1
Yesterday 09:20 PM
» Replies: 51
» Views: 38445
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: Hooper
Yesterday 08:59 PM
» Replies: 138
» Views: 143700
Asus Rog Strix Scar 15 G533QS/G733QS Key...
Last Post: rakecikas
Yesterday 02:55 PM
» Replies: 2
» Views: 2855
[Unlocked] Acer Aspire One D255E
Last Post: clearest
Yesterday 02:38 AM
» Replies: 2
» Views: 5107
[REQUEST] Sony Vaio VPCEH & VPCEJ series...
Last Post: shum25
03-01-2026 12:56 PM
» Replies: 245
» Views: 192885
Lenovo ThinkPad Edge E530: I'm trying to...
Last Post: MadBerry
03-01-2026 12:40 PM
» Replies: 0
» Views: 121
[REQUEST] Sony Vaio SVT131 (R1xx0D4) BIO...
Last Post: dumbpartition
03-01-2026 11:54 AM
» Replies: 3
» Views: 3017
Asus G513RC Bios hidden settings unlock
Last Post: ormcra
03-01-2026 04:51 AM
» Replies: 0
» Views: 140
ACER Aspire 7736ZG BIOS microcode update...
Last Post: DeathBringer
03-01-2026 02:04 AM
» Replies: 11
» Views: 536
Lenovo Legion 5 15ITH6H – “Device Freeze...
Last Post: laret
02-28-2026 09:32 AM
» Replies: 5
» Views: 272
sony vaio VGN-Z56MG insydeH20 bios unloc...
Last Post: DevilEpic2
02-28-2026 08:37 AM
» Replies: 0
» Views: 188
Modded BIOS for HP 6730b to support Q900...
Last Post: DeathBringer
02-27-2026 05:00 AM
» Replies: 6
» Views: 563
Asus P5Q Deluxe EFI
Last Post: maoshen1234
02-27-2026 12:55 AM
» Replies: 7
» Views: 18732
[REQUEST] Lenovo IdeaPad P400, P500, Z40...
Last Post: anto77562
02-26-2026 11:39 PM
» Replies: 686
» Views: 362790
[REQUEST] Lenovo Legion 5 (EFCNxxWW) BIO...
Last Post: SQ0O
02-26-2026 06:29 PM
» Replies: 53
» Views: 40213
[REQUEST] Lenovo G500(s) (7BCNxxWW) BIOS...
Last Post: INARIUS
02-26-2026 03:34 PM
» Replies: 65
» Views: 50052
[REQUEST] Lenovo T440(S) (GJETxxWW) Whit...
Last Post: cnv
02-26-2026 01:59 PM
» Replies: 502
» Views: 290697
[REQUEST] Lenovo Y50-70 (9ECNxxWW) BIOS ...
Last Post: krankbg
02-26-2026 10:31 AM
» Replies: 1970
» Views: 1202649

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: 1 Guest(s)