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
samsung np700z5c-s02ub bios mod add memo...
Last Post: DeathBringer
Today 03:39 AM
» Replies: 1
» Views: 93
[Request] Acer Predator Helios 18 (PH18-...
Last Post: the_vulture90
Yesterday 08:34 AM
» Replies: 0
» Views: 159
Samsung Chronos NP770 NP870 disable disc...
Last Post: faeterov
Yesterday 07:07 AM
» Replies: 6
» Views: 1064
Gigabyte GA-6RX: Tualatin Support
Last Post: dm-
Yesterday 04:01 AM
» Replies: 0
» Views: 133
[REQUEST] Lenovo ThinkPad Edge E420 & E5...
Last Post: gianluca220
01-05-2026 06:47 PM
» Replies: 92
» Views: 66583
[REQUEST] Acer Aspire 5738(G,Z) BIOS Unl...
Last Post: endyacer
01-05-2026 05:22 PM
» Replies: 7
» Views: 8373
[REQUEST] Lenovo IdeaPad P400, P500, Z40...
Last Post: Dudu2002
01-05-2026 02:45 PM
» Replies: 685
» Views: 347819
[REQUEST] Lenovo Legion Y9000X (16IRX9) ...
Last Post: pahgom
01-04-2026 04:00 PM
» Replies: 0
» Views: 191
Fatality Asrock 990fx killer/3.1 TPM 2.0...
Last Post: Menace57
01-04-2026 01:38 PM
» Replies: 0
» Views: 140
Geforce7050M-M V2.0 with Phenom II x4 95...
Last Post: Vlad94
01-04-2026 09:07 AM
» Replies: 14
» Views: 2918
[REQUEST] GIGABYTE G5 MF BIOS Unlock
Last Post: tcp
01-04-2026 08:11 AM
» Replies: 4
» Views: 215
Asus Rog G531GW Unlocked BIOS
Last Post: Thanathos
01-03-2026 01:55 PM
» Replies: 24
» Views: 12112
BIOS for IBASE Mainboard MB995VF-0
Last Post: alex1023
01-03-2026 10:33 AM
» Replies: 0
» Views: 179
[REQUEST] Lenovo G480 (5ECNxxWW) Whiteli...
Last Post: ajrrjerauser
01-02-2026 01:48 PM
» Replies: 103
» Views: 73935
[REQUEST]Whitelist removal DELL XPS 9570...
Last Post: koda.shojix
01-02-2026 11:05 AM
» Replies: 0
» Views: 196
GMKtec K6 (AMI Aptio V BIOS) – User pass...
Last Post: Halo
01-02-2026 04:16 AM
» Replies: 0
» Views: 218
[Request] Dell 17R Inspiron 5720-6709
Last Post: FrostyDay
01-01-2026 02:21 PM
» Replies: 1
» Views: 227
[REQUEST] Lenovo Z410 & Z510 (8DCNxxWW) ...
Last Post: Dudu2002
01-01-2026 01:21 PM
» Replies: 504
» Views: 260749
OptiPlex 360 380 760 780 960 Xeon LGA 77...
Last Post: bpm199
01-01-2026 12:31 PM
» Replies: 266
» Views: 365206
[REQUEST] Acer PT715-51 (Triton 700) ins...
Last Post: Dudu2002
01-01-2026 11:12 AM
» Replies: 29
» Views: 20232

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)