[Yaffs] Support for YAFFS2 in u-boot

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Nobin Mathew
Date:  
To: u-boot-devel, yaffs
Subject: [Yaffs] Support for YAFFS2 in u-boot
Is there any support for writing yaffs2 file system image from u-boot
to nand flash.

I created the file system using mkyaffs2image utility.


I mean using u-boot command "nand write"

When I use this to write image I am not able to boot from that, it
mounts yaffs2 but gives the error "initial console not found".

But if I use the mtd utilities flash_eraseall and nandwrite then I am
able to boot from that

I use those utilities with following options

./flash_eraseall /dev/mtdX
./nandwrite -a -o /dev/mtdX yaffs2.img

Thanks
Nobin Mathew