On 02/28/2012 06:37 AM, VISWANADHULA BALAJI wrote: > Hi, > > Iam loading yaffs2 image on to the nandflash having 2k page size > from uboot prompt by nand write.yaffs command.Iam using smdk6410 arm11 > board.When i mount the yaffs2 file system the following errors came. > > mount -t yaffs2 /dev/mtdblock2 /sample > yaffs: dev is 32505858 name is "mtdblock2" > yaffs: passed flags "" > yaffs: Attempting MTD mount on 31.2, "mtdblock2" > uncorrectable error : <3>uncorrectable error : <3>uncorrectable error > : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable > error : <3>uncorrectable error : <3>uncorrectable error : > <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable > error : <3>uncorrectable error : <3>uncorrectable error : > <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable > error : <3>uncorrectable error : <3>uncorrectable error : > <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable > error : <3>uncorrectable error : <3>uncorrectable error : > <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable > error : <3>uncorrectable error : <3>uncorrectable error : > <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable > error : <3>uncorrectable error : <3>uncorrectable error : > <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable > error : <3>uncorrectable error : <3>uncorrectable error : > <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable > error : <3>uncorrectable error : <3>uncorrectable error : > <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable > error : <3>uncorrectable error : <3>uncorrectable error : > <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable > error : <3>uncorrectable error : <3>uncorrectable error : > > Under sample directory I can see bin,dev,lib,etc directories but some > have the data and some have no data.I don't know the what problem iam > facing please help me. Iam using uboot-1.1.6 and kernel 2.6.28.6. It sounds like your MTD driver isn't setup correctly. It could be either your u-boot or linux MTD driver where one is writing with an ECC method that is different than what the other is reading. You should first test that you can write raw NAND in u-boot and then successfully read the NAND flash in Linux (and vica-versa) to make sure that the MTD drivers are using the same ECC method and OOB layouts... -- Peter Barada peter.barada@logicpd.com