
In message 20060907083522.84524.qmail@web7905.mail.in.yahoo.com you wrote:
I have some doubts about jffs2
You gotta learn to read error messages.
I loaded my jffs2 filesystem in flash 11-63 sectors. when I used ls command 1st time in u-boot in gives error like below
USCP# ls Scanning JFFS2 FS: .... add_node: malloc failed
-------------------------------------^^^^^^^^^^^^^
add_node failed! ls: Failed to scan JFFSv2 file structure
malloc failed is a pretty clear message: U-Boot ran out of memory. Please increase the size of the malloc areane in your board config file and try again.
but from 2nd time onwards it giving the list of my filesystem. 1)Why 1st time it's not working ?
You only think it's working, but actually it shows you only part of the file system.
- Is possible to add new file in jffs2 from u-boot?
No, there is no write support. The fie system is strictly read-only.
Best regards,
Wolfgang Denk