platform.reg

来自「CIRRUS 公司EP93XX系列CPU的WINCE下的BSP」· REG 代码 · 共 247 行

REG
247
字号
; **********************************************************************
;                                                                      
; Filename: platform.reg
;                                                                      
; Description: Registry settings for the ep931x platform.
;
; THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
; ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
; THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
; PARTICULAR PURPOSE.
;
; Use of this source code is subject to the terms of the Cirrus 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 
; EULA.RTF on your install media.
;
; Copyright(c) Cirrus Logic Corporation 2002, All Rights Reserved                       
;                                                                      
; **********************************************************************
#define DRIVERS_DIR $(_PUBLICROOT)\common\oak\drivers


[HKEY_LOCAL_MACHINE\DebugZones]
   "DEVLOAD"=dword:ffff

; Platform type: 1=DK3, 2=ODO 3=Rose
[HKEY_LOCAL_MACHINE\Platform]
   "Name"=LOC_PLATFORMNAME
   "Type"=dword:2

IF BSP_EDB9301_AUDIO 
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\WaveDev]
    "Prefix"="WAV"
    "Dll"="wavedev.dll"
    "Index"=dword:1
    "Order"=dword:0
;
; Specify support I2S codec support
;
;   "I2SCodec"=dword:   10af - CS4271,  1084 - CS4228, default:4228 
    "I2SCodec"=dword:10af

;
; For the EDB9301 a GPIO is used to turn on the external mute.
;
    "SetGPIO1"=dword:1

;
; Use I2SVolume Control for Wave Volume.
;
;     "UseI2SVolumeControl"=dword: 0 - disabled, 1 - Enabled , default 0
    "UseI2SVolumeControl"=dword:1

;
; To use PIO instead of DMA.
;   "UsePIO"=dword:   0 - DMA, 1 - PIO , default 0
    "UsePIO"=dword:1



ENDIF 



IF BSP_EDB9301_ETHERNET

; These are the registry settings for the Cirrus Logic CS8950 ethernet
; adapter on the EP9312 chip.
;
[HKEY_LOCAL_MACHINE\Comm\CS8950]
   "DisplayName"="EP9312 Ethernet Driver"
   "Group"="NDIS"
   "ImagePath"="cs8950.dll"

[HKEY_LOCAL_MACHINE\Comm\CS8950\Linkage]
   "Route"=multi_sz:"CS89501"

[HKEY_LOCAL_MACHINE\Comm\CS89501]
   "DisplayName"="EP9312 Ethernet Driver"
   "Group"="NDIS"
   "ImagePath"="cs8950.dll"

[HKEY_LOCAL_MACHINE\Comm\CS89501\Parms]
   "BusNumber"=dword:0
   "BusType"=dword:0
;   MACAddress: OverRide MAC Address stored in EEPROM.
;   The 1st (the least) DWord (32bits) of the MAC Address
;   "MACAddress1"=dword:0012
;   The 2nd  DWord of the MAC Address
;   "MACAddress2"=dword:3456
;   The 3rd (the most) DWord of the MAC Address
;   "MACAddress3"=dword:7890

;   DuplexMode: 0:AutoNegotiate, 1:Half, 2:Full (Default:0)
   "DuplexMode"=dword:0
;   MediaSpeed: 0:AutoSense, 10:10_MBPS, 100:100_MBPS (Default:0)
   "MediaSpeed"=dword:0

[HKEY_LOCAL_MACHINE\Comm\CS89501\Parms\TcpIp]
   ; This should be MULTI_SZ
   "DefaultGateway"=""
   ; This should be SZ... If null it means use LAN, else WAN and Interface.
   ;"LLInterface"=""
   ; Use zero for broadcast address? (or 255.255.255.255)
   "UseZeroBroadcast"=dword:0
   ; Thus should be MULTI_SZ, the IP address list
   "IpAddress"="0.0.0.0"
   ; This should be MULTI_SZ, the subnet masks for the above IP addresses
   "Subnetmask"="0.0.0.0"
   "EnableDHCP"=dword:1

[HKEY_LOCAL_MACHINE\Comm\Tcpip\Linkage]
   ; This should be MULTI_SZ
   ; This is the list of llip drivers to load
   "Bind"=multi_sz:"ppp","CS89501"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings]
    "ProxyEnable" = dword:1
    "ProxyServer" = "proxy1.cirrus.com:8080"
    "ProxyOverride"="<local>"
ENDIF


;;;*******************************************************************
;;;
;;; Load the keyboard files.
;;;
;;;*******************************************************************
; @CESYSGEN IF CE_MODULES_POINTER
IF BSP_NOMOUSE !
#include "$(DRIVERS_DIR)\keybd\ps2_8042\8042mouse.reg"
ENDIF BSP_NOMOUSE !
; @CESYSGEN ENDIF CE_MODULES_POINTER

; @CESYSGEN IF CE_MODULES_KEYBD
IF BSP_NOKEYBD !
#include "$(DRIVERS_DIR)\keybd\keybd.reg"
#include "$(DRIVERS_DIR)\keybd\ps2_8042\8042keybd.reg"
#include "$(DRIVERS_DIR)\keybd\LayMgr.reg"

ENDIF BSP_NOKEYBD !
; @CESYSGEN ENDIF CE_MODULES_KEYBD



IF BSP_EDB9301_SERIAL
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial_1]
   "DeviceArrayIndex"=dword:2
   "Prefix"="COM"
   "Dll"="pl010serial.Dll"
   "Order"=dword:0

;[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial_2]
;   "DeviceArrayIndex"=dword:2
;   "Prefix"="COM"
;   "Dll"="pl010serial.Dll"
;   "Order"=dword:0
;   
ENDIF




IF BSP_EDB9301_USB
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\OHCI]
   "Prefix"="HCD"
   "Dll"="ohci.dll"
   "Index"=dword:1
   "Order"=dword:1
   ; Resource config information.  We don't have routines to modify PCI IRQ
   ; and mem base, so we specify two different config modes - if 
   ; UseExistingSettings is non zero, accept whatever resources were assigned 
   ; by the BIOS, and fill in the Irq and MemBase fields dynamically. 
   ; Otherwise, check settings and fail driver load if IRQ doesn't match the 
   ; registry value.
   "Irq"=dword:0F
   "MemBase"=dword:FFBFE000

   ;
   ; The 9301 needs EGPIO 2 cleared so that the USB device can be powered.
   ; 
   "Egpio2Clear"=dword:1
ENDIF

; USB - Mouse Driver
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\Default\Default\3_1_2\Generic_Sample_Mouse_Driver]
   "DLL"="USBMOUSE.dll"

; USB - Mouse Driver
[HKEY_LOCAL_MACHINE\Drivers\USB\ClientDrivers\Generic_Sample_Mouse_Driver]




IF BSP_EDB9301_STRATA_FLASH
;
; It use the top 4MB space of flash (EDB9301):
;   uncached base address = A8C00000
;   memory size           = 400000
;
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\StrataFMD]
   "Dll"="stratad.dll"
   "Order"=dword:2
   "Prefix"="DSK"
   "Ioctl"=dword:4
   "Profile"="MSFlash"
   "IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
   "MemBase"=dword:A8C00000
   "MemLen"=dword:400000


; Override names in default profile
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash]
    "Name"="MSFLASH for STRATAFLASH"
    "Folder"="NOR Flash"
    "DefaultFileSystem"="FATFS"
    "PartitionDriver"="mspart.dll"
    "AutoMount"=dword:1
    "AutoPart"=dword:1
    "AutoFormat"=dword:1

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


















⌨️ 快捷键说明

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