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] Lenovo B590 (H1ETxxWW) Whiteli...
Last Post: Yamri1991
Today 03:38 PM
» Replies: 802
» Views: 560917
[REQUEST] Lenovo Thinkpad T410s (6UETxxW...
Last Post: Tractor777
Today 11:46 AM
» Replies: 33
» Views: 45800
[REQUEST] Acer Nitro 5 AN515-54 BIOS Unl...
Last Post: DopeSkinup
Yesterday 03:09 PM
» Replies: 146
» Views: 122635
Add CPU support Lenovo M715s
Last Post: blast32
Yesterday 10:44 AM
» Replies: 8
» Views: 10527
[REQUEST] HP Elitebook 8440p Whitelist R...
Last Post: Blue_xyz
Yesterday 04:51 AM
» Replies: 73
» Views: 58000
[REQUEST] HP ProBook 4530s Whitelist Rem...
Last Post: vadilio
05-13-2026 05:30 PM
» Replies: 49
» Views: 41720
[REQUEST] Lenovo Thinkpad E130 (H4ETxxWW...
Last Post: Darook
05-13-2026 12:21 PM
» Replies: 496
» Views: 266796
[REQUEST] Acer Aspire 5730ZG BIOS Unlock
Last Post: adbbda
05-12-2026 02:08 PM
» Replies: 29
» Views: 17446
[REQUEST] B760M C V3 BIOS Unlock Power L...
Last Post: browboy
05-12-2026 12:44 AM
» Replies: 0
» Views: 1563
AMI BIOS modding nvme-boot
Last Post: Elmurley
05-11-2026 09:05 PM
» Replies: 1
» Views: 2278
HP EliteDesk 800 G2 SFF & 7th gen CPU
Last Post: Lixkote
05-11-2026 09:48 AM
» Replies: 14
» Views: 14604
BIOS MOD FOR DELL N7110 UNLOCKED UEFI BO...
Last Post: ataigun
05-10-2026 02:38 PM
» Replies: 40
» Views: 82404
[REQUEST] Acer TravelMate 5760(G,Z) BIOS...
Last Post: lev0706
05-09-2026 06:45 AM
» Replies: 50
» Views: 37674
[REQUEST] Lenovo IdeaPad 3 15ALC6 (GLCNx...
Last Post: pomagaj
05-07-2026 12:30 PM
» Replies: 12
» Views: 17173
Badcaps forum bios file download not pos...
Last Post: spithink
05-05-2026 04:52 PM
» Replies: 0
» Views: 1634
[REQUEST] Lenovo B590 (H9ETxxWW) Whiteli...
Last Post: Illia
05-05-2026 03:45 AM
» Replies: 684
» Views: 386620
BIOS for the Fujitsu Celsius R930 with t...
Last Post: Golfmate
05-04-2026 02:28 PM
» Replies: 2
» Views: 2750
[REQUEST] Acer Aspire A715-75G BIOS Unlo...
Last Post: itzzkobra
05-04-2026 12:15 PM
» Replies: 9
» Views: 8680
Lenovo M800 type 10FX Xeon support.
Last Post: Monoploxy
05-03-2026 09:38 AM
» Replies: 2
» Views: 3753
Ms-6309 v2.0 bios tualatin
Last Post: evasive
05-02-2026 12:11 PM
» Replies: 10
» Views: 3305

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: