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] Clevo P751ZM (mobo P750ZM-G) B...
Last Post: EuReKa-LoS
Yesterday 08:55 AM
» Replies: 5
» Views: 2661
Dell Inspiron 3910 BIOS Password Removal...
Last Post: 5518
07-02-2026 06:27 AM
» Replies: 0
» Views: 265
Modded bios m3-581tg wont flash
Last Post: gazan
07-02-2026 06:15 AM
» Replies: 57
» Views: 51752
[Request] Rog g22ch Bios Unlock (PL1, pl...
Last Post: Echelon36
07-01-2026 08:21 PM
» Replies: 0
» Views: 271
[REQUEST] Acer Aspire One D270 BIOS Unlo...
Last Post: StrasneQvirki
06-28-2026 01:56 PM
» Replies: 31
» Views: 32918
[REQUEST] Alienware M15 R7 i7-12700H BIO...
Last Post: Carl Camargos
06-28-2026 10:25 AM
» Replies: 0
» Views: 420
Hp 8510w fix quad core support Q9000 in ...
Last Post: DeathBringer
06-28-2026 10:24 AM
» Replies: 11
» Views: 912
[REQUEST] Lenovo Z50-70 & Z40-70 (9BCNxx...
Last Post: nir4w1
06-28-2026 10:05 AM
» Replies: 759
» Views: 453595
Acer E1-510 z5we3 bios
Last Post: dpdr
06-28-2026 07:56 AM
» Replies: 0
» Views: 391
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: Dudu2002
06-27-2026 05:11 PM
» Replies: 48
» Views: 38305
asus z10pe-d8 ws bifurcation request
Last Post: nesvet
06-27-2026 01:35 PM
» Replies: 1
» Views: 948
ASUS X101CH EMT64 Request
Last Post: asusx101ch
06-26-2026 06:37 AM
» Replies: 35
» Views: 40925
Lenovo ThinkPad T430 bypass downflashing...
Last Post: techalive
06-25-2026 02:18 PM
» Replies: 0
» Views: 376
[REQUEST] Lenovo G580 (5ECNxxWW) Whiteli...
Last Post: Dudu2002
06-25-2026 01:17 AM
» Replies: 1731
» Views: 1161751
[REQUEST] Lenovo IdeaPad S400 (6DCNxxWW)...
Last Post: nigdev
06-24-2026 08:57 PM
» Replies: 337
» Views: 210393
[REQUEST] Lenovo B50-70 (9DCNxxWW) White...
Last Post: polmpl
06-24-2026 12:37 PM
» Replies: 180
» Views: 120088
Lenovo T480 Bios Mod
Last Post: Dudu2002
06-24-2026 01:20 AM
» Replies: 9
» Views: 7960
[Request] Dell Vostro 3550 - Keyboard an...
Last Post: viniGdF
06-23-2026 03:53 PM
» Replies: 0
» Views: 589
[Unlock Reqest]TFH GK5CP6Z(as Thirdwave ...
Last Post: recovery24
06-23-2026 07:50 AM
» Replies: 9
» Views: 5878
[Request] MSI H310M PRO-VDH PLUS MS-7C09...
Last Post: DeathBringer
06-22-2026 07:10 AM
» Replies: 3
» Views: 886

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)