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: u-boot-devel-bounces@blackfin.uclinux.org > >[mailto:u-boot-devel-bounces@blackfin.uclinux.org] On Behalf > >Of Nobin Mathew > >Sent: Monday, June 25, 2007 3:14 PM > >To: u-boot-devel@blackfin.uclinux.org; yaffs@lists.aleph1.co.uk > >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 > >U-Boot-devel@blackfin.uclinux.org > >http://blackfin.uclinux.org/mailman/listinfo/u-boot-devel > > >