主题 : u-boot 移植出现mtdparts variable not set错误,哪位大侠解决下 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 27852
精华: 0
发帖: 10
金钱: 50 两
威望: 10 点
综合积分: 20 分
注册时间: 2010-09-01
最后登录: 2010-09-14
楼主  发表于: 2010-09-01 22:07

 u-boot 移植出现mtdparts variable not set错误,哪位大侠解决下

U-Boot 1.1.6 (Sep  1 2010 - 20:48:25)

DRAM:  64 MB
Flash:  2 MB
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
mtdparts variable not set, see 'help mtdparts'
incorrect device type in kernel

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

** Bad Magic Number 0xea000014 **
## Booting image at 32000000 ...
Bad Magic Number
EmbedSky>

问题出现在哪里?
为什么启动不了内核,请问怎么解决?
万分感谢~~
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2010-09-01 22:25
mtdparts是一个uboot的环境变量,基本上相当于NAND Flash的分区表。你自己定义一个就可以了。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."