From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BEXJn-0007Dv-VO for qemu-devel@nongnu.org; Fri, 16 Apr 2004 13:39:59 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BEXJG-0006zE-4V for qemu-devel@nongnu.org; Fri, 16 Apr 2004 13:39:58 -0400 Received: from [62.210.190.9] (helo=brazzaville.magic.fr) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BEXJF-0006xa-II for qemu-devel@nongnu.org; Fri, 16 Apr 2004 13:39:25 -0400 Subject: Re: [Qemu-devel] PPC emulation, how? From: Jocelyn Mayer In-Reply-To: <407D49CE.5090900@olifantasia.com> References: <1081879720.639650.64402.zmail@web1.zwallet.com> <1081882610.13140.185.camel@jma1.dev.netgem.com> <407D49CE.5090900@olifantasia.com> Content-Type: text/plain Message-Id: <1082137461.24066.376.camel@jma1.dev.netgem.com> Mime-Version: 1.0 Date: 16 Apr 2004 19:44:28 +0200 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu mailing list Cc: qemumail@olifantasia.com 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 -fda -hda -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 Never organized