Making linaro-nano smaller or Give Up Disk Space for Lent
tom.gall at linaro.org
Fri Mar 11 04:00:19 UTC 2011
On Thu, Mar 10, 2011 at 8:59 AM, Guillaume Leteller
<guillaume.letellier at arm.com> wrote:
>> In the developer platforms team we're working on getting the
>> linaro-nano image so that it is considerably smaller.
>> Some highlights to nano:
>> * The linaro-image boots just as our linaro-headless image did
>> (upstart and friends)
>> * it can be updated, or additional pkgs installed via apt-get
>> * networking works
>> * busybox is in use tho not necessarily universally
>> * ureadahead, python, have been removed
>> * docs have been removed
>> * linux-firmware has been removed (binary kernel firmware blobs)
>> * locales is remove
>> Installed image is 125 Megs. (Down from 290 Meg) We're on the cusp of
>> being able to fit into 128 megs of flash.
> Isn't it quite big for a "Nano" image? It looks like a size for a
> 'developer' version.
> Do we know why it's so big?
It's a process. I'd like to get down to 64 Meg but one step at a time,
128 Meg being a first step. I feel this is reasonable as both my
Beagle C4 and Beagle Xm both have 256 Meg of NAND.
> In comparison, ARM developed AEL/ALIP
> (http://www.linux-arm.org/LinuxFilesystem/AELFileSystemPage) and we were
> hoping to use Linaro's Nano image from now on.
> The size of the AEL/ALIP minimal version (busybox, ssh) was only 25MB
> (compressed - Cramfs). And the version with X11 and a desktop was 55MB.
> Those images are useful for development boards with 64MB of flash or when
> using CPU models.
Do you have some boards in mind that only have 64Meg of Flash?
>> > 3) linaro-media-create should have some kind of option (--nano) to
>> > clear out apt caches (saves ~40 meg of space)
>> If you want this it should be an easy change to make.
> This looks good if it's an easy change.
> Does it address the problem with Modules and firmware?
> Is it possible to get an image without Hwpacks?
Thanks for the info and feedback Guillaume.
More information about the linaro-dev