After adding a file to a jffs2 filesystem I get message like this:
"Empty flash at 0x001011e0 ends at 0x00101800"
What is the problem?
Are there a setting that is wrong or missed? I generated the jffs with
"mkfs.jffs2 -lqnp -e 128 -r /opt/rootfs/opt -o /share/fs_opt.jffs2"
I do use a Micron MT9F1G16ABC, so it is organized that way
– Page size • x16: 1056 words (1024 + 32 words)
– Block size: 64 pages (128K + 4K bytes)
The partitions are build like this, always mith multiples of 64*2048 (which is 128k)
static struct mtd_partition omap3evm_nand_partitions[] = {
{
.name = "X-Loader",
.offset = 0,
.size = 2*(64*2048),
.mask_flags = MTD_WRITEABLE /* force read-only */
/*
* Rom code checks for x-loader
* in the first four blocks.
* In case NAND block 0 is bad
* this feature can be useful.
*/
},
{
.name = "U-Boot",
.offset = MTDPART_OFS_APPEND,
.size = 4*(64*2048), /*256 + 256 KB*/
// .mask_flags = MTD_WRITEABLE /* force read-only */
},
....