nand write.yaffs from uboot

V.Balaji
Is it possible to write the yaffs2 image from uboot on to the nand flash of
SMDK6410 arm-11 board.

Titus Breidung
If the image fits into RAM you can load it with tftp and write it to nand:

tftp <address> filename
nand write.yaffs <address> <partition> <filesize>

For example:

tftp 30008000 root.yaffs

nand write.yaffs 30008000 rootfs ${filesize}

First you have to set ipaddr and serverip in environment if not already
configured.

Titus

V.Balaji
Hi,

   I have written the yaffs2 image on to the nand flash from uboot prompt
by nand write.yaffs command.Though it was written successfully some of the
directories like dev,bin got segmentation fault.Please help me.
Iam using smdk6410 arm11 board having uboot-1.1.6 version and kernel
2.6.38.6 with 1GB,2K pagesize nand flash.