2 mtd devices with DiskOnChip or

Alan Daly adaly at kwic.com
Thu Jun 26 10:06:19 EDT 2003


My question is how do I either:
a) create 2 mtd devices with DiskOnChip
(I found an old patch http://pficheux.free.fr/eyrolles/linux_embarque/docs_externes/jffs2_on_doc.
html)
b) boot the DiskOnChip using just JFFS2


I'm setting an embedded linux build using 16 MB DiskOnChip on X86.
I'm using GRUB as the bootloader.

My original build was:

/dev/mtd0 -> /dev/nftla -> /dev/nftla1  / (root) ext2 16 MB

This build had some issues being hard powered on and off. 
As a result, I want to use JFFS2.  

My proposed build is:

/dev/mtd0 -> /dev/nftla -> /dev/nftla1 /boot ext2 1.5 MB (read-only)
/dev/mtd1 (/dev/mtdblock1)  / (root) jffs2 14.5 MB.

I thought that this way:
1) I can still use the grub_firmware
2) not worry about the ext2 partition as it is mounted read-only
3) still get the benifits of jffs2 on the volatile data.



*****
dalya










More information about the linux-mtd mailing list