天嵌 ARM开发社区

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

急!求指点:yaffs2image 得到root2.6.30.4.bin 无法烧写

[复制链接]
little2G 发表于 2011-8-29 18:10:58 | 显示全部楼层 |阅读模式
usb烧写
擦除nandflash提示
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 0xffe0000 -- 100% complete.
OK
 楼主| little2G 发表于 2011-8-29 18:21:36 | 显示全部楼层
下载时出现的问题
#####    Boot for Nor Flash Main Menu   #####
#####     EmbedSky USB download mode     #####

[1] Download u-boot or STEPLDR.nb1 or other bootloader to Nand Flash
[2] Download Eboot (eboot.nb0) to Nand Flash
[3] Download Linux Kernel (zImage.bin) to Nand Flash
[5] Download CRAMFS image to Nand Flash
[6] Download YAFFS image (root.bin) 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
[n] Enter TFTP download mode menu
[o] Download u-boot to Nor Flash
[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:21766810]
RECEIVED FILE SIZE:21766810 (590KB/S, 36S)

NAND erase: device 0 offset 0x500000, size 0xfb00000
Skipping bad block at  0x089a0000                                            
Erasing at 0xffe0000 -- 100% complete.
OK

NAND write: device 0 offset 0x500000, size 0x14c2290
Input block length is not page aligned
Data did not fit into device, due to bad blocks
21766800 bytes written: ERROR
 楼主| little2G 发表于 2011-8-29 18:23:24 | 显示全部楼层
求指点!!!
 楼主| little2G 发表于 2011-8-29 19:40:31 | 显示全部楼层
经检查,发现文件编写有错误,修改后,如下,但是依旧有问题:
Enter your selection: 6
USB host is connected. Waiting a download.

Now, Downloading [ADDRESS:30000000h,TOTAL:12944458]
RECEIVED FILE SIZE:12944458 (601KB/S, 21S)

NAND erase: device 0 offset 0x500000, size 0xfb00000
Skipping bad block at  0x089a0000                                            
Erasing at 0xffe0000 -- 100% complete.
OK

NAND write: device 0 offset 0x500000, size 0xc58440

Writing data at 0x1118000 -- 100% complete.
12944448 bytes written: OK
如此是否表明文件已经写入nandflash?
svalen 发表于 2011-10-11 13:49:21 | 显示全部楼层
4# little2G


你好,我也遇到同样的问题,请问你是怎么解决 的?
亚瑟王 发表于 2011-10-18 16:45:28 | 显示全部楼层
应该是使用mkyaffs2image软件制作出来的镜像容量不对引起的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-10-2 22:32 , Processed in 1.015664 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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