[U-Boot] How can I use yaffs2 in uboot

2010-06-10 Thread jackfriend
Change CONFIG_SYS_MALLOC_LEN ,Now I can write a yaffs2 file system image (59M) in nand flash (/flash/a ) but The Linux how to find the file system image?(the system support yaffs2) set bootargs noinitrd root=/dev/mtdblock3 rootfstype=yaffs2 rw console=ttySAC0,115200 init=/linuxrc mem=64M

[U-Boot] Fw:Re: Fw:Re: Fw:How can I use yaffs2 in uboot

2010-06-09 Thread jackfriend
And how are your MTD partitions set up in Linux? [*] MTD partitioning support RedBoot partition table parsing [*] Command line partition table parsing

[U-Boot] Fw:Re: Fw:How can I use yaffs2 in uboot

2010-06-08 Thread jackfriend
Sounds like a pretty clear error message - doesn't it? Increase CONFIG_SYS_MALLOC_LEN in your bard config file. [It might make sense to improve the error message in fs/yaffs2/yaffs_guts.c to include information how many bytes were to be allocated, so you get an idea on how uch to increase the

[U-Boot] Fw:How can I use yaffs2 in uboot

2010-06-07 Thread jackfriend
Thank you for your help NOW with absolute path can write and read (small files) but When I write large files,such as 50M (Nand flash size is 256M) Display yaffs: Could not allocate Tnodes yaffs: Could not allocate Tnodes yaffs: Could not allocate Tnodes ... (Many) and then restart

[U-Boot] Fw:How can I use yaffs2 in uboot

2010-06-06 Thread jackfriend
How can I use yaffs2 in uboot I add CONFIG_YAFFS2 in /include/configs/smdk2410.h my2440 # nand write 0x30008000 8 4 NAND write: device 0 offset 0x8, size 0x4 262144 bytes written: OK my2440 # my2440 # ymount /flash yaffs: Mounting /flash my2440 # ywrm a 0x30008000