[Top][All Lists]

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

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

From: Martin
Subject: Re: [Qemu-devel] PPC emulation, how?
Date: Mon, 19 Apr 2004 20:05:41 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5b) Gecko/20030823

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.

Martin DvH

reply via email to

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