天嵌 ARM开发社区

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

为什么出现这种错误(烧录NAND时)

[复制链接]
itspy 发表于 2010-12-13 09:32:12 | 显示全部楼层 |阅读模式
本帖最后由 itspy 于 2010-12-13 09:36 编辑

我用UBOOT烧录NAND,但是竟然每次都很慢,而且烧录不全
#####     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: 3
USB host is connected. Waiting a download.

Now, Downloading [ADDRESS:30000000h,TOTAL:63239626]
RECEIVED FILE SIZE:62455816
总共是63239626大小,
但是每次624555816就停止了?
每次都是这样,
而且速度比正常速度要慢?
这是什么原因呢
 楼主| itspy 发表于 2010-12-13 10:15:24 | 显示全部楼层
上面的问题解决了,其实没什么,可能是自己的操作错误了。
下面出现了个问题: 就是LINUX跑步起来:
出现下面现象:
Failed to execute /linuxrc.  Attempting defaults...
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
 楼主| itspy 发表于 2010-12-13 10:38:53 | 显示全部楼层
本帖最后由 itspy 于 2010-12-13 11:08 编辑

终于跑起来了。
看了帖子和教程(一头雾水)
不过幸运的是跑起来了。
我用的是256M的
总结一下:
首先少些UBOOT到NAND
然后烧写,LINUX镜像
包含了Linux-2.6.25.8的镜像
最后烧写LINUX文件系统镜像:
root_qtopia_2.2.0_2.6.30.4_256MB.bin
然后在UBOOT下,设置文件系统默认启动选项
从YAFFS参数,最后保存到NAND中,
即可。
天嵌_support1 发表于 2010-12-13 16:00:34 | 显示全部楼层
:)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-10-5 16:30 , Processed in 1.014687 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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