TFAT stability



Hi all!

We have PXA255 based platform with WCE42 and we are testing stability of the
platform. Our hardware is not battery backed and we rely on powerdown driver
and TFAT file system. We have noticed that after number of power down and
power up cycles (quite a lot) our platform dies. We have flash resident
persistent registry (hive based). Platform could not start anymore. I am
suspecting that the file-system is corrupted (so the registry too). We are
using msflash strata driver.
Our settings are:

[HKEY_LOCAL_MACHINE\System\StorageManager]
"Dll"="fsdmgr.dll"
"PNPUnloadDelay"=dword:0

; @CESYSGEN IF CE_MODULES_STRATAD
; HIVE BOOT SECTION
; StrataFlash block driver.
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\StrataFMD]
"Dll"="stratad.dll"
"Order"=dword:2
"Prefix"="DSK"
"Ioctl"=dword:4
"Profile"="MSFlash"
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"MemBase"=dword:b9300000
"MemLen"=dword:03000000
"Flags"=dword:1000

; Override names in default profile
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
"Name"="MSFLASH for STRATAFLASH"
"Folder"="Storage Card"

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles]
"AutoMount"=dword:1
"AutoPart"=dword:1
"AutoFormat"=dword:1

; Keep FATFS from trying to shadow \Windows
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]
"MountFlags"=dword:2

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\MSFlash]
"DriverPath"="Drivers\\BuiltIn\\StrataFMD"
"LoadFlags"=dword:1
"Order"=dword:0

; END HIVE BOOT SECTION
; @CESYSGEN ENDIF CE_MODULES_STRATAD


; @CESYSGEN IF FILESYS_FSREGHIVE
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\init\BootVars]
"SYSTEMHIVE"="Registry\\system.hv"
"PROFILEDIR"="Registry"
"Start DevMgr"=dword:1
"DefaultUser"="Iskraemeco"
;Causing some debugchk's in debug version,
;performance monitoring tools doesn't work.
;RegistryFlags"=dword:1
; END HIVE BOOT SECTION
; @CESYSGEN ENDIF FILESYS_FSREGHIVE

[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"FriendlyName"="FAT FileSystem"
"Dll"="fatfsd.dll"
;"Flags"=dword:00000024
"Flags"=dword:007C0028
"Paging"=dword:1
"EnableCache"=dword:1
"CacheSize"=dword:0
"Util"="fatutil.dll"
"FormatTfat"=dword:1
; END HIVE BOOT SECTION
; @CESYSGEN ENDIF CE_MODULES_FATFSD


Any help would be more then welcome.

Thanks, Jernej

.



Relevant Pages

  • Re: Problem booting GEODE image
    ... ; END HIVE BOOT SECTION ... Note VGA Flat driver ... worked just nice with the same exactly memory configuration. ... ; @CESYSGEN ENDIF ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Problem booting GEODE image
    ... loaded and the gx driver is loaded instead. ... ; @CESYSGEN ENDIF ... ; END HIVE BOOT SECTION ... CRT/TFT/Panel only Video out settings for Display driver ...
    (microsoft.public.windowsce.platbuilder)
  • Re: TFAT stability
    ... > We have PXA255 based platform with WCE42 and we are testing stability of ... > suspecting that the file-system is corrupted (so the registry too). ... > using msflash strata driver. ... >; END HIVE BOOT SECTION ...
    (microsoft.public.windowsce.platbuilder)
  • some problems about hive based registry and dma transformode
    ... - ATAPI PCI/IDE Storage Block Driver ... ; END HIVE BOOT SECTION ... ; @CESYSGEN ENDIF FILESYS_FSREGHIVE ... another reason in my mind,maybe there is something wrong of DMA mode in the atapi driver that microsoft offered. ...
    (microsoft.public.windowsce.platbuilder)
  • hive based registry and dma transformode based on GEODE GX1 AND CS5530A CHIPSET
    ... - ATAPI PCI/IDE Storage Block Driver ... ; END HIVE BOOT SECTION ... ; @CESYSGEN ENDIF FILESYS_FSREGHIVE ... another reason in my mind,maybe there is something wrong of DMA mode in the atapi driver that microsoft offered. ...
    (microsoft.public.windowsce.platbuilder)