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
Ms-6309 v2.0 bios tualatin
Last Post: carlos24_
Today 04:02 PM
» Replies: 0
» Views: 15
Problem with intel DX79SR
Last Post: Tomyx85
Today 03:57 PM
» Replies: 8
» Views: 66
[REQUEST] Lenovo G400S (7BCNxxWW) Whitel...
Last Post: blawstem
Today 03:53 PM
» Replies: 220
» Views: 144987
Packard Bell Aloh@
Last Post: moltensoftware
Today 10:31 AM
» Replies: 2
» Views: 3602
[REQUEST] Acer Aspire 7560(G) BIOS Unloc...
Last Post: Slavvvva
Today 09:14 AM
» Replies: 33
» Views: 26275
Working Dell E5440 will not flash BIOS
Last Post: DannoXYZ
Yesterday 08:19 PM
» Replies: 2
» Views: 2482
[REQUEST] Acer Aspire 5742(G,Z) BIOS Unl...
Last Post: charlyholland
Yesterday 10:36 AM
» Replies: 169
» Views: 86923
[REQUEST] Lenovo Ideapad S410p (89CNxxWW...
Last Post: vothcito
Yesterday 03:36 AM
» Replies: 43
» Views: 31569
[REQUEST] Lenovo Thinkpad X230 Tablet (G...
Last Post: spithink
04-18-2026 09:24 PM
» Replies: 355
» Views: 259743
Fujitsu D3061-A1 & Xeon E3-1245
Last Post: Nikandros
04-18-2026 02:31 PM
» Replies: 11
» Views: 1514
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: miant
04-18-2026 12:20 PM
» Replies: 154
» Views: 159220
[REQUEST] Lenovo IdeaPad L340 (BGCNxxWW)...
Last Post: Triple_A
04-18-2026 07:02 AM
» Replies: 108
» Views: 74429
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: Dudu2002
04-17-2026 11:55 AM
» Replies: 51
» Views: 28077
Acer Veriton M4620G Slic 2.1 Request
Last Post: rouger0831
04-17-2026 03:10 AM
» Replies: 5
» Views: 7030
[REQUEST] Lenovo B590 (H1ETxxWW) Whiteli...
Last Post: steberrr
04-16-2026 01:07 PM
» Replies: 800
» Views: 544149
GA-M68M-S2P (rev. 1.0) F5 BIOS unlock
Last Post: TheExplorer
04-16-2026 12:50 PM
» Replies: 17
» Views: 25260
[Request] Unlock Bios for Asus TUF FX505...
Last Post: antonio1985
04-16-2026 08:26 AM
» Replies: 12
» Views: 14587
[Request] Panasonic Toughbook CF-30K (MK...
Last Post: Yoshi128k
04-15-2026 03:45 PM
» Replies: 0
» Views: 994
[REQUEST] Lenovo Thinkpad T440p (GLETxxW...
Last Post: Dudu2002
04-15-2026 10:57 AM
» Replies: 532
» Views: 334096
[Request] Dell Inspiron N5010 A15 Full U...
Last Post: smnghosh
04-15-2026 06:08 AM
» Replies: 24
» Views: 38350

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)