硬件平台:pxa270,SDRAM:128M,FLASH :32M
软件平台:(1/2)* wince50 (还没完成)
现在系统已经通过了 boot 并且成功进入OAL的OEMInit
打印信息如下:
Microsoft Windows CE Ethernet Bootloader Common Library Version 1.1 Built Jun 11 2009 13:33:30
Microsoft Windows CE Ethernet Bootloader 1.7 for the Intel MainstoneII
Development Platform Built Jun 11 2009
//启动Eboot!
OEMLcdScreen is not finish yet!and will be done later!
Starting auto download Selection = 0
LockID is running
XLLP_CLKEN_USBCLIENT is running
OEM_USBConfigureDevice is running!
Waiting for USB Connecting...USB Connected !
//通过USB传NK
OEM_USBConfigureDevice is successful !
main :STEP 7 !!!.
System ready!
Preparing for download...
INFO: Using device name: ''
OEMPreDownload g_DownloadImage = 1!
Bufflen is 4IMAGE Len : 28311552
.............
USB download completed!
//NK.NB0已经下载到SDRAM中
1111--------------!
xxxxxxxxxxxxyyyyyyyyyyyyy!
Now programming Flash ...
//开始将NK.NB0写到FLASH中
........................................................................................................................................................................................................................
Comparing Flash vs RAM image ...
//做一下校验
Flash programmed successfully!
//写完!
Will goto launch!
OEMLaunch is running!!!!!!!!!!!!
Download successful!Jumping to image at 0x9AB00000
//向OEMLaunch传地址0x9AB00000是FLASH的虚拟地址
(physical 0x100000)...
//对应物理地址为0x100000从这里启动
start the last launch !
//开始启动NK
//这部分是在OAL的startup.s中运行的部分,
//然后又跳到了kernelstart
-OEMInitDebugSerial is RUNNING2222!
//kernelstart跳到了ArmInit,ArmInit调用OEMInitDebugSerial初始化串口
Windows CE Kernel for ARM (Thumb Enabled) Built on Aug4 2008 at 18:38:38
ProcessorType=0411Revision=7
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 9ab068a8
+OEMInit
-OEMInit
//arminit函数调用OEMINIT
Sp=ffffc7cc
//还是在ArmInit中:
KernelFindMemory();
NKDbgPrintfW(L"Sp=%8.8x\r\n", &cpuType);
RTC:Read time from PCF8563.......sucessed