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 IdeaPad S540 (GPETxxWW)...
Last Post: loginnow
Today 07:08 PM
» Replies: 44
» Views: 16004
Fujitsu Esprimo P5710 - unlock [REQUEST]
Last Post: monkeywrench
Yesterday 12:30 PM
» Replies: 34
» Views: 725
Lenovo Z50-70: CPU update
Last Post: PedroFX
05-04-2024 07:20 PM
» Replies: 6
» Views: 193
My Gateway NV57h has an ACER in BIOS - c...
Last Post: drmrsolds
05-04-2024 05:42 PM
» Replies: 1
» Views: 2070
Z97-PRO(Wi-Fi ac)/USB 3.1
Last Post: Jedrek
05-04-2024 09:49 AM
» Replies: 4
» Views: 2299
[Request] Acer Aspire 3050 unlocked BIOS
Last Post: prowindows62
05-04-2024 07:43 AM
» Replies: 0
» Views: 134
HP H-IG41-uATX 45nm microcode update LGA...
Last Post: goldenhill
05-04-2024 04:49 AM
» Replies: 58
» Views: 56794
Asus h61m-d & xeon e3-1265l v2
Last Post: DeathBringer
05-03-2024 04:28 PM
» Replies: 3
» Views: 237
[REQUEST] - Acer Swift 3 SF314-41G bios ...
Last Post: ersan
05-03-2024 03:03 PM
» Replies: 1
» Views: 187
[REQUEST] Lenovo G780 advanced menu
Last Post: Dudu2002
05-03-2024 09:41 AM
» Replies: 43
» Views: 17099
[REQUEST] ThinkPad T14 Gen1 Intel BIOS W...
Last Post: SSV CHAOTIC
05-03-2024 05:19 AM
» Replies: 0
» Views: 183
[REQUEST] Lenovo Ideapad 100-14IBD & 100...
Last Post: Dudu2002
05-03-2024 03:48 AM
» Replies: 15
» Views: 7121
[REQUEST] Lenovo IdeaPad U310 & U410 (65...
Last Post: 5CarPileup
05-03-2024 02:04 AM
» Replies: 1767
» Views: 381312
HP Pro 3500: CPU Upgrade
Last Post: DeathBringer
05-03-2024 12:13 AM
» Replies: 20
» Views: 4622
[READ FIRST] Access Advanced settings th...
Last Post: Klinzah
05-02-2024 05:11 PM
» Replies: 424
» Views: 569870
[REQUEST] Asus eeepc 1025C
Last Post: sloseba123
05-02-2024 04:44 PM
» Replies: 87
» Views: 110594
HP EliteBook 840 g2 NVMe
Last Post: x86-64
05-02-2024 06:30 AM
» Replies: 0
» Views: 146
[Request] Dell 7400 2 in 1 Computrace/Ab...
Last Post: Lorand187
05-01-2024 10:34 PM
» Replies: 0
» Views: 200
[REQUEST] Gigabyte B75M-D3H BIOS Unlock
Last Post: topadefir
05-01-2024 12:56 PM
» Replies: 10
» Views: 4082
[REQUEST] Lenovo B590 (H9ETxxWW) Whiteli...
Last Post: samugarob
05-01-2024 10:08 AM
» Replies: 674
» Views: 169144

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)