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] Lenovo G710 BIOS Whitelist Rem...
Last Post: Ritter-Dussel
Yesterday 03:43 PM
» Replies: 499
» Views: 266372
[REQUEST] Medion Deputy P40 unlock / dis...
Last Post: haavod
Yesterday 01:17 PM
» Replies: 2
» Views: 191
[REQUEST] Lenovo P580 (5ECNxxWW) Whiteli...
Last Post: Amazing333
Yesterday 04:51 AM
» Replies: 172
» Views: 86287
[REQUEST] Lenovo B50-70 (9DCNxxWW) BIOS ...
Last Post: Dudu2002
Yesterday 02:04 AM
» Replies: 74
» Views: 52569
HP P5BW-LA : All 1066 Quad Core Support ...
Last Post: Pepetruen0
Yesterday 12:05 AM
» Replies: 4
» Views: 6831
[REQUEST] HP Compaq 6730b Whitelist Remo...
Last Post: Rapadura
12-07-2025 06:38 PM
» Replies: 10
» Views: 6058
Asrock b660m steel legend, Help Add supp...
Last Post: ffrog911
12-07-2025 11:29 AM
» Replies: 2
» Views: 237
GA-H81M-DS2 rev. 2.1 Above 4g Decode
Last Post: NoobMaster2699
12-07-2025 06:59 AM
» Replies: 0
» Views: 120
[REQUEST] Lenovo helix 1 type 3xxx 's bi...
Last Post: maestropen
12-07-2025 05:53 AM
» Replies: 0
» Views: 152
[REQUEST] Lenovo ThinkPad T510 (6METxxWW...
Last Post: deepTeNk
12-06-2025 04:21 AM
» Replies: 59
» Views: 44406
[Request] Acer Aspire TC-281 B350 Ryzen ...
Last Post: Blagg2
12-05-2025 05:31 PM
» Replies: 0
» Views: 182
[Request] Fujitsu Celcius H770 Whitelist...
Last Post: kalu
12-05-2025 11:24 AM
» Replies: 0
» Views: 135
Compaq Presario R3000, HP Pavilion zv500...
Last Post: DeathBringer
12-04-2025 01:13 PM
» Replies: 28
» Views: 1363
hp 14-dq6002na raised power limits wante...
Last Post: Idkwhatimdoing
12-04-2025 01:02 AM
» Replies: 0
» Views: 182
[REQUEST] Toshiba Satellite C855-1QF-PSC...
Last Post: DeathBringer
12-03-2025 08:53 AM
» Replies: 1
» Views: 269
[REQUEST] Lenovo G50-70 (9ACNxxWW) White...
Last Post: rayz5
12-03-2025 06:14 AM
» Replies: 246
» Views: 136321
[REQUEST] Acer Nitro 5 AN515-58 BIOS Unl...
Last Post: Dudu2002
12-03-2025 03:07 AM
» Replies: 45
» Views: 62543
Enabling VT-d/VT-x on MSI Cubi 2 Bios
Last Post: janlugt
12-02-2025 07:12 PM
» Replies: 5
» Views: 385
BIOS for HP 250 G1 F45 Unlocked working ...
Last Post: Schibeki
12-02-2025 03:23 PM
» Replies: 0
» Views: 208
Can i cross-flash my...
Last Post: fr4nk1sh
12-02-2025 03:19 AM
» Replies: 2
» Views: 258

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)