I'm using NOR flash for storing hive and using strata flash driver. Basically booting takes longer while mounting system.hv and user.hv files.
Any help is appreciated.
thanks
Anand
Following is debug output messages:
Windows CE Kernel for ARM (Thumb Enabled) Built on Jun 24 2004 at 18:25:00
ProcessorType=02d0 Revision=6
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable = 800b9d34
OEMInit ++
OEMInit --
Sp=ffffc7cc
CertMod.dll not found, using old OEM Trust Model
FileSystem Starting - starting with clean file system
FS: initializing ROM/RAM file system
FS: Registering file system ROM, index 2, flags 0x00000031
FS: Mount complete (ROM, index 2, flags 0x00000031)
FSVOL: Opening existing volume
FSVOL: Volume heap already initialized
FSREG: Mounted ROM portion of boot registry
FSVOL: Creating clean virtual volume
FSVOL: Initializing volume heap
FSREG: Mounted RAM portion of boot registry
FS: Creating signal event SYSTEM/DevMgrApiSetReady
FS: Creating signal event SYSTEM/PowerManagerReady
FS: Creating signal event SYSTEM/GweApiSetReady
FS: Creating signal event ReleaseFSD
FILESYS: Starting storage manager.
FS: Registering file system StoreMgr, index 3, flags 0x00000001
FILESYS: Restarting storage manager.
FMD_Init ++.
InitializeFlash pBaseAddress=b8300000 ; FlashLength=300000++.
InitializeFlash g_FMDInfo.BlockSize=131072.
DefineLayout ++.
DefineLayout --.
InitializeFlash --.
INFO: FMD_Init: Flash Address=0xb8300000 Length=0x300000.
FLASHDRV.DLL:BuildupMappingInfo() - Enter.
FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0x0!!!
FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0x18!!!
FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0x12d!!!
FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0x18f!!!
FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0x198!!!
FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0x1b0!!!
FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0x138!!!
FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0x150!!!
FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0x22e!!!
FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0xa5!!!
FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0xa8!!!
FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0xc0!!!
FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0x34!!!
FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0x48!!!
FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0x8d!!!
FLASHDRV.DLL:L2P_GetPhysicalSectorAddr() - Secondary table doesn't exist for logical sector 0x60!!!
FMD_OEMIoControl: unrecognized IOCTL (0x71c24).
Loading partition driver mspart.dll hModule=81C51E78
Driver mspart.dll loaded
Opened the store hStore=000C37A0
NumSec=5544 BytesPerSec=512 FreeSec=0 BiggestCreatable=0
Partition Part00 NumSectors=5542
FSD_MountDisk: mounting volumes for hDsk=000C3AB0
FATFS!OpenVolume: access time updates disabled
FATFS!OpenVolume: event logging enabled
FATFS!OpenVolume: automatic scanning disabled
FATFS!OpenVolume: write verify disabled
FATFS!OpenVolume: extra FAT on format disabled
FATFS!OpenVolume: force write through enabled
FATFS!OpenVolume: Codepage = 1
FATFS!OpenVolume: Number of path cache entries = 50
FATFS!InitVolume: FAT version: 12
FATFS!InitVolume: Cluster Size (Sectors): 2
FS: Registering file system Flash, index 4, flags 0x00000002
FS: Mount complete (Flash, index 4, flags 0x00000002)
FILESYS: Starting device and waiting for boot file system.
*** DLL_PROCESS_ATTACH - Current Process: 0x42, ID: 0x21c2f30e ***
+InitDeviceFileSystems
FS: Registering file system $device, index 5, flags 0x00000001
FS: Registering file system $bus, index 6, flags 0x00000001
-InitDeviceFileSystems: status is 1
FS: Waiting for device to signal BootPhase1 completion
DEVICE!DevloadInit
DEVICE!InitDevices: Root Key is Drivers\BuiltIn.
DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\Prefix) returned 2
DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\BusPrefix) returned 2
DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\FlashCard\BusPrefix) returned 2
FILESYS: Device started. Boot file system ready.
FSREG: Unable to read value "SystemHiveInitialSize" under HKEY_LOCAL_MACHINE\init\BootVars
FSVOL: Opening existing volume
FSVOL: Volume heap already initialized
FSREG: Mounted ROM portion of system hive
FILESYS: Loading system hive from Flash\system.hv.
FSVOL: Opening existing volume
FSVOL: Volume heap already initialized
<--------- waiting here for about 2 minutes
FSREG: Mounted existing system hive
FSREG: Taking down boot registry. Any open keys will be invalid.
FILESYS: Registry in place.
FSREG: Set persist value (0)
FSREG: Unable to read value "RegistryFlags" under HKEY_LOCAL_MACHINE\init\BootVars
FSREG: Logging in default user.
FSREG: Unable to read value "DefaultUser" under HKEY_LOCAL_MACHINE\init\BootVars
SetCurrentUser: Logging out (nobody), logging in default
FSREG: Mounting ROM portion of user hive
FSVOL: Opening existing volume
FSVOL: Volume heap already initialized
<--------Waiting here for about 4 minutes
Mounting user hive from Flash\default\user.hv
FSVOL: Opening existing volume
FSVOL: Volume heap already initialized
FSREG: Set persist value (0)
FSREG: Unable to read value "RegistryFlags" under HKEY_LOCAL_MACHINE\init\BootVars
FSREG: Unable to read value "DBFlags" under HKEY_LOCAL_MACHINE\init\BootVars
Initializing Database
DB:Validation: Name already exists DB_notify_events
DB:CeCreateDatabase failed
DB:Validation: Name already exists DB_notify_events
DB:CeCreateDatabase failed
ERROR: c:\macallan\private\winceos\coreos\filesys\dbase\initdb.c line 535: Conflict with existing database DB_notify_events on line 385
Filesystem initialized!
FILESYS: Waiting for kernel to be ready to launch apps
FS: Creating signal event SYSTEM/DevMgrApiSetReady
FS: Creating signal event SYSTEM/PowerManagerReady
FS: Creating signal event SYSTEM/GweApiSetReady
FS: Creating signal event ReleaseFSD
FS: Creating signal event system/events/notify/APIReady
FS: Creating signal event SYSTEM/ShellAPIReady
FILESYS: Launching apps
FILESYS: Launching CeLogFlush.exe
FILESYS: Launching shell.exe
FILESYS: Boot phase 2
FILESYS: SignalStarted loop = 3
DEVICE!InitDevices: Root Key is Drivers\BuiltIn.
DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\Prefix) returned 2
DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\BusPrefix) returned 2
DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\notify\BusPrefix) returned 2
DB:OpenDB fail: DB DB_notify_queue not found
DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\WaveDev\BusPrefix) returned 2
***********UCB1400 is ready
DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\Serial2\BusPrefix) returned 2
+XSC1_SerPDDInit_(Drivers\Active\4294967284,pMddHead)
DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\FlashCard\BusPrefix) returned 2
DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\NDIS\BusPrefix) returned 2
DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\TAPI\Prefix) returned 2
DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\TAPI\BusPrefix) returned 2
DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\WAPIMAN\BusPrefix) returned 2
DEVICE!RegReadActivationValues RegQueryValueEx(TCPIP\IPDevice\BusPrefix) returned 2
DEVICE!RegReadActivationValues RegQueryValueEx(TCPIP\TCPDevice\BusPrefix) returned 2
DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\PWRBUTTON\BusPrefix) returned 2
PwrButton PWR Init ++
DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\autoras\BusPrefix) returned 2
DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\USB\BusPrefix) returned 2
+USB SerInit
DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\NdisPower\BusPrefix) returned 2
DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\SDBusDriver\BusPrefix) returned 2
FATFS!InitVolume: sector 0 byte 0 suspicious (0x0)
DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\SDCard\BusPrefix) returned 2
FATFS!InitVolume: invalid BPB, volume deemed invalid
XSCSD: +XSC_Init
FATFS!InitVolume: FAT version: 12
FATFS!InitVolume: Cluster Size (Sectors): 0
FormatDisk!FormatVolume: New FAT #0 successfully written
FormatDisk!FormatVolume: New root directory successfully written
FormatDisk!FormatVolume: New BPB successfully written
FormatDisk!FormatVolume complete.
FATFS!CloseVolume: retaining volume 0x00121380 (following power cycle)
FATFS!OpenVolume: access time updates disabled
FATFS!OpenVolume: event logging enabled
FATFS!OpenVolume: automatic scanning disabled
FATFS!OpenVolume: write verify disabled
FATFS!OpenVolume: extra FAT on format disabled
FATFS!OpenVolume: force write through enabled
FATFS!OpenVolume: Codepage = 1
FATFS!OpenVolume: Number of path cache entries = 50
FATFS!InitVolume: sector 0 byte 0 suspicious (0x0)
FATFS!InitVolume: invalid BPB, volume deemed invalid
FATFS!InitVolume: FAT version: 12
DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\TIMESVC\BusPrefix) returned 2
FATFS!InitVolume: Cluster Size (Sectors): 0
DEVICE!RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\PCI\DllName) returned 2
FATFS!UnmountDisk: unmounting all volumes on disk 000CF1C0
DEVICE!I_ActivateDeviceEx: can't find all required activation values in 'Drivers\BuiltIn\PCI'
FSREG: Invalid HKEY 0x00000000
FSREG: Invalid HKEY 0x00000000
FILESYS: SignalStarted loop = 3
FILESYS: Launching gwes.exe
InitCursor --
DEVICE!RegReadActivationValues RegQueryValueEx(\Drivers\SDCARD\ClientDrivers\Class\SDMemory_Class\BusPrefix) returned 2
Loading partition driver mspart.dll hModule=81C51E78
Driver mspart.dll loaded
Opened the store hStore=000CEFA0
NumSec=3970048 BytesPerSec=512 FreeSec=2560 BiggestCreatable=2560
Partition Part00 NumSectors=3967239
FSD_MountDisk: mounting volumes for hDsk=000D1740
FATFS!MountDisk: BPB_HiddenSectors(249) != 0
FATFS!OpenVolume: access time updates disabled
FATFS!OpenVolume: event logging enabled
FATFS!OpenVolume: automatic scanning disabled
FATFS!OpenVolume: write verify disabled
FATFS!OpenVolume: extra FAT on format disabled
FATFS!OpenVolume: force write through enabled
FATFS!OpenVolume: Codepage = 1
FATFS!OpenVolume: Number of path cache entries = 50
FATFS!InitVolume: FAT version: 16
FATFS!InitVolume: Cluster Size (Sectors): 64
FILESYS: SignalStarted loop = 4
FILESYS: Launching explorer.exe
FS: Registering file system SD Card, index 7, flags 0x00000000
FS: Mount complete (SD Card, index 7, flags 0x00000000)
FSREG: Invalid HKEY 0x00000000
FSREG: Invalid HKEY 0x00000000
FILESYS: Launching touchc.exe
FILESYS: Done launching apps
-DEVICE!DevloadPostInit
This device has booted 4 times !!!
DB:OpenDB fail: DB RecycleData not found