platform.reg

来自「CIRRUS 公司EP93XX系列CPU的WINCE下的BSP」· REG 代码 · 共 783 行 · 第 1/2 页

REG
783
字号
; **********************************************************************
;                                                                      
; 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-2004, 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_EP931X_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 

;
; Use I2SVolume Control for Wave Volume.
;
; Note:  The I2S volume control interferes with the PS/2 Keyboard.
;        This is why it is disabled by defualt.
;
;    "UseI2SVolumeControl"=dword: 0 - disabled, 1 - Enabled , defualt 0


;
; For the EDB9315 a GPIO is used to turn off the external mute.
;
    "ClearGPIO8"=dword:1

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


; ************************************************************************
;
; AC97 Hardware Settings
;
; EDB9312 board:
;
;    Make sure the JP67, JP68, JP70- JP72 are jumpered 2-3 for
;    AC97 audio and 1-2 for I2S audio.
;
; EDB9315 board:
;
;     JP2 is jumpered for I2S and open for AC97 audio.
;
; ************************************************************************
; Uncomment the following lines to enable AC97 audio and disable I2S audio:
;    "UseAC97"=dword:1
;    "IClass"=multi_sz:"{E92BC203-8354-4043-A06F-2A170BF6F227}",
;                      "{37168569-61C4-45fd-BD54-9442C7DBA46F}",
;                      "{A32942B7-920C-486b-B0E6-92A702A99B35}"

ENDIF 

IF BSP_EP931X_ATAPI
; ************************************************************************
;
; IDE settings
;
;[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Ep931xAtapi01]
;   "Dll"="ep931xatapi.dll"
;    "Prefix"="DSK"
;    "DeviceId"=dword:          0 - Master,   1 - Slave   
;    "DVD"=dword:               0 - Disabled, 1 - Enabled, Default 0
;    "MediaCheckTime"=dword:    0 - Disabled, 1 - Enabled, Default 0
;    "DMAEnable"=dword:         0 - Disabled, 1 - Enabled, Default 0
;    "UDMAEnable"=dword:        0 - Disabled, 1 - Enabled, Default 0
;    "BestMDMAMode=dword:       0,1,2  Default - Best MDMA mode read from device
;                                                up to mode 2.
;    "BestUDMAMode=dword:       0-4    Default - Best UDMA mode read from device
;                                                up to mode 4.                            
;    "FSD"=                     "fatfsd.dll", or "udfs.dll"
;    "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
;
; In order for MDMA to be enabled all of the following must occur:
;    "DMAEnable"=dword:1
;    "UDMAEnable"=dword:0
;    Drive must support MDMA
;
;
; In order for UDMA to be enabled all of the following must occur:
;    "DMAEnable"=dword:1
;    "UDMAEnable"=dword:1
;    Drive must support UDMA
;
; ************************************************************************

;
; Master IDE Hard Drive
;
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Ep931xAtapi00]
    "Dll"="ep931xatapi.dll"
    "Prefix"="DSK"
    "DeviceId"=dword:0
    "UDMAEnable"=dword:0
    "BestUDMAMode"=dword:4
    "FSD"="fatfs.dll"
    "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"

;
; Slave CD ROM Drive
;
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Ep931xAtapi01]
    "Dll"="ep931xatapi.dll"
    "Prefix"="DSK"
    "DeviceId"=dword:1
    "UDMAEnable"=dword:0
    "BestUDMAMode"=dword:2
    "FSD"="udfs.dll"
    "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"

;
; Slave IDE Hard Drive (Sample setting)
;
;[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Ep931xAtapi01]
;    "Dll"="ep931xatapi.dll"
;    "Prefix"="DSK"
;    "DeviceId"=dword:1
;    "UDMAEnable"=dword:1
;    "BestUDMAMode"=dword:4
;    "FSD"="fatfs.dll"
;    "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"

;
; Slave CD ROM Drive (Sample setting)
;
;[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Ep931xAtapi01]
;    "Dll"="ep931xatapi.dll"
;    "Prefix"="DSK"
;    "DeviceId"=dword:1
;    "DVD"=dword:1
;    "UDMAEnable"=dword:0
;    "BestMDMAMode"=dword:2
;    "BestUDMAMode"=dword:2
;    "FSD"="udfs.dll"
;    "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"


IF CE_MODULES_ATAPI !

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
    "Name"="IDE Hard Disk Drive"
    "Folder"="Hard Disk"

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile\FATFS]
    "EnableCacheWarm"=dword:0

ENDIF

ENDIF


;
; Display registry settings
;
[HKEY_LOCAL_MACHINE\Drivers\Display\EP931x]
; ************************************************************************
;
; For using a CRT only the following fields are needed.
;
;   "Width"=dword:          Width in Pixels Default- 280h or 640
;   "Height"=dword:         Width in Pixels Default- 1E0h or 480
;   "Frequency"=dword       Frequency Default - 3C or 60 Hz
;   "ColorDepth"=dword      Default 10h or 16
;
;  Supported Resolutions are: 
;
;        640x480 8,16,24 Bpp
;        800x600 8,16 Bpp
;        1024x768 8 Bpp
;
; For using an LCD also use the settings below.
;
;   "SetDirectly"=dword:0   0 - Disabled,  1 - Enabled,  Default 0
;
;   If SetDirectly is enabled you can uses the following settings.
;   You must set all the following fields in order for the 
;   values to be active.
;
;   You can damage LCD screen by setting these values wrong.
;
;   "VLinesTotal"=dword:
;   "VSyncStartStop"=dword:
;   "VActiveStartStop"=dword:
;   "VBlankStartStop"=dword:
;   "VClockStartStop"=dword:
;   "HClocksTotal"=dword:
;   "HSyncStartStop"=dword:
;   "HActiveStartStop"=dword:
;   "HBlankStartStop"=dword:
;   "HClockStartStop"=dword:
;   "InvertPixelClock"=dword:1
;
; Here are some special settings for the raster engine.
; 
;   "SleepSignalActive"=dword:  0 - Disabled, 1 - Enabled, Default 0
;   "UseCX25871"=dword:         0 - Disabled, 1 - Enabled, Default 0        
;   "ExternalVideoClock"=dword: 0 - Disabled, 1 - Enabled, Default 0
;
; Default LCD settings.
;
;   "Width"=dword:280          
;   "Height"=dword:1E0
;   "Frequency"=dword:3E
;   "ColorDepth"=dword:10
;
; Settings for NEC NL6448AC33-29
;
;   "Width"=dword:280          
;   "Height"=dword:1E0
;   "Frequency"=dword:3C      
;   "ColorDepth"=dword:10             
;   "SetDirectly"=dword:1
;   "VLinesTotal"=dword:000020C
;   "VSyncStartStop"=dword:01FE0200
;   "VActiveStartStop"=dword:020c01df
;   "VBlankStartStop"=dword:00000000
;   "VClockStartStop"=dword:020c020c
;   "HClocksTotal"=dword:00000323
;   "HSyncStartStop"=dword:02c00321
;   "HActiveStartStop"=dword:0100290
;   "HBlankStartStop"=dword:00000000
;   "HClockStartStop"=dword:03230323
;   "InvertPixelClock"=dword:1
;   "SleepSignalActive"=dword:1
;
; Settings for the Phillips LB064V02
; Screen shipped with the Videon Central Board.
;
; ************************************************************************
   "Width"=dword:280          
   "Height"=dword:1E0
   "Frequency"=dword:3C      
   "ColorDepth"=dword:10
   "SetDirectly"=dword:1
   "VLinesTotal"=dword:0000020c
   "VSyncStartStop"=dword:00000002
   "VActiveStartStop"=dword:001001f0
   "VBlankStartStop"=dword:001001f0
   "VClockStartStop"=dword:020c020c
   "HClocksTotal"=dword:0000030e
   "HSyncStartStop"=dword:02ae030e
   "HActiveStartStop"=dword:000e028e
   "HBlankStartStop"=dword:000e028e
   "HClockStartStop"=dword:030e030e
   "InvertPixelClock"=dword:0
   "SleepSignalActive"=dword:1
   "UseCX25871"=dword:0    ;     0 - Disabled, 1 - Enabled, Default 0        
;
; Settings for the Conexant CX2581 NTSC encoder.
;
;   "Width"=dword:280
;   "Height"=dword:1E0
;   "Frequency"=dword:3C
;   "ColorDepth"=dword:10
;   "SetDirectly"=dword:1
;   "VLinesTotal"=dword:257                  
;   "VSyncStartStop"=dword:01FF022C
;   "VActiveStartStop"=dword:000001E0
;   "VBlankStartStop"=dword:000001E0
;   "VClockStartStop"=dword:07FF01E0
;   "HClocksTotal"=dword:30F
;   "HSyncStartStop"=dword:02C0030F
;   "HActiveStartStop"=dword:00000280
;   "HBlankStartStop"=dword:00000280
;   "HClockStartStop"=dword:07FF0280
;   "InvertPixelClock"=dword:0
;   "SleepSignalActive"=dword:0
;   "UseCX25871"=dword:1
;   "ExternalVideoClock"=dword:1



IF BSP_EP931X_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


;
; These are the value for our IRDA driver.
;
; IF BSP_EP931X_IRDA
;[HKEY_LOCAL_MACHINE\Comm\IrDA\Linkage]
;    "Bind"=multi_sz:"epirda1"
;    
;[HKEY_LOCAL_MACHINE\Comm\epirda]
;   "DisplayName"="EP9312 Fast Irda Driver"
;   "Group"="NDIS"
;   "ImagePath"="epirda.dll"
;
;[HKEY_LOCAL_MACHINE\Comm\epirda\Linkage]
;   "Route"=multi_sz:"epirda1"
;
;
; The driver will not load without this.
;
;[HKEY_LOCAL_MACHINE\Comm\epirda1\Parms]
;   "BusNumber"=dword:0
;   "BusType"=dword:0
;
; ENDIF

IF SYSGEN_IRDA
[HKEY_LOCAL_MACHINE\Comm\IrDA\Linkage]

   ; Need to have IrDA stack bind to the miniport.

⌨️ 快捷键说明

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