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] Lenovo L540 (J4ETxxWW) Whiteli...
Last Post: mache
Today 05:36 AM
» Replies: 57
» Views: 8315
[REQUEST] Bios Unlock Asus ROG GL552VW
Last Post: tsampos1993
Today 01:29 AM
» Replies: 119
» Views: 70024
[REQUEST] Lenovo Ideapad 320-15ISK White...
Last Post: arbdlp
Yesterday 02:33 PM
» Replies: 3
» Views: 2247
[REQUEST] Lenove Yoga 3 14 80JH Whitelis...
Last Post: Dudu2002
Yesterday 06:14 AM
» Replies: 26
» Views: 11974
[Success] [Bios Mod] Dell XPS L321X EFI ...
Last Post: Benson123
Yesterday 06:07 AM
» Replies: 16
» Views: 2740
MPM NOT VALID Zbook Fury G8
Last Post: costin83
Yesterday 04:19 AM
» Replies: 0
» Views: 73
need help with account
Last Post: UchihaRecker
09-25-2024 05:49 PM
» Replies: 0
» Views: 78
[REQUEST] Toshiba Satellite L650 WhiteLi...
Last Post: Cobalt027
09-25-2024 12:41 PM
» Replies: 14
» Views: 5397
LG X130 Unlock Bios for Wifi Adapter
Last Post: Mert Serdar
09-25-2024 08:31 AM
» Replies: 0
» Views: 147
[REQUEST] Lenovo IdeaPad L340 (BGCNxxWW)...
Last Post: alihashemi1313
09-25-2024 04:20 AM
» Replies: 75
» Views: 23565
Redmi book 15 pro - bios - working scree...
Last Post: fsztacheta
09-24-2024 04:20 PM
» Replies: 0
» Views: 244
Dell XPS 9570 No TPM issue
Last Post: naquaada
09-24-2024 08:12 AM
» Replies: 0
» Views: 223
[REQUEST] Acer Nitro 5 AN515-54 BIOS Unl...
Last Post: TekNando
09-24-2024 07:08 AM
» Replies: 110
» Views: 37902
MSI PRO B650-S Wifi Board
Last Post: Maxinator500
09-24-2024 12:55 AM
» Replies: 5
» Views: 384
[REQUEST] Acer Nitro 5 AN517-54 BIOS Unl...
Last Post: Dudu2002
09-23-2024 01:35 PM
» Replies: 11
» Views: 1860
[REQUEST] Lenovo Yoga 2 Pro (76CNxxWW) W...
Last Post: Dudu2002
09-23-2024 07:38 AM
» Replies: 714
» Views: 368975
[REQUEST] ASUS FX506HC BIOS Unlock
Last Post: iamkudo
09-23-2024 07:36 AM
» Replies: 2
» Views: 637
[REQUEST] Sony Vaio SVE141 & SVE151 seri...
Last Post: Dudu2002
09-23-2024 02:31 AM
» Replies: 51
» Views: 24321
[REQUEST] Lenovo G510 (79CNxxWW) Whiteli...
Last Post: Dudu2002
09-22-2024 12:57 PM
» Replies: 585
» Views: 223931
Packard Bell EasyNote LJ75 & i7-640M
Last Post: DeathBringer
09-22-2024 07:33 AM
» Replies: 3
» Views: 320

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)