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
Analyze java class System Identifier cod...
Last Post: Hasan jeet
Today 03:44 PM
» Replies: 0
» Views: 9
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: sscdimon
Today 01:53 PM
» Replies: 471
» Views: 132737
[REQUEST] Lenovo Yoga 2 Pro (76CNxxWW) W...
Last Post: cpih
Today 12:03 PM
» Replies: 846
» Views: 328721
Delete Whitelist HP 15s-eq1000
Last Post: gdefareins
Today 09:02 AM
» Replies: 3
» Views: 160
[REQUEST] Lenovo Y470 & Y570 (47CNxxWW) ...
Last Post: jabbari74
Today 03:37 AM
» Replies: 25
» Views: 18128
[REQUEST] Lenovo Thinkpad T420 (83ETxxWW...
Last Post: lucasow
Today 03:02 AM
» Replies: 315
» Views: 194379
[REQUEST] Asus PRIME B460M-A modding bio...
Last Post: hnoimahi
Yesterday 08:04 AM
» Replies: 1
» Views: 255
[REQUEST] Lenovo G580 (62CNxxWW) Whiteli...
Last Post: Dudu2002
Yesterday 05:34 AM
» Replies: 809
» Views: 246995
[REQUEST] Asus maximus X Code "fan profi...
Last Post: appletechgeek
Yesterday 12:12 AM
» Replies: 0
» Views: 128
[REQUEST] Acer Aspire S3-391 BIOS Unlock
Last Post: Dudu2002
04-26-2024 04:27 PM
» Replies: 57
» Views: 25748
[REQUEST] Lenovo V580(c) (H1ETxxWW) Whit...
Last Post: Dudu2002
04-26-2024 04:26 PM
» Replies: 588
» Views: 148245
[REQUEST] GL504GS BIOS unlock
Last Post: pl4gue
04-26-2024 12:19 PM
» Replies: 75
» Views: 59439
[REQUEST] Thinkpad T14S G3 AMD (Type 21C...
Last Post: Dudu2002
04-26-2024 04:37 AM
» Replies: 1
» Views: 155
[REQUEST] Lenovo B490 (H1ETxxWW) Whiteli...
Last Post: sardax
04-25-2024 10:03 PM
» Replies: 101
» Views: 32081
[REQUEST] Acer Aspire E1-571(G) BIOS Unl...
Last Post: Dudu2002
04-25-2024 04:44 PM
» Replies: 127
» Views: 58489
Acer Predator Helios 300 N17C1 G3-572-79...
Last Post: chadreuel
04-25-2024 11:39 AM
» Replies: 0
» Views: 174
[REQUEST] Acer Nitro 5 AN515-56 BIOS Unl...
Last Post: Dudu2002
04-25-2024 07:25 AM
» Replies: 5
» Views: 930
[REQUEST] Lenovo Y50-70 (9ECNxxWW) BIOS ...
Last Post: Dudu2002
04-25-2024 03:52 AM
» Replies: 1972
» Views: 666138
[Request] Acer Aspire Z1620 (h61h aio v1...
Last Post: spingernexx
04-24-2024 06:09 PM
» Replies: 2
» Views: 220
[REQUEST] Lenovo G505 (82CNxxWW) Whiteli...
Last Post: khaos
04-24-2024 04:15 PM
» Replies: 155
» Views: 55780

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: 3 Guest(s)