嵌入式爱好者

查看: 18280|回复: 1

[Linux] imx6ul nand flash 出现逻辑坏块导致应用程序无法启动

[复制链接]

14

主题

38

帖子

212

积分

i.MX8MM通行证i.MX6UL通行证i.MX6Q通行证

扫一扫,手机访问本帖
发表于 2019-3-11 14:31:28 | 显示全部楼层 |阅读模式
大家好!

我使用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出厂时本身有的坏块,后面两个是不断开关机之后产生的逻辑坏块。
回复

使用道具 举报

1

主题

3669

帖子

3927

积分

发表于 2019-3-11 17:23:40 | 显示全部楼层
比较简单的方法是格式化nandflash,重新烧写,硬件上做些掉电处理,预防类似的情况发生
技术支持电话:0312-3119192
技术支持邮箱:Android@forlinx.com
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-4-25 16:18

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表