先说下情况吧,我做嵌入式linux开发应用,板子以前是可以正常启动的,但是在运行过程中,在ubuntu超级终端下经常显示:
[root@FriendlyARM /]# hello -qws
s3c-nand: 1 bit error detected at byte 2047, correcting from 0x00 to 0x01...OK
s3c-nand: 1 bit error detected at byte 2047, correcting from 0x00 to 0x01...OK
s3c-nand: 1 bit error detected at byte 2047, correcting from 0x00 to 0x08...OK
s3c-nand: 1 bit error detected at byte 2047, correcting from 0x00 to 0x01...OK
s3c-nand: 1 bit error detected at byte 2047, correcting from 0x00 to 0x01...OK
s3c-nand: 1 bit error detected at byte 2047, correcting from 0x00 to 0x01...OK
s3c-nand: 1 bit error detected at byte 2047, correcting from 0x40 to 0x48...OK
s3c-nand: 1 bit error detected at byte 2047, correcting from 0x00 to 0x01...OK
s3c-nand: 1 bit error detected at byte 2047, correcting from 0x48 to 0x40...OK
s3c-nand: 1 bit error detected at byte 2047, correcting from 0x00 to 0x08...OK
s3c-nand: 1 bit error detected at byte 2047, correcting from 0x00 to 0x01...OK
s3c-nand: 1 bit error detected at byte 2047, correcting from 0x00 to 0x01...OK
觉得可能是flash坏了,但是并不太影响我的开发,也就没当回事。可是前几天,板子无缘无故就不能启动了。只有刷机了。关于刷机,刚买来时是可以刷的,只烧写superboot也能看到LED1在闪,可是这次,同样的情况,SD-Flasher显示烧写成功,放到板子上,切换到SD启动时,四个LED由微暗变为灭,超级终端显示:ID Err Unknown NAND Mode, Halt...
注:我用的是光盘带的superboot,版本是superboot-20101117.bin,虽然版本很低,可是是光盘自带的啊! 而且我以前曾经烧写成功过。 这次我换了两个读卡器,SD卡,XP,win7都试了。都是这种情况,由于之前曾经烧写成功,应该可以排除SD卡和读卡器的问题吧。
我又换了superboot版本,包括:superboot-20111114.bin,superboot-20110722.bin,superboot-20110826.bin,superboot-20110727.bin,superboot-6410.bin,用这些版本时的情况是:上电后,四个LED由微暗变为灭,同时触摸屏变暗。但是LED1 扔没有闪烁。超级终端显示:NAND Mode:00000000 Unknown NAND Mode, Halt...
然后我用SD-flash直接烧写光盘自带的u-boot_sd-ram128.bin,超级终端显示:
U-Boot 1.1.6 (Nov 17 2010 - 15:57:13) for FriendlyARM MINI6410
CPU: S3C6410@532MHz
Fclk = 532MHz, Hclk = 133MHz, Pclk = 66MHz, Serial = CLKUART (SYNC Mode
)
Board: MINI6410
DRAM: 128 MB
Flash: 0 kB
NAND: No NAND device found!!!
0 MB
MMC: 1911 MB
*** Warning - bad CRC or MoviNAND, using default environment
In: serial
Out: serial
Err: serial
MAC: 08:90:90:90:90:90
##### FriendlyARM U-Boot(2010-11, SD) for 6410 #####
[f] Format the nand flash
[v] Download u-boot.bin
[k] Download Linux/Android kernel
[y] Download root yaffs2 image
[a] Download Absolute User Application
[n] Download Nboot.nb0 for WinCE
[w] Download WinCE NK.nb0
[s] Set the boot parameter of Linux
Boot Linux
[q] Quit to shell
NAND: 0 MiB, RAM: 128 MiB
我实在想不出其他的办法了,难道是flash坏了吗?烧写superboot失败,这个问题卡了我几天了,实在没辙,发帖求问,请版主和各位学友指导,赶紧不尽