[U-Boot] How to read and write a normal file from and to the yaffs2 in u-boot-2009.03 ?

zhou.yanqing at zte.com.cn zhou.yanqing at zte.com.cn
Tue May 26 10:51:28 CEST 2009


Hello all:

 
        I have a DaVinci DM6446 EVM board with 32MB K9F5608R0D(NAND 
Flash). The latest u-boot-2009.03 with yaffs2 compiled in can run on this 
board from Nand Flash. when running the command "ywr",the U-Boot dumps 
some error as such:

U-Boot > ywr /test.txt 0 5
Writing value (0) 5 times to /test.txt... yaffs tragedy: no more eraased 
blocks
Error opening file: -1
done"

        How to use the yaffs2 in u-boot-2009.03 ? Somebody can help me?

        Thanks very much!



--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail is solely property of the sender's organization. This mail communication is confidential. Recipients named above are obligated to maintain secrecy and are not permitted to disclose the contents of this communication to others.
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the originator of the message. Any views expressed in this message are those of the individual sender.
This message has been scanned for viruses and Spam by ZTE Anti-Spam system.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yaffscfg.c
Type: application/octet-stream
Size: 8903 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090526/fc4b0fc9/attachment.obj 


More information about the U-Boot mailing list