📄 platform.reg
字号:
[HKEY_LOCAL_MACHINE\DebugZones]
"DEVLOAD"=dword:ffff
; Platform type: 1=DK3, 2=ODO 3=Rose
[HKEY_LOCAL_MACHINE\Platform]
"Name"="$(BSP_EP93XX_PLATFORM_TYPE)"
"Type"=dword:2
IF BSP_EP93XX_AUDIO
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\WaveDev]
"Prefix"="WAV"
"Dll"="wavedev.dll"
"Index"=dword:1
"Order"=dword:0
IF BSP_EP93XX_AC97_AUDIO
"UseAC97"=dword:1 ;unmask this setting to enable AC97 and disable I2S.
ENDIF
;
; Specify support I2S codec support
;
; "UseI2SVolumeControl"=dword:0
#if $(BSP_EP93XX_PLATFORM_TYPE) == EDB9301 || $(BSP_EP93XX_PLATFORM_TYPE) == EDB9302
"I2SCodec"=dword:10af ;10af - CS4271, 1084 - CS4228, default:4228
"ResetPinUsed"=dword:1 ;Set the GPIO pin number which is used to reset the codec, 0-xx
"WithMute"=dword:1 ;
#elif $(BSP_EP93XX_PLATFORM_TYPE) == EDB9307 || $(BSP_EP93XX_PLATFORM_TYPE) == EDB9312 || $(BSP_EP93XX_PLATFORM_TYPE) == EDB9315
; there's no mute control pin in 07/12/15 boards.
; "UseAC97"=dword:1 ;unmask this setting to enable AC97 and disable I2S.
"I2SCodec"=dword: 1084; 10af- CS4271, 1084 - CS4228, default:4228
#elif $(BSP_EP93XX_PLATFORM_TYPE) == EDB9315A
"I2SCodec"=dword:10af ;10af - CS4271, 1084 - CS4228, default:4228
"ResetPinUsed"=dword:E ;Set the GPIO pin number which is used to reset the codec, 0-xx
"WithMute"=dword:1 ;
#elif $(BSP_EP93XX_PLATFORM_TYPE) == EDB9302A || $(BSP_EP93XX_PLATFORM_TYPE) == EDB9307A || $(BSP_EP93XX_PLATFORM_TYPE) == EDB9301A
"I2SCodec"=dword:10af ;10af - CS4271, 1084 - CS4228, default:4228
"ResetPinUsed"=dword:3A ;Set the GPIO pin number which is used to reset the codec, 0-xx
;The bit number in every PIN REG is 0 to 7.
"WithMute"=dword:1
#endif
"IClass"=multi_sz:"{E92BC203-8354-4043-A06F-2A170BF6F227}",
"{37168569-61C4-45fd-BD54-9442C7DBA46F}",
"{A32942B7-920C-486b-B0E6-92A702A99B35}"
ENDIF
;
; Display registry settings
;
IF BSP_EP93XX_WITH_DISPLAY
[HKEY_LOCAL_MACHINE\Drivers\Display\EP93xx]
;RotationDegree is valid only if BSP_EP93XX_DISPLAY_ROTATION is defined.
;Set value 0 for 0 degree; 5A for 90 degree;
;B4 for 180 degree; 10E for 270 degree.
; "RotationDegree"=dword:5A
; ************************************************************************
;
; 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
ENDIF
IF BSP_EP93XX_ETHERNET
[HKEY_LOCAL_MACHINE\Comm\CS8950]
"DisplayName"="EP93xx 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
; Keybd driver is the same.
;;;*******************************************************************
;;;
;;; Load the keyboard files.
;;;
;;;*******************************************************************
#define DRIVERS_DIR $(_PUBLICROOT)\common\oak\drivers
; @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_EP93XX_SERIAL
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial_1]
"DeviceArrayIndex"=dword:1
"Prefix"="COM"
"Dll"="pl010serial.Dll"
"Order"=dword:0
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial_1\Unimodem]
"Tsp"="Unimodem.dll"
"DeviceType"=dword:0
"FriendlyName"="Direct connect on COM port1"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial_2]
"DeviceArrayIndex"=dword:2
"Prefix"="COM"
"Dll"="pl010serial.Dll"
"Order"=dword:0
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial_2\Unimodem]
"Tsp"="Unimodem.dll"
"DeviceType"=dword:0
"FriendlyName"="Direct connect on COM port2"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial_3]
"DeviceArrayIndex"=dword:3
"Prefix"="COM"
"Dll"="pl010serial.Dll"
"Order"=dword:2
ENDIF
; This registry setting controls the checkboxes displayed in the Sounds CPL
; under "enable clicks & taps". Set bit0 if you have a keyboard, set bit1 if
; you have a touch screen. Set bit2 if you have HW buttons (NOTE: for now
; HW buttons are mutually exclusive with the keyboard)
; For ODO setting it to 3=keybd, and touch screen
[HKEY_LOCAL_MACHINE\ControlPanel]
"InputConfig"=dword:0
; @CESYSGEN IF CE_MODULES_POINTER
;
; This registry setting controls the checkboxes displayed in the Sounds CPL
; under "enable clicks & taps". Set bit0 if you have a keyboard, set bit1 if
; you have a touch screen. Set bit2 if you have HW buttons (NOTE: for now
; HW buttons are mutually exclusive with the keyboard)
;
;[HKEY_LOCAL_MACHINE\ControlPanel]
; "InputConfig"=dword:3 ; 3 => keybd and touch screen
IF BSP_EP93XX_TOUCH
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH]
"DriverName"="touch.dll"
"MaxCalError"=dword:300
"CalibrationData"="2118,2074 1294,2822 1290,1298 2901,1282 2893,2816 "
;
; MinInvPressure is the minimum touch resistance that is needed to register a touch
;
; MaxInvPressure is the maximum touch resistance that is needed to before going out
; of polled mode
;
; MaxChange is the maximum change between touches before the sample is descarded.
;
; Default Values:
; "MinInvPressure"=dword:1500
; "MaxInvPressure"=dword:4400
; "MaxChange"=dword:120
[HKEY_CURRENT_USER\ControlPanel\Pen]
"DblTapDist"=dword:14
ENDIF
; @CESYSGEN ENDIF CE_MODULES_POINTER
IF BSP_EP93XX_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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -