none
WinEC 7 boot problems with AM3517 RRS feed

  • Question

  • Hello,

    I still struggling with my boot problems on our AM3517 platform as I described at this forum before.

    I think another important information is, that we are using uboot to start WinEC 7. If have add the args struct to u-boot. Does anybody have experiences with starting WinEC7 with uboot?

    Here you can see my current debug messages:

    Windows CE Kernel for ARM (Thumb Enabled) Built on Jan  6 2011 at 16:15:31
    ProcessorType=0c08  Revision=7 CpuId=0x411fc087
    OEMAddressTable = 8041f8e0
    INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb
    CPU CP15 Control Register = 0xc5387d
    CPU CP15 Auxiliary Control Register = 0x72
    Initializing VFP, FPSID=410330c1
    SysClock calibrate Frequency = 32768
    OALInitRTC: RTC found on I2C bus. Turning it on now
    NKStartup done, starting up kernel. nCpus = 1
    Windows CE KernelInit
    Error Reporting Memory Reserved, dump size = 0004b000
    Booting Windows CE version 7.00 for (ARM)
    Memory Configuring: Total pages: 35009, Filesystem pages = 17504
    Booting kernel with clean memory configuration:
    Total Memory Sections:2
    [0] (static): start: 866f0000, extension/attributes: 0001f000, length: 078c1000
    [1] (static): start: 8e000000, extension/attributes: 00004000, length: 01000000
    Scheduling the first thread.
    PID:00400002 TID:00410002 PGPOOL: Reserved 768 pages for Loader pool
    PID:00400002 TID:00410002 PGPOOL: Reserved 256 pages for File pool
    PID:00400002 TID:00410002 Message Queue support initialized, g_hMsgQHeap = c44a0010
    PID:00400002 TID:00510002 FileSystem Starting - starting with clean file system
    PID:00400002 TID:00510002 Initializing RTC
    PID:00400002 TID:00510002 Initializing RTC
    PID:00400002 TID:00510002 Value [Locale] without corresponding LCType in NLS Override section
    PID:00400002 TID:00510002 Value [LocaleName] without corresponding LCType in NLS Override section
    PID:00400002 TID:00510002 Warning! Kernel DLL 'k.locale.dll' is registered for thread creation/deletion notification.  To improve performance if you dont need thread notifications call DisableThreadLibraryCalls from inside DPID:00400002 TID:00510002 Warning! Kernel DLL 'k.normalize.dll' is registered for thread creation/deletion notification.  To improve performance if you dont need thread notifications call DisableThreadLibraryCalls from insidPID:00400002 TID:00510002 FSVOL: Using system database volume "\Windows\Registry\default.vol"
    PID:00400002 TID:00510002 FSVOL: OEM forcing clean system db volume!
    PID:00400002 TID:00510002 Warning! Kernel DLL 'bcrypt.dll' is registered for thread creation/deletion notification.  To improve performance if you dont need thread notifications call DisableThreadLibraryCalls from inside DLLPID:00400002 TID:00510002 FSDMGR: DEBUGCHK failed in file d:\chelanrtm14\private\winceos\coreos\storage\fsdmgr\volumeapi.cpp at line 402
    PID:00400002 TID:00510002 DEBUG_BREAK @ef822bf4 Ignored.
    PID:00400002 TID:00510002 Unknown: DEBUGCHK failed in file d:\chelanrtm14\private\winceos\coreos\filesys\reg\profiles\secstor.h at line 487
    PID:00400002 TID:00510002 DEBUG_BREAK @efd5e7c4 Ignored.
    PID:00400002 TID:00510002 Value [Locale] without corresponding LCType in NLS Override section
    PID:00400002 TID:00510002 Value [LocaleName] without corresponding LCType in NLS Override section
    PID:00400002 TID:00510002 !!!WARNING: Mutually dependent DLL detected: FPCRT (pMod = 0xc040634c)
                                                                                                    PID:00400002 TID:00510002 Warning! Kernel DLL 'k.ole32.dll' is registered for thread creation/deletion notification.  To improve performance if you dont need thread notifications call DisableThreadLibraryCalls from inside DLPID:00400002 TID:00510002
    Initializing Database
    PID:00400002 TID:00510002 Warning! Kernel DLL 'k.sorting.dll' is registered for thread creation/deletion notification.  To improve performance if you dont need thread notifications call DisableThreadLibraryCalls from inside PID:00400002 TID:00510002 SetCurrentUser: User hives not supported -- using same registry for all users
    PID:00400002 TID:00510002 FSDMGR: DEBUGCHK failed in file d:\chelanrtm14\private\winceos\coreos\storage\fsdmgr\volumeapi.cpp at line 402
    PID:00400002 TID:00510002 DEBUG_BREAK @ef822bf4 Ignored.
    PID:00400002 TID:00510002 Unknown: DEBUGCHK failed in file d:\chelanrtm14\private\winceos\coreos\filesys\reg\profiles\secstor.h at line 487
    PID:00400002 TID:00510002 DEBUG_BREAK @efd5e7c4 Ignored.
    PID:00400002 TID:00510002 CePerf.dll is absent - performance data will not be recorded
    PID:00400002 TID:0085001E Read: Attempts = 2
    PID:00400002 TID:00C5001E
    Faulted in KCall, PC = 8048345c, SP = ffff1014, args = 00000004 ffff1088 00000807!!
    PID:00400002 TID:00C5001E Original Context when thread faulted:
    PID:00400002 TID:00C5001E Exception 'Data Abort'(4) Thread-Id=00c5001e(pth=c040a720) PC=eff340d4 BVA=ffff1088, dwInfo = 00000807
    PID:00400002 TID:00C5001E  R0=ef9b4e3c  R1=00000000  R2=00000000  R3=00000000
    PID:00400002 TID:00C5001E  R4=00004444  R5=00005555  R6=00006666  R7=00007777
    PID:00400002 TID:00C5001E  R8=00008888  R9=00009999 R10=00001010 R11=00001111
    PID:00400002 TID:00C5001E R12=cc7afe8c  SP=cc7afe74  Lr=eff14504 PC=eff340d4, Psr=0000001f
    PID:00400002 TID:00C5001E Context when faulted in KCall:
    PID:00400002 TID:00C5001E Exception 'Data Abort'(4) Thread-Id=00c5001e(pth=ffff0e48) PC=8048345c BVA=ffff1088, dwInfo = 00000807
    PID:00400002 TID:00C5001E  R0=ffff1088  R1=00000004  R2=60000193  R3=ffffc800
    PID:00400002 TID:00C5001E  R4=80427efc  R5=00000000  R6=00000000  R7=eff340d4
    PID:00400002 TID:00C5001E  R8=00008888  R9=00009999 R10=00001010 R11=00001111
    PID:00400002 TID:00C5001E R12=ffffb038  SP=ffff1014  Lr=8042b160 PC=8048345c, Psr=60000193
    PID:00400002 TID:00C5001E Exception 'Data Abort' (0x4): Thread-Id=00c5001e(pth=c040a720), Proc-Id=00400002(pprc=866d2ad0) 'NK.EXE', VM-active=00400002(pprc=866d2ad0) 'NK.EXE'
    PID:00400002 TID:00C5001E PC=8048345c(kernel.dll+0x0002d45c) RA=8042b160(NK.EXE+0x0001b160) SP=ffff1014, BVA=ffff1088
    PID:00400002 TID:00C5001E RtlDispatchException: returning failure. Flags=0
    PID:00400002 TID:00C5001E NK Kernel: DEBUGCHK failed in file d:\chelanrtm14\private\winceos\coreos\nk\kernel\apicall.c at line 1210

    What is the kernel doning at this boot step? It looks like, that windows is creating a volume?

    What could be the problem? Does anybody have an idea?

    Best regards,
    Andreas


    Tuesday, July 10, 2012 7:59 AM

All replies

  • The function where the exception happens is SecureStackSpaceLow(PCALLSTACK pcstk, DWORD dwServerId). It belongs to the file apicall.c.

    Is it easily passible to increase the WinEC stack size? Then I could check if it is really a stack problem.

    Best regards,

    Andreas

    Monday, July 16, 2012 7:30 AM