This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3351: Building minimal size Linux kernel

Part Number: AM3351


Champs,

Customer is building target image using Yocto following SDK UG instructions (https://software-dl.ti.com/processor-sdk-linux/esd/AM335X/08_02_00_24/exports/docs/linux/Overview_Building_the_SDK.html#overview-building-the-sdk ) and even when when using tisdk-base-image target the resulting kernel image is ~6MB. They would really like to get it down to 2-3MB. Do we have a ready to use kernel configuration that would produce minimal-size kernel that they could use as a base?

thank you,

Michael

  • Hi Michael,

    I am looping in another Linux expert for comments. But as far as I am aware, we don't have such minimal kernel config ready to share with customers. The kernel image size optimization is really depending on the kernel features required for each project, so we recommend customers to review kernel .config and continue disabling unused options to further reduce the kernel size.

  • Yeah, we currently don't have an accurate recording of all required kernel modules for each individual SOC. This list can be built, to some extent, but creating a loose dependency graph using the device tree nodes you wish to use and a little trial an error.