This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM355,Nand Files system



Hi,

            We are facing the following issues in DM355 based design .

 

1)       Unable to mount jffs2 . Its hanging ....( 

# mount -t jffs2 /dev/mtdblock5 /mnt/nand/

jffs2_check_nand_cleanmarker(): Cleanmarker node not detected in block at 000000

00

OOB at 00000000 was 4b 00 00 00 4b eb 94 c0 13 00 00 00 01 00 00 00 ff a1 00 00

00 00 00 00 07 00 00 00 8b 35 0a 4b 8b 35 0a 4b 8b 35 0a 4b 00 00 00 00 07 00 00

 00 ff ff ff ff ff ff ce 09 a4 5c 3f e9 88 6e 9d 82 00 00 00 00 00 00 00 00 00 0

0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

 00 85 19 03 20 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0

0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0

0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

      2)   If i do yaffs2 , its mounting .But it is not storing any data into flash....

           Example:


                 mount -t yaffs2 /dev/mtdblock5 /mnt/nand/

                cd /mnt/nand/

                   ls -> lost+found


                 mkdir test

                  ls -> lost+found test

                 umount /dev/mtdblock5

                     mount -t yaffs2 /dev/mtdblock5 /mnt/nand/

                   ls -> lost+found

                Not able to see test dir

3)       If we use large file system (cramfs - 80MB ), we are getting huge number of bad blocks. How to avoid that?

 

 

3)       Can we use nand scrab command?

 



        Board Details

                 Processor : DM355

Uboot : U-Boot 1.2.0

Kernel: Linux-2.6.10_mvl401LEOPARD_IPNC