From: Scott Garman <scott.a.garman@intel.com>
To: <yocto@yoctoproject.org>
Subject: Re: Problem in running poky-qemu
Date: Wed, 10 Nov 2010 18:29:39 -0800 [thread overview]
Message-ID: <4CDB5513.7060202@intel.com> (raw)
In-Reply-To: <AANLkTi=77Owty-Qf1J8-GeNv17ZBjE98YNYGxuH4-_ek@mail.gmail.com>
On 11/10/2010 06:08 PM, sachin kumar wrote:
> Dear All:
>
> I am new to qemu, so please excuse me, i am asking basic question.
>
> Actually i want to run linux image for ppc on qemu.
>
> My host machine is running Fedora13.
>
> For that i have downloaded following from yocto project website.
>
> Disk Image: yocto-image-minimal-qemuppc-0.9.rootfs.ext3
> Kernel Image : zImage-2.6.34-qemuppc-0.9.bin
> Toolchain: yocto-eglibc-i586-i586-toolchain-sdk-0.9.tar.bz2
>
> Now toolchain was installed properly.
>
> Now when i am running poky-qemu from command line it is giving following
> message
> =============================================================================================
> [root@sachinlinux yocto_tools]# poky-qemu zImage-2.6.34-qemuppc-0.9.bin
> yocto-image-minimal-qemuppc-0.9.rootfs.ext3
> Set MACHINE to [qemuppc-0] based on kernel [zImage-2.6.34-qemuppc-0.9.bin]
> In order for this script to dynamically infer paths
> to kernels or filesystem images, you either need
> bitbake in your PATH or to source poky-init-build-env
> before running this script
>
> =============================================================================================
> I am blank about this message, which script they are referring.
Hi Sachin,
When you installed the toolchain tarball
(yocto-eglibc-i586-i586-toolchain-sdk-0.9.tar.bz2), it should have
created a script /opt/poky/environment-setup-<arch>. That's the one you
want to source.
The other issue is that we changed the naming conventions of the kernel
and qemu images at the last minute, and the poky-qemu script needs some
additional help to figure out which machine architecture you're using
and the format of the image. So you need to add "qemuppc" and "ext3" to
the list of options to poky-qemu.
$ source /opt/poky/environment-setup-ppc603e-poky-linux
$ poky-qemu qemuppc zImage-2.6.34-qemuppc-0.9.bin
yocto-image-minimal-qemuppc-0.9.rootfs.ext3 ext3
should get you going.
This needs to get fixed ASAP and I'm going to submit a patch for it
tomorrow in master. Thanks for your patience.
Scott
prev parent reply other threads:[~2010-11-11 2:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-11 2:08 Problem in running poky-qemu sachin kumar
2010-11-11 2:29 ` Zhang, Jessica
2010-11-11 16:18 ` sachin kumar
2010-11-11 18:46 ` Zhang, Jessica
2010-11-12 11:31 ` sachin kumar
2010-11-12 18:52 ` Scott Garman
2010-11-24 16:10 ` sachin dhiman
2010-11-24 16:21 ` sachin kumar
2010-11-24 17:28 ` Zhang, Jessica
2010-11-25 2:29 ` sachin kumar
2010-11-11 2:29 ` Scott Garman [this message]
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=4CDB5513.7060202@intel.com \
--to=scott.a.garman@intel.com \
--cc=yocto@yoctoproject.org \
/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.