Building an image using yocto for t4240 - and qemu emulation

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Building an image using yocto for t4240 - and qemu emulation

2,222 Views
vigneshwarensan
Contributor III

I used the yocto build to generate images for t4240.

I downloaded the meta-fsl-ppc layer (from: meta-fsl-ppc - Layer containing Freescale PPC hardware support metadata)

and included it into the build and removed the meta-yocto-bsp layer.

The build generated a few images in tmp/deploy/images/t4240qds.

The build was successful, but while I attempted to run using qemu, it failed.

                    $ runqemu t4240qds

PS: I saw the images folder and I didnt find a .ext3 filesystem, instead I found a rootfs.tar.gz file.

Can I run a t4240 image in qemu?

Thanks in advance.

Tags (4)
0 Kudos
Reply
1 Reply

835 Views
yipingwang
NXP TechSupport
NXP TechSupport

The SDK Yocto build environment doesn't support runqemu, KVM/qemu virtualization should be implemented on the target board.

fsl-image-flash:meta-fsl-networking/images/fsl-image-flash.bb

fsl-image-core:meta-fsl-networking/images/fsl-image-core.bb

fsl-image-full:meta-fsl-networking/images/fsl-image-full.bb

fsl-image-kvm: meta-fsl-networking/images/fsl-image-kvm.bb

fsl-image-minimal:meta-fsl-networking/images/fsl-image-minimal.bb

fsl-toolchain:meta-fsl-networking/images/fsl-toolchain.bb

The rootfs type can be customized by setting the IMAGE_FSTYPES variable in the

above recipes.

Supported rootfs types include the following:

cpio

cpio.gz cpio.xz

cpio.lzma

cramfs

ext2

ext2.gz

ext2.gz.u-boot

ext2.bz2.u-boot

ext3

ext3.gz.u-boot

ext2.lzma

jffs2

live

squashfs

squashfs-lzma

ubi

tar

tar.gz

tar.bz2

tar.xz