SD卡不能正确存储HIVE注册表
platform.reg注册表修改:
SD卡驱动修改(对SD卡做分区时就是在这里面):
如果"Order"=dword:1或者0的时候,SD卡在根目录下就没有了,改为原来的21,SD卡可以找到
搞了很长时间了,没头绪了现在,请帮忙指导一下,谢谢~
我的环境是wince7+imx53 存储 HIVE注册表 SD卡
[解决办法]
我的注册表如下:
; HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\Drivers\Resources\IRQ]
"Identifier"=dword:1
"Minimum"=dword:1
"Space"=dword:20
"Ranges"="1-0x20"
[HKEY_LOCAL_MACHINE\Drivers\Resources\IO]
"Identifier"=dword:2
"Minimum"=dword:0
"Space"=dword:10000
"Ranges"="0-0xFFFF"
;----ADD BY ZMF ----
IF IMGHIVEREG
[HKEY_LOCAL_MACHINE\Init\BootVars]
"SYSTEMHIVE"="//Registry//system.hv"
"PROFILEDIR"="//Registry"
"Start DevMgr"=dword:1
"RegistryFlags"=dword:1
"DefaultUser"="User"
"Flags"=dword:3
ENDIF IMGHIVEREG
; END HIVE BOOT SECTION
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\SDBOOT]
"DriverPath"="Drivers\\BlockDevice\\SDBOOT"
"LoadFlags"=dword:1
"BootPhase"=dword:0
"MountFlags"=dword:11
IF IMGHIVEREG
"MountAsBootable"=dword:1
ENDIF IMGHIVEREG
[HKEY_LOCAL_MACHINE\Drivers\BlockDevice\SDBOOT]
"Prefix"="DSK"
"Dll"="BIBDrv.dll"
"Order"=dword:0
"Ioctl"=dword:4
"Profile"="SDBOOT"
"FriendlyName"="Samsung Flash Driver"
"MountFlags"=dword:11
"BootPhase"=dword:0
IF IMGHIVEREG
"Flags"=dword:1000
ENDIF IMGHIVEREG
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\HSMMC]
"Prefix"="DSK"
"Dll"="HSMMC.dll"
"Order"=dword:1
"Profile"="HSMMC"
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
IF IMGHIVEREG
"Flags"=dword:1000
ENDIF IMGHIVEREG
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HSMMC]
"DefaultFileSystem"="FATFS"
"PartitionDriver"="mspart.dll"
"Name"="SDMMC"
"Folder"="SDMMCDisk"
"AutoMount"=dword:1
"AutoPart"=dword:1
"AutoFormat"=dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HSMMC\FATFS]
"FormatExfat"=dword:1
"Flags"=dword:14 ; deprecated in CE6.0 (0x4 : FATFS_DISABLE_AUTOSCAN, 0x10 : FATFS_ENABLE_BACKUP_FAT)
"CheckForFormat"=dword:1
"EnableWriteBack"=dword:1
"MountAsRoot"=dword:1 ; for ROM-only file system
"DisableAutoScan"=dword:1
IF IMGHIVEREG
"MountAsBootable"=dword:1 ; for Hive-based registry
ENDIF IMGHIVEREG
[解决办法]