Talking about images

Document created by Daiane Angolini Employee on Aug 15, 2013
Version 1Show Document
  • View in full screen mode

$ ~/dylan/sources$ find -name *image*.bb

./meta-fsl-demos/recipes-fsl/images/fsl-image-gui-sdk.bb

./meta-fsl-demos/recipes-fsl/images/fsl-image-test.bb

./meta-fsl-demos/recipes-fsl/images/fsl-image-gui.bb

./meta-fsl-demos/recipes-qt/images/qt-in-use-image.bb

./meta-fsl-demos/recipes-qt/images/qte-in-use-image.bb

./meta-openembedded/meta-initramfs/recipes-bsp/images/initramfs-kexecboot-klibc-image.bb

./meta-openembedded/meta-initramfs/recipes-bsp/images/initramfs-kexecboot-image.bb

./meta-openembedded/meta-oe/recipes-support/imagemagick/imagemagick_6.7.5.bb

./meta-openembedded/meta-oe/recipes-multimedia/libsdl-image/libsdl-image_1.2.12.bb

./poky/meta-hob/recipes-core/images/hob-image.bb

./poky/meta-skeleton/recipes-multilib/images/core-image-multilib-example.bb

./poky/meta/recipes-devtools/mkelfimage/mkelfimage_svn.bb

./poky/meta/recipes-sato/images/core-image-sato-dev.bb

./poky/meta/recipes-sato/images/core-image-sato.bb

./poky/meta/recipes-sato/images/core-image-sato-sdk.bb

./poky/meta/recipes-qt/images/qt4e-demo-image.bb

./poky/meta/recipes-core/images/core-image-minimal.bb

./poky/meta/recipes-core/images/core-image-base.bb

./poky/meta/recipes-core/images/core-image-minimal-dev.bb

./poky/meta/recipes-core/images/core-image-minimal-initramfs.bb

./poky/meta/recipes-core/images/build-appliance-image.bb

./poky/meta/recipes-core/images/core-image-minimal-mtdutils.bb

./poky/meta/recipes-extended/images/core-image-lsb-sdk.bb

./poky/meta/recipes-extended/images/core-image-basic.bb

./poky/meta/recipes-extended/images/core-image-lsb-dev.bb

./poky/meta/recipes-extended/images/core-image-lsb.bb

./poky/meta/recipes-graphics/images/core-image-directfb.bb

./poky/meta/recipes-graphics/images/core-image-x11.bb

./poky/meta/recipes-graphics/images/core-image-clutter.bb

./poky/meta/recipes-graphics/xcb/xcb-util-image_0.3.9.bb

./poky/meta/recipes-bsp/u-boot/u-boot-mkimage_2013.01.01.bb

./poky/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.06.bb

./poky/meta/recipes-bsp/u-boot/u-boot-mkimage_2011.03.bb

./poky/meta/recipes-rt/images/core-image-rt-sdk.bb

./poky/meta/recipes-rt/images/core-image-rt.bb

 

Those are all available images. And note that, available images from poky and meta-fsl-arm only. As you may imagine, several other layers can be included, and any new layer can provide new images.

 

If you look line by line, you can see that some of that files are not images, for example u-boot-mkimage_2011.06.bb but you got the message.

 

Yocto Project (and meta-fsl-demos) provides some "pre baked" images. In my point of view, those images are not to be used on your product. They are examples and quick starting points.

 

When you desire a pie, you can go to supermarket and buy a frozen chocolate pie. But when you´re developing a pie to be the Apple Salted Caramel with Dark Chocolate Cinnamon Topping you need to decide every piece of this pie. What is the base, which type of apple to use. How much salt on caramel. This is your product, your pie, not a frozen standard pie.

 

I know the analogy is kind of dumb. But it´s important to understand that the "pre baked" images provided by Yocto Project, or meta-fsl-demos are not supposed to become a product image! You can (and maybe should) base your image on some of those images, but they are not good enough to your product.

 

I highly recommend you to have your own image file.

 

The pre-baked images I´m used with are

 

core-image-minimal I use to

 

image nameI use it when/forFormal description
core-image-minimaltesting machine support; uboot support/upgrade; kernel support/upgradeA small image just capable of allowing a device to boot.
core-image-basewhen I need to add something like ssh/dropbear or evtest or usb utils. I always configure this on local.conf to add the desired package.A console-only image that fully supports the target device hardware.
core-image-x11when I need to test X11 accelerated by GPU, or I need to have X11 for any test.A very basic X11 image with a terminal
core-image-direcftbwhen I debug directfb GPU supportAn image that uses DirectFB instead of X11.
core-image-westonwhen I debug Wayland GPU supportA very basic Wayland image with a terminal
fsl-image-testwhen I need to test VPU with and without gstreamer.-
fsl-image-guiwhen I need to have QT, or I want to build everything altogether. Although I´ve been preferring the smaller images instead.-
meta-toolchainTo have the crosscompiler installed on my machine to manually build u-boot and kernel, when I´m changing itMeta package for building a installable toolchain

 

 

All those images DO NOT include -dev packages or native build. If you want it you MUST configure your local.conf.

 

Although, you can find special images that provides the header files or the native compiler.

 

The images with -dev sufix include the header files (and development files) from all packages. For example: core-image-minimal-dev (A small image just capable of allowing a device to boot and is suitable for development work.)

 

The images with -sdk sufix include the native build tools. For example core-image-sato-sdk (Image with Sato support that includes everything within core-image-sato plus meta-toolchain, development headers and libraries to form a standalone SDK.)

 

 

*all formal description was copied from poky source code (poky - Poky Build Tool and Metadata)

 

Please, go back to Yocto Training - HOME

3 people found this helpful

Attachments

    Outcomes