Hi,
I'm working on Freescale IMX31 processor for a customized board. I
built the BSP with some modifications in the OAL. I included only Display in
catalog item. When i put my nk.bin in the board the following error came.
Windows CE Kernel for ARM (Thumb Enabled) Built on Apr 16 2008 at 14:32:22
ProcessorType=0b36 Revision=4
OEMAddressTable = 881013ec
INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb
OEMInit: SREV = 0x13
BSP System Configuration:
L2 CACHE ENABLED
MCU PLL = 532000000 Hz
USB PLL = 240000000 Hz
SER PLL = 220147200 Hz
ARM CLOCK = 266000000 Hz
IPU CLOCK = 133000000 Hz
AHB CLOCK = 133000000 Hz
IPG CLOCK = 66500000 Hz
NFC CLOCK = 22166666 Hz
GACC CLOCK = 66500000 Hz
PER CLOCK = 66500000 Hz
SSI1 CLOCK = 1719900 Hz
SSI2 CLOCK = 1719900 Hz
FIRI CLOCK = 1875000 Hz
CSI CLOCK = 429975 Hz
USB CLOCK = 60000000 Hz
SIM CLOCK = 66500000 Hz
OEMInit: L2 cache is enabled (AUXCR = 0x3001b)
KERNEL: Translate USB OTG =>irq(0x25)->sysintr(0x12)
Setting up softlog at 0x8bffc000 for 0x800 entries
Booting Windows CE version 6.00 for (ARM)
&pTOC = 8918bc1c, pTOC = 891170c0, pTOC->ulRamFree = 89190000, MemForPT =
000010
00
Old or invalid version stamp in kernel structures - starting clean!
Configuring: Primary pages: 11876, Secondary pages: 0, Filesystem pages = 5938
Booting kernel with clean memory configuration:
Memory Sections:
[0] : start: 89192000, extension: 00006000, length: 02e64000
NKStartup done, starting up kernel.
Windows CE KernelInit
Reserve VM for kernel XIP DLls, first = c0010000, last = c0950000
g_pprcNK == 0x89189aa0
Updated eptr->e32_vsize to = 00019000
Initializing Memory Mapped File Support
Scheduling the first thread.
Detecting VFP... VFP Found!
LoaderInit: Initialing loader
Updated eptr->e32_vsize to = 00019000
Updated eptr->e32_vsize to = 000a2000
PGPOOL: Reserved 768 pages for Loader pool
PGPOOL: Reserved 256 pages for File pool
Message Queue support initialized, g_hMsgQHeap = d0040770
FSDMGR!DllMain: DLL_PROCESS_ATTACH
CertMod.dll not found, using old OEM Trust
Mod
el
FileSystem Starting - starting with clean file system
Exception 'Data Abort' (4): Thread-Id=005c0002(pth=8bfcb414),
Proc-Id=00400002(p
prc=89189aa0) 'NK.EXE', VM-active=00400002(pprc=89189aa0) 'NK.EXE'
PC=88113424(NK.EXE+0x00013424) RA=8811055c(NK.EXE+0x0001055c) SP=d00bf844,
BVA=0
0000008
RtlDispatchException: returning failure. Flags=0
Unhandled exception c0000005:
Terminating thread 8bfcb414
Secondary thread in proc 00400002 faulted, Exception code = c0000005,
Exception
Address = 88113424!
Terminating Thread 005c0002
Kindly suggest. It is hanging in File System driver. I've added RAM and ROM
file system and hive based registry which is default in the Freescale BSP.
The following are reg entries
[HKEY_LOCAL_MACHINE\init\BootVars]
"Flags"=dword:3
"NoDefaultUser"=dword:0
"DefaultUser"="default"
Even i put "Flags"=dword:0, there is no improvement.
Kindly suggest.
Regards,
Kumar
Michel Verhagen (eMVP) - 29 Jul 2008 23:32 GMT
Does it still crash when using the RAM based registry? If it doesn't
then you need to closely look at your hive settings.
Good luck,
Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog
GuruCE Ltd.
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.
> Hi,
> I'm working on Freescale IMX31 processor for a customized board. I
[quoted text clipped - 88 lines]
> Regards,
> Kumar
Paul G. Tobey [eMVP] - 30 Jul 2008 00:06 GMT
That also reminds me that, if you change from one filesystem type to
another, you have to do a Clean Sysgen of the OS...
Paul T.
> Does it still crash when using the RAM based registry? If it doesn't then
> you need to closely look at your hive settings.
[quoted text clipped - 101 lines]
>> Regards,
>> Kumar
Mekas - 30 Jul 2008 16:37 GMT
Hi,
I tried with RAM based registry also. But still no improvements. As
per debug messages,
Exception 'Data Abort' (4): Thread-Id=005c0002(pth=8bfca414),
Proc-Id=00400002(p
prc=892f9aa0) 'NK.EXE', VM-active=00400002(pprc=892f9aa0) 'NK.EXE'
PC=881136a0(NK.EXE+0x000136a0) RA=8811060c(NK.EXE+0x0001060c) SP=d00bf844,
BVA=0
0000008
RtlDispatchException: returning failure. Flags=0
------
Nk.exe is causing data abort, and the module offset is 0xF60c with reference
to RA.
The nk.map file contents are,
0001:0000f4a4 EbootDHCPDecline 880504a4 f eboot:dhcp.obj
0001:0000f580 EbootReadSerialIP 88050580 f eboot:dhcp.obj
0001:0000f7e0 EbootProcessEDBG 880507e0 f eboot:edbg.obj
0001:0000fa80 EbootSendBootme 88050a80 f eboot:edbg.obj
so EbootReadSerialIP is causing the problem.
But the DHCP is working fine and even i tried with Static IP.
With reference to PC, Module offset is 0x126A0. The nk.map file contents are
0001:000117ac NKwvsprintfW 880527ac f
oal_blnk:format.obj
0001:00012af8 BootloaderMain 88053af8 f
oal_blcommon:blcommon.obj
0001:00014134 Nib2HexChar 88055134 f
oal_blcommon:blcommon.obj
Which means format.c causes exceptions.
Both files causing exceptions are common files.
Any idea to look into this issue.
Regards,
Kumar
> That also reminds me that, if you change from one filesystem type to
> another, you have to do a Clean Sysgen of the OS...
[quoted text clipped - 106 lines]
> >> Regards,
> >> Kumar