stratad.reg

来自「该BSP是基于PXA270+WINCE的BSP」· REG 代码 · 共 151 行

REG
151
字号
;
; Copyright (c) Microsoft Corporation.  All rights reserved.
;
;
; Use of this source code is subject to the terms of the Microsoft end-user
; license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
; If you did not accept the terms of the EULA, you are not authorized to use
; this source code. For a copy of the EULA, please see the LICENSE.RTF on your
; install media.
;

; This file is to be included in platform.reg if required.
;
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\StrataFMD]
   "Dll"="stratad.dll"
   "Prefix"="DSK"
   "Profile"="MSFlash"
   "IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
   "BlockSize"=dword:40000
   "WriteBufferSize"=dword:40
   "IsPairedFlash"=dword:1
   "FriendlyName"="MSFLASH Driver"
   "Order"=dword:0

IF MCPII_MODULE
   "ActualFlashBase"=dword:BAA00000
   "MemBase"=dword:BAAC0000
   "MemLen"=dword:02F40000
ELSE
   "ActualFlashBase"=dword:BCA00000
   "MemBase"=dword:BCAC0000
   "MemLen"=dword:01F40000
ENDIF

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

; Override names in default profile
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
    "Name"="MSFLASH for STRATAFLASH"
    "Folder"="NOR Flash"
    "MountPermanent"=dword:1

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]
    "MountAsRom"=dword:0
    "MountAsHidden"=dword:0

; Support XIP in IMGFS
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\IMGFS]
    "XIP"=dword:0
    "MountAsRoot"=dword:0
    "MountAsBootable"=dword:0

; -----------------------------------------------------------------------------
IF IMGULDR

; Allow xip and read-only filesys regions to be written to
; in the update loader only
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\StrataFMD]
    "UpdateReadOnly"=dword:1

; RAMDISK settings (bootable file system)
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\RAMDisk]
    "AutoPart"=dword:1
    "AutoFormat"=dword:1

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\RAMDISK\FATFS]
    "MountAsBootable"=dword:1

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\RAMDisk]
    "DriverPath"="Drivers\\BlockDevice\\RAMDisk"
    "LoadFlags"=dword:1
    "BootPhase"=dword:0

[HKEY_LOCAL_MACHINE\Drivers\BlockDevice\RAMDisk]
    "Dll"="ramdisk.dll"
    "Prefix"="DSK"
    "FriendlyName"="RAM Disk Driver"
    "Order"=dword:0
    "Profile"="RAMDisk"
    "Size"=dword:00A00000 ; 10 MB of RAM storage

; Auto-load MSFlash block driver key for storage manager
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\MSFlash]
    "BootPhase"=dword:2 ; load after full registry is ready

; MSFlash IMGFS settings
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\IMGFS]
    "MountAsRom"=dword:0
    "MountHidden"=dword:0

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]
    "MountAsRoot"=dword:0
    "MountAsBootable"=dword:0
    "CheckForFormat"=dword:0 ; do not check with OAL for format request
    "FormatTfat"=dword:1
    "Folder"="OSRoot"

; Make sure we don't start the updateapp before device is finished
[HKEY_LOCAL_MACHINE\init]
    "Depend40"=hex:14,00

; @CESYSGEN IF ULDR_DWNLDAPP
; ManifestFileDirs: MULTI_SZ  list of dirs to search for pkgs.lst file
; ManifestFSDTimeOut: dword   for each dir in ManifestFileDirs list, download
;                             app will wait ManifestFSDTimeOut for the dir's
;                             FSD to load before moving to the next dir in the
;                             list. Default is 10sec if not specified.
; PkgsDestDirPath:    string  dir on the device where pkgs are temporarily
;                             downloaded to.
; PkgsProgBitMapPath: string  path of the bit map displayed when update app
;                             applies packages.
; DwnldSignedImages:  hex     1 - restricts the download to only signed images
;                             0 - both unsigned and signed images can be
;                                 downloaded.
; ImgTargetDevice:    string  Target device for images
[HKEY_LOCAL_MACHINE\System\ImageUpdate\DwnldApp]
    "ManifestFileDirs"=multi_sz:"\\desktop","\\release"
    "PkgsDestDirPath"="\\temp\\dwnldapp\\pkgsdir"
    "PkgsProgBitMapPath"=""
    "DwnldSignedImages"=hex:00
    "ImgTargetDevice"="dsk1:"
; @CESYSGEN ENDIF ULDR_DWNLDAPP

ELSE


; These are the settings that differ for the normal 'OS' boot.

[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\MSFlash]
    "BootPhase"=dword:0

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\IMGFS]
    "MountAsRom"=dword:1
    "MountAsHidden"=dword:1

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\FATFS]
    "MountAsRoot"=dword:1
    "MountAsBootable"=dword:1
    "FormatTfat"=dword:1
    "CheckForFormat"=dword:1 ;Check with OAL for format request
    "Flags"=dword:00000014
    "DataCacheSize"=dword:00000080      ;128 sectors(128*512=64KB)

ENDIF IMGULDR
; -----------------------------------------------------------------------------

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?