下载WINCE IMAGE前记得格式化BINFS
1、Storage Manager 加入 FAT File System;
2、Registry Storage 加入Hive-based Registry ,默认的是RAM-based Registry;
3、修改platform.reg
[HKEY_LOCAL_MACHINE\init\BootVars]
"SYSTEMHIVE"="system.hv" ;"SYSTEMHIVE"="Documents and Settings\\system.hv"
;"PROFILEDIR"="Documents and Settings"
"Start DevMgr"=dword:1 ;"Start DevMgr"=dword:0
"DefaultUser"="default" ;LIEAL
"Flags"=dword:3 ;LIEAL
"RegistryFlags"=dword:1 ;LIEAL
; END HIVE BOOT SECTION
; @CESYSGEN ENDIF FILESYS_FSREGHIVE
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\Relfsd]
"Dll"="relfsd.dll"
"Paging"=dword:0
"LoadFlags"=dword:1
"Flags"=dword:1000;---->here
[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"FriendlyName"="FAT FileSystem"
"Dll"="fatfsd.dll"
"Flags"=dword:00000024
"Paging"=dword:1
"EnableCache"=dword:1
"CacheSize"=dword:0
"Util"="fatutil.dll"
"Flags"=dword:1000;----->here
[HKEY_LOCAL_MACHINE\System\StorageManager\BinFS]
"FriendlyName"="BIN Filesystem"
"Dll"="binfs.dll"
"Paging"=dword:1
"Flags"=dword:1000;----->here
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
"DefaultFileSystem"="BINFS"
"PartitionDriver"="mspart.dll"
; MountFlags 0x10 == shadow in \windows
; MountFlags 0x01 == hidden file system
"MountFlags"=dword:11
"Folder"="NAND Flash"
"Name"="FLASH Disk Block Device"
"Flags"=dword:1000;--->here
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
"Name"="IDE Hard Disk Drive"
"Folder"=LOC_STORE_HD_FOLDER
"MountFlags"=dword:2;--->here
在platform.reg中包围在HIVE BOOT和END HIVE BOOT之间的驱动改了这些
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
"Name"="IDE Hard Disk Drive"
"Folder"="CFCARD"
"MountFlags"=dword:2 ---->here