|
本帖最后由 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的?
很是郁闷 |
|