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

📄 platform.reg

📁 yl公司板子添加串口的方法 他们不给技术支持的 因为他们的BSP介于4.2和5.0之间 所以网上的很多方法也不对 这个是好使的 我摸索出来的
💻 REG
📖 第 1 页 / 共 3 页
字号:
      00,00,00,16,10,00,00,00,25,00,00,00,00,00,00,00,30,7c,2b,00,00,00,00,00,ba,\
      25,04,16,00,00,00,00,02,00,00,00,89,01,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,01,00,00,00,18,e9,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,15,f8,03,10,00,00,00,e0,9c,2b,00,\
      ba,25,04,16,89,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,0a,00,00,00,30,\
      7c,2b,00,00,00,00,00,0a,00,00,00,8c,e1,03,00,60,27,0b,00,76,51,cc,ad,00,00,\
      00,00,6c,e9,03,16,02,00,00,00,89,01,00,00,60,27,0b,00,76,51,cc,ad,80,e9,03,\
      16,60,57,01,00,60,27,0b,00,10,00,00,00,48,87,01,00,00,00,00,00,00,00,00,00,\
      a0,21,e6,01,04,21,a9,02,8a,76,c2,ad,20,86,01,00,00,00,00,00,ba,25,04,16,ba,\
      25,04,16,02,00,00,00,c8,e9,03,16,d4,8f,07,00,e0,9c,2b,00,89,01,00,00,02,00,\
      00,00,ba,25,04,16,0d,00,00,00,0d,00,00,00,81,00,00,00,ba,25,04,16,90,9c,2b,\
      00,01,00,00,00,60,9a,2b,00,d4,ea,03,16,5c,72,07,00,08,6c,04,80,e4,b9,00,f0,\
      30,7c,2b,00,00,00,00,00,00,00,00,00,0a,00,00,00,00,00,00,00,0a,00,00,00,f4,\
      3c,04,80,0a,00,00,00,00,00,00,00,10,00,00,00,00,c8,ff,ff,00,00,00,00,3c,13,\
      00,00,8a,76,c2,ad,50,f8,ff,01,00,c8,ff,ff,d8,4f,f8,03,81,00,00,00,0d,00,00,\
      00,00,00,00,00,a0,d0,03,00,50,f8,ff,01,00,c8,ff,ff,ba,25,04,16,7c,71,07,00,\
      60,27,0b,00,76,51,cc,ad,00,00,00,00,70,ea,03,16,7c,71,07,00,7c,71,07,00,70,\
      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
   
;=========== End of UART(Serial) ===============


IF BSP_CS8900
;================= 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
   "InterruptNumber"=dword:0A
   "Sysintr"=dword:1A
   "DuplexMode"=dword:1
   "IoBaseAddress"=dword:A7000300
   "Transceiver"=dword:3
   "CardType"=dword:1

[HKEY_LOCAL_MACHINE\Comm\CS89001\Parms\TcpIp]
   "EnableDHCP"=dword:0
   "DefaultGateway"="192.168.1.1"
   "LLInterface"=""
   "UseZeroBroadcast"=dword:0
   "IpAddress"="192.168.1.100"
   "Subnetmask"="255.255.255.0"
   "DNS"="192.168.1.1"

[HKEY_LOCAL_MACHINE\Comm\Tcpip\Linkage]
   "Bind"="CS89001"
;============= End of CS8900 =================
ENDIF

;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 BSP_IDE

;---------------------------------------------------------------------

;
; 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\Drivers\BuiltIn\FlashDrv]
	"Prefix"="DSK"
	"Dll"="FLASHDRV.dll"
	"FSD"="FATFS.DLL"	
	"Order"=dword:0
	"Ioctl"=dword:4
	"Profile"="FlashDrv"
	"FriendlyName"="MS Flash Driver"
	"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDrv]
	"Folder"="NandFlash"
	"Name"="Nand Flash Disk"


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

[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

;---------------------------------------------------------------------


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; charlie, SDIO
    ; two step load process, the bus driver will perform it's
    ; own ActivateDevice call in the Entry point provided
    ; this way the driver even though it is a Builtin device, it can be unloaded
[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"="Storage Card"
;    "PartitionDriver"=""          ; removable storage cannot have partitions

[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MMC]
    "Name"="MMC Card"
    "Folder"="Storage 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"="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"


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:20000300
	"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.1.1"
	"LLInterface"=""
	"UseZeroBroadcast"=dword:0
	"IpAddress"="192.168.1.234"
	"Subnetmask"="255.255.255.0"
	"DNS"="192.168.1.1"
	;"WINS"="192.168.0.1"
ENDIF BSP_DM9000

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

⌨️ 快捷键说明

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