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

2010-06-09 Thread Wolfgang Denk
Dear jackfriend,

In message 50c70a8a.5b18.1291ad2050a.coremail.jackfri...@163.com you wrote:
 
 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 malloc
 arena size.]
 
 Best regards,
 
 Wolfgang Denk
 
 thanks a lot
 
 
 Change CONFIG_SYS_MALLOC_LEN ,Now I can write  a yaffs2 file system image 
 (59M) in nand flash  (/flash/a )

Please use quoting so one can see what was written by you and what was
written by others. And remove unneeded lines. See
http://www.netmeister.org/news/learn2quote.html


 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

And how are your MTD partitions set up in Linux?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
(null cookie; hope that's ok)
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[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 malloc
arena size.]

Best regards,

Wolfgang Denk

thanks a lot


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

this way doesn't work

I use

my2440# nand write.yaffs 30008000 0x58 3b0 

NAND write: device 0 offset 0x58, size 0x3b0

written: OK

my2440#tftp zImage.img

and then bootm  linux can find the file system image

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot