阅读:960回复:3
修改了config.bib后,NK启动不了
以前NK是这样定义的
; NK Start address #define NKSTART 8C200000 #define NKLEN 01500000 #define RAMSTART 8D700000 #define RAMLEN 02900000 由于我在前面加了一个大小为0x000A000的buffer,所以NK等东西顺序后移0x000A000 ; NK Start address #define NKSTART 8C2A0000 #define NKLEN 01500000 #define RAMSTART 8D7A0000 #define RAMLEN 02900000 我也修改了eboot里面loader.h中的OS_RAMIMAGE_START 原来是 #define OS_RAMIMAGE_START 0x8c200000 现修改为 #define OS_RAMIMAGE_START 0x8c2A0000 rebuild platform后 将nk.nb0烧入flash,启动时出现以下打印信息 Preparing for download... +OEMPreDownload: 0 ::OEMLaunch, ImageStart:0x0, ImageLength:0x0, LaunchAddr:0x0 +TOC_Read -TOC_Read dwStartSector: 0xBA0, dwSectorsNeeded: 0xA800, dwLoadAddress: 0x8C2A0000 nJumping to image at virtual address: 0x8C2A0000 +ToPhysicalAddr:0x8C2A0000 -ToPhysicalAddr:0x302A0000 ::: Physical Launch Address: 0x302A0000h Windows CE Kernel for ARM (Thumb Enabled) Built on Mar 13 2003 at 22:52:56 ProcessorType=0920 Revision=0 sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 8c2a1480 Windows CE Firmware Init INFO: Initializing system interrupts... INFO: Initializing system clock(s)... INFO: Initializing driver globals area... OEMInit Done... Sp=ffffc7cc 在这里就停住了 哪位知道是什么原因? |
|
|
沙发#
发布于:2007-06-18 16:38
#define NKSTART 8C2A0000
这个应该是1M对齐的,你浪费一些,改成#define NKSTART 8C30000 其它顺序移后1M试试。 |
|
板凳#
发布于:2007-06-22 07:05
不知道你硬件具体是怎样的,
但一般情况下,NK后移,其长度也要减小,好像你并没有改其长度啊. |
|
|
地板#
发布于:2007-06-22 10:09
多谢楼上两位
我空了按照两位的说法改来再试试 |
|
|