Creating own WEC7 image

I downloaded the last WEC7 BSP 2.4 for Colibri T20 and the Tegra WinCE7 Workspace 2.4 and created an own image with Visual Studio 2018

The size of the generated image (nk.nb0) is about 48 MB (the Toradex image is about 27 MB).

After flashing my image with nvflash 2.6 WEC7 stops booting with “No valid Registry found”

Any hints?

Regards,
Toni

For WEC7 you have to use a Visual Studio 2008 with Platform Builder addon. You can get it from Microsoft MSDN subscription.

It was a typo: I use Visaul Studio 2008 with Platform Builder Add On.
Alle WEC7 Updates up to June 2021 are installed.

The Colibri T20 still doesn’t boot my image.

Following are the start messages with dbg.serial = 1:

Toradex Windows CE 7.0 2.4 for Tegra Built Jan 7 2022 14:03:57
INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb
L2 cache enabled
MainMemoryEndAddress adjusted from 0x9F000000 to 0x9C000000
Main Phys Mem: 0x00000000:0x1BFFFFFF
Carveout Phys: 0x1C000000:0x1FFFFFFF
Cold boot selected
SMP: Active CPUs = 2
MP Detected, # of CPUs = 00000002
NKStartup done, starting up kernel. nCpus = 2
Windows CE KernelInit
Booting Windows CE version 7.00 for (ARM)
Memory Configuring: Total pages: 98248, Filesystem pages = 12281
Booting kernel with clean memory configuration:
Total Memory Sections:2
[0] (static): start: 84034000, extension/attributes: 00040000, length: 10000000
[1] (static): start: 94034000, extension/attributes: 00020000, length: 07fc8000
Scheduling the first thread.
PGPOOL: Reserved 8192 pages for Loader pool
PGPOOL: Reserved 256 pages for File pool
OSAXST0: Platform Name = Colibri Tegra
Message Queue support initialized, g_hMsgQHeap = a68c0010
Resuming all CPUs, g_pKData->nCpus = 2
CPU 2 started, ready to reschedule, ppcb = fffd9800
All CPUs resumed, g_nCpuReady = 2
FileSystem Starting - starting with clean file system
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 DWarning! Kernel DLL ‘k.normalize.dll’ is registered for thread creation/deletion notification. To improve performance if you dont need thread notifications call DisableThreadLibraryCalls from insidWarning! Kernel DLL ‘k.libnvos.dll’ is registered for thread creation/deletion notification. To improve performance if you dont need thread notifications call DisableThreadLibraryCalls from inside Chip Id: 0x20 (Handheld SOC) Major: 0x1 Minor: 0x4 SKU: 0x8
Speedo: CPU: 308 (Corner: 1), Core: 200 (Corner: 2)

  •                                               NVRM Initialized shmoo database*
    

PllClocks(Mhz): X=1000, M=666, C=600, P=216, A=24.576
SysClocks(Mhz): CPU=1000, AVP=240, SysBus=240, Mem=333, EMem=666
GraphicClocks(Mhz): Host=111, 3D=111, 2D=111, Epp=111, Mpe=111, Vde=240
No valid Registry found.
FILESYS: Storing registry hive in RAM region 0xb3290000, 0x002fffec bytes, flags 0x00040000
ERROR: VMCopy - Failed, dwErr = 00000057
ERROR: d:\bt\2654\private\winceos\coreos\filesys\heap\heap.c line 418: Unable to access region of RAM for registry
FSVOL: Failure in FSMapMemory
FSREG: Mounting clean system hive
ERROR: VMCopy - Failed, dwErr = 00000057
ERROR: d:\bt\2654\private\winceos\coreos\filesys\heap\heap.c line 418: Unable to access region of RAM for registry
FSVOL: Failure in FSMapMemory
ERROR: d:\bt\2654\private\winceos\coreos\filesys\reg\reghive\registry.c line 1111: FSREG: Unable to mount clean system hive
FSREG: Unable to load system registry! Registry will be unavailable.
FileSys: DEBUGCHK failed in file d:\bt\2654\private\winceos\coreos\filesys\reg\reghive\registry.c at line 1172
DEBUG_BREAK @efdc33e0 Ignored.
FileSys: DEBUGCHK failed in file d:\bt\2654\private\winceos\coreos\filesys\eventlog\eventlogapi.cpp at line 1151
DEBUG_BREAK @efdafb58 Ignored.
FILESYS-RNG::WriteSeedFile failed

  •                             Exception 'Data Abort' (0x4): Thread-Id=00520002(pth=a2802abc), Proc-Id=00400002(pprc=84012a60) 'NK.EXE', VM-active=00400002(pprc=84012a60) 'NK.EXE'*
    

PC=efdc2570(filesys.dll+0x00042570) RA=efda7dac(filesys.dll+0x00027dac) SP=a68ff4a8, BVA=00000008
ERROR: d:\bt\2654\private\winceos\coreos\filesys\reg\reghive\registry.c line 2129: FS: Registry Exception Handler
Unable to read Dynamic DST information for time zone Pacific Standard Time.
!!!WARNING: Mutually dependent DLL detected: FPCRT (pMod = 0xa2810d94)

  •                                                                  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 DL*
    

Initializing Database
FileSys: DEBUGCHK failed in file d:\bt\2654\private\winceos\coreos\filesys\fsys\romram\ramfsd.c at line 326
DEBUG_BREAK @efda2948 Ignored.
FileSys: DEBUGCHK failed in file d:\bt\2654\private\winceos\coreos\filesys\fsys\romram\ramfsd.c at line 330
DEBUG_BREAK @efda29e8 Ignored.
FileSys: DEBUGCHK failed in file d:\bt\2654\private\winceos\coreos\filesys\fsys\romram\ramfsd.c at line 185
DEBUG_BREAK @efda1fbc Ignored.
FileSys: DEBUGCHK failed in file d:\bt\2654\private\winceos\coreos\filesys\fsys\romram\ramfsd.c at line 193
DEBUG_BREAK @efda209c Ignored.
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 FileSys: DEBUGCHK failed in file d:\bt\2654\private\winceos\coreos\filesys\fsys\romram\ramfsd.c at line 326
DEBUG_BREAK @efda2948 Ignored.
FileSys: DEBUGCHK failed in file d:\bt\2654\private\winceos\coreos\filesys\fsys\romram\ramfsd.c at line 330
DEBUG_BREAK @efda29e8 Ignored.
FileSys: DEBUGCHK failed in file d:\bt\2654\private\winceos\coreos\filesys\fsys\romram\ramfsd.c at line 185
DEBUG_BREAK @efda1fbc Ignored.
FileSys: DEBUGCHK failed in file d:\bt\2654\private\winceos\coreos\filesys\fsys\romram\ramfsd.c at line 193
DEBUG_BREAK @efda209c Ignored.
CePerf.dll is absent - performance data will not be recorded
ERROR: d:\bt\2654\private\winceos\coreos\filesys\main\fsmain.c line 2609: Unable to locate init key for starting apps!
This device has booted 0 times !!!
FSMAIN: RegVolCompactionThread resumed. PrevSuspendCount: 0x1

We recommend to use Toradex Workspace for custom image creation.