[Buildroot] Both cramfs + jffs2 in buildroot?

Hinko Kocevar hinko.kocevar at cetrtapot.si
Thu Oct 9 08:16:29 UTC 2008


Daniel Nyström wrote:
> (Sorry if this has been a topic earlier, but it's really hard to search
> the mailing archive)
> 
> Is it possible in Buildroot to make both a read-only rootfs and a second
> writable filesystem?
> 
> A common setup is using cramfs for / and mounting a jffs2 on /mnt/flash,
> and then make a symlink of /etc to point at /mnt/flash/etc where all
> config files are writable.
> 
> Is this possible to achive with Buildroot?

Why not.

You'll need to look at the target/jffs2.mk and target/cramfs.mk. Maybe
buildroot code has to be modified to allow both fs being built at once.
Also kernel configuration must be fixed to support one more MTD
partition. Provide your own boot scripts and implement the logic of
mounting the jffs etc.

HTH,
Hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenia, Europe
Tel. +386 (0) 4 280 66 03
E-mail: hinko.kocevar at cetrtapot.si
Http: www.cetrtapot.si




More information about the buildroot mailing list