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
K8V SE Deluxe - Add optical sata Boot op...
Last Post: Undeon
Today 05:27 PM
» Replies: 0
» Views: 33
Which software to flash GIGADEVICE 25B12...
Last Post: tractorr02
Today 09:03 AM
» Replies: 6
» Views: 5944
HP Omen bios unlock
Last Post: Phosgen09
Today 04:52 AM
» Replies: 0
» Views: 79
[REQUEST] Lenovo B50-70 (9DCNxxWW) White...
Last Post: NeoBeZ
Yesterday 06:02 PM
» Replies: 171
» Views: 70340
[REQUEST] Lenovo G500 (78CNxxWW) Whiteli...
Last Post: Dudu2002
Yesterday 05:05 PM
» Replies: 1211
» Views: 358165
Asus K8v-MX Socket 754 Bios
Last Post: Undeon
Yesterday 03:43 PM
» Replies: 7
» Views: 612
[REQUEST] Lenovo G40-70 (9ACNxxWW) BIOS ...
Last Post: Dudu2002
Yesterday 03:39 PM
» Replies: 64
» Views: 28111
Request for Latest BIOS Update for Toshi...
Last Post: Harunyekta
Yesterday 03:27 PM
» Replies: 8
» Views: 416
[REQUEST] Clevo NL51NU AMD R7 5825U Bios...
Last Post: backroot
Yesterday 10:04 AM
» Replies: 0
» Views: 110
CLEVO M860TU/SAGER NP8662 BIOS FILE REQU...
Last Post: RebDomine
Yesterday 08:34 AM
» Replies: 0
» Views: 128
[REQUEST] Lenovo N580 whitelist removal
Last Post: Dudu2002
Yesterday 08:32 AM
» Replies: 51
» Views: 18649
[REQUEST] Lenovo ThinkPad Edge E420 & E5...
Last Post: Dudu2002
Yesterday 08:30 AM
» Replies: 81
» Views: 42796
[REQUEST] Lenovo Z50-70 & Z40-70 (9BCNxx...
Last Post: Dudu2002
12-22-2024 07:57 PM
» Replies: 737
» Views: 257487
[REQUEST] Lenovo Z410 & Z510 (8DCNxxWW) ...
Last Post: Dudu2002
12-22-2024 11:27 AM
» Replies: 491
» Views: 168966
Does my Packard Bell Easy Note TV44HC su...
Last Post: -=LTi=-
12-20-2024 08:48 AM
» Replies: 0
» Views: 171
[REQUEST] Alienware M16 R1 AMD 7745HX RT...
Last Post: arabcian
12-20-2024 04:11 AM
» Replies: 1
» Views: 677
[REQUEST] Lenovo G780 (5ECNxxWW) Whiteli...
Last Post: Tompson
12-19-2024 04:15 PM
» Replies: 878
» Views: 354103
HP Pro 3400 (Foxconn 2ABF): New GPU Supp...
Last Post: DeathBringer
12-19-2024 12:44 PM
» Replies: 30
» Views: 12733
Need help with extracting vbios option r...
Last Post: eazyblack
12-19-2024 11:45 AM
» Replies: 1
» Views: 329
[REQUEST] Lenovo Ideapad Z710 (7FCNxxWW)...
Last Post: KuroiHoshi
12-18-2024 04:12 PM
» Replies: 214
» Views: 102050

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)