mkfs.jffs2 ?!

Jason Liu liu.h.jason at gmail.com
Wed May 21 09:13:46 EDT 2008


before mount please erase the partition and then mount & copy files to
the mount point,
remount and see what happen. empty flash at [address] end at [address]
!!!!!!!!!!!!!!!!!!!!!!!
is no harmfull message. the wrong configration when use mkfs.jffs2
will also lead to it.
such as the erase size is not the same with your nand flash used.

2008/5/21 Manuel Sahm <Manuel.Sahm at feig.de>:
> 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........
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>



More information about the linux-mtd mailing list