Re: [Yaffs] Support for YAFFS2 in u-boot

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Frank Mandarino
Date:  
To: yaffs
Subject: Re: [Yaffs] Support for YAFFS2 in u-boot
Nobin Mathew wrote:
> 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


Hi Nobin,

I posted a patch a while back to u-boot-devel, which adds support for
writing yaffs1 and yaffs2 images. I have only tested yaffs1.

I don't have a link right now, but if you can't find it, let me know.

../fam
-- 
Frank Mandarino                                fmandarino(a)endrelia.com
Endrelia Technologies Inc.
Toronto, Ontario, Canada