help on JFFS2 support
hi all,
i have a little custom board developed by myself with running linux.
I need now to save some data in the non volatile memory (parallel flash), and i read here and there that JFFS2 is a goow wat to go.
So i created the partition in the last megabyte of the flash, as below:
static struct mtd_partition amcore_partitions[] = {
{
.name = "Colilo (64K)",
.size = 0x10000,
.offset = 0x0
},
{
.name = "Kernel+ROMfs (3008K)",
.size = 0x2F0000,
.offset = MTDPART_OFS_APPEND
},
{
.name = "JFFS2 (1024K)",
.size = MTDPART_SIZ_FULL,
.offset = MTDPART_OFS_APPEND
}
The next step is to format the partition, but i don't know where to start.
Is the correct way to create an image on PC and writing it on the partition spave ? Or is more correct to format the partition with some linux tool included in the embedded linux ?
In both cases i would need some help/example/link,
many thanks,
angelo
|