Embedded Linux Development using Yocto Projects - Second Edition
by Otavio Salvador, Daiane Angolini
Wrapping an image for your machine
One aspect that is often neglected until the very end of any BSP support layer development is creating a ready-to-use image for the machine. The type of image we will use depends on multiple aspects: the processor, peripherals included on the board, and project restrictions.
The most frequently-used type of images for direct use on the storage is the partitioned image. The Yocto Project has a tool, called wic, which provides a flexible way to generate those images. It allows the creation of partitioned images based on a template file (wks) written in a common language that describes the target image layout. The language definition can be found in the documentation here: http://www.yoctoproject.org/docs/2.4/ref-manual/ref-manual.html#openembedded-kickstart-wks-reference ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access