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] Acer Nitro 5 AN515-58 BIOS Unl...
Last Post: justuhno
Today 11:18 PM
» Replies: 44
» Views: 61749
[REQUEST] Acer Nitro 5 AN515-58-75NM BIO...
Last Post: justuhno
Today 11:05 PM
» Replies: 0
» Views: 44
Enabling VT-d/VT-x on MSI Cubi 2 Bios
Last Post: janlugt
Today 07:12 PM
» Replies: 5
» Views: 264
Compaq Presario R3000 add Turion and Sem...
Last Post: IrRaziel
Today 03:23 PM
» Replies: 7
» Views: 223
BIOS for HP 250 G1 F45 Unlocked working ...
Last Post: Schibeki
Today 03:23 PM
» Replies: 0
» Views: 52
Can i cross-flash my...
Last Post: fr4nk1sh
Today 03:19 AM
» Replies: 2
» Views: 167
Any way to unbrick a chinese Windows Tab...
Last Post: huguito
Yesterday 11:09 PM
» Replies: 0
» Views: 131
[REQUEST] Lenovo ThinkCentre M73z (FGKTx...
Last Post: lolo84
11-30-2025 05:35 PM
» Replies: 7
» Views: 212
BIOS Mod for Sony VGC RA940G (ASUS P5LP-...
Last Post: DTDeniz
11-30-2025 03:15 PM
» Replies: 10
» Views: 2700
[Request] Packard Bell EasyNote TE11HC B...
Last Post: MasTx
11-30-2025 06:23 AM
» Replies: 121
» Views: 91821
[REQUEST] Acer Nitro 5 AN515-54 BIOS Unl...
Last Post: Gamepak40
11-30-2025 03:53 AM
» Replies: 142
» Views: 104256
[Request] Dell Precision M6800 A16 BIOS ...
Last Post: bytehat248
11-29-2025 05:04 PM
» Replies: 2
» Views: 267
[REQUEST] Lenovo IdeaPad Y410p & Y510p (...
Last Post: aleks57
11-29-2025 02:19 PM
» Replies: 100
» Views: 82835
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: acidmonkey
11-29-2025 09:42 AM
» Replies: 131
» Views: 133142
[REQUEST] Lenovo Thinkpad X230(i) (G2ETx...
Last Post: Dudu2002
11-29-2025 09:37 AM
» Replies: 1097
» Views: 646056
[REQUEST] Lenovo IdeaPad Gaming 3 15IMH0...
Last Post: Dudu2002
11-29-2025 09:35 AM
» Replies: 63
» Views: 44182
[REQUEST] Lenovo G580 (5ECNxxWW) Whiteli...
Last Post: xantio
11-29-2025 05:46 AM
» Replies: 1727
» Views: 1009794
[REQUEST] Acer Aspire A515-52(G) BIOS Un...
Last Post: VissarionovichIvan
11-27-2025 05:16 PM
» Replies: 7
» Views: 6791
[REQUEST] Lenovo IdeaPad U310 & U410 (65...
Last Post: elventorro
11-27-2025 03:08 PM
» Replies: 1786
» Views: 791667
[REQUEST] Acer Switch 10 SW5-012 BIOS Un...
Last Post: pedro691
11-27-2025 12:53 PM
» Replies: 45
» Views: 27139

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)