4.platform.bib中添加
MODULES
;=============================================================================================
; @XIPREGION IF PACKAGE_OEMMISC
IF IMGULDR !
sdio8686.dll $(_FLATRELEASEDIR)\sdio8686.dll NK SH
ENDIF IMGULDR !
; @XIPREGION ENDIF PACKAGE_OEMMISC
;=============================================================================================
5.最后makeimg
但在makeimg后总是过不去,出如下错误:
regcomp: Overwriting existing value [HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDri
vers\Class\SDMemory_Class] "IClass" in system registry
regcomp: Overwriting existing value [HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDri
vers\Class\MMC_Class] "IClass" in system registry
regcomp: Error: InitRegistry FAILED on or near line 38443 of D:\WM602\PLATFORM\l
ijia_HFC_PHOENIX_V1.03\CE_Bulverde\Release\Retail\WPC\reginit.ini.
makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec).
makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec).
; registry keys for the Streams portion of the driver
[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Custom\MANF-02DF-CARDID-9103-FUNC-1]
"Dll"="SDIO8686.dll" ; use the "streams" interface portion to load the NDIS portion
"Prefix"="NDL"
; add instance key for each instance that can be added
"Instance0"="SDIO8686:SDIO86861" ; "InstanceX" = ":"
;
; Registry keys
;
; registry keys for the NDIS driver
[HKEY_LOCAL_MACHINE\Comm\SDIO8686]
"DisplayName"="Marvell SDIO8686 Wireless Card"
"Group"="NDIS"
"ImagePath"="SDIO8686.dll"
"NoDeviceCreate"=dword:01
; TCPIP linkage to instance 1 adapter
[HKEY_LOCAL_MACHINE\Comm\Tcpip\Linkage]
"Bind"=multi_sz:"ppp","SDIO86861"
; setup card parameters
[HKEY_LOCAL_MACHINE\Comm\SDIO86861\Parms]
"UseMfgFw"=dword:0
"PowerMode"=dword:0
"FragThsd"=dword:92A
"RTSThsd"=dword:92A
; following is for BT/WLAN multi-functions driver 1:enable BT/WLAN multi-function driver, 0:WLAN only
"BTMode"=dword:0
; adhoc starter default channel
"AdhocDefaultChannel"=dword:6
; adhoc starter WiFi test datarate modify or not
"AdhocWiFiDataRate"=dword:0
; adhoc default band, 1:G, 0:B
"AdhocDefaultBand"=dword:1
; 1:SDIO 4 bit mode; 0: SDIO 1 bit mode
"SetSD4BIT"=dword:1
;Set the priority of SdioIstThread
"SdioIstThread"=dword:65
;Set the value of AvoidScanTime after connected
"AvoidScanTime"=dword:2710
;Set ACTIVE_ROAMING
"bActiveRoamingScanOneChannel"=dword:1
"bLinkLostScanOneChannel"=dword:1
;Set NEW_RSSI parameters
"ulRSSIThresholdTimer"=dword:1388
"RSSI_Range"=dword:A
;Set ACTIVE_ROAMING with BackGround Scan
"bActiveRoamingwithBGSCAN"=dword:0
;Set RoamingMode:NOT_ROAMING_MODE = 1(default),ACTIVE_ROAMING_MODE=2,FAST_ROAMING_MODE
"RoamingMode"=dword:1
;Set the value of Enable80211D
"Enable80211D"=dword:0
;Set the value of LocalListenInterval
"LocalListenInterval"=dword:0
;Set support 32bytes ESSID
"ESSID_32"=dword:0
;Set the value to use GPIO pin as Interrupt pin, 1:use GPIO pin as interrupt source; 0:used SDIO bus interrupt
"SDGPIOIntEnable"=dword:1
;Set the GPIO pin # to be used as Interrupt pin
"GPIOIntPinNumber"=dword:4
;Setup interrupt trigger edge, 0: Rasing edge, 1:Falling edge
"GPIOIntTriggerEdge"=dword:1
;Setup interrupt pluse width(us)
"GPIOIntPulsewidth"=dword:5
;Set the value of NullPktInterval, 0: unchanged.
"NullPktInterval"=dword:0
;Set the value of MultipleDTim
"MultipleDTim"=dword:1
;Set the value of AdhocAwakePeriod
"AdhocAwakePeriod"=dword:1
;Set MAC frame type
"MacFrameType"=dword:0
;Set Auto Deep Sleep Time, 2 seconds unit.
"AutoDeepSleepTime"=dword:0
;Set Association fail retry times while asso. fail.
"AssoRetryTimes"=dword:2
;
;Roaming parameters ++
;
;Set the value of RoamSignalStrengthThreshold
"RoamSignalStrengthThreshold"=dword:2d
;
;Channel list. Valid value is from 0x00000000 ~ 0x00007ff
; => bit=1, channel[i+1] will be scanned
"RoamChannelScanList"=dword:000007ff
; Scan interval per channel(ms)
"RoamMaxScanInterval"=dword:bb8
"RoamMinScanInterval"=dword:c8
;RSSI threshold. If the next AP's RSSI is higher more than this value, roam to that AP
"RoamDiffRSSIThreshold"=dword:0f
;Scan algorithm
; 0: Use background scan
; 1: Use active scan
"RoamScanAlgorithm"=dword:1
;
;Roaming parameters --
;
;Bus power is on/off in D3
"BusPowerInD3"=dword:1
;RegsionCode:
; (0x10, 0x20, 0x30, 0x31, 0x32, 0x40)=(USA FCC, Canada IC, Europe ETSI, Spain, France, JP MKK)
"RegionCode"=dword:0x10
; default TCPIP settings for this instance
[HKEY_LOCAL_MACHINE\Comm\SDIO86861\Parms\TcpIp]
"EnableDHCP"=dword:1
; This should be MULTI_SZ
"DefaultGateway"=""
; 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"="255.255.255.0"
IF MRVL_MONOLITHIC_SDIO
; setup monolithic SDIO Bus and SDHC parameters
[HKEY_LOCAL_MACHINE\Drivers\Builtin\SDIO8686]
"Order"=dword:2
"Dll"="SDIO8686.dll"
"Prefix"="NDL"
"Instance0"="SDIO8686:SDIO86861"
"ThreadPriority"=dword:64 ; default thread priority for dispatch thread
"RequestListDepth"=dword:30 ; pre-allocated requests
"IClass"=multi_sz:"{20FA98A8-B298-4b32-8D72-C716AEE2FA84}=%b","{6F40791D-300E-44E4-BC38-E0E63CA8375C}=%b"
regcomp: Overwriting existing value [HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDri
vers\Class\SDMemory_Class] "IClass" in system registry
regcomp: Overwriting existing value [HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDri
vers\Class\MMC_Class] "IClass" in system registry
在我makeimg以后非常多,我也就只粘了这两个,我将 #include "$(_TARGETPLATROOT)\src\drivers\WLAN\SDIO8686\SDIO8686.reg" 去掉后就可以过,所以会不会就是SDIO8686.reg的问题? 费解~~~