qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] PPC emulation, how?


From: Jocelyn Mayer
Subject: Re: [Qemu-devel] PPC emulation, how?
Date: 16 Apr 2004 19:44:28 +0200

Hi, sorry for the delay...

On Wed, 2004-04-14 at 16:25, Martin wrote:
> > For help, I put some infos, kernel and boot image here:
> > http://jocelyn.mayer.free.fr/qemu-ppc/index.htm
> You say there:
> To run qemu PPC emulation, I use the following command line:
>  > qemu -S -kernel <my_kernel> -fda <my_floppy> -hda <my_disk> -cdrom 
> <my_cdrom>
> 
> Is the -S a special new option or should this be -s
> 

It's really '-S' . I added this option to tell to qemu not to launch the
emulated code. This way, you have some time to grab the serial port
output and be able to edit the kernel's command line at startup (PREP
kernel allow this...). You just have to type 'c' in qemu monitor then
the kernel waits one second with the current command line displayed,
then boots if no chars were received.

> I tried your kernel image and debian install disk.
> It does boot but I can't get networking to work
> I can set the eth0 of the emulated client to 172.20.0.2 but am unable to 
> ping the host (which is setup at 172.20.0.1 by /etc/qemu-ifup.sh) or the 
> other way around.
> Is networking not working at all yet or am I missing something
> 

It may not work: I didn't really test the network, just made sure that
the NE2000 was seen by the kernel. PPC system emulation is still very
experimental...

> Also I use -nographic else the emulator crashes (stops)

I never used this option, and it doesn't crash for me.
Could you try to launch it under gdb and send me a trace ?

Regards.

-- 
Jocelyn Mayer <address@hidden>
Never organized





reply via email to

[Prev in Thread] Current Thread [Next in Thread]