[About getting a whole system in a JFFS flash partition]
Nicolas Pitre wrote, a long time ago:
> When you've reached that point, then you may consider
> another structural level, the best I found so far, which
> consist of using two flash partitions: the first one being
> a single flash sector long to hold your bootloader, and
> the second one spaning onto the entire remaining flash
> using JFFS (Journaling Flash File System). For partitions
> that contained compressed filesystems before, you just
> need to use the loopback block interface to access them
> while holding their images into the JFFS partition.
I'm up to the point of compressing everything I can in
cramfs images.. One big directory I'd love to see compressed
is /lib because well, it's big and compresses pretty well.
However, this causes some problems, as not having libraries
available is not too good for programs to work...
As I see it, this would require init, mount, and a shell, to
be compiled statically, so you would be able to mount /lib
at bootup. However, statically linking adds in average 300KB
to an executable, and suddenly the space gain from
compressing /lib is lost in the static of those 3
executables.
Hence my question: has anyone done something similar before?
If yes, how? Or is it considered not worth it?
TIA,
Yves
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.