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] Microcode support on cpu A8 76...
Last Post: boblemagnifique
Today 07:17 AM
» Replies: 0
» Views: 12
New Members Say Hi Here
Last Post: boblemagnifique
Today 06:14 AM
» Replies: 162
» Views: 265202
[REQUEST] Lenovo ThinkPad Edge E330 (H3E...
Last Post: Dudu2002
Today 04:03 AM
» Replies: 651
» Views: 338304
Lenovo G460 G560 Z460 Z560 NWL ADV MC
Last Post: ArkuS
Yesterday 09:37 AM
» Replies: 10
» Views: 6696
[REQUEST] Acer Nitro 5 AN515-54 BIOS Unl...
Last Post: Dudu2002
Yesterday 03:45 AM
» Replies: 139
» Views: 99657
[REQUEST] Lenovo G510 (79CNxxWW) Whiteli...
Last Post: Dudu2002
Yesterday 03:43 AM
» Replies: 601
» Views: 351763
HP Elitebook 8540w Microcode for I7 920X...
Last Post: blackcat1996@
Yesterday 03:25 AM
» Replies: 7
» Views: 479
ASUS X501A CPU 1000M > 3210M upgrade cl...
Last Post: ngocthienta
11-12-2025 11:16 PM
» Replies: 5
» Views: 2852
Help Acer Aspire 15
Last Post: mvlaurentiu
11-12-2025 06:41 PM
» Replies: 0
» Views: 364
[REQUEST] Acer Exstensa 5220 cpu mod
Last Post: DeathBringer
11-12-2025 04:09 PM
» Replies: 5
» Views: 387
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: Gumpween
11-12-2025 03:45 PM
» Replies: 497
» Views: 257360
[REQUEST] Lenovo IdeaPad L340 (BGCNxxWW)...
Last Post: sam4011
11-12-2025 01:37 PM
» Replies: 100
» Views: 58179
[REQUEST] Lenovo L340-15API & L340-17API...
Last Post: Dudu2002
11-12-2025 10:24 AM
» Replies: 12
» Views: 8666
[REQUEST] Lenovo G580 (62CNxxWW) Whiteli...
Last Post: pupa57
11-12-2025 07:28 AM
» Replies: 818
» Views: 459089
Locate BIOS chip on DKL50 LA-E802P Rev:1...
Last Post: valerio_vanni
11-11-2025 08:29 PM
» Replies: 0
» Views: 160
[Success] [Bios Mod] Dell XPS L321X EFI ...
Last Post: wimmme
11-11-2025 10:55 AM
» Replies: 19
» Views: 38767
[REQUEST] Acer Nitro 5 AN515-55 BIOS Unl...
Last Post: mimouzunov
11-11-2025 10:37 AM
» Replies: 100
» Views: 81389
Asus A8JR / Z99J - T7200 CPU - confirmed
Last Post: Longmao0219
11-11-2025 10:16 AM
» Replies: 1
» Views: 3943
Samsung R60 plus
Last Post: Debilix4441
11-11-2025 09:01 AM
» Replies: 15
» Views: 17187
[REQUEST] Lenovo Legion Y540 (BHCNxxWW) ...
Last Post: fgonz
11-11-2025 08:22 AM
» Replies: 18
» Views: 10169

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)