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 1BFd8B-0007Ax-CQ for qemu-devel@nongnu.org; Mon, 19 Apr 2004 14:04:31 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BFd7e-00076H-Rz for qemu-devel@nongnu.org; Mon, 19 Apr 2004 14:04:30 -0400 Received: from [194.109.24.12] (helo=smtp-out2.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BFd7e-000763-9E for qemu-devel@nongnu.org; Mon, 19 Apr 2004 14:03:58 -0400 Received: from olifantasia.com (a213-84-8-196.adsl.xs4all.nl [213.84.8.196]) by smtp-out2.xs4all.nl (8.12.10/8.12.10) with ESMTP id i3JI3tn9015775 for ; Mon, 19 Apr 2004 20:03:55 +0200 (CEST) Message-ID: <408414F5.3060306@olifantasia.com> Date: Mon, 19 Apr 2004 20:05:41 +0200 From: Martin MIME-Version: 1.0 Subject: Re: [Qemu-devel] PPC emulation, how? References: <1081879720.639650.64402.zmail@web1.zwallet.com> <1081882610.13140.185.camel@jma1.dev.netgem.com> <407D49CE.5090900@olifantasia.com> <1082137461.24066.376.camel@jma1.dev.netgem.com> In-Reply-To: <1082137461.24066.376.camel@jma1.dev.netgem.com> Content-Type: text/plain; charset=us-ascii; format=flowed 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-devel@nongnu.org >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 didn't need this to edit the kernel commandline. If you just start typing rightaway when the kernelcommandline appears you can edit it. I did have to use a very wide console to get the whole commandline on one line. The kernel spits out the commandline it got later on and that is consistent with what I typed in. >> 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 ? Ye4s, I will try to do this tuesday or wednesday. >Here's a little patch in NE2000 emulation that makes network available >for PPC: >I can now ping my host machine, but failed to mount nfs exports... Thanks, I will try this too tuesday or wednesday. I have two goals for networking right now. The first is to mount a nfs host from within the emulated prep machine. Then I can mount the root filesystem from my real prep machine and chroot or even a root nfs boot (dangerous, I know). This way I can find out very fast which command work and which have problems without having to make huge diskimages first. The second is telnet, ssh and/or x11 using the network. Serial console and network card are the only two really needed hardware components needed for an (emulated) linux machine. The rest you can do over the network ;-) A little offtopic maybe. Do you know how I can findout fast which libraries are needed for a certain executable. I tried to make a small diskimage with the basic command from my real prep machine and tried to guess which libraries I needed (but guesses wrong ofcourse). I copied /bin /sbin /etc /lib and a subset of /usr/bin and /usr/lib. /usr/lib is very large and I know I only need some of the libs for the commands I copied in /usr/bin but not which ones. Greetings, Martin DvH