⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 platform.reg

📁 2440开发板pb4.2增加两个串口需更改的文件。
💻 REG
📖 第 1 页 / 共 3 页
字号:
      cf,03,00,7c,ea,03,16,80,ea,03,16,00,00,00,00,00,00,00,00,00,00,00,00,96,ad,\
      dd,ad,7c,71,07,00,ba,25,04,16,00,00,00,00,10,00,00,00,02,ff,ff,ff,8a,76,c2,\
      ad,00,00,00,00,00,00,00,00,ba,25,04,16,00,00,00,00,81,00,00,00,0d,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,e4,ea,03,16,ba,25,04,16,00,\
      00,00,00,30,3c,10,0a,10,00,00,00,a4,7b,01,00,ba,25,04,16,00,00,00,00,00,00,\
      00,00,2c,eb,03,16,00,00,00,00,00,00,00,16,a4,66,04,80,0f,00,00,00,00,00,00,\
      00,c4,b3,00,f0,00,00,00,00,78,ee,03,16,00,00,00,00,00,00,00,00,78,ee,03,16,\
      20,1e,04,00,30,7c,2b,00,c8,3c,04,80,f1,ec,ff,ff,00,00,00,00,10,00,00,00,00,\
      c8,ff,ff,e4,64,fa,03,00,00,00,00


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Ethernet (for CS8900 chip)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
IF BSP_CS8900
[HKEY_LOCAL_MACHINE\Drivers\CS8900]
	"Dll"="ndis.dll"
	"Prefix"="NDS"
	"Miniport"="CS8900"

[HKEY_LOCAL_MACHINE\Comm\CS8900]
	"DisplayName"="CS8900"
	"Group"="NDIS"
	"ImagePath"="CS8900.dll"

[HKEY_LOCAL_MACHINE\Comm\CS8900\Linkage]
	"Route"=multi_sz:"CS89001"

[HKEY_LOCAL_MACHINE\Comm\CS89001]
	"DisplayName"="CS8900"
	"Group"="NDIS"
	"ImagePath"="CS8900.dll"

[HKEY_LOCAL_MACHINE\Comm\CS89001\Parms]
	"BusNumber"=dword:0
	"BusType"=dword:0
	"SysIntr"=dword:1A
	"InterruptNumber"=dword:1A
	"IoBaseAddress"=dword:A7000300
	"Transceiver"=dword:3
	"CardType"=dword:1

[HKEY_LOCAL_MACHINE\Comm\CS89001\Parms\TcpIp]
	"EnableDHCP"=dword:0
	;"DefaultGateway"="165.213.206.1"
	"DefaultGateway"="192.168.1.1"
	"LLInterface"=""
	"UseZeroBroadcast"=dword:0
	;"IpAddress"="165.213.206.199"
	"IpAddress"="192.168.1.123"
	"Subnetmask"="255.255.255.0"
	;"DNS"="203.241.132.34"
	"DNS"="202.96.134.133"

[HKEY_LOCAL_MACHINE\Comm\Tcpip\Linkage]
	"Bind"="CS89001"
ENDIF


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; SDIO
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[HKEY_LOCAL_MACHINE\Drivers\Builtin\SDBusDriver]
	"Order"=dword:20
	"Dll"="SDBusDriver.dll"
	"Entry"="SDBusDriverStartUp"

[HKEY_LOCAL_MACHINE\Drivers\SDCARD\SDBusDriver]
	"Order"=dword:20
	"Dll"="SDBusDriver.dll"
	"Prefix"="SDC"
	"ThreadPriority"=dword:64     ; default thread priority for dispatch thread
	"RequestListDepth"=dword:30   ; pre-allocated requests 
;	"ZoneMask"=dword:e01d        ; example zone mask

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SDMemory]
	"Name"="SD Memory Card"
	"Folder"="SDMEM"


;	"PartitionDriver"=""          ; removable storage cannot have partitions

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MMC]
	"Name"="MMC Card"
	"Folder"="MMC Card"
;	"PartitionDriver"=""          ; removable storage cannot have partitions

; SD Memory Storage class driver 
[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\SDMemory_Class]
	"Dll"="SDMemory.dll"
	"Prefix"="DSK"
	"FSD"="FATFS.DLL"	
	"IOCTL"=dword:4             ; DISK_IOCTL_INITIALIZE, sent to driver by DeviceManager
	"BlockTransferSize"=dword:40 ; Send no more than 64 blocks of data per bus transfer
;	"SingleBlockWrites"=dword:1 ; alternatively force the driver to use single block access

	"Profile"="SDMemory"
	"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}",   
                     "{A32942B7-920C-486b-B0E6-92A702A99B35}"  
   
; MMC Storage Class Driver
[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\MMC_Class]
	"Dll"="SDMemory.dll"
;	"Prefix"="SMC"  
	"Prefix"="DSK"  
	"FSD"="FATFS.DLL"
	"IOCTL"=dword:4             ; DISK_IOCTL_INITIALIZE, sent to driver by DeviceManager
	"BlockTransferSize"=dword:40 ; Send no more than 64 blocks of data per bus transfer
;	"SingleBlockWrites"=dword:1 ; alternatively force the driver to use single block access

	"Profile"="MMC"
	"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}", 
			"{A32942B7-920C-486b-B0E6-92A702A99B35}" 

; setting for SD bus driver to load driver
[HKEY_LOCAL_MACHINE\Drivers\SDCARD\HostControllers\SDSC]
	"Dll"="SDCSDCard.dll"
	"Prefix"="SDC"

;BSP_IDE
IF BSP_IDE
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IDE]
   "Dll"="atapi.dll"
   "Prefix"="IDE"
   "Class"=dword:01
   "SubClass"=dword:01
   "BusNumber"=dword:0
   "InterfaceType"=dword:1
   "IoBase"=multi_sz:"A4000020","A4000010"
   "IoLen"=multi_sz:"10","10"
   "SpawnFunction"="GenericConfig" 
   "Legacy"=dword:0
   "SysIntr"=dword:1F
   "DMAAlignment"=dword:04         ; default DMA alignment
   "SoftResetTimeout"=dword:03     ; ATA/ATAPI spec defines 31s ceiling; this is too long
   "StatusPollCycles"=dword:100    ; Status register DRQ/BSY polling; 256 poll cycles
   "StatusPollsPerCycle"=dword:20  ; Status register DRQ/BSY polling; 32 polls per cycle
   "StatusPollCyclePause"=dword:05
   "RegisterStride"=dword:02       ; ATA register stride; register block is contiguous
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\IDE\Device0]
   "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
   "Prefix"="DSK"
   "Dll"="atapi.dll"
   "InterruptDriven"=dword:00      ; enable interrupt driven I/O
   "DMA"=dword:00                  ; disable DMA
   "DoubleBufferSize"=dword:10000  ; 128 sector (65536 byte) double buffer
   "DrqDataBlockSize"=dword:200    ; 1 sector (512 byte) DRQ data block
   "WriteCache"=dword:01           ; enable on-disk write cache
   "LookAhead"=dword:01            ; enable on-disk look-ahead
   "DeviceId"=dword:00             ; device 0, i.e., primary master
   "FSD"="fatfsd.dll"
   "TransferMode"=dword:FF
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\CF]
   "Dll"="atapi.dll"
   "Prefix"="IDE"
   "Class"=dword:01
   "SubClass"=dword:01
   "BusNumber"=dword:0
   "InterfaceType"=dword:1
   "IoBase"=multi_sz:"AA000000","AA800000"
   "IoLen"=multi_sz:"10","10"
   "SpawnFunction"="GenericConfig" 
   "Legacy"=dword:0
   "DMAAlignment"=dword:04         ; default DMA alignment
   "SoftResetTimeout"=dword:03     ; ATA/ATAPI spec defines 31s ceiling; this is too long
   "StatusPollCycles"=dword:100    ; Status register DRQ/BSY polling; 256 poll cycles
   "StatusPollsPerCycle"=dword:20  ; Status register DRQ/BSY polling; 32 polls per cycle
   "StatusPollCyclePause"=dword:05
   "RegisterStride"=dword:02       ; ATA register stride; register block is contiguous
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\CF\Device0]
   "IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
   "Prefix"="DSK"
   "Dll"="atapi.dll"
   "InterruptDriven"=dword:00      ; enable interrupt driven I/O
   "DMA"=dword:00                  ; disable DMA
   "DoubleBufferSize"=dword:10000  ; 128 sector (65536 byte) double buffer
   "DrqDataBlockSize"=dword:200    ; 1 sector (512 byte) DRQ data block
   "WriteCache"=dword:01           ; enable on-disk write cache
   "LookAhead"=dword:01            ; enable on-disk look-ahead
   "DeviceId"=dword:01             ; device 0, i.e., primary master
    "FSD"="fatfsd.dll"
   "TransferMode"=dword:FF
ENDIF

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Support BINFS Section
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Add BinFS to partition table
[HKEY_LOCAL_MACHINE\System\StorageManager\PartitionTable]
	"21"="BINFS"

[HKEY_LOCAL_MACHINE\System\StorageManager\BINFS]
	"Folder"="BINFS"
	"FriendlyName"="Bin FileSystem"
	"Dll"="binfs.dll"
; 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:11
	"BootPhase"=dword:0

;
; Entries to load the block driver that BINFS uses
; This is dependent on what device is used
;

;[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\FlashDrv]
;	"DriverPath"="Drivers\\BuiltIn\\FlashDrv"
;	"LoadFlags"=dword:1
;	"MountFlags"=dword:11
;;	"BootPhase"=dword:0
;	"Flags"=dword:1000

;[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\FlashDrv]
;	"Prefix"="DSK"
;	"Dll"="FLASHDRV.dll"
;	"FSD"="FATFS.DLL"
;	"Order"=dword:0     ;BY SMOFX 	
;	"Order"=dword:1    
;	"Ioctl"=dword:4
;	"Profile"="FlashDrv"
;	"FriendlyName"="MS Flash Driver"
;	"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
;	"Flags"=dword:1000
  ;BY SMOFX 
;	"BmlVolumeId"=dword:0  ; BML volume ID = 0
;  "BmlPartitionId"=dword:8 ; BML parition ID = PARTITION_ID_FILESYSTEM
;   "Index"=dword:0      
 
;[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDrv]
;	"Folder"="SmofxBK"
;	"Name"="Smofx Disk"
;	"DefaultFileSystem"="FATFS"
;	"DefaultFileSystem"="BINFS" 
;	"ArtitionDriver"="mspart.dll"
;	"AutoMount"=dword:1
;	"AutoPart"=dword:1
;	"AutoFormat"=dword:1
;	"BootPhase"=dword:0
;	"MountAsBootable"=dword:1 

;    "Ioctl"=dword:4
;	"Flags"=dword:1000

; Keep FATFS from trying to shadow \Windows
;[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDrv\FATFS]
;	"MountFlags"=dword:2
;	"EnableCacheWarm"=dword:0
;   "Flags"=dword:1000

[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
    "FriendlyName"="FAT FileSystem"
    "Dll"="fatfsd.dll"
    "Flags"=dword:00000024
    "Paging"=dword:1
    "CacheSize"=dword:0


;IF TODO
;[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\Relfsd]
;	"Dll"="relfsd.dll"
;	"Paging"=dword:0
;	"LoadFlags"=dword:1
;ENDIF TODO

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Camera]
   "Prefix"="CIS"
   "Dll"="camera.dll"
   "Index"=dword:1
   "Order"=dword:1
   
IF BSP_DM9000
[HKEY_LOCAL_MACHINE\Comm\DM9CE]
	"DisplayName"="DM9000 ISA Fast Ethernet Adapter"
	"Group"="NDIS"
	"ImagePath"="dm9000.dll"

[HKEY_LOCAL_MACHINE\Comm\DM9CE\Linkage]
	"Route"=multi_sz:"DM9CE1"

[HKEY_LOCAL_MACHINE\Comm\DM9CE1]
	"DisplayName"="DM9000 ISA Fast Ethernet Adapter"
	"Group"="NDIS"
	"ImagePath"="dm9000.dll"

[HKEY_LOCAL_MACHINE\Comm\Tcpip\Linkage]
	"Bind"="dm9CE1"

[HKEY_LOCAL_MACHINE\Comm\DM9CE1\Parms]
	"BusNumber"=dword:0
	"BusType"=dword:1
	"XmitBuffer"=dword:20
	"RecvBuffer"=dword:20
	"SysIntr"=dword:26
	"IrqNumber"=dword:26
	"IoAddress"=dword:20000000
	"UseSoftwareMac"=dword:1
	"SoftwareMacAddress0"=dword:20
	"SoftwareMacAddress1"=dword:04
	"SoftwareMacAddress2"=dword:09
	"SoftwareMacAddress3"=dword:18
	"SoftwareMacAddress4"=dword:00
	"SoftwareMacAddress5"=dword:07

[HKEY_LOCAL_MACHINE\Comm\DM9CE1\Parms\TcpIp]
	"EnableDHCP"=dword:0
	"DefaultGateway"="192.168.18.1"
	"LLInterface"=""
	"UseZeroBroadcast"=dword:0
	"IpAddress"="192.168.18.234"
	"Subnetmask"="255.255.255.0"
	"DNS"="192.168.18.1"
	;"WINS"="192.168.0.1"
ENDIF BSP_DM9000

⌨️ 快捷键说明

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