iMX8M mini kernel size

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX8M mini kernel size

746 Views
flouveau
Contributor II

Hi all,

I'm working on the imx8mmevk board for now.

I'm using Yocto to build a core-image-base image with some application custom.

As I can see, the kernel size for the board is about 23 Mb.

I wonder if there is some default configuration for this board to downsize the kernel.

Regards,

Fabrice

0 Kudos
1 Reply

680 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Fabrice,

There is not a smaller size configuration file per se, but you may edit your kernel configuration trough menuconfig to remove unnecessary modules and extensions (just be very careful that you do not need them for your drivers).

We do not have a document covering this but you can see a bit more of tuning the kernel size on the Embedded Linux Wiki (link below)

https://elinux.org/Kernel_Size_Tuning_Guide

My apologies for the inconvenience. Please let me know if there’s anything else I can do for you.

Regards,

0 Kudos