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

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 Application Stack / User Interface Bash / Shell Scripts Commands and Packages Compilation Content Management System - CMS Core Kernel C Programs Development & Build Development Environment Setup Errors & Failures Flutter git Go Language Programs Hardware Platforms HTML JAVA Programs Kernel & Device Drivers Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Monetization / Google AdSense Multimedia - Audio, Video, Images NDK / Middleware / HAL OS Concepts PHP Programming Languages RaspberryPi Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Socurce Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized User Interface Web design and development Wordpress Yocto / Bitbake / Openembedded

Leave a Reply / Ask Question