嵌入式爱好者

查看: 2662|回复: 1

烧写Android内核出错,提示Input/output error,求救!!

[复制链接]

1

主题

5

帖子

9

积分

XX18通行证

扫一扫,手机访问本帖
发表于 2012-8-4 11:22:54 | 显示全部楼层 |阅读模式
(initramfs):/# flash_eraseall /dev/mtd1

Erasing 256 Kibyte @ 0 --  0 complete.
Skipping bad block at 0x00040000

Erasing 256 Kibyte @ 80000 --  6  complete.
Erasing 256 Kibyte @ c0000 --  9 mplete.
Erasing 256 Kibyte @ 100000 -- 12 mplete.
Erasing 256 Kibyte @ 140000 -- 15 mplete.
Erasing 256 Kibyte @ 180000 -- 18 complete.
Erasing 256 Kibyte @ 1c0000 -- 21 mplete.
Erasing 256 Kibyte @ 200000 -- 25 mplete.
Erasing 256 Kibyte @ 240000 -- 28 mplete.
Erasing 256 Kibyte @ 280000 -- 31 complete.
Erasing 256 Kibyte @ 2c0000 -- 34 mplete.
Erasing 256 Kibyte @ 300000 -- 37 mplete.
Erasing 256 Kibyte @ 340000 -- 40 mplete.
Erasing 256 Kibyte @ 380000 -- 43 complete.
Erasing 256 Kibyte @ 3c0000 -- 46 mplete.
Erasing 256 Kibyte @ 400000 -- 50 mplete.
Erasing 256 Kibyte @ 440000 -- 53 mplete.
Erasing 256 Kibyte @ 480000 -- 56 complete.
Erasing 256 Kibyte @ 4c0000 -- 59 mplete.
Erasing 256 Kibyte @ 500000 -- 62 mplete.
Erasing 256 Kibyte @ 540000 -- 65 mplete.
Erasing 256 Kibyte @ 580000 -- 68 complete.
Erasing 256 Kibyte @ 5c0000 -- 71 mplete.
Erasing 256 Kibyte @ 600000 -- 75 mplete.
Erasing 256 Kibyte @ 640000 -- 78 mplete.
Erasing 256 Kibyte @ 680000 -- 81 complete.
Erasing 256 Kibyte @ 6c0000 -- 84 mplete.
Erasing 256 Kibyte @ 700000 -- 87 mplete.
Erasing 256 Kibyte @ 740000 -- 90 mplete.
Erasing 256 Kibyte @ 780000 -- 93 mplete.
Erasing 256 Kibyte @ 7c0000 -- 96 mplete.
(initramfs):/# flashcp -v /home/Image_Nand /dev/mtd1
Erasing blocks: 0/16 (0)nand_erase: attempt to erase a bad block at page 0x00000180

Erasing blocks: 1/16 (6)
Erasing blocks: 2/16 (12)
While erasing blocks 0x00040000-0x00080000 on /dev/mtd1: Input/output error
(initramfs):/#
回复

使用道具 举报

1

主题

5

帖子

9

积分

XX18通行证

 楼主| 发表于 2012-8-4 11:28:11 | 显示全部楼层
我是根据文档《OK6410-Android用户手册.pdf》尝试烧写android系统,刚开始已经擦除整块FLASH。。。
回显如下:
SMDK6410 # nand erase 0 10000000


NAND erase: device 0 offset 0x0, size 0x10000000


Erasing at 0x0 --   0mplete.
Skipping bad block at  0x00040000                                            


Skipping bad block at  0x000c0000                                            


Erasing at 0x280000 --   1mplete.
Erasing at 0x500000 --   2mplete.
Erasing at 0x780000 --   3mplete.
Erasing at 0xa00000 --   4mplete.
Erasing at 0xcc0000 --   5mplete.
Erasing at 0xf40000 --   6mplete.
Erasing at 0x11c0000 --   7mplete.
Erasing at 0x1440000 --   8mplete.
Erasing at 0x1700000 --   9mplete.
Erasing at 0x1980000 --  10mplete.
Erasing at 0x1c00000 --  11mplete.
Erasing at 0x1e80000 --  12mplete.
Erasing at 0x2140000 --  13mplete.
Erasing at 0x23c0000 --  14mplete.
Erasing at 0x2640000 --  15mplete.
Erasing at 0x28c0000 --  16mplete.
Erasing at 0x2b80000 --  17mplete.
Erasing at 0x2e00000 --  18mplete.
Erasing at 0x3080000 --  19mplete.
Erasing at 0x3300000 --  20mplete.
Erasing at 0x35c0000 --  21mplete.
Erasing at 0x3840000 --  22mplete.
Erasing at 0x3ac0000 --  23mplete.
Erasing at 0x3d40000 --  24mplete.
Erasing at 0x3fc0000 --  25mplete.
Erasing at 0x4280000 --  26mplete.
Erasing at 0x4500000 --  27mplete.
Erasing at 0x4780000 --  28mplete.
Erasing at 0x4a00000 --  29mplete.
Erasing at 0x4cc0000 --  30mplete.
Erasing at 0x4f40000 --  31mplete.
Erasing at 0x51c0000 --  32mplete.
Erasing at 0x5440000 --  33mplete.
Erasing at 0x5700000 --  34mplete.
Erasing at 0x5980000 --  35mplete.
Erasing at 0x5c00000 --  36mplete.
Erasing at 0x5e80000 --  37mplete.
Erasing at 0x6140000 --  38mplete.
Erasing at 0x63c0000 --  39mplete.
Erasing at 0x6640000 --  40mplete.
Erasing at 0x68c0000 --  41mplete.
Erasing at 0x6b80000 --  42mplete.
Erasing at 0x6e00000 --  43mplete.
Erasing at 0x7080000 --  44mplete.
Erasing at 0x7300000 --  45mplete.
Erasing at 0x75c0000 --  46mplete.
Erasing at 0x7840000 --  47mplete.
Erasing at 0x7ac0000 --  48mplete.
Erasing at 0x7d40000 --  49mplete.
Erasing at 0x7fc0000 --  50mplete.
Erasing at 0x8280000 --  51mplete.
Erasing at 0x8500000 --  52mplete.
Erasing at 0x8780000 --  53mplete.
Erasing at 0x8a00000 --  54mplete.
Erasing at 0x8cc0000 --  55mplete.
Erasing at 0x8f40000 --  56mplete.
Erasing at 0x91c0000 --  57mplete.
Erasing at 0x9440000 --  58mplete.
Erasing at 0x9700000 --  59mplete.
Erasing at 0x9980000 --  60mplete.
Erasing at 0x9c00000 --  61mplete.
Erasing at 0x9e80000 --  62mplete.
Erasing at 0xa140000 --  63mplete.
Erasing at 0xa3c0000 --  64mplete.
Erasing at 0xa640000 --  65mplete.
Erasing at 0xa8c0000 --  66mplete.
Erasing at 0xab80000 --  67mplete.
Erasing at 0xae00000 --  68mplete.
Erasing at 0xb080000 --  69mplete.
Erasing at 0xb300000 --  70mplete.
Erasing at 0xb5c0000 --  71mplete.
Erasing at 0xb840000 --  72mplete.
Erasing at 0xbac0000 --  73mplete.
Erasing at 0xbd40000 --  74mplete.
Erasing at 0xbfc0000 --  75mplete.
Erasing at 0xc280000 --  76mplete.
Erasing at 0xc500000 --  77mplete.
Erasing at 0xc780000 --  78mplete.
Erasing at 0xca00000 --  79mplete.
Erasing at 0xccc0000 --  80mplete.
Erasing at 0xcf40000 --  81mplete.
Erasing at 0xd1c0000 --  82mplete.
Erasing at 0xd440000 --  83mplete.
Erasing at 0xd700000 --  84mplete.
Erasing at 0xd980000 --  85mplete.
Erasing at 0xdc00000 --  86mplete.
Erasing at 0xde80000 --  87mplete.
Erasing at 0xe140000 --  88mplete.
Erasing at 0xe3c0000 --  89mplete.
Erasing at 0xe640000 --  90mplete.
Erasing at 0xe8c0000 --  91mplete.
Erasing at 0xeb80000 --  92mplete.
Erasing at 0xee00000 --  93mplete.
Erasing at 0xf080000 --  94mplete.
Erasing at 0xf300000 --  95mplete.
Erasing at 0xf5c0000 --  96mplete.
Erasing at 0xf840000 --  97mplete.
Erasing at 0xfac0000 --  98mplete.
Erasing at 0xfd40000 --  99mplete.
Erasing at 0xffc0000 -- 100mplete.

OK

SMDK6410 # nand scrub 0 10000


NAND scrub: device 0 offset 0x0, size 0x10000

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>


Erasing at 0x0 -- 400complete.

Scanning device for bad blocks

OK
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-24 17:10

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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