mkfs.jffs2 ?!
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........
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 <[email protected]>:
Quoted 35 lines
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 -s0x800-e0x20000-n -l -o /RFS.jffs2NAND Flash has Pagesize = 2048 Byte = 2kByte
EraseBlockSize= 128 kByte
oob = 64I could mount the Image on my target [linux 2.6.25.3]through:
mount -rw -t jffs2
/dev/mtdblock5/media/DATAfsBUT:
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/DATAfsThere?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/
Hello,
I have make a pertition of 5 MB through the Kernel Partitioning. my jffs2 Image has a size of 128kB
If I mount the jffs df -h says:
Filesystem size used available Use% Mounted on/dev/mtdblock5 5.0M 388.0k 4.6M 8% /media/DATAfs
If I write to /media/Datafs, does the system automatically increase my mounted jffs image ?
I defenitly have the right erase size ----- maybe it is an endian problem ? How could I see which endian I need (little or big) ?
Thank you
Quoted 46 lines · Jason Liu
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 <[email protected]>:
Quoted 36 lines
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 -s0x800-e0x20000-n -l -o /RFS.jffs2NAND Flash has Pagesize = 2048 Byte = 2kByte
EraseBlockSize= 128 kByte
oob = 64I could mount the Image on my target [linux 2.6.25.3]through:
mount -rw -t jffs2
/dev/mtdblock5/media/DATAfsBUT:
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/DATAfsThere?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/
Signature · 32 lines
Freundliche Grüße / Best regards Manuel Sahm Research & Development FEIG ELECTRONIC GmbH Lange Straße 4 35781 Weilburg Germany Tel.: +49 (0)6471-3109.492 Fax.: +49 (0)6471-3109.99 email: [email protected] internet: http://www.feig.de ------------------------------------------------------------------------ Amtsgericht Limburg HRB 3178 Geschäftsführer: Dipl.-Ing. Wolfgang Feig ------------------------------------------------------------------------ ------------------------------------------------------------------------ Diese Email (eingeschlossen die Anhaenge) unterliegt Urheberrecht, die Informationen sind vertraulich und rechtswirksam privilegiert. Der Gebrauch dieser Email oder der Anhaenge von einem anderen als den Adressaten ist nicht gestattet und unrechtmaessig. This email (including any attachments) is subject to copyright, the information in it is confidential, and it is legally privileged. Use of this email or of any information in it other than by the addressee is unauthorised and unlawful. ------------------------------------------------------------------------