Re: [yocto] Build optimization question

2014-11-08 Thread nick
Diego, I agree with Ross here in from my experience with embedded systems the three best ways to strip your root file system are by removing unneeded boot loader coe, removing unneeded kernel components and that of striping your middle ware to smaller versions like Busybox and other similiar pack

Re: [yocto] Build optimization question

2014-11-08 Thread Diego Sueiro
Take a look at poky-tiny distro: http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta-yocto/conf/distro/poky-tiny.conf As you are using BBB you can optimize u-boot code and remove some board detection steps. I noticed that MLO generated by u-boot 2014.07 mainline is too much faster than the o

Re: [yocto] Build optimization question

2014-11-08 Thread Burton, Ross
On 8 November 2014 14:23, Brian Hutchinson wrote: > I'm planning to just start excluding some of the packages in it ... I > don't need sound, wireless, Bluetooth etc. > > If you don't need sound, wifi, and bluetooth then remove the relevant flags from DISTRO_FEATURES and they'll never be built.

Re: [yocto] Build optimization question

2014-11-08 Thread Brian Hutchinson
On Nov 8, 2014 9:23 AM, "Brian Hutchinson" wrote: > > > On Nov 8, 2014 9:02 AM, "Dean" wrote: > > > > So I am using core-image-minimal and trying to shrink things as much as possible for boot speed. I wrap the bitbake command in some other commands to basically extract the image and then attach i

Re: [yocto] Build optimization question

2014-11-08 Thread Brian Hutchinson
On Nov 8, 2014 9:02 AM, "Dean" wrote: > > So I am using core-image-minimal and trying to shrink things as much as possible for boot speed. I wrap the bitbake command in some other commands to basically extract the image and then attach it to a kernel as a ramdisk. So the size of the image is criti