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
Need help deleting account
Last Post: kalgran
Today 02:49 AM
» Replies: 0
» Views: 71
[REQUEST] Medion Akoya Bios E1232t BIOS ...
Last Post: korek644pl
Yesterday 05:22 PM
» Replies: 13
» Views: 13845
[REQUEST] Acer Aspire A715-75G BIOS Unlo...
Last Post: Ogyrecheg
Yesterday 02:35 PM
» Replies: 7
» Views: 5003
[solved] How to add AHCI mod to ASUS "P5...
Last Post: antiyou12
Yesterday 11:47 AM
» Replies: 46
» Views: 100753
[REQUEST] Gigabyte G5 MD BIOS Unlock
Last Post: darkz808
12-27-2025 10:17 PM
» Replies: 6
» Views: 2517
BIOS for the Fujitsu Celsius R930 with t...
Last Post: maxtox
12-27-2025 08:01 PM
» Replies: 0
» Views: 189
[REQUEST] Lenovo B50-70 (9DCNxxWW) White...
Last Post: kadirb5
12-26-2025 01:44 PM
» Replies: 179
» Views: 105019
[REQUEST] Lenovo T520 (8AETxxWW) Whiteli...
Last Post: greg84
12-26-2025 04:42 AM
» Replies: 147
» Views: 129917
[REQUEST] Lenovo G780 (5ECNxxWW) Whiteli...
Last Post: pashashilov87
12-24-2025 04:34 PM
» Replies: 883
» Views: 532026
Compaq Presario R3000, HP Pavilion zv500...
Last Post: DeathBringer
12-24-2025 07:21 AM
» Replies: 30
» Views: 2787
[REQUEST] Acer Nitro 5 AN515-57 BIOS Unl...
Last Post: ChesterNut999
12-23-2025 06:30 PM
» Replies: 21
» Views: 11240
[REQUEST] Acer Nitro 5 AN515-54 BIOS Unl...
Last Post: Dudu2002
12-23-2025 03:59 PM
» Replies: 144
» Views: 108876
sblocco opzioni avanzate hp dv6 2125el
Last Post: Fabber73
12-23-2025 02:00 PM
» Replies: 0
» Views: 268
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: Elpresidentemiko
12-22-2025 04:06 PM
» Replies: 48
» Views: 22684
[REQUEST] Lenovo Y50-70 (9ECNxxWW) White...
Last Post: Moro_85
12-22-2025 03:41 PM
» Replies: 1776
» Views: 868150
Clevo P775TM1-G BIOS
Last Post: 645712584
12-22-2025 02:02 PM
» Replies: 161
» Views: 122831
[REQUEST] Unlock Bios for Acer Predator ...
Last Post: SuBDivisions
12-22-2025 11:35 AM
» Replies: 10
» Views: 10920
[Accepting Requests] HP Probook 4530s WL...
Last Post: epx
12-21-2025 10:24 AM
» Replies: 2
» Views: 1729
[REQUEST] Lenovo G500 (78CNxxWW) Whiteli...
Last Post: eQualuZe
12-21-2025 05:13 AM
» Replies: 1228
» Views: 570035
Unlock BIOS Asus Rog Flow X16 GV601VV.31...
Last Post: olixp
12-20-2025 04:58 PM
» Replies: 0
» Views: 317

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)