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
Add CPU support for Coffee Lake Touch Dy...
Last Post: DeathBringer
Today 02:17 AM
» Replies: 1
» Views: 717
[REQUEST] Acer Aspire 5742(G,Z) BIOS Unl...
Last Post: Ghost-White-Guy
Yesterday 10:26 AM
» Replies: 170
» Views: 107624
[REQUEST] Laptop doesn't see EGPU becaus...
Last Post: Артур
Yesterday 07:00 AM
» Replies: 0
» Views: 1312
[request] Asus ROG strix G15 2022 (g513r...
Last Post: daxui
10-08-2026 12:04 PM
» Replies: 1
» Views: 3534
[REQUEST] HP EliteBook 8470p Whitelist R...
Last Post: snowc
10-06-2026 12:44 PM
» Replies: 8
» Views: 9182
[REQUEST[ Acer Nitro 5 AN515-46 BIOS Unl...
Last Post: lifeislife93
10-05-2026 03:03 PM
» Replies: 7
» Views: 8728
Add CPU support Lenovo M715s
Last Post: PapuhDave
10-05-2026 12:35 PM
» Replies: 9
» Views: 14343
Lenovo IdeaPad Gaming 3 15IAH7 BIOS unlo...
Last Post: yigmayo
10-04-2026 03:07 PM
» Replies: 0
» Views: 249
[REQUEST] Lenovo ThinkPad Edge E330 (H3E...
Last Post: kolnew
10-04-2026 08:48 AM
» Replies: 653
» Views: 425615
Dell Optiplex 5070 SFF i9 9900K
Last Post: DeathBringer
10-04-2026 01:43 AM
» Replies: 4
» Views: 3839
Extracting BIOS - Samsung Galaxy Book 3 ...
Last Post: mirroreduser
10-02-2026 09:12 AM
» Replies: 0
» Views: 531
[REQUEST] HP Pavilion g6-1b87cl WiFi Whi...
Last Post: AkiNakano6055
10-02-2026 12:32 AM
» Replies: 0
» Views: 330
Asrock Z890-C Bios Mod
Last Post: xul8tr
10-01-2026 12:51 PM
» Replies: 0
» Views: 721
[REQUEST] Lenovo G580 (5ECNxxWW) Whiteli...
Last Post: frozik1990
10-01-2026 11:55 AM
» Replies: 1735
» Views: 1227510
[REQUEST] Acer Aspire VN7-791(G) BIOS Un...
Last Post: Whiter
10-01-2026 06:19 AM
» Replies: 92
» Views: 119699
Modifying Aptio V BIOS to disable non-fa...
Last Post: KappaDev
09-30-2026 09:16 PM
» Replies: 0
» Views: 385
[Unlocked] Acer Aspire One D255E
Last Post: ananinami
09-29-2026 01:26 PM
» Replies: 3
» Views: 6996
FANPEEC S210 i9-10980HK
Last Post: geometryczny@tlen.pl
09-29-2026 07:14 AM
» Replies: 0
» Views: 617
[REQUEST] Lenovo Z410 & Z510 (8DCNxxWW) ...
Last Post: anntoxx
09-28-2026 02:28 PM
» Replies: 504
» Views: 310572
[REQUEST] Lenovo Y70-70 (9ECNxxWW) White...
Last Post: Dooglas
09-27-2026 11:31 AM
» Replies: 92
» Views: 62222

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)