EmbeddedRelated.com
Forums

u-boot and root filesystems

Started by Unknown June 1, 2006
psommerfeld@gmail.com wrote:
> Another question is how small can a functional rootfs be? I am hoping I > can get it under 20 MB.
I worked on linux project last year, which may give you some guidelines... We had a very functional rootfs that fit snuggly into 4MB (with JFFS2). We kept our app and additional packages (the most notable large ones were Python and Qt) in a separate partition in flash - that took up a little over 20MB (also JFFS2, and we got better than 2:1 compression). Of course, it all depends on what you want... I'm now again working on a linux project, and I've just the other day used Busybox to get a minimal rootfs (NOTHING, except init and sh). It's only 75K. Of course, the caveat is you need glibc, too, and that's 2MB. -bri
Thanks everyone for the answers. Very useful info.

-- Pete

Brian Silverman wrote:
> psommerfeld@gmail.com wrote: > > Another question is how small can a functional rootfs be? I am hoping I > > can get it under 20 MB. > > I worked on linux project last year, which may give you some > guidelines... We had a very functional rootfs that fit snuggly into > 4MB (with JFFS2). We kept our app and additional packages (the most > notable large ones were Python and Qt) in a separate partition in flash > - that took up a little over 20MB (also JFFS2, and we got better than > 2:1 compression). > > Of course, it all depends on what you want... > > I'm now again working on a linux project, and I've just the other day > used Busybox to get a minimal rootfs (NOTHING, except init and sh). > It's only 75K. Of course, the caveat is you need glibc, too, and > that's 2MB. > > -bri