Re: Emulating MIPS -- please help!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux