From: Thiemo Seufer <ths@networkno.de>
To: Chris Boot <bootc@bootc.net>
Cc: linux-mips@linux-mips.org
Subject: Re: Emulating MIPS -- please help!
Date: Wed, 29 Mar 2006 00:58:27 +0100 [thread overview]
Message-ID: <20060328235827.GC31939@networkno.de> (raw)
In-Reply-To: <44299EE6.7010309@bootc.net>
On Tue, Mar 28, 2006 at 09:39:02PM +0100, Chris Boot wrote:
> Hi all,
>
> I'm desperately trying to get a MIPS emulator running Linux, and while
> I've managed to get gxemul and (I think) qemu running, I can't for the
> life of me get them to (1) output anything or (2) use an initrd.
>
> Can anyone post some instructions and, perhaps, a .config for 2.6.16 so
> I can get some output like kernel boot messages and a login screen?
>
> I've got gxemul emulating code and running a kernel, which I can test by
> stopping emulation and stepping the code. Qemu seems to boot my
> qemu-specific kernel but I get no output and qemu appears to hang (won't
> take keyboard input).
VGA support for qemu isn't there yet, use -nographics to get the serial
console output.
> I can't seem to get either emulator to load my
> initrd, but that doesn't really matter at this stage since I can't see
> anything anyway (I have no idea how to using gxemul, and qemu refuses to
> load the image).
Current qemu confuses virtual and physical adresses when loading initrds,
this and a bunch of other bugs are fixed in a set of patches I have.
Note that these are work in progress, and may cause different bugs.
Notably, the gcc4 support patch won't work on x86, and probably only on
powerpc. It has, however, emulated IDE support, I use a self-compiled
qemu kernel and a Debian/mips image to boot from, no ramdisk. The
patchset is available at
http://people.debian.org/~ths/qemu-patches-bogus/
Use at your own risk.
Thiemo
next prev parent reply other threads:[~2006-03-28 23:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-28 20:39 Emulating MIPS -- please help! Chris Boot
2006-03-28 22:37 ` Daniel Jacobowitz
2006-03-28 23:58 ` Thiemo Seufer [this message]
2006-03-29 15:47 ` Chris Boot
2006-03-29 16:03 ` Thiemo Seufer
2006-03-29 21:31 ` Chris Boot
2006-03-30 6:19 ` Domen Puncer
2006-03-30 8:07 ` Thiemo Seufer
2006-03-30 12:48 ` Chris Boot
2006-03-29 6:59 ` Alexander Voropay
2006-03-29 6:59 ` Alexander Voropay
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060328235827.GC31939@networkno.de \
--to=ths@networkno.de \
--cc=bootc@bootc.net \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.