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] Acer TravelMate 5760(G,Z) BIOS...
Last Post: quibic
Today 01:03 AM
» Replies: 49
» Views: 26447
Asus P8Z77-M RT-d Unlock
Last Post: cbaldwin1
Yesterday 04:21 PM
» Replies: 0
» Views: 171
[REQUEST] Lenovo Yoga 530-14ARR (8MCNxxW...
Last Post: Dudu2002
Yesterday 02:04 PM
» Replies: 4
» Views: 3115
[REQUEST] Gigabyte GA-X99P-SLI BIOS with...
Last Post: DKisCRUSHIN
Yesterday 09:50 AM
» Replies: 0
» Views: 143
Acer Aspire 5920G - Requesting Modded BI...
Last Post: EbrahimSiami
07-10-2025 02:56 PM
» Replies: 1
» Views: 328
Acer A517-51G-58S5 - Complete BIOS image...
Last Post: Humboldt
07-10-2025 01:07 PM
» Replies: 2
» Views: 190
i7 2860QM how to raise power limit?
Last Post: DeathBringer
07-10-2025 07:03 AM
» Replies: 10
» Views: 489
Lenovo Yoga Pro 7 14ASP9 Bios Unlock
Last Post: Dudu2002
07-10-2025 03:02 AM
» Replies: 3
» Views: 300
[RESOLVED] Help! BIOS for Asus GL503VS R...
Last Post: AmosNZ
07-10-2025 12:09 AM
» Replies: 5
» Views: 2989
[REQUEST] Acer Predator Helios 500 PH517...
Last Post: TeckToe
07-09-2025 11:29 PM
» Replies: 4
» Views: 1494
Gigabyte G6X 9MG insydeH2O IOS Unlock
Last Post: Zzhheennyyaa
07-09-2025 04:37 PM
» Replies: 2
» Views: 630
[SOLVED] Lenovo IdeaPad 510-15ISK - BIOS...
Last Post: outsydeh2o
07-09-2025 09:39 AM
» Replies: 1
» Views: 340
(new to forums) searching for aid/direct...
Last Post: adorable_yangire
07-09-2025 12:11 AM
» Replies: 0
» Views: 276
[SOLVED] Change Serial Number, UUID, Mac...
Last Post: dsdn1
07-08-2025 07:55 PM
» Replies: 10
» Views: 16895
[REQUEST] Lenovo G50-45 BIOS Unlock
Last Post: szakiz
07-08-2025 05:36 PM
» Replies: 49
» Views: 53484
[REQUEST] Lenovo Yoga 7 Pro 82Y7 unlock
Last Post: Dudu2002
07-08-2025 07:13 AM
» Replies: 1
» Views: 274
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: Dudu2002
07-08-2025 07:12 AM
» Replies: 491
» Views: 217871
Lenovo Y550 BIOS Unlocking (Advanced Men...
Last Post: kentsergeo
07-08-2025 12:15 AM
» Replies: 5
» Views: 1177
[REQUEST] Acer Aspire 8930(G) BIOS Unloc...
Last Post: Ilias manolopoulos
07-07-2025 01:52 PM
» Replies: 58
» Views: 43743
ASUS M11AD > Haswell Refresh
Last Post: JCY1962
07-07-2025 12:40 PM
» Replies: 22
» Views: 7793

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)