天嵌 ARM开发社区

 找回密码
 注册
查看: 2597|回复: 4

求NAND flash不能擦除问题解决方法

[复制链接]
xillin_xi 发表于 2011-4-18 22:13:17 | 显示全部楼层 |阅读模式
** Warning - bad CRC or NAND, using default environment



##### EmbedSky BIOS for SKY2440/TQ2440 #####
Press Space key to Download Mode !

#####    Boot for Nor Flash Main Menu   #####
[1] Download u-boot or STEPLDR.nb1 or other bootloader to Nand Flash
[2] Download Eboot to Nand Flash
[3] Download Linux Kernel to Nand Flash
[5] Download CRAMFS image to Nand Flash
[6] Download YAFFS image to Nand Flash
[7] Download Program (uCOS-II or TQ2440_Test) to SDRAM and Run it
[8] Boot the system
[9] Format the Nand Flash
[0] Set the boot parameters
[a] Download User Program (eg: uCOS-II or TQ2440_Test)
[b] Download LOGO Picture (.bin) to Nand  Flash
[l] Set LCD Parameters
[o] Download u-boot to Nor Flash
[r] Reboot u-boot
[t] Test Linux Image (zImage)
[q] quit from menu
Enter your selection: 9

##### Erase Nand Menu #####
[1] Nand scrub - really clean NAND erasing bad blocks (UNSAFE)
[2] Nand earse - clean NAND eraseing
[q] Return main Menu
Enter your selection: 1

NAND scrub: device 0 whole chip
Warning: scrub option will erase all factory set bad blocks!
         There is no reliable way to recover them.
         Use this command only for testing purposes if you
         are sure of what you are doing!

Really scrub this NAND flash? <y/N> : y
Erasing at 0x87a0000 --  53% complete.
NAND 256MiB 3,3V 8-bit: MTD Erase failure: -5
Erasing at 0x8a20000 --  54% complete.
NAND 256MiB 3,3V 8-bit: MTD Erase failure: -5
Erasing at 0xffe0000 -- 100% complete.
OK

##### Erase Nand Menu #####
[1] Nand scrub - really clean NAND erasing bad blocks (UNSAFE)
[2] Nand earse - clean NAND eraseing
[q] Return main Menu
Enter your selection:
 楼主| xillin_xi 发表于 2011-4-18 22:45:19 | 显示全部楼层
TQ2440的板子
 楼主| xillin_xi 发表于 2011-4-18 23:36:15 | 显示全部楼层
在论坛里找到下面的烧录方法恢复出厂设置,linux系统可以在NAND flash模式下正常run了

如果NOR已经有UBOOT了,就可跳过第一步,另外第三步中我们也可以不换启动模式,直接在NOR下进行 ( 选择3,烧写zImage,选择b,烧写logo,最后选择6,烧写文件系统.)也是一样的!还有一点就是第一次烧写系统之后要进行触摸屏的校正,连续点击十字架中心五次即可!

不知道后面烧其他东西还会有问题吗?
guoxixiao 发表于 2011-4-19 09:10:18 | 显示全部楼层
应该没有问题
天嵌_support1 发表于 2011-4-19 14:03:06 | 显示全部楼层
你烧写到nand 就会覆盖原来的东西,要恢复,只能再重新烧写原来的东西就可以了的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-10-5 12:28 , Processed in 1.031290 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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