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 Nitro 5 AN515-54 BIOS Unl...
Last Post: Jonas Amaral
Today 06:22 AM
» Replies: 87
» Views: 26498
Asus A8M2N-LA/HP NodusM-GL8E: CPU Upgrad...
Last Post: DeathBringer
Today 06:22 AM
» Replies: 44
» Views: 12205
[REQUEST] Lenovo ThinkPad X1 Fold Whitel...
Last Post: Dudu2002
Today 06:09 AM
» Replies: 1
» Views: 38
[REQUEST] Lenovo Flex 2-15 (A0CNxxWW) Wh...
Last Post: Dudu2002
Today 06:01 AM
» Replies: 364
» Views: 105010
[Request] Alienware 17 R2 bios unlock
Last Post: feluchi
Today 05:11 AM
» Replies: 122
» Views: 36376
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: miant
Today 12:42 AM
» Replies: 124
» Views: 81569
[REQUEST] Acer Nitro 5 AN515-47 BIOS unl...
Last Post: AdrianoA3
Yesterday 01:56 PM
» Replies: 4
» Views: 262
[REQUEST] Acer Nitro 5 AN517-43 BIOS unl...
Last Post: tanago
Yesterday 01:25 PM
» Replies: 2
» Views: 119
Alienware 14 bios unlock
Last Post: Dudu2002
Yesterday 01:20 PM
» Replies: 1
» Views: 84
Lenovo Legion Y530-15ICH 1050Ti
Last Post: Dudu2002
Yesterday 01:15 PM
» Replies: 1
» Views: 145
[REQUEST] ASUS VIVOBOOK X505Z BIOS TPM S...
Last Post: eMerchant
Yesterday 10:27 AM
» Replies: 0
» Views: 78
[REQUEST] Acer Aspire 4750(G,Z) & 4752(G...
Last Post: MyAngelMegu
Yesterday 08:28 AM
» Replies: 42
» Views: 31290
[REQUEST] Lenovo IdeaPad U310 & U410 (65...
Last Post: Dudu2002
Yesterday 03:27 AM
» Replies: 1772
» Views: 393350
[REQUEST] Acer PT715-51 (Triton 700) ins...
Last Post: gtarik
05-22-2024 11:51 PM
» Replies: 22
» Views: 10171
Optiplex 7060 SFF 9th Generation Intel C...
Last Post: DeathBringer
05-22-2024 02:43 PM
» Replies: 47
» Views: 9195
[REQUEST] Lenovo G500(S) (7BCNxxWW) Whit...
Last Post: brum
05-22-2024 06:06 AM
» Replies: 566
» Views: 213612
[REQUEST] Gigabyte Aero 15 OLED BIOS Unl...
Last Post: C4lDx
05-21-2024 02:45 PM
» Replies: 5
» Views: 448
[REQUEST] Lenovo Z50-70 & Z40-70 (9BCNxx...
Last Post: Dudu2002
05-21-2024 02:44 PM
» Replies: 727
» Views: 204795
Unlock all hidden options for insydeh20 ...
Last Post: Andrew_baha
05-21-2024 09:59 AM
» Replies: 255
» Views: 1024907
[REQUEST] Acer Revo M1-601 BIOS Unlock
Last Post: sglider
05-20-2024 10:49 AM
» Replies: 9
» Views: 5289

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)