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
ASUS M2N4-SLI new cpu
Last Post: cocossss
Yesterday 03:21 PM
» Replies: 8
» Views: 2062
[REQUEST] Gigabyte Aorus 15G KC BIOS unl...
Last Post: Dudu2002
10-14-2025 05:10 PM
» Replies: 35
» Views: 15749
Aorus 17G YD unlock bios?
Last Post: Dudu2002
10-14-2025 05:08 PM
» Replies: 1
» Views: 226
Unlocking the Hidden MAINTENANCE Menu of...
Last Post: 123BIOS
10-14-2025 10:31 AM
» Replies: 0
» Views: 374
[REQUEST] Lenovo Z50-70 & Z40-70 (9BCNxx...
Last Post: pitnixu
10-14-2025 04:12 AM
» Replies: 757
» Views: 365565
[REQUEST] Lenovo IdeaPad S400 (6DCNxxWW)...
Last Post: Jamil Missen
10-13-2025 10:04 PM
» Replies: 335
» Views: 166713
[REQUEST] Acer Aspire 5742(G,Z) BIOS Unl...
Last Post: deliter
10-13-2025 09:32 PM
» Replies: 168
» Views: 69764
[REQUEST]wwan whitelist removal ThinkPad...
Last Post: SkyShadow
10-13-2025 02:45 PM
» Replies: 0
» Views: 281
[REQUEST] Lenovo T440(S) (GJETxxWW) Whit...
Last Post: Dudu2002
10-13-2025 07:31 AM
» Replies: 499
» Views: 260647
HP Victus 16 Bios Splash Screen
Last Post: Onyxcho_Lune
10-13-2025 07:26 AM
» Replies: 0
» Views: 321
[REQUEST] Lenovo IdeaPad Gaming 3-15IHU6...
Last Post: Bobby123Patel
10-13-2025 06:38 AM
» Replies: 7
» Views: 4190
[REQUEST] HP Omen 16 InsydeH2O F.18 (08C...
Last Post: Wernexnrs
10-13-2025 04:16 AM
» Replies: 0
» Views: 368
[REQUEST] 775i65g Wolfdale
Last Post: DeathBringer
10-13-2025 01:53 AM
» Replies: 53
» Views: 33878
Dell XPS M1710 Overclock Tab Unlock Mod ...
Last Post: Skeleton
10-12-2025 08:55 PM
» Replies: 0
» Views: 245
[Request] AM3 support for ECS RS485M-M
Last Post: DeathBringer
10-12-2025 07:47 AM
» Replies: 3
» Views: 533
Optiplex 5055 RyzenBIOS Faulty (not upgr...
Last Post: LaszloE
10-12-2025 05:29 AM
» Replies: 2
» Views: 196
Intel Xeon E3 1270 V5 for LGA 1151 (ASUS...
Last Post: abruchez
10-12-2025 03:26 AM
» Replies: 4
» Views: 408
[REQUEST] Lenovo Thinkpad T420 (83ETxxWW...
Last Post: pycckuu4ejl
10-11-2025 07:32 PM
» Replies: 316
» Views: 285400
M3N78 PRO Phenom II x4 955 BE update
Last Post: Vlad94
10-11-2025 01:28 PM
» Replies: 3
» Views: 5877
Acer Aspire E1 572 black screen, needs b...
Last Post: just_biosmods
10-11-2025 10:38 AM
» Replies: 31
» Views: 38395

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)