2416 wince6 rom only system
三星 2416 板子。跑的是wince6系统
有个客户要求系统保存装上的cab文件或者是对系统文件的改动。通过查资料得知需要将文件系统设置为rom only system。
原先的是ram and rom system。我的修改方式时直接在catalog里面修改file system的文件系统类型。但是编译烧写后系统进不了桌面了。网上有的说是要还要这么去修改注册表。
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\NAND\FATFS]
"MountAsRoot"=dword:1
"MountAsBootable"=dword:1
"MountPermanent"=dword:1
可是...不知道这句话要怎么加 或者说怎么改。
一下是我的platfome.reg。请各位博友前辈以及同仁指点。针对于我点前的注册表我要怎么修改才能实现rom only-system
;;for hive based registry
; HIVE BOOT SECTION
IF IMGHIVEREG
[HKEY_LOCAL_MACHINE\Init\BootVars]
"SystemHive"="Documents and Settings\\system.hv"
"ProfileDir"="Documents and Settings"
"Start DevMgr" = dword:1 ;启动device.exe
"DefaultUser" = "default" ;决定user.hv的路径
"Flags"=dword:0 ;5.0下决定在哪个阶段启动device.exe的表项
"RegistryFlags" = dword:1 ;设置注册表每次改动后自动flush到system.hv
ENDIF ;IMGHIVEREG
; END HIVE BOOT SECTION
; HIVE BOOT SECTION
IF BSP_NONANDFS !
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\SMFlash]
"DriverPath"="Drivers\\BlockDevice\\SMFlash"
"LoadFlags"=dword:1
"MountFlags"=dword:11
"BootPhase"=dword:0
;"Flags"=dword:1000
[HKEY_LOCAL_MACHINE\Drivers\BlockDevice\SMFlash]
"Prefix"="DSK"
"Dll"="BIBDrv.dll"
"Order"=dword:0
"Ioctl"=dword:4
"Profile"="SMFlash"
"FriendlyName"="Samsung Flash Driver"
"MountFlags"=dword:11
"BootPhase"=dword:0
;"Flags"=dword:1000
; Bind BINFS to the block driver
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SMFlash]
"DefaultFileSystem"="BINFS"
"PartitionDriver"="mspart.dll"
"AutoMount"=dword:1
"AutoPart"=dword:1
"MountFlags"=dword:11
"Folder"="ResidentFlash"
"Name"="Samsung Flash Disk"
"BootPhase"=dword:0
;"Flags"=dword:1000
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\NANDFLASH\BINFS]
"MountHidden"=dword:1
"MountAsROM"=dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\SMFlash\Filters\CacheFilt]
"Dll"="cachefilt.dll"
"LockIOBuffers"=dword:1
ENDIF ; BSP_NONANDFS
; END HIVE BOOT SECTION
; @CESYSGEN IF CE_MODULES_DISPLAY
IF BSP_NODISPLAY !
[HKEY_LOCAL_MACHINE\Drivers\Display\S3C2416\CONFIG]
IF BSP_SMDK2443_CFG
"DisplayDll"="S3C2416DISP.dll"
ENDIF
IF BSP_SMDK2416_CFG
"DisplayDll"="s3c2416_disp.dll"
ENDIF
"LCDVirtualFrameBase"=dword:A0100000
"LCDPhysicalFrameBase"=dword:30100000
[HKEY_LOCAL_MACHINE\System\GDI\Drivers]
IF BSP_SMDK2443_CFG
"Display"="S3C2416DISP.dll"
ENDIF
IF BSP_SMDK2416_CFG
"Display"="s3c2416_disp.dll"
ENDIF
"DisplayPowerClass"="{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}"
; Settings to rotate the screen by 0 degrees clockwise upon download
[HKEY_LOCAL_MACHINE\System\GDI\Rotation]
"Angle"=dword:0
; GWES will pass this value to the LCD driver; the driver will open the
; key to which it points to read its configuration.
[HKEY_LOCAL_MACHINE\System\GDI\DisplayCandidates]
"Candidate10"="Drivers\\Display\\S3C2416\\CONFIG"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\UserIdle\{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}]
"Default"=dword:0 ; D4 set Display on when useridle
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\SystemIdle\{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}]
"Default"=dword:0 ; D4 set Display on when systemidle
ENDIF BSP_NODISPLAY !
; @CESYSGEN ENDIF CE_MODULES_DISPLAY
IF BSP_SMDK2416_CFG
;------------ Video Engine Driver -------------------------------------------
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\VideoEngine]
"Dll"="s3c2416_Video.dll"
"Prefix"="VDE"
"Order"=dword:2
"Index"=dword:0
"FriendlyName"="S3C2416 Video Engine Driver"
;-------------------------------------------------------------------------
ENDIF
; ----------------------------------------------------------------------------