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

Android Android Commands Android Java Applications Application Libraries Bash / Shell Scripts Bluetooth driver Build Frameworks Commands and Packages Core Kernel C Programs Development Environment Setup Documents / Books Errors & Failures File Systems Framebuffer / Display Driver git Go Language Programs Hardware Platforms Home JAVA Programs Kernel & Device Drivers Kernel Booting and Porting Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL NDK / Middleware / HAL Network Driver OS Concepts PHP Procfs Filesystem Programming Languages RaspberryPi Scripting and Automation Search Engine Optimisation ( SEO ) Socurce Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Userspace Utilities Web design and development Wordpress Yocto / Bitbake / Openembedded
Tags:

Leave a Reply