天嵌 ARM开发社区

 找回密码
 注册
查看: 3292|回复: 3

恢复出厂linux镜像提示Skipping bad block at 0x089c0000

[复制链接]
xillin_xi 发表于 2011-4-27 22:25:59 | 显示全部楼层 |阅读模式
#####    Boot for Nand 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)
Download LOGO Picture (.bin) to Nand  Flash
[l] Set LCD Parameters
[r] Reboot u-boot
[t] Test Linux Image (zImage)
[q] quit from menu
Enter your selection:  

#####    Boot for Nand 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)
Download LOGO Picture (.bin) to Nand  Flash
[l] Set LCD Parameters
[r] Reboot u-boot
[t] Test Linux Image (zImage)
[q] quit from menu
Enter your selection: 3
USB host is connected. Waiting a download.

Now, Downloading [ADDRESS:30000000h,TOTAL:1924682]
RECEIVED FILE SIZE: 1924682 (939KB/S, 2S)

NAND erase: device 0 offset 0x200000, size 0x200000
Erasing at 0x3e0000 -- 100% complete.
OK

NAND write: device 0 offset 0x200000, size 0x1d5e40

Writing data at 0x3d5800 -- 100% complete.
1924672 bytes written: OK

#####    Boot for Nand 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)
Download LOGO Picture (.bin) to Nand  Flash
[l] Set LCD Parameters
[r] Reboot u-boot
[t] Test Linux Image (zImage)
[q] quit from menu
Enter your selection: b
USB host is connected. Waiting a download.

Now, Downloading [ADDRESS:30000000h,TOTAL:153610]
RECEIVED FILE SIZE:  153610 (150KB/S, 1S)

NAND erase: device 0 offset 0x100000, size 0x100000
Erasing at 0x1e0000 -- 100% complete.
OK

NAND write: device 0 offset 0x100000, size 0x25800

Writing data at 0x125000 -- 100% complete.
153600 bytes written: OK

#####    Boot for Nand 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)
Download LOGO Picture (.bin) to Nand  Flash
[l] Set LCD Parameters
[r] Reboot u-boot
[t] Test Linux Image (zImage)
[q] quit from menu
Enter your selection: 6
USB host is connected. Waiting a download.

Now, Downloading [ADDRESS:30000000h,TOTAL:52804234]
RECEIVED FILE SIZE:52804234 (805KB/S, 64S)

NAND erase: device 0 offset 0x400000, size 0xfc00000
Skipping bad block at  0x089c0000                                            
Skipping bad block at  0x08c00000      
                                    
Erasing at 0xffe0000 -- 100% complete.
OK

NAND write: device 0 offset 0x400000, size 0x325ba80

Writing data at 0x34f4800 -- 100% complete.
52804224 bytes written: OK
上面提示两个block坏了,恢复完系统可以正常用,但是每次重新用NOR模式写winCE就有问题,这个怎么解决?
machoe 发表于 2011-4-28 09:26:40 | 显示全部楼层
格式化一下试试,有可能是假坏块
 楼主| xillin_xi 发表于 2011-4-28 09:39:17 | 显示全部楼层
##### 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)
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
格式化的时候也有部分失败,是不是真的这两个Block坏掉了?
天嵌_support1 发表于 2011-4-29 13:44:29 | 显示全部楼层
直接烧写就看看,这个没事
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-10-5 12:33 , Processed in 1.017513 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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