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
How To Get Temu Coupon Code 90% Off [acs...
Last Post: jinizen0311
Today 06:12 AM
» Replies: 0
» Views: 6
Temu Coupon Code [ALB496107] Enjoy 70% O...
Last Post: odingodx14
Today 06:12 AM
» Replies: 0
» Views: 3
Temu Coupon Code [ALB496107] Receive 30%...
Last Post: odingodx14
Today 06:11 AM
» Replies: 0
» Views: 7
Temu Coupon Code 70% Off [acs670886] Fir...
Last Post: jinizen0311
Today 06:10 AM
» Replies: 0
» Views: 9
Temu Coupon Code [ALB496107] Receive 40%...
Last Post: odingodx14
Today 06:10 AM
» Replies: 0
» Views: 9
Temu Promo Code [acs670886] 40% Off For ...
Last Post: jinizen0311
Today 06:09 AM
» Replies: 0
» Views: 8
Temu Coupon Code [ALB496107] Get £100 Of...
Last Post: odingodx14
Today 06:09 AM
» Replies: 0
» Views: 12
Temu Coupon Code 30% Off [acs670886] For...
Last Post: jinizen0311
Today 06:08 AM
» Replies: 0
» Views: 9
Temu Coupon Code [ALB496107] Get 100€ Of...
Last Post: odingodx14
Today 06:08 AM
» Replies: 0
» Views: 10
Temu Coupon Code $200 OFF → [acs670886] ...
Last Post: jinizen0311
Today 06:07 AM
» Replies: 0
» Views: 8
Temu Promo Code [ALB496107] Take $100 Of...
Last Post: odingodx14
Today 06:07 AM
» Replies: 0
» Views: 11
€100 Off Temu Coupon Code [acs670886] Fo...
Last Post: jinizen0311
Today 06:06 AM
» Replies: 0
» Views: 9
Temu Coupon Code £100 Off [acs670886] Fi...
Last Post: jinizen0311
Today 06:05 AM
» Replies: 0
» Views: 10
How To Get Temu Coupon Code $100 Off [ac...
Last Post: jinizen0311
Today 06:04 AM
» Replies: 0
» Views: 10
New Temu Coupon Code 40% Off [ACW696499]...
Last Post: xshpb7788
Today 05:41 AM
» Replies: 0
» Views: 20
[Updated] Temu Coupon For £100 Off [ACW6...
Last Post: xshpb7788
Today 05:40 AM
» Replies: 0
» Views: 17
Temu Coupon Code €100 Off [ACW696499] +3...
Last Post: xshpb7788
Today 05:39 AM
» Replies: 0
» Views: 20
Temu Promo Code [ACW696499] $100 Off For...
Last Post: xshpb7788
Today 05:38 AM
» Replies: 0
» Views: 20
Temu ile %40 İndirim [ACW696499] Kodu İç...
Last Post: xshpb7788
Today 05:37 AM
» Replies: 0
» Views: 9
Temu'da %30 Daha Ucuza Alın: İndirim Kod...
Last Post: xshpb7788
Today 05:35 AM
» Replies: 0
» Views: 11

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: