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] Asus Zenbook (UM535QE) Bios M...
Last Post: Bravo6
Today 03:41 AM
» Replies: 0
» Views: 189
OptiPlex 360 380 760 780 960 Xeon LGA 77...
Last Post: LoFabio
Today 03:38 AM
» Replies: 265
» Views: 330587
[REQUEST] Asus G614JV BIOS Unlock
Last Post: Mrgraysky
Today 01:02 AM
» Replies: 0
» Views: 128
[REQUEST] HP Compaq nx6120 WiFi Whitelis...
Last Post: Maxinator500
Yesterday 09:24 PM
» Replies: 1
» Views: 202
[REQUEST] Acer Nitro 5 AN517-52 BIOS Unl...
Last Post: Dudu2002
Yesterday 03:50 AM
» Replies: 24
» Views: 10540
[REQUEST] Acer Nitro ANV15-51 BIOS Unloc...
Last Post: Dudu2002
Yesterday 01:14 AM
» Replies: 3
» Views: 197
[REQUEST] Lenovo Yoga S940-14IIL (BQCNxx...
Last Post: Dudu2002
07-15-2025 03:09 AM
» Replies: 1
» Views: 371
[REQUEST] Lenovo G400S (7BCNxxWW) Whitel...
Last Post: helrobsil
07-14-2025 09:10 PM
» Replies: 217
» Views: 112438
[REQUEST] Lenovo Ideapad S510p (89CNxxWW...
Last Post: Dudu2002
07-14-2025 12:04 PM
» Replies: 181
» Views: 92048
[REQUEST] GA-8I865GME-775-RH (rev. 3.9) ...
Last Post: DeathBringer
07-14-2025 01:48 AM
» Replies: 3
» Views: 631
i7 2860QM how to raise power limit?
Last Post: DeathBringer
07-13-2025 07:43 AM
» Replies: 12
» Views: 891
[REQUEST] Dell Wyse 3040: CSM enable for...
Last Post: mm400
07-13-2025 05:58 AM
» Replies: 1
» Views: 809
[REQUEST] Acer TravelMate 5760(G,Z) BIOS...
Last Post: quibic
07-12-2025 01:03 AM
» Replies: 49
» Views: 26882
Asus P8Z77-M RT-d Unlock
Last Post: cbaldwin1
07-11-2025 04:21 PM
» Replies: 0
» Views: 561
[REQUEST] Lenovo Yoga 530-14ARR (8MCNxxW...
Last Post: Dudu2002
07-11-2025 02:04 PM
» Replies: 4
» Views: 3265
[REQUEST] Gigabyte GA-X99P-SLI BIOS with...
Last Post: DKisCRUSHIN
07-11-2025 09:50 AM
» Replies: 0
» Views: 578
Acer Aspire 5920G - Requesting Modded BI...
Last Post: EbrahimSiami
07-10-2025 02:56 PM
» Replies: 1
» Views: 535
Acer A517-51G-58S5 - Complete BIOS image...
Last Post: Humboldt
07-10-2025 01:07 PM
» Replies: 2
» Views: 643
Lenovo Yoga Pro 7 14ASP9 Bios Unlock
Last Post: Dudu2002
07-10-2025 03:02 AM
» Replies: 3
» Views: 660
[RESOLVED] Help! BIOS for Asus GL503VS R...
Last Post: AmosNZ
07-10-2025 12:09 AM
» Replies: 5
» Views: 3107

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)