[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Add more devices for MIPS system emulation
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] [PATCH] Add more devices for MIPS system emulation |
Date: |
Sat, 11 Mar 2006 21:25:04 +0000 |
User-agent: |
KMail/1.9.1 |
> I updated the patch to allow for that again, and added an ELF loader on
> top to avoid hardcoded kernel load addresses/entry points. This is also
> useful for stand-alone programs. The ramdisk and command line addresses
> are still hardcoded.
Except now you can't load raw kernel images.
I'm still not convinced the boot sector hacks can do anything useful How
exactly are you using these? You say the DECstation bios uses offsets stored
in the boot sector to locate the second stage bootloader, but:
a) We aren't using a DECstation bios. I'm guessing we're not emulating
DECstation hardware, so it wouldn't work even if we did have one.
b) You haven't modified the boot sector to provide those offsets.
c) You're only replacing the boot sector itself. Even if you did insert the
correct offsets they'd still be pointing to random bits of user data, not the
kernel you want to boot.
Paul