我的串口调试信息如下:
Windows CE Kernel for ARM (Thumb Enabled) Built on Nov 25 2008 at 18:21:26
ProcessorType=0411 Revision=7
OEMAddressTable = 8049cc74
INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb
+DisplayInitialize
+DisplayInitialize --
+SplashImage
+SplashImageà?
DeviceId................. MAINSTN0
pArgs->flags............. 0xD
pArgs->devLoc.IfcType.... 0
pArgs->devLoc.LogicalLoc. 0x10000300
pArgs->devLoc.PhysicalLoc 0x10000300
pArgs->devLoc.Pin........ 0
pArgs->ip4address........ 0
pDevice->Name............ s
pDevice->ifcType......... 0
pDevice->id.............. 0x10000300
pDevice->resource........ 0
pDevice->type............ 2
pDevice->pDriver......... 0x81C99000
ERROR: LAN91CInit: Network Chip not found at 0xba700300
ERROR: KITL call to pfnInit failed
ERROR: OALKitlInit: KitlInit failed
======+BSPPowerOffInit(): After setting PSLR register==dummyRead 0xcc500000
Error Reporting Memory Reserved, dump size = 00020000
Setting up softlog at 0x87fdc000 for 0x800 entries
Booting Windows CE version 6.00 for (ARM)
&pTOC = 81ce7c1c, pTOC = 81c802bc, pTOC->ulRamFree = 81cec000, MemForPT = 00001000
Old or invalid version stamp in kernel structures - starting clean!
Configuring: Primary pages: 25313, Secondary pages: 0, Filesystem pages = 12656
cSections1=1
IRQ_GPIO0_ETHERNET event .
-BSPIntrActiveIrq(67)
IRQ_GPIO0_PCMCIA_S0detect.
-BSPIntrActiveIrq(74)
参考别人的正确的调试信息,出来“Old or invalid version stamp in kernel structures - starting clean!”之后应该有“Booting kernel with clean memory configuration”的信息,但是我的却没有。直接跳到中断部分,执行一下就停止了。我追踪了一下,在private\winceos\coreos\nk\kernel\loader.c中,KernelFindMemory函数,
RETAILMSG(1,(L"cSections1=%d\r\n",cSections));
for (i = 0; i
fspages = CarveMem((LPBYTE)LogPtr->fsmemblk.startptr,LogPtr->fsmemblk.extension,LogPtr->fsmemblk.length,fspages);
}
RETAILMSG(1,(L"cSections2=%d\r\n",cSections));
我加了两个信息,结果只有第条信息显示,是carvemem函数执行有问题吗?这个函数又是做什么的呢?
请问这个大概是什么问题呢?非常感谢!