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
LENOVO ideapad 330-14AST
Last Post: pleasehelp
Today 10:50 AM
» Replies: 0
» Views: 18
Try your luck and win.
Last Post: Maryanos32
Today 10:08 AM
» Replies: 0
» Views: 24
[REQUEST] Lenovo L540 (J4ETxxWW) Whiteli...
Last Post: Dudu2002
Today 09:17 AM
» Replies: 49
» Views: 4869
[REQUEST] Lenovo ThinkPad T480s (N22ETxx...
Last Post: Dudu2002
Today 03:26 AM
» Replies: 20
» Views: 6344
CLEVO BIOS Mods
Last Post: daniel_wu
Yesterday 09:41 PM
» Replies: 250
» Views: 423694
[REQUEST] Lenovo IdeaPad L340 (BGCNxxWW)...
Last Post: fatehkeane@gmail.com
Yesterday 04:43 PM
» Replies: 54
» Views: 16073
[REQUEST] Alienware M16 R1 AMD Bios Unlo...
Last Post: Arc717
Yesterday 04:41 PM
» Replies: 0
» Views: 106
Acer Aspire 7739G laptop. i need a modif...
Last Post: DeathBringer
Yesterday 02:29 PM
» Replies: 7
» Views: 197
[REQUEST] - BIOS crisis assistance for L...
Last Post: sandpa
Yesterday 02:21 PM
» Replies: 0
» Views: 74
[REQUEST] Asus ROG Strix GL702ZC BIOS Un...
Last Post: thyTwilightGoth
Yesterday 01:44 PM
» Replies: 168
» Views: 70190
[HELP] Cannot get the Ethernet and Intel...
Last Post: gigabitgigabit
Yesterday 10:21 AM
» Replies: 0
» Views: 96
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: itsik
Yesterday 04:27 AM
» Replies: 119
» Views: 80893
[REQUEST] HP Probook 6570b Whitelist Rem...
Last Post: megdan
Yesterday 03:34 AM
» Replies: 3
» Views: 4250
[Request] Fujitsu Lifebook S7210
Last Post: Barongi
Yesterday 03:17 AM
» Replies: 5
» Views: 2352
[REQUEST] Acer Nitro 5 AN515-47 BIOS unl...
Last Post: Dudu2002
05-16-2024 08:55 AM
» Replies: 1
» Views: 161
[REQUEST] Adding DDR3 support to Aptio I...
Last Post: Lixkote
05-16-2024 02:36 AM
» Replies: 1
» Views: 297
ACER e5-721 recovery bios
Last Post: bergekste
05-15-2024 06:49 AM
» Replies: 35
» Views: 22558
[REQUEST] BIOS Unlock for Gigabyte G5-KD...
Last Post: Dudu2002
05-14-2024 06:45 PM
» Replies: 6
» Views: 505
[REQUEST] Lenovo ThinkPad L450 (JDETxxWW...
Last Post: Dudu2002
05-14-2024 03:29 PM
» Replies: 94
» Views: 42045
[REQUEST] Acer Nitro 5 AN515-54 BIOS Unl...
Last Post: Dudu2002
05-14-2024 03:19 PM
» Replies: 84
» Views: 26268

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)