Gunjan Gupta <[email protected]> [14-12-12 08:48]:
> Hi Robert,
> 
> I am using a BBB Rev A5C which only has 2 GB of emmc storage. In order to 
> conserve the storage, I am thinking to use squashfs for my root 
> file-system. The layout I am planning will be some thing like a /boot 
> partition, / partition, and then another partition that will act as an 
> overlay over squashfs. Also I am planning to have a option available so 
> that I can enable a separate overlay for the /home in case a SD card is 
> present.
> 
> I don't exactly know the amount of changes required for this, but roughly I 
> guess I have to customize the kernel and the initrd at the very least. 
> Could you please comment on whether this kind of system is possible and if 
> it will have any impact on performance of the system.
> 
> With Best Regards
> viraniac
> 
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

Hi Gunjan,

not exactly the answer to your question but maybe a way to keep
the rootfs small and speedy (no compression/decompression).

Warning! This needs more do-it-yourself-action and -compiling.

Instead of the usual Distros, which came which much stuff installed
to keep it easy and straigh forward for beginners try GENTOO.

Gentoo is source code based - which means you have to compile the
stuff you want (beside a rudimentary rootfs) yourself, which takes
time, especially on "small devices" like Beaglebone Black, Arietta.G25 
etc.

The usual steps are:
Download a stage3 rootfs from here:
http://distfiles.gentoo.org/releases/arm/autobuilds/current-stage3-armv7a_hardfp/
and detar the stuff as root onto the second (rootfs) partition.
Install UBoot, uEnv.txt and zImage onto the first partition.

Do the basic Gentoo configuration steps as described here:
https://www.gentoo.org/doc/en/handbook/handbook-x86.xml

(start with chapter 8.) 

This is for x86 systems, but on the level of application there is not 
much difference to ARM.

After that you will have a very small system and you are free to only
install those things you want. Package dependencies are tracked by
the package manager (eix/emerge and the Gentooo ebuilds), so no
worry about that.

+ Pros: As said -- you can keep it small.
- Cons: Time needed for compiling the applications (especially valid in
  the beginning) and there is more to do "by hand" as with other
  distros...but this evolve into a "Pro" after some time...you will
  see :)

HTH!


Best regards,
Meino

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to