天嵌 ARM开发社区

 找回密码
 注册
查看: 4701|回复: 5

难道我的Nand Flash坏了吗?

[复制链接]
bujiy 发表于 2009-11-29 10:35:29 | 显示全部楼层 |阅读模式
我的板是256M nand flash,东华3.5寸屏

我把nand flash格式化了:
nor启动,u-boot命令9 Format the NAND Flash
##### 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: 2
Start address: 0
Size(eg. 4000000, 0x4000000, 64m and so on): 256m
最后显示100%Complete ,OK

之后从nor启动进u-boot,不论往nand flash烧写什么(logo,u-boot,linux,yaffs),从nand flash启动都是白屏!!!
而且在烧写logo,u-boot,linux之后若直接选命令8 Boot the system就有如下显示:
Enter your selection: 8
Start Linux ...
Copy linux kernel from 0x00200000 to 0x30008000, size = 0x00200000 ... Copy Kern
el to SDRAM done,Warning: this binary is not compressed linux kernel image
zImage magic = 0x00000000
NOW, Booting Linux......
然后卡死,一直不动!!!

我试过用H-Jtag烧写nand flash u-boot,可从nand flash启动还是白屏!!!
我怕是u-boot与linux版本不配,换了几套烧写镜像都不行....
 楼主| bujiy 发表于 2009-11-29 10:45:21 | 显示全部楼层
补充:上述“白屏”时,串口没任何信息
还有个更奇怪的事情:
我烧linux不行,就换win ce,一开始在nor启下,烧STEPLDR.nb1,eboot,然后按住空格从nand flash启还进不了eboot,我就再次格式化nand flash,命令9 Format the NAND Flash,[2] Nand earse - clean NAND eraseing,然后再烧logo,STEPLDR.nb1,eboot,按住空格从nand flash启进了eboot,接着烧写nk.bin,正常进入win ce界面....然后,我关机,从nand flash重启,又是白屏了!!!!再选命令8 Boot the system,却显示:
Start Linux ...
Copy linux kernel from 0x00200000 to 0x30008000, size = 0x00200000 ... Copy Kern
el to SDRAM done,Warning: this binary is not compressed linux kernel image
zImage magic = 0x00000000
NOW, Booting Linux......
然后卡死——
奇怪,之前烧的win ce的东西全没了??????
 楼主| bujiy 发表于 2009-11-29 11:16:22 | 显示全部楼层
补充:
我烧写用的镜像都是资料光盘目录"出厂烧录镜像合集\东华3.5寸屏的镜像"下的,论坛上的W35_Images_20091106这套也试过,都不行。
u-boot烧写时,dnw按默认配置,usb驱动保证安装无误。H-Jtag烧写时按TQ2440_nor_eon.hfc烧nor,TQ2440_nand_2KP.hfc烧nand。

我还有做的不对的地方吗?

我的板是9月30号出厂的,11月买的,刚两周的样子,一开始,按手册,测试linux,win ce没任何问题。后来想学习烧写的完整过程,就把nand格了,也把nor用别的东西覆盖了,再按照用h-jtag烧nor u-boot,进nor烧nand u-boot,......
昨天那个5V直流电源坏了,自己又买了个新的......
我现在本来学arm9的时间就不多,还出这些问题,哎~~~~~~~~~~~
cmasp 发表于 2009-11-29 23:05:03 | 显示全部楼层
nor启动,u-boot命令9 Format the NAND Flash
建议楼主选9再选1比较好,这样可以消除假坏块


再选命令8 Boot the system,却显示:
Start Linux ...
这个命令只对LINUX有用,对WINCE是没有用的



/*****************************************************************/
包邮 TQ2440开发板(256MB FLASH)+东华3.5寸触摸屏+8DVD资料+送USB转串口=580
http://item.taobao.com/auction/i ... 5708bea5401ef74.htm
/*****************************************************************/
 楼主| bujiy 发表于 2009-11-30 11:20:42 | 显示全部楼层
“建议楼主选9再选1比较好”
果然如此,但这个命令后的 “(UNSAFE)” 让人有点不敢用它。
手册上有讲这个的吗? 没有的话建议你们给加上去,以免后面的初学者遇到相同的麻烦。
问题好像解决了,可以继续往下学习了......
ywf851207 发表于 2009-12-3 21:51:25 | 显示全部楼层
Enter your selection: 8
Start Linux ...
Copy linux kernel from 0x00200000 to 0x30008000, size = 0x00200000 ... Copy Kern
el to SDRAM done,Warning: this binary is not compressed linux kernel image
zImage magic = 0x00000000
NOW, Booting Linux......
然后卡死,一直不动!!!
你的这个情况我知道 你都还没有启动系统看屏幕干什么啊 你要看的是串口的提示信息
因为你烧写了UBOOT,没有烧写内核 所以才会有上面的现象~~~~你象NAND烧写UBOOT以后 从NAND启动,然后按空格键就可以进到UBOOT的主菜单了~~~~
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-10-6 22:24 , Processed in 1.021523 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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