• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Embedded Software » WinCE » WinCE forum » AM3517 boot problems with WinEC 7
Share
WinCE
  • Forum
Options
  • Subscribe via RSS

Forums

AM3517 boot problems with WinEC 7

This question has suggested answer(s)
Andreas Geisreiter
Posted by Andreas Geisreiter
on Jul 09 2012 09:12 AM
Intellectual320 points

Hi,

I have problems to boot WinEC7 on our self-made core module. We are using AM3517 CPU and the provided BSP from Adeneo.
After I start the image on the core module I get the following 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 could be the problem? Does anybody have an idea?

Best regards,
Andreas

3517 Adeneo BSP
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Andreas Geisreiter
    Posted by Andreas Geisreiter
    on Jul 11 2012 05:14 AM
    Intellectual320 points

    Hi,

    I'm still working on my problem without any success.

    I think I forgot one neccessary information about our platform. We are using u-boot to start WinEC 7. So I read in another forum, that eboot does format the nand flash before starting WinEC 7. This doesn't do our u-boot at the moment, but we set the WinEC boot Args with u-boot.

    Could we have a problem, because we like to start with u-boot? Do I forget any other necessary thing to implement in u-boot (like the Args struct)?

    What means the debug lines "d:\chelanrtm14\private\winceos\coreos\storage\fsdmgr\volumeapi.cpp at line 402"? WinEC tries to create or mount a volume. Which volume? I don't have add the nand driver to our image.

    What means the debug message "d:\chelanrtm14\private\winceos\coreos\nk\kernel\apicall.c at line 1210"???

    I hope anybody from Adeneo could help. Thank you in advance.

    Best regards,

    Andreas

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Adeneo Embedded support team
    Posted by Adeneo Embedded support team
    on Jul 12 2012 09:11 AM
    Suggested Answer
    Genius5515 points

    BOOTARGS that are passed from EBOOT to the WEC7 kernel are mandatory for proper booting. Not providing them would indeed lead to unpredictable results such as the ones you are facing, as the kernel will take as parameteres whatever lies in RAM where the BOOTARGS structure is supposed to be. You definitely need to have UBOOT somehow provide this information to the kernel, looking at EBOOT's code you should be able to understand where in RAM the BOOTARGS structure should be located for the kernel to properly retrieve this information.

    Adeneo Embedded Support team
    Contact us at sales@adeneo-embedded.com

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • DavidVescovi
    Posted by DavidVescovi
    on Jul 14 2012 07:11 AM
    Genius4200 points

    I have done this before, the easiest way is to have uboot load eboot and then have eboot load the os (nk.bin).

    You may have to relocate eboot in RAM. 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Juergen52081
    Posted by Juergen52081
    on Oct 02 2012 10:13 AM
    Prodigy130 points

    Hello Andreas.

    Have you solved the problem with starting WEC7 from UBOOT?

    I will exact do the same but have also many problems.

    Best regards

    Jürgen

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • DavidVescovi
    Posted by DavidVescovi
    on Oct 02 2012 10:40 AM
    Genius4200 points

    see my previous post. I have done this but it involves relocating eboot and nk.bin start addresses.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Andreas Geisreiter
    Posted by Andreas Geisreiter
    on Oct 04 2012 02:00 AM
    Intellectual320 points

    Hello Juergen,

    yes I have solved the problem.

    Which error message do you get exactly?

    The problems occur, because eboot initialize some registers otherwise in contrast to u-boot.

    For which company do you work? I have a few other problems in WinEC 7 with AM35x and would like someone with whom I can exchange ideas, but I can't do this with a competitor :-).

    Besat regards,

    Andreas

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use