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
Lenovo M800 type 10FX Xeon support.
Last Post: Monoploxy
Today 09:38 AM
» Replies: 2
» Views: 2100
Ms-6309 v2.0 bios tualatin
Last Post: evasive
Yesterday 12:11 PM
» Replies: 10
» Views: 1218
Asus k52Jr Unlocked Bios Options
Last Post: SplatPie
Yesterday 12:19 AM
» Replies: 4
» Views: 17801
Acer Veriton M261 R01-B1 With Unlocked O...
Last Post: Žilina
05-01-2026 05:40 AM
» Replies: 4
» Views: 9724
[REQUEST] BIOS Unlock for Gigabyte G5-KD...
Last Post: summationx
05-01-2026 05:34 AM
» Replies: 12
» Views: 8601
[REQUEST] Gigabyte AORUS 15X ASF Bios Un...
Last Post: Tomek98543
05-01-2026 02:21 AM
» Replies: 1
» Views: 209
Came across some dells
Last Post: jodyjolee
04-29-2026 08:39 PM
» Replies: 2
» Views: 219
Lenovo T430 clean Bios needed
Last Post: Goxy junior
04-29-2026 12:18 PM
» Replies: 2
» Views: 2917
LENOVO G770 "I forgot my BIOS password."
Last Post: murat_alb
04-28-2026 12:40 PM
» Replies: 0
» Views: 227
Dell N7010
Last Post: iRome0
04-28-2026 08:28 AM
» Replies: 48
» Views: 61212
[REQUEST] Asus ROG Strix G615JMR BIOS Un...
Last Post: filipemerotto
04-28-2026 07:58 AM
» Replies: 0
» Views: 170
AMI BIOS modding nvme-boot
Last Post: averes
04-28-2026 05:03 AM
» Replies: 0
» Views: 216
Dell Optiplex 3050 upgrade to 9th gen
Last Post: DeathBringer
04-28-2026 03:32 AM
» Replies: 1
» Views: 209
HP Pro 3330 (H-POPEYE-H61-uATX): Ivy Bri...
Last Post: Hooper
04-28-2026 02:14 AM
» Replies: 39
» Views: 10111
Dell Vostro 3450 Advanced Options unlock...
Last Post: ĐINH CHÍ MINH
04-27-2026 07:37 PM
» Replies: 184
» Views: 181540
[REQUEST] Lenovo G780 (5ECNxxWW) Whiteli...
Last Post: Lenovo_ENjoyer
04-26-2026 10:56 AM
» Replies: 889
» Views: 585632
[REQUEST] HP Pavilion 15-cc1xx Insyde F....
Last Post: Memakorn
04-26-2026 09:04 AM
» Replies: 0
» Views: 275
[Request] hp pavillion dv4-1431us whitel...
Last Post: HpDV4
04-25-2026 09:07 PM
» Replies: 0
» Views: 327
[REQUEST] Gigabyte EG31M-S2 Rev 2.0 AHCI...
Last Post: Gigaboyz
04-25-2026 06:12 PM
» Replies: 0
» Views: 228
[REQUEST] Lenovo IdeaPad Y410p & Y510p (...
Last Post: Yeremei
04-25-2026 02:05 PM
» Replies: 100
» Views: 91087

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)