|
事情是这样的:
mini2440板 我自己做了一个内核,用板子带的BSP!按手册从norflash启动,先下载nboot(板子带的),eboot.nb0(自己做的),NK.bin(自己做的)结果串口显示跳到eboot 0x30038000就不动了,但是我如果先下载nboot(板子带的),eboot.nb0(板子带的),NK.bin(自己做的)就可以启动内核,为什么呢?自己感觉是eboot有问题
比较了以下eboot.nb0发现:
自己的eboot.nb0
00000000h: FE 03 00 EA 00 00 00 00 00 00 00 00 00 00 00 00 ; ?.?...........
00000010h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000020h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000030h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000040h: 45 43 45 43 78 CB 04 8C 78 4B 01 00 00 00 00 00 ; ECECx?寈K......
00000050h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000060h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000070h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
板子带的:
00000000h: FE 03 00 EA 00 00 00 00 00 00 00 00 00 00 00 00 ; ?.?...........
00000010h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000020h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000030h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000040h: 45 43 45 43 B8 D6 04 8C 00 00 00 00 00 00 00 00 ; ECEC钢.?.......
00000050h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000060h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
往下都是00一直到00001000h,以后很长都是一样的
上面中间那么多00是不是 程序中的 跳转啊!
我的红色部分为什么不一样呢 是不是那里出问题了?
总感觉我的配置不对,可是看了好多帖子也找不到错误 好郁闷!!
|
|