Hello,all,
I want to integrate intel PSM into wince500.
CPU is pxa270,flash is K3.(I have got intel psm3.8 beta version for
wince500).

MMU addresstable is:
DCD 0x9C600000, 0x00000000, 32 ; MAINSTONEII: nCS0: Boot Flash
(32MB).

and config.bib is
RSVD 80000000 000FF000 RESERVED
ARGS 800FF000 00001000 RESERVED
NK 9C700000 01400000 RAMIMAGE
RAM 80100000 01F00000 RAM

I modify plat_api.c as following:
UINT8 PLAT_DefineArrayParameters(PSM_OEMInfoPtr oem_info_ptr)
{
static const PSM_OEMInfo oem_info = {


/* PhysicalReadStartAddress */ (VOID_PTR)0x00000000,
/* PhysicalWriteStartAddress */ (VOID_PTR)0x00000000,
/* PhysicalBurstReadStartAddress */ (VOID_PTR)0x00000000,
/* VirtualReadStartAddress */ (VOID_PTR)0xBC600000,
/* VirtualWriteStartAddress */ (VOID_PTR)0xBC600000,
/* VirtualBurstReadStartAddress */ (VOID_PTR)0xBC600000,
/* MaximumArrayLength */ 0x02000000,
/* MaximumRegistrySize */ 0x00000000, /* Not used for WCE500
*/
/* ManagedAreaStart */ 0x01A00000,
/* ManagedAreaLength */ 0x00500000,
/* ReadBusWidth */ 32,
/* WriteBusWidth */ 32,
/* BurstReadBusWidth */ 0

};

and platform.reg:
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\PSM]
"Dll"="PSMFSD.dll"
"Paging"=dword:1
; "LoadFlags"=dword:1

[HKEY_LOCAL_MACHINE\System\StorageManager]
"Dll"="fsdmgr.dll"

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\FlshDrv]
"FolderName"="TESTPSM"

But when I download os image to flash through eboot,it produces the
following messages:
Booting kernel with clean memory configuration:
Memory Sections:
[0] : start: 8014c000, extension: 00002000, length: 01e92000
[1] : start: 82000000, extension: 00002000, length: 01ffe000
Sp=ffffc7cc
ARMInit done.
Windows CE KernelInit
Updated eptr->e32_vsize to = 000ad000
Scheduling the first thread.
0x83fff024: KernelInit2: pCurThread=83fff024 hCurThread=03fff266
hCurProc=03fff002, KernelInit = 9c724d70
0x83fff024: Detecting VFP...0x83fff024: VFP Not Found!
0x83fff024: Updated
eptr->e32_vsize to = 00006000
0x83fff024: Updated eptr->e32_vsize to = 00029000
0x83fff024: Updated eptr->e32_vsize to = 00009000
0x83fff024: Updated eptr->e32_vsize to = 00022000
0x83fff024: ERROR: c:\macallan\private\winceos\coreos\nk\kernel\kwin32.c
line 777: 0x83fff024: ConnectDebugger failed
0x83fff024: first = 01f20000, last = 02000000, SharedDllBase = 031c0000
0x83fe98fc:
CertMod.dll not found, using old OEM
Trust Model
0x83fe98fc: FileSystem Starting - starting with clean file system
0x83fe98fc: FS: initializing ROM/RAM file system
0x83fe98fc: SC_CreateAPIHandle: pvData == NULL
0x83fe98fc: FS: Registering file system ROM, index 2, flags 0x00000031
0x83fe98fc: FS: Mount complete (ROM, index 2, flags 0x00000031)
0x83fe98fc: OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
0x83fe98fc: Succeeded on CheckFile
0x83fe98fc: RestoreFile(0x23fcaeb2) called fDelete = TRUE
0x83fe98fc: FS: Registering file system StoreMgr, index 3, flags 0x00000001
0x83fe98fc: FSREG: Unable to read value "NoDefaultUser" under
HKEY_LOCAL_MACHINE\init\BootVars
0x83fe98fc: FSREG: Logging in default user.
0x83fe98fc: FSREG: Unable to read value "DefaultUser" under
HKEY_LOCAL_MACHINE\init\BootVars
0x83fe98fc: SetCurrentUser: Logging out (nobody), logging in default
0x83fe98fc: FS: Using default path "\profiles\"
0x83fe98fc: BuildPath: profiles
0x83fe98fc: BuildPath: profiles\default
0x83fe98fc: SetCurrentUser: User hives not supported -- using same registry
for all users
0x83fe98fc: FS: Using default path "Windows\"
0x83fe98fc: OEMIoControl: Unsupported Code 0x10100d0 - device 0x0101 func 52
0x83fe98fc: OEMIoControl: Unsupported Code 0x10100f8 - device 0x0101 func 62
0x83fe98fc: FS: Using default path "Windows\"
0x83fe98fc: FSREG: Unable to read value "DBFlags" under
HKEY_LOCAL_MACHINE\init\BootVars
PSMFSD:DLL Process Attach
0x83fe98fc:
Initializing Database
0x83fe98fc: DB:Validation: Name already exists DB_notify_events
0x83fe98fc: DB:CeCreateDatabase failed
0x83fe98fc: Filesystem initialized!
0x83fe98fc: FILESYS: Waiting for kernel to be ready to launch apps
0x83fe9400: InitMUI: DISABLED (-1039860968)
0x83fe98fc: FS: Creating signal event SYSTEM/DevMgrApiSetReady
0x83fe98fc: FS: Creating signal event SYSTEM/PowerManagerReady
0x83fe98fc: FS: Creating signal event SYSTEM/GweApiSetReady
0x83fe98fc: FS: Creating signal event system/events/notify/APIReady
0x83fe98fc: FS: Creating signal event SYSTEM/ShellAPIReady
0x83fe98fc: FILESYS: Launching apps
0x83fe98fc: FILESYS: Launching device.exe
0x83f9f1d8: *** DLL_PROCESS_ATTACH - Current Process: 0x42, ID: 0x63f9f43e
***
0x83f9f1d8: +InitDeviceFileSystems
0x83f9f1d8: FS: Registering file system $device, index 4, flags 0x00000001
0x83f9f1d8: FS: Registering file system $bus, index 5, flags 0x00000001
0x83f9f1d8: -InitDeviceFileSystems: status is 1
0x83f9f1d8: Ceddk!CalibrateStallCounter: Enter
0x83f9f1d8: Ceddk!CalibrateStallCounter: Could not find stall counter
0x83f9f1d8: Ceddk!BeginCalibration: min(3251) max(3612)
0x83f9f1d8: Ceddk!BeginCalibration: Elapsed is 3498
0x83f9f1d8: Ceddk!BeginCalibration: Delay is 27
0x83f9f1d8: DEVICE!DevloadInit
0x83f9f1d8: DEVICE!InitDevices: Root Key is Drivers\BuiltIn.
0x83f9f1d8: DEVICE!RegReadActivationValues
RegQueryValueEx(Drivers\BuiltIn\Prefix) returned 2
0x83f9f1d8: DEVICE!RegReadActivationValues
RegQueryValueEx(Drivers\BuiltIn\BusPrefix) returned 2
0x83f9f1d8: DEVICE!RegReadActivationValues
RegQueryValueEx(Drivers\BuiltIn\notify\BusPrefix) returned 2
0x83f9f1d8: [NOTIFY] Module loaded


Then the system hangs.

Could some one give some suggestions?
Thanks.