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 G50-70 (9ACNxxWW) White...
Last Post: Pipo89
Today 06:47 AM
» Replies: 236
» Views: 69357
[REQUEST] Acer Nitro 5 AN517-41 BIOS Unl...
Last Post: onetapxdf
Today 03:37 AM
» Replies: 11
» Views: 1299
[REQUEST] Lenovo G400S (7BCNxxWW) Whitel...
Last Post: Dudu2002
Today 03:14 AM
» Replies: 203
» Views: 70319
[REQUEST] Lenovo V570(c) (44CNxxWW) BIOS...
Last Post: d3m3n7r
Yesterday 05:20 PM
» Replies: 18
» Views: 11094
[REQUEST] Lenovo Y520-15IKBN (4KCNxxWW) ...
Last Post: ati90
Yesterday 05:02 AM
» Replies: 64
» Views: 36881
[REQUEST] Lenovo G580 (5ECNxxWW) Whiteli...
Last Post: SteamTug
Yesterday 04:24 AM
» Replies: 1734
» Views: 544249
[REQUEST] Lenovo G410 (79CNxxWW) Whiteli...
Last Post: Dudu2002
Yesterday 03:58 AM
» Replies: 53
» Views: 10717
Asus h110m-a & xeon e3-1280v5
Last Post: Brutoloco
04-21-2024 08:22 PM
» Replies: 16
» Views: 489
[REQUEST] LG GRAM 14T990 Unlock request
Last Post: riclausk
04-21-2024 12:15 PM
» Replies: 16
» Views: 4195
[REQUEST] SLIC 2.1 for ASRock 880GM-LE F...
Last Post: amijim
04-21-2024 10:27 AM
» Replies: 2
» Views: 107
[REQUEST] Dell Alienware 15 R3 BIOS Unlo...
Last Post: jason.exe
04-21-2024 03:44 AM
» Replies: 1
» Views: 162
[REQUEST] Samsung NP450R5G unlock hide s...
Last Post: magg
04-21-2024 12:54 AM
» Replies: 0
» Views: 153
lenovo e595 20nf bios spw unlock
Last Post: vsteez
04-20-2024 07:56 PM
» Replies: 0
» Views: 152
uefi mod for mac pro 1.1/21. support xeo...
Last Post: victorgbrmrr
04-20-2024 01:17 PM
» Replies: 2
» Views: 163
[REQUEST] Lenovo Y50-70 (9ECNxxWW) BIOS ...
Last Post: Dudu2002
04-20-2024 07:24 AM
» Replies: 1974
» Views: 659632
[REQUEST] Lenovo ThinkPad Edge E531 (HEE...
Last Post: MAVARACOMPLEX
04-20-2024 03:23 AM
» Replies: 121
» Views: 22190
[REQUEST] - ACER ASPIRE 2012 BIOS with U...
Last Post: Aspire
04-20-2024 03:21 AM
» Replies: 0
» Views: 125
[WORKING] Asus P8Z77-V: NVMe BOOT Suppor...
Last Post: 0nlythebest
04-19-2024 08:35 PM
» Replies: 21
» Views: 22933
[REQUEST] Lenovo Thinkpad SL400 & SL500 ...
Last Post: ivan333bor
04-19-2024 04:54 PM
» Replies: 16
» Views: 6872
[REQUEST] DNS A35FB, Pegatron A35
Last Post: Polkash51
04-19-2024 01:28 PM
» Replies: 4
» Views: 2889

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