imx6ul nand flash 出现坏块问题
大家好!我使用4GB NAND FLASH,烧录系统后,反复开关机重启几次就会出现一些逻辑坏块,导致文件系统中应用程序无法启动。
请问大家有遇到过类似问题吗?
[ 2.136295] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0x44
[ 2.142718] nand: Micron MT29F32G08CBADBWP
[ 2.146893] nand: 4096MiB, MLC, page size: 8192, OOB size: 744
[ 2.152913] gpmi-nand 1806000.gpmi-nand:Default ecc strength(52) is beyond our capability(40). Try to use maximum ecc strength controller
[ 2.152913]can support.
[ 2.168725] gpmi-nand 1806000.gpmi-nand: enable the asynchronous EDO mode 5
[ 2.175810] Scanning device for bad blocks
[ 2.196537] Bad eraseblock 90 at 0x00000b400000
[ 2.201294] Bad eraseblock 91 at 0x00000b600000
[ 2.377837] Bad eraseblock 1077 at 0x000086a00000
[ 2.484784] Bad eraseblock 1703 at 0x0000d4e00000
[ 2.543911] 8 ofpart partitions found on MTD device gpmi-nand
[ 2.549731] Creating 8 MTD partitions on "gpmi-nand":
[ 2.554824] 0x000000000000-0x000004000000 : "boot"
[ 2.562573] 0x000004000000-0x000005000000 : "logo"
[ 2.570204] 0x000005000000-0x000006000000 : "ENV"
[ 2.577756] 0x000006000000-0x000007000000 : "DTB"
[ 2.585549] 0x000007000000-0x000008000000 : "kernel"
[ 2.593241] 0x000008000000-0x000009000000 : "DTBbak"
[ 2.600926] 0x000009000000-0x00000a000000 : "kernelbak"
[ 2.608933] 0x00000a000000-0x000100000000 : "rootfs"
[ 2.617031] gpmi-nand 1806000.gpmi-nand: driver registered.
[ 2.196537] Bad eraseblock 90 at 0x00000b400000
[ 2.201294] Bad eraseblock 91 at 0x00000b600000
[ 2.377837] Bad eraseblock 1077 at 0x000086a00000
[ 2.484784] Bad eraseblock 1703 at 0x0000d4e00000
前面两个坏块是nand flash出厂时本身有的坏块,后面两个是不断开关机之后产生的逻辑坏块。
不好意思,看错板块了,该发到imx6支持社区 比较简单的方法就是格式化flash,重新烧写镜像,如果想避免类似的问题,可以做些掉电处理
https://www.cnblogs.com/vincentfu/p/5625285.html
页:
[1]