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
thi
> And how are your MTD partitions set up in Linux?
[*] MTD partitioning support
< > RedBoot partition table parsing
[*] Command line partition table parsing
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 ma
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
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
5 matches
Mail list logo