TOP
SSV SOFTWARE SYSTEMS REGISTER  REGISTER
Log in to check your private messages  Log in to check your private messages
START FAQ SEARCH MITGLIEDER PROFILE  Log in 
SSV-Forum
Problem using JFFS2 on flash

 
Post new topic   Reply to topic    SSV-Forum Forum Index >>> DNP/9200
<<< Previous topic - Next topic >>>  
Display posts from previous:   
Author Message
Kor



Joined: 11 Aug 2006
Posts: 7

PostPosted: 11.08.2006, 13:27    Post subject: Problem using JFFS2 on flash Reply with quote

I am trying to mount flash memory as jffs2, mounting result is ok, but I
cannot use it for data storage (even can't create any subdirectory - result
is "Segmentation fault").

After commands:
eraseall /dev/mtd2
mount -t jffs2 /dev/mtdblock2 /mnt
there are no error messages, everything seems to be ok.
Mount returns row:
/dev/mtdblock2 on /mnt type jffs2 (rw)
but df returns:
/dev/mtdblock2 4096 used=640 (16%) /mnt which seems to be wrong - flash
should be empty, shouldn't it?
So could anyone tell me what to check - is there some problem with eraseall or
jffs2 driver or something else?


Here is the solution from SSV:
steps for setup a flash disk in linux:

1) boot linux system
2) login as root
3) erase flash -> eraseall /dev/mtd2
4) create filesystem -> mount -t jffs2 /dev/mtdblock2 /mnt
5) finalize filesystem (take a long time) -> umount /mnt
6) reboot/reset system

I will try it ....
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SSV-Forum Forum Index >>> DNP/9200 All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

SSV SOFTWARE SYSTEMS

Dünenweg 5
30419 Hannover

Fon: +49(0)511  ·  40 000-0
Fax: +49(0)511  ·  40 000-40

sales@ssv-embedded.de


Impressum    ·    Datenschutz    ·    AGB

© 2024 SSV SOFTWARE SYSTEMS GmbH. Alle Rechte vorbehalten.

ISO 9001:2015