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] Mod Adaptec ARCCONF to allow x...
Last Post: Teetrinker
09-13-2025 10:14 AM
» Replies: 0
» Views: 1562
[REQUEST] Lenovo G580 (5ECNxxWW) Whiteli...
Last Post: Princeneo
09-12-2025 09:23 AM
» Replies: 1726
» Views: 897595
[REQUEST] Lenovo Ideapad 100-14IBD & 100...
Last Post: Dudu2002
09-12-2025 02:22 AM
» Replies: 26
» Views: 23753
[REQUEST] Acer Nitro 5 AN515-58 BIOS Unl...
Last Post: iku56m22v
09-11-2025 10:02 AM
» Replies: 37
» Views: 26736
3rd Party RAM Mod For HP EliteDesk 705 G...
Last Post: AmyGrrl
09-10-2025 09:40 AM
» Replies: 0
» Views: 3358
MSI PR210 AHCI
Last Post: iday82
09-09-2025 04:40 PM
» Replies: 0
» Views: 3585
Honor Magicbook D14 Ryzen 4800H
Last Post: Altermann
09-09-2025 05:04 AM
» Replies: 0
» Views: 3896
[REQUEST] Thinkpad X60S WiFi WhiteList r...
Last Post: Vigor89
09-08-2025 04:46 PM
» Replies: 0
» Views: 4600
[REQUEST] GIGABYTE G6 MF (2024) Bios Unl...
Last Post: lovesickugh
09-07-2025 09:15 PM
» Replies: 3
» Views: 8555
Gigabyte GA-G33-DS3R: USB Boot
Last Post: dinix
09-04-2025 10:37 AM
» Replies: 0
» Views: 6485
Optiplex 7060 SFF 9th Generation Intel C...
Last Post: DeathBringer
08-31-2025 01:59 AM
» Replies: 68
» Views: 38414
Bios Powered classmate
Last Post: MosheNessi
08-28-2025 08:08 AM
» Replies: 0
» Views: 6523
[REQUEST] Lenovo Thinkpad X12 Detachable...
Last Post: Kokoko123
08-28-2025 12:48 AM
» Replies: 0
» Views: 6745
[REQUEST] Unlock advanced options to HP ...
Last Post: huguito
08-26-2025 02:57 PM
» Replies: 0
» Views: 6907
[REQUEST] Dell Precision T3500 BIOS Unlo...
Last Post: DEX0ZEN
08-25-2025 01:30 PM
» Replies: 45
» Views: 51959
[REQUEST] Samsung NP900X4D AES-NI enable...
Last Post: Vesly
08-23-2025 05:25 PM
» Replies: 63
» Views: 47584
Acer Veriton X2640G Xeon support
Last Post: hercares
08-19-2025 03:21 PM
» Replies: 5
» Views: 2532
[Request] Lenovo v520s sff unit bios sup...
Last Post: DeathBringer
08-17-2025 02:05 PM
» Replies: 15
» Views: 3404
[Success] [Bios Mod] Dell XPS L321X EFI ...
Last Post: tuwumo
08-17-2025 11:37 AM
» Replies: 18
» Views: 30063
Samsung N140 JA05IT AHCI
Last Post: Ranmamez
08-12-2025 05:22 PM
» Replies: 0
» Views: 7382

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: 4 Guest(s)