Page 1 of 1

SAMA5D27 smallest image and rootfs size using yocto project

Posted: Wed May 22, 2019 11:29 am
by Gaston
Hello. I m using SAMA5D27 SOM1 EK1 board and yocto project. I build for it a linux kernel image and a rootfs to make it boot following the steps described here: https://www.at91.com/linux4sam/bin/view ... EKMainPage

The size of the rootfs and the image together is 15 Mega octet which is out of my needs while i m trying to use 8 Mega octet QSPI flash memory.

Now I am trying to build the smallest possible Linux image. While i was searching on net , i found some solutions like using busybox instead of systemV or systemd , using uClibc instead of glibc, Thumb-2 instructions instead of 32 Arm instructions.. Do you have any idea where can I check this options ? And how can I make these changes ? Do you have any other solutions to make smaller image size ?

Thanks.