I use a BF537 based board with a 16MB NAND flash. Basically our system must be as reliable as possible (so most of the system is read-only), but I need a small read-write place for storing the configuration and the logs of the system. A "normal" customer won't get access to a linux console on the system.
I did the following:
- One small MTD partition for the kernel.
- A second read-only partition for the "root" filesystem. This partition uses UBIFS.
- A third read-write partition for the /var directory and for the configuration files of my board. This partition also uses UBIFS.
While this scheme seems correct to me, I would like to get advices from others:
- How do how deal with the robustness of the system (read-only partitions, other ideas, ...)
- What about the choice of UBIFS for a ro partition?
- What about my partition scheme?
- How can I handle upgrades of my system from customers point of view (ie from non programmers person). Currently I am unable to just load rootfs.xxxxx images from uboot ; I am forced to boot a uClinux image and load the rootfs files from here. That's far from simple ...
Thanks for your advices!