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

Page principale
Attachements:
Message en tant que courrier électronique
+ (text/plain)
Supprimer ce message
Répondre à ce message
Auteur: Nobin Mathew
Date:  
À: Wu, Bryan
CC: u-boot-devel, yaffs
Sujet: Re: [Yaffs] [U-Boot-devel] Support for YAFFS2 in u-boot
Bryan,

My suggestion, is dont go for all those circus, try to boot JFFS2
image, those flash_eraseall and nandwrite are enough, u-boot code is
just copy of that.

So try to see what is going wrong in your driver.

Nobin Mathew

On 7/12/07, Wu, Bryan <> wrote:
> Hi Nobin:
>
> Catch you here. -:))
>
> I think you can find all information here.
> http://docs.blackfin.uclinux.org/doku.php?id=:using_nand_flash_with_u-bo
> ot_and_linux_kernel&s=nand
>
> And what hardware platform are you working on? BF537-STAMP?
>
> - Bryan Wu
>
> >-----Original Message-----
> >From:
> >[mailto:u-boot-devel-bounces@blackfin.uclinux.org] On Behalf
> >Of Nobin Mathew
> >Sent: Monday, June 25, 2007 3:14 PM
> >To: ;
> >Subject: [U-Boot-devel] 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
> >_______________________________________________
> >U-Boot-devel mailing list
> >
> >http://blackfin.uclinux.org/mailman/listinfo/u-boot-devel
> >
>