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
Foxconn 865G7MF Pinmodded Xeon Support
Last Post: DeathBringer
Today 02:57 AM
» Replies: 6
» Views: 215
Lenovo G460 G560 Z460 Z560 NWL ADV MC
Last Post: Clecio1
Yesterday 04:59 PM
» Replies: 5
» Views: 6118
X550VXK BIOS Unlock Request
Last Post: laret
Yesterday 03:01 PM
» Replies: 3
» Views: 352
BIOS P09ABE and 32GB RAM with 2 16GB mod...
Last Post: japa543
Yesterday 02:43 PM
» Replies: 4
» Views: 786
[REQUEST] Resizable BAR for Lenovo m720q...
Last Post: elfloko
Yesterday 01:29 PM
» Replies: 1
» Views: 1549
[REQUEST] Lenovo IdeaPad Gaming 3 15IMH0...
Last Post: Dudu2002
Yesterday 09:07 AM
» Replies: 56
» Views: 41776
ASUS X501A CPU 1000M > 3210M upgrade cl...
Last Post: senorjuan2244
Yesterday 01:53 AM
» Replies: 4
» Views: 2529
[REQUEST] Acer E5-551(G) BIOS Unlock
Last Post: Hlebka
11-06-2025 07:59 AM
» Replies: 51
» Views: 39816
[GUIDE] How to modify AMI MSI BIOS to un...
Last Post: Juancho
11-06-2025 05:26 AM
» Replies: 57
» Views: 359982
asus ga503qm bios
Last Post: delav
11-06-2025 02:35 AM
» Replies: 0
» Views: 159
[REQUEST] Microcode modification a HP Pr...
Last Post: DeathBringer
11-06-2025 12:14 AM
» Replies: 1
» Views: 225
**Request** ASUS H81M-R Moded BIOS
Last Post: FourTwenty42
11-05-2025 05:37 PM
» Replies: 0
» Views: 190
[request] Asus ROG strix G15 2021 (g513q...
Last Post: delav
11-05-2025 11:07 AM
» Replies: 15
» Views: 16353
disabling amd prochot with moded bios.
Last Post: vorajeeah
11-03-2025 09:27 AM
» Replies: 2
» Views: 921
[REQUEST] ThinkPad X1 Carbon (20A7 & 20A...
Last Post: neax61
11-03-2025 05:46 AM
» Replies: 87
» Views: 51087
[REQUEST] Lenovo G50-80 (B0CNxxWW) White...
Last Post: Leonardosena
11-02-2025 04:17 PM
» Replies: 110
» Views: 66480
bios f.02 Help!!!
Last Post: karbonid777
11-02-2025 12:21 PM
» Replies: 0
» Views: 290
[REQUEST] Lenovo Ideadpad N581 Whitelist...
Last Post: Dudu2002
11-01-2025 02:07 PM
» Replies: 238
» Views: 116597
[REQUEST] Lenovo ThinkPad T480s (N22ETxx...
Last Post: Dudu2002
11-01-2025 06:31 AM
» Replies: 25
» Views: 15507
[REQUEST] Lenovo G500 (78CNxxWW) BIOS Un...
Last Post: dump_bios_gg
11-01-2025 04:59 AM
» Replies: 290
» Views: 202343

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)