AnsweredAssumed Answered

NAND Flash 40-bit ECC support in SDK2.0

Question asked by Amit Kumar on Oct 7, 2017
Latest reply on Oct 17, 2017 by Amit Kumar

Dear All,

 

We are using 32GB 40-bit ECC (40-bit ECC per 1117 bytes of data) NAND flash 4chip select (cs1-4) in T2080RDB design, SDK2.0 uboot detected 32GB memory, but read write is not happening in u-boot.

 

We have disable the ECC parameter in the u-boot as per errata (T2080CE-Rev5.pdf) suggested  chapter (A-007101:
Problems with ECC mode when using 8 KB page size NAND devices).

 

We have validated timing parameter from code warrior and put in the boot loader.

 

Second, kernel is also getting detected all 32GB memory, after disabling ECC support in the linux.

 

Here read/write is happening by using below command.

 

Below

flash_eraseall /dev/mtd5
ubiattach /dev/ubi_ctrl -m 5 -d 5
ubimkvol /dev/ubi5 -n 0 -N rootfs -m
mkdir -p /mnt/ubi5; mount -t ubifs ubi5_0 /mnt/ubi5

 

Please let me know how nand flash will get auto mount in the linux boot time.

 

Each and every time we are erasing the nand memory then its getting mounted.

 

Thanks,

Amit

Attachments

Outcomes