Home » Development and Build » Yocto Embedded Linux » Images recipes for poky / yocto and creating complete BSP Images using those

Images recipes for poky / yocto and creating complete BSP Images using those

Yocto / poky provides following image recipes by default, sources of this you can find in poky/meta/recipes-core/images directory,

poky/meta/recipes-core/images$ tree
.
├── build-appliance-image
│   ├── README_VirtualBox_Guest_Additions.txt
│   ├── README_VirtualBox_Toaster.txt
│   ├── Yocto_Build_Appliance.vmx
│   └── Yocto_Build_Appliance.vmxf
├── build-appliance-image_15.0.0.bb
├── core-image-base.bb
├── core-image-minimal.bb
├── core-image-minimal-dev.bb
├── core-image-minimal-initramfs.bb
├── core-image-minimal-mtdutils.bb
└── core-image-tiny-initramfs.bb

1 directory, 11 files

Now, to compile any of this images, you need to source environment variables from top of “poky” directory as,

$ source poky/oe-init-build-env build

then type “bitbake image-recipe-name” as for example, if we want to create image which provides minimal rootfs, then you can type like below,

 $ bitbake core-image-minimal

In case of RaspberryPi, Once above command is executed successfully, you can find the necessary binaries created at build/tmp/deploy/images/raspberrypi3
and the rootfs which goes to this final images is present at build/tmp/work/raspberrypi3-poky-linux-gnueabi/core-image-minimal/1.0-r0/rootfs


Subscribe our Rurban Life YouTube Channel.. "Rural Life, Urban LifeStyle"

Leave a Comment