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

2010-06-08 Thread Wolfgang Denk
Dear jackfriend, In message <14a6f7f.148ed.129153fef17.coremail.jackfri...@163.com> you wrote: > > 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 al

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

2010-06-08 Thread William Juul
On Tue, Jun 8, 2010 at 03:49, jackfriend wrote: > > Thank you for your help > NOW with absolute path can write and read (small files) > > Good. > but When I write large files,such as 50M (Nand flash size is 256M) > ... > yaffs: Mounting /flash > yaffs: Could not allocate Tnodes > Error mounti

[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 my24

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

2010-06-07 Thread William Juul
On Mon, Jun 7, 2010 at 08:44, Wolfgang Denk wrote: > Dear jackfriend, > > In message <39c3dad3.3bd4.12910469457.coremail.jackfri...@163.com> you > wrote: > > > > How can I use yaffs2 in uboot > You have to use absolute path with all commands. eg "yls /flash/" This path must match your mount poin

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

2010-06-06 Thread Wolfgang Denk
Dear jackfriend, In message <39c3dad3.3bd4.12910469457.coremail.jackfri...@163.com> you wrote: > > How can I use yaffs2 in uboot ... > my2440 # ymount /flash > > yaffs: Mounting /flash Looks good? > my2440 # ywrm a 0x30008000 4 > > Error opening file: -1 Maybe you try a "yls" first to ch

[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 4000