All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
To: Suzuki Poulose <suzuki@in.ibm.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Setting up PPC440 Virtex Image for Qemu
Date: Thu, 30 Jun 2011 14:32:24 +0200	[thread overview]
Message-ID: <20110630123223.GA1955@edde.se.axis.com> (raw)
In-Reply-To: <4E0C68DB.1050705@in.ibm.com>

On Thu, Jun 30, 2011 at 05:45:23PM +0530, Suzuki Poulose wrote:
> Hi,
> 
> I am working on enabling the KEXEC on PPC440 chipsets. To debug my patches,
> I would like to use the Qemu. The only available PPC440 support in Qemu is
> for the ppc-virtex. (Thanks for adding the support).
> 
> I was trying to use the default image provided at
> 
> http://wiki.qemu.org/download/ppc-virtexml507-linux-2_6_34.tgz
> 
> However I cannot get the network up for the board to use the nfs root file
> system.

Hi,

The problem is that there is no model of the LL-TEMAC in qemu, the one in
the refdesign beeing emulated. An easy way out is probably to connect
a xilinx,ethlite instead. You'll need to modify both QEMU and the dtb.

IIRC, the dtb published with the image has the lltemac removed.

I've got a working LL-temac model here, will try to post it this weekend.
Or if you're interested in hacking on it, I could probably code dump it as
is.


> ----
> PPC 4xx OCP EMAC driver, version 3.54
> TCP cubic registered
> NET: Registered protocol family 17
> VFS: Unable to mount root fs via NFS, trying floppy.
> VFS: Cannot open root device "nfs" or unknown-block(2,0)
> Please append a correct "root=" boot option; here are the available partitions:
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
> ---
> 
> I tried using a different dtb based on virtex440-ml507.dts, but the
> qemu complains :
> 
> [suzie@suzukikp ppc-virtex-ml507]$ ./qemu-run.sh
> Unable to copy device tree in memory
> 
> 
> Is there something I can do to get the networking up ? I think this may need to
> be fixed in the dtb.
> 
>   Or is there any other mechanism to use a different file system ?
> ( I have the tool chain to build the kernel etc)


Another way is to create ramdisks with all the stuff you need and just
not use networking. Thats how the image from the wiki does it.

Cheers

  reply	other threads:[~2011-06-30 12:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-30 12:15 [Qemu-devel] Setting up PPC440 Virtex Image for Qemu Suzuki Poulose
2011-06-30 12:32 ` Edgar E. Iglesias [this message]
2011-06-30 13:00   ` Suzuki Poulose
2011-06-30 13:10     ` Edgar E. Iglesias
2011-07-05 13:06       ` Suzuki Poulose
2011-07-06 11:13         ` Suzuki Poulose

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110630123223.GA1955@edde.se.axis.com \
    --to=edgar.iglesias@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=suzuki@in.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.