[HKEY_LOCAL_MACHINE\System\StorageManager\BINFS]
"Folder"="BINFS"
"FriendlyName"="Bin FileSystem"
"Dll"="binfs.dll"
"Paging"=dword:1
; MountFlags:
; 0x10 specifies that this file system is to be mounted as an external
; ROM filesystem shadowing the \windows directory
; 0x1 specifies that the mountpoint \BINFS is to be hidden
;
"MountFlags"=dword:10
"BootPhase"=dword:0
ENDIF
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\FlashDrv]
"DriverPath"="Drivers\\BlockDevice\\FlashDrv"
"LoadFlags"=dword:1
; "BootPhase"=dword:1
"BootPhase"=dword:0 ;modified by lihao for binfs
"Order"=dword:0 ;add 1105
"Flags"=dword:1000 ;jackie1201
[HKEY_LOCAL_MACHINE\Drivers\BlockDevice\FlashDrv]
; "FSD"="fatfsd.dll" ;delete by lihao
; "FSD"="binfs.dll"
"Prefix"="DSK"
"Dll"="FLASHDRV.DLL"
"Order"=dword:1
"Index"=dword:0
"Ioctl"=dword:4
"Profile"="NandFlash"
"FriendlyName"="NAND FLASH Device Driver"
"MountAsROM"=dword:1 ;add 1105
"Flags"=dword:1000 ;jackie1201
"BootPhase"=dword:0 ;modified by lihao for binfs
IF IMGMULTIBIN
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\NandFlash]
"Name"="Flash"
"Folder"="Flash"
"DefaultFileSystem"="BINFS"
"PartitionDriver"="mspart.dll"
"AutoMount"=dword:1
"AutoPart"=dword:1
"AutoFormat"=dword:1
"MountAsHidden"=dword:1 ;add by lihao
"MountAsROM"=dword:1
"Flags"=dword:1000 ;jackie1201
; "MountFlags"=dword:2 ;jackie1201, to save system.hv in flash folder.
"BootPhase"=dword:0 ;add by lihao
"MountFlags"=dword:11 ;add by lihao
ELSE
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\NandFlash]
"Name"="Flash"
"Folder"="Flash"
"DefaultFileSystem"="FATFS"
"PartitionDriver"="mspart.dll"
; "AutoMount"=dword:1
"AutoPart"=dword:1
"AutoFormat"=dword:1
"MountAsROM"=dword:1
"Flags"=dword:1000 ;jackie1201
"MountFlags"=dword:2 ;jackie1201, to save system.hv in flash folder.
ENDIF
IF IMGMULTIBIN
; Keep FATFS from trying to shadow \Windows
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDrv\FATFS]
"MountFlags"=dword:0
ELSE
; Keep FATFS from trying to shadow \Windows
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDrv\FATFS]
"MountFlags"=dword:0
ENDIF