Now,I can store my filesys file filesys.tar into the flash using the nfs system.(in A.6.1 "Restoring the NAND Flash Using NFS" )
But,I want to store the filesys into the flash using uboot such as kernel setting.
I do the following steps in uboot setenv.
1.tftp 0x8200000 filesys.tar
2.nand erase 0x800000 0x2000000
3.nand write 0x8200000 0x800000 0x2000000
THEN,"boot",but the filesys failed.
How can I do it ?
And my filesys is yaffs2,the EVM is dm355,the flash is MT29F16G08
u-boot does not have the built-in support to understand YAFFS2 file system (or perhaps other file-systems); this is why it cannot be done thru u-boot and is normally done thru Linux Kernel.