Hi Adrian,

Thanks for explaining things and helping me out.

Once I have stable builds then will try your suggestion as well.

Ankur

On Mon, Nov 25, 2019 at 1:10 PM Adrian Bunk <b...@stusta.de> wrote:

> On Mon, Nov 25, 2019 at 07:26:58PM +0000, Ross Burton wrote:
> > On 25/11/2019 18:37, Ankur Tyagi wrote:
> > > Hi,
> > >
> > > Based upon "thud" branch, I created core-image-minimal for am335x-evm
> > > board and resulting image size is very big(71M)
> >
> > If disk size is important then a good first step is to use musl instead
> of
> > glibc:
> >
> > TCLIBC = "musl"
> >...
>
> musl is mainly useful for tiny systems, a 40 MB partition is such a huge
> amount of space that the size of the C library no longer matters much.
>
> The size benefit of replacing glibc with musl is around 2 MB.
>
> A partition with an -Os build of Yocto with glibc+systemd (sic)
> is around 9 MB, together with bootloader and kernel this all
> fits in a 16 MB flash. Use compression for kernel and root
> filesystem and everything fits in a 8 MB flash.
>
> > Ross
>
> cu
> Adrian
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to