[yocto] Problem in running poky-qemu

Zhang, Jessica jessica.zhang at intel.com
Thu Nov 11 10:46:05 PST 2010


Hi Sachin,
 
under /opt/poky, can you do the following in exact sequence:
1. source environment-setup-ppc603e-poky-linux
2. poky-qemy qemuppc zImage-2.6.34.qemuppc-0.9.bin
yocto-image-minimal-qemuppc-0.9.rootfs.ext3
 
Thanks,
Jessica

  _____  

From: sachindhiman123 at gmail.com [mailto:sachindhiman123 at gmail.com] On Behalf
Of sachin kumar
Sent: Thursday, November 11, 2010 8:19 AM
To: Zhang, Jessica
Cc: yocto at yoctoproject.org
Subject: Re: [yocto] Problem in running poky-qemu


Hello Jessica:

Thanks for your swift response, as per your suggestions i have downloaded
yocto-eglibc-i586-powerpc-toolchain-sdk-0.9.tar.bz2 file from yocto website.
I have installed the same.
you can see now content of my /opt/poky folder as following

[sachin at sachinlinux yocto_tools]$ ls /opt/poky/
environment-setup-i586-poky-linux     site-config-i586-poky-linux
sysroots                 version-ppc603e-poky-linux
environment-setup-ppc603e-poky-linux  site-config-ppc603e-poky-linux
version-i586-poky-linux
[sachin at sachinlinux yocto_tools]$ 

But despite that i am getting same message

[sachin at 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
[sachin at sachinlinux yocto_tools]$ 


I do not which script this is referring.
Please help me.

Kind regards

Sachin 





On Thu, Nov 11, 2010 at 7:59 AM, Zhang, Jessica <jessica.zhang at intel.com>
wrote:


Hi Sachin,
 
First of all, if you want to run ppc, the toolchain you need to download is
yocto-eglibc-i586-powerpc-toolchain-sdk-0.9.tar.bz2.  After you install it
under /opt/poky, you should go under /opt/poky and source the
environment-setup-ppc* and try start qemu again...
 
Let us know if you still run into issues.
 
Thanks,
Jessica

  _____  

From: yocto-bounces at yoctoproject.org [mailto:yocto-bounces at yoctoproject.org]
On Behalf Of sachin kumar
Sent: Wednesday, November 10, 2010 6:09 PM
To: yocto at yoctoproject.org
Subject: [yocto] Problem in running poky-qemu


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 at 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.
Please help me for the same. 
This will be a great help for me as i am at critical phase of one of my
project.

Kind Regards
Sachin 







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20101111/a83a140e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 8455 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20101111/a83a140e/attachment.bin>


More information about the yocto mailing list