Re: Problem in running poky-qemu


Zhang, Jessica
 

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@... [mailto:sachindhiman123@...] On Behalf Of sachin kumar
Sent: Thursday, November 11, 2010 8:19 AM
To: Zhang, Jessica
Cc: yocto@...
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@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@sachinlinux yocto_tools]$

But despite that i am getting same message

[sachin@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@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@...> 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@... [mailto:yocto-bounces@...] On Behalf Of sachin kumar
Sent: Wednesday, November 10, 2010 6:09 PM
To: yocto@...
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@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





Join yocto@lists.yoctoproject.org to automatically receive all group messages.