Size reduction technique with Yocto Project
10-29, 15:25–16:00 (Europe/Dublin), Intermediate Room

While default images generated by Yocto Project build system are small inherently due to conscious design choices and fact we are building from bottom up, it is not fully optimized for size. The build system is generic and therefore can be leveraged by power users to apply specific customization to effect reduction in image size, usually we think size reduction is using -Os compiler option, but in reality this is only a small portion of the whole image size reduction, there are other ways to effect this change. In addition Yocto Project provide these tools which can be used to optimize the images for size.


This talk will introduce practical tips and tricks to effect size change, which are very important if design requires smaller flash images, these techniques should be deployed from very beginning of the project and included into standard development workflows and policies, this talk will talk about best policies and how to implement them. It will also introduce tools which can be deployed to either analyse builds and offer users hints and areas to work on to get best results as well as some tools which can be used to reduce the size itself along with compiler

See also:

Khem Raj is a Linux architect at Comcast, helping several open source initiatives within the company: He is guiding the company's adoption of open source software, and becoming an active contributor to the open source components used in the RDK settop software stack. One of the most recent projects he has worked on is migrating RDK to an OpenEmbedded/Yocto-based framework for build system and embedded Linux distribution generation. He is also actively working on making the RDK community adopt the RDK framework for future TV settop devices and broadband gateways. He is a Yocto Project advisory board member, and member of the technical steering Committee for the OpenEmbedded project. He is core maintainer for several key pieces in OpenEmbedded framework, including core metadata, toolchains, and SDKs. Prior to Comcast, Khem helped Juniper migrate the Junos operating system to use embedded Linux as the base operating system

This speaker also appears in: