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 B590 unlock the checking original...
Last Post: leecher1337
Today 04:10 AM
» Replies: 40
» Views: 47663
(Request) Veriton M4660G B360H5-M14 unlo...
Last Post: gpsparth
Today 01:16 AM
» Replies: 0
» Views: 59
Compaq Presario R3000, HP Pavilion zv500...
Last Post: DeathBringer
Yesterday 04:03 PM
» Replies: 32
» Views: 3952
GPU upgrading on All in One PC and BIOS ...
Last Post: DigitalGhast
Yesterday 07:42 AM
» Replies: 0
» Views: 112
[REQUEST] Lenovo IdeaPad L340 (BGCNxxWW)...
Last Post: richardlll
02-05-2026 07:16 PM
» Replies: 105
» Views: 67531
[REQUEST] Lenovo G480 (5ECNxxWW) Bios Un...
Last Post: Eudes Jandrey
02-05-2026 04:12 PM
» Replies: 18
» Views: 20407
BIOS for the Fujitsu Celsius R930 with t...
Last Post: michaelvonwollbach
02-05-2026 02:19 PM
» Replies: 1
» Views: 521
[Request] Whitelist removal Lenovo Think...
Last Post: Master-DJ
02-05-2026 01:33 PM
» Replies: 10
» Views: 6725
[REQUEST] Lenovo Yoga 2 Pro (76CNxxWW) W...
Last Post: Katalizatorius
02-05-2026 01:08 PM
» Replies: 723
» Views: 524305
[Request] Asus Tuf Gaming FX505DY BIOS U...
Last Post: kapeaddic
02-05-2026 05:11 AM
» Replies: 2
» Views: 2640
[Request] HP Pavilion zv6000/Compaq Pres...
Last Post: the_snakegod
02-04-2026 05:38 PM
» Replies: 19
» Views: 5602
[REQUEST] Lenovo Ideapad 520-15IKB (4WCN...
Last Post: OOKAMI
02-04-2026 02:29 PM
» Replies: 0
» Views: 126
[REQUEST] Lenovo V540-24IWL AIO BIOS Whi...
Last Post: Dudu2002
02-04-2026 03:48 AM
» Replies: 1
» Views: 249
Gigabyte AORUS 5 (KB/SB/MB) BIOS Unlock
Last Post: Dudu2002
02-04-2026 03:47 AM
» Replies: 27
» Views: 14542
[REQUEST] Machenike S15C BIOS Unlock
Last Post: Dudu2002
02-04-2026 03:46 AM
» Replies: 5
» Views: 3491
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: Dudu2002
02-04-2026 03:43 AM
» Replies: 503
» Views: 280725
[Request] Dell Optiplex 3090 Mini to sup...
Last Post: numToStr
02-04-2026 03:39 AM
» Replies: 4
» Views: 248
X280 Bios unlocking
Last Post: Robi51
02-04-2026 01:42 AM
» Replies: 0
» Views: 140
Intel SDM logo removal
Last Post: Mt17249
02-04-2026 01:00 AM
» Replies: 0
» Views: 140
HP Envy Phoenix 810-002er bios mod
Last Post: ScorpionTMMC
02-04-2026 12:48 AM
» Replies: 0
» Views: 145

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)