天嵌 ARM开发社区

 找回密码
 注册
查看: 1848|回复: 2

为什么把uImage下载到nand flash就启动不了?

[复制链接]
albert 发表于 2011-4-27 16:32:40 | 显示全部楼层 |阅读模式
本帖最后由 albert 于 2011-4-27 16:37 编辑

从nand flash启动,进入u-boot终端后,如下:
U-Boot 1.1.6 (Apr 26 2011 - 19:57:20)

DRAM:  64 MB
Flash:  2 MB
NAND:  256 MiB
In:    serial
Out:   serial
Err:  serial
[Albert2440]#
然后通过tftp下载内核uImage到sdram的0x32000000 ,通过bootm 0x32000000 能启动内核

但是把内核下载到nand flash 后从nand flash启动就不行了,错误如下:
U-Boot 1.1.6 (Apr 26 2011 - 19:57:20)

DRAM:  64 MB
Flash:  2 MB
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0

Loading from NAND 256MiB 3,3V 8-bit, offset 0x0

** Bad Magic Number 0xea000012 **
## Booting image at 32000000 ...
Bad Magic Number

我又重新尝试烧写了zImage,zImage.bin到nand flash中都不行,
不知道为什么,天嵌论坛也有相似的问题,但都没得到解决。难道是u-boot的问题?我的u-boot的版本是u-boot 1.1.6的?
很是郁闷
machoe 发表于 2011-4-27 17:00:40 | 显示全部楼层
你的u-boot是自己移植的吗?
 楼主| albert 发表于 2011-4-28 09:17:12 | 显示全部楼层
2# machoe
是我自己移植的
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-7-7 21:45 , Processed in 1.031250 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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