mkfs.jffs2 ?!
Manuel Sahm
Manuel.Sahm at feig.de
Wed May 21 06:15:02 EDT 2008
Hello,
I have lot of problems concerning my NANDflash:
I?ve downloaded mtd-utils 1.1.0 and compiled it on my host pc [Suse
Linux 10.2 - Kernel 2.6.18]
I enter:
mkfs.jffs2 -d /exports/ -p -s 0x800 -e 0x20000 -n -l -o /RFS.jffs2
NAND Flash has Pagesize = 2048 Byte = 2kByte
EraseBlockSize= 128 kByte
oob = 64
I could mount the Image on my target [linux 2.6.25.3]through:
mount -rw -t jffs2 /dev/mtdblock5 /media/DATAfs
BUT:
If I want to write to the device like: touch /media/DATAfs/test.txt
and then unmount /media/DATAfs/test.txt
and mount -rw -t jffs2 /dev/mtdblock5 /media/DATAfs
There?s an message:
empty flash at [address] end at [address] !!!!!!!!!!!!!!!!!!!!!!!
Please help me........
More information about the linux-mtd
mailing list