全志a64開發(fā)包-sdk wifi-bt gps配置說明書_第1頁
全志a64開發(fā)包-sdk wifi-bt gps配置說明書_第2頁
全志a64開發(fā)包-sdk wifi-bt gps配置說明書_第3頁
全志a64開發(fā)包-sdk wifi-bt gps配置說明書_第4頁
全志a64開發(fā)包-sdk wifi-bt gps配置說明書_第5頁
免費預覽已結束,剩余39頁可下載查看

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領

文檔簡介

RevisionSection/ChangescomparedtopreviousBU2-initialversionforsdk概 BoardConfig.mk........................................................... ap6181模組移植相關文件 ap6210.......................................... bt_vendorc bdroidbuildcfg sys_config.f config.xml 概目前A64android5.1WiFi、BT模組請參考《A64WiFi&BT&GPS支持列表_V1.00本文檔將以A64t1方案為例一一說明如何配置每款模組。WiFiUSBSDIOwifistation、softapwifidirect。BT基本都采用UART接口通信。wifi和藍牙二合一的模組,模組和IO的供電配置成一樣就可以了。+接口類型:SDIO模組需要把BoardConfig.mk文件修改成如下(部分代碼。#1.WifiConfiguration#1.WifiConfigurationBOARD_WIFI_VENDOR:=realtek#BOARD_WIFI_VENDOR:=#1.1realtekwifi_SUPPLICANT_VERSION:=VER_08_X :=NL80211 :=#2.Bluetooth#makesureBOARD_HAVE_BLUETOOTHistrueforeverybtvendorBOARD_HAVE_BLUETOOTH:=true#BOARD_HAVE_BLUETOOTH_BCM:=trueBOARD_HAVE_BLUETOOTH_RTK:=trueBOARD_HAVE_BLUETOOTH_NAME:=rtl8723bsBOARDHAVE_BLUETOOTH_RTK_COEX:=trueBLUETOOTH_HCI_USE_RTK_H5:=true說明:=注意:=#realtek#realtekod0660#powerup/downod0660od0660chownbluetoothnet_bt_stack/sys/class/rfkill/rfkill0/typ#bluetoothMACaddresschownbluetoothnet_bt_stackrobt.bdaddr_pathchownbluetoothnet_b_stack/system/et/bluetoothchownbluetoothnet_bt_tack/data/misc/bluetooth#bluetoothod0220od0220chownluetoothnet_bt_stack/proc/bluetooth/sleep/lpmwrite/proc/bluetooth/sleep/lpm1#1.realtekwifi -iwlan0-Dnl80211- - classclass _wlan0dgram660wifiwifi#2realtekwifistap2pconcurrentservicep2p_supplicant _supplicant-iwlan0-Dnl80211- - classmain _wlan0dgram660wifiwifi注意tulip_t1.mk文件決定拷貝rtl8723bswifi的firmware到相應的 把tulip_t1.mk文件修改成如下(部分代碼。PlayerPRODUCT_COPY_FILES+ooth.xml\ueooth_le.xml#rtl8723bsbtfwand 說明 ueventd.sun50iw1p1.rc文件,增 config.xml文件路徑:\android\device\softwinner\tulip-<!--Listofregexpressionsdescribingtheinterface(ifany)thatrepresenttetherableWifiinterfaces.Ifthedevicedoesn'twanttosupporttetheringover<!--Listofregexpressionsdescribingtheinterface(ifany)thatrepresenttetherableWifiinterfaces.Ifthedevicedoesn'twanttosupporttetheringoverWifithisshouldbeempty.Anexamplewouldbe"softap.*"--><!--Listofregexpressionsdescribingtheinerface(fany)thatrepresentbluetoothinterfaces. Ifthedevicedoes'twanttosupporttetheringoverbluetooththisshouldbeempty.-->文件路徑:device\sftwinner\tulip-vnd_$(product).txtvnd_tulip-FW_PATCHFILELOCATION="/etc/firmware/"UART_TARGET_BAUD_RATE=BT_WAKE_VIA_PROC=TRUELPM_IDLE_TIMEOUT_MULTIPLE=5ND_DBG=TRUEBTHW_DBG=TRUEVNDUSERIAL_DBG=TRUEUPIO_DBG=TRUE#define#define#defineBTM_DEF_LOCAL_NAME"tulip-t1"#defineBTA_DM_COD{0x1A,0x01,0x14}#define 把sys_config.fex文件修改成如下(部分代碼。 ;wlan 0-notuse,1- externallowpowerclockinput inputsupply;wla_powerwlan_io_reguatorwlanpowerup/downinternalregulatorsusedbywifiwlantowake-up======; 0-noused,1- externallowpowerclockinput inputsupply bluetoothI/O;powerup/downinternalregulatorsusedbyBT====;;0-noused,1-0-uart0,1-uart1,2-hostwake-upbluetoothdevicebtdevicewake-uphost====說明2、wlan_used1wifi0表示不使用3、wlan_busnumwifi使用的數(shù)據(jù)接口編號4、clockswifi模組使用的主32k時鐘5、wlan_powerwifi供電6、wlan_io_regulatorwifiio供電8、wlan_hostwakewifiap9、bt_used10表示不使用10、clocks32k時鐘11、bt_power為藍牙12、bt_io_reulator為藍io的供電3、bt_rst_non/off btlpm_used1bt015、uart_index為藍牙使用uart口編號16、bt_wakeapbt17、bt_hostwakebtap 模組移植相關文件#elifdefined/*rtl8189ESsdiowifi#ifndefWIFI_DRIVER_MODULE_NAME#defineWIFI_DRIVER_MODULE_NAME#ifndefWIFI_DRIVER_MODULE_ARG#defineWIFI_DRIVER_MODULE_ARG

CONFIG_BCMDHD=yCONFIG_BCMDHD_OOB=yBoardConfig.mk文件決定android加載哪一款wifi模組,要配置成使用ap6181#wifi#wifiandbt#1.WifiConfiguration#BOARD_WIFI_VENDOR:=realtekBOARD_WIFI_VENDOR:=#wifiifeq :=NL80211 :=bcmdhd :=includeh 說明## insmod wifi# wifista -iwlan0-Dnl80211- - -e/data/misc/wifi/entropy.bin-g@android: classmain _wlan0dgram660wifiwifi#wifistap2pconcurrent _supplicantconf-puse_p2p_group_interface=1p2p_device=1usmultichan_concurrent=1-e/data/misc/wifi/entropy.bin-g@android: classmain _wlan0dgram660wifiwifi注意sys_config.fex文件決定GPIOpinap6181sys_config.fex文件修改;;;wlan 0-notuse,1- externallowpowerclockinputinputsupply;powerup/downinternalregulatorsusedbywifiwlantowake-up=====說明2、wlan_used1wifi0表示不使用3、wlan_busnumwifi使用的數(shù)據(jù)接口編號4、clockswifi模組使用的主32k時鐘5、wlan_powerwifi供電6、wlan_io_regulatorwifiio供電8、wlan_hostwakewifiap 模組移植相關文件+接口類型:SDIOCONFIG_BCMDHD=yCONFIG_BCMDHD_OOB=y置成使用ap6210模組并啟用wifi和藍牙功能需要把BoardConfig.mk文件的相關代碼修改成如下。#wifi#wifiandbt#1.Wifi#BOARD_WIFI_VENDOR:=realtekBOARD_WIFI_VENDOR:=#wifiifeq :=NL80211 :=bcmdhd :=includeh #2.Bluetooth#makesureBOARD_HAVE_BLUETOOTHistrueforeverybtvendorBOARD_HAVE_BLUETOOTH:=trueBOARD_HAVE_BLUETOOTH_BCM:=true#BOARD_HAVE_BLUETOOTH_RTK:=#BLUETOOTH_HCI_USE_RTK_H5:=true#BLUETOOTH_HCI_USE_RTK_H5:=true說明:= :=注意:=##insmod/system/vendor/modules/bcmdhd.ko#bcm#uartod660#powerup/downod0660/sy/clas/rfkill/rfkill0/stateod0660/sysclass/rfkill/rfkill0/typechownbuetoothnet_bt_stack/sys/class/rfkill/rfkill0/type#bluetoothMACaddresschownbluetoothnet_bt_stackro.bt.bdaddr_pathchownbluetoothnet_bt_stack/system/etc/bluetoothchownbluetoothnet_bt_stack/data/misc/bluetooth##bluetoothod0220od0220chownbluetoothnet_bt_stack/proc/bluetooth/sleep/lpm wifi# wifista -iwlan0-Dnl80211- - -e/data/misc/wifi/entropy.bin-g@android: classmain _wlan0dgram660wifiwifi#wifistap2pconcurrent -iwlan0-Dnl80211- -e/data/misc/wifi/entropy.bin-g@android: classmain _wlan0dgram660wifiwifi注意Playerooth.xml\<!--Listofregexpressionsdescribingtheinterface(ifany)thatrepresentetherableWifiinterfaces. Ifthedevice<!--Listofregexpressionsdescribingtheinterface(ifany)thatrepresentetherableWifiinterfaces. Ifthedevicedoesn'twanttosupporttetheringoverWifithisshouldbe Anexamplewouldbe"softap.*"-- --<!--Listofregexpressionsdescribingtheinterface(ifany)thatrepresentbluetoothinterfaces Ifthedevicedoesn'twanttosupporttetheringoverbluetooththisshouldbeempty--> default:disableBletoothPANfeature--<string-arraytranslatable="flse"<!--Listofregexpressionsdescribingtheinterface(ifany)thatrepresent 46文件路徑:device\softwinner\tulip-t1\bluetooth(#Setbaudrateto#SetbaudratetoLPM_IDLE_TIMEOUT_MULTIPLE=5#LPM_SLEEP_MODE=FALSEND_DBG=TRUEBTHW_DBG=VNDUSERIAL_DBG=TRUEUPIO_DBG=TRUE#UART#UARTdeviceportwhereBluetoothcontrollerisattachedUartPort=/dev/ttyS1#Firmwarepatchfile #define#define#defineBTM_DEF_LOCAL_NAME"tulip-t1"#defineBTA_DM_COD{0x1A,0x01,0x14}#define sys_config.fex文件決定GPIOpinap6210sys_config.fex文件修改;;;wlan 0-notuse,1- externallowpowerclockinput inputsupply powerup/downinternalregulatorsusedbywifi wlantowake-up; = = ="vcc-wifi" ="vcc-wifi-io" ; 0-noused,1- externallowpowerclockinput inputsupply bluetoothI/O powerup/downinternalregulatorsusedbyBT; = ="vcc-wifi" ="vcc-wifi-io" =prt:PL04<; 0-noused,1- 0-uart0,1-uart1,2-;b hostwake-upbluetooth;bt_hos btdevicewake-up; = = =port:PL05<6><default><default><0>說明2、wlan_used1wifi0表示不使用3、wlan_busnumwifi使用的數(shù)據(jù)接口編號4、clockswifi模組使用的主32k時鐘5、wlan_powerwifi供電6、wlan_io_regulatorwifiio供電8、wlan_hostwakewifiap9、bt_used10表示不使用10、clocks32k時鐘11、bt_power為藍牙12、bt_io_regulator為藍io的供電13、bt_rst_n為控制藍on/off14、btlpm_used1bt低功耗模0表示不使用15、uart_index為藍牙使用uart口編號16、bt_wakeapbt17、bt_hostwakebtap 模組移植相關文件linux-3.10\drivers\net\wirellinux-3.10\drivers\misc\sunxi-rf\sunx-bluetooth.clinux-3.10\drivers\misc\sunxirf\sunxi-wlan.c+接口類型:SDIOCONFIG_BCMDHD=yCONFIG_BCMDHD_OOB=y置成使用ap6330模組并啟用wifi和藍牙功能需要把BoardConfig.mk文件的相關代碼修改成如下。#wifi#wifiandbt#1.WifiConfiguration#BOARD_WIFI_VENDOR:=realtekBOARD_WIFI_VENDOR:=#wifiifeq :=NL80211 :=bcmdhdWIFI_DRIVER :=BOARD_USR_WIFI= #2.Bluetooth#makesureBOARD_HAVE_BLUETOOTHistrueforeverybtvendorBOARD_HAVE_BLUETOOTH:=trueBOARD_HAVE_BLUETOOTH_BCM:=true#BOARD_HAVE_BLUETOOTH_RTK:=true說明:= :=注意:=##insmod/system/vendor/modules/bcmdhd.ko#bcm#uartod660#powerup/downintod0660od0660chownbluetootnet_bt_stack/sys/class/rfkill/rfkill0/statechownbluetoothnet_bt_stack/sys/class/rfkill/rfkill0/type#bluetoothMACaddresschownbluetoothnet_bt_stackro.bt.bdaddr_pathchownbluetoothnet_bt_stack/system/etc/bluetoothchownbluetoothnet_bt_stack/data/misc/bluetooth#bluetoothod0220odod0220chownbluetoothnet_bt_stack/proc/bluetooth/sleep/lpm wifi# wifista -iwlan0-Dnl80211- - -e/data/misc/wifi/entropy.bin-g@android: classmain _wlan0dgram660wifiwifi#wifistap2pconcurrent -iwlan0-Dnl80211- -e/data/misc/wifi/entropy.bin-g@android:wp_wlan0classmain _wlan0dgram660wifiwifi注意Playerooth.xmlooth.xml<!--Listofregexpressionsdescribingtheinterface(ifany)thatrepresenttetherableWifiinterfaces. Ifthedevicedoesn't<!--Listofregexpressionsdescribingtheinterface(ifany)thatrepresenttetherableWifiinterfaces. Ifthedevicedoesn'twanttosupporttetheringoverWifithisshouldbe Anexamplewouldbe"softap.*"-- --<!--Listofregexpressionsdescribingtheinterface(ifany)thatrepresentbluetoothinterfaces. Ifthedevicedoesn'twnttosupporttetheringoverbluetooththisshouldbeempty.--> <!--Listofregexpressiondescribingtheinterface(ifany)thatrepresent<!--Booleanindicatingwhetherthewifichipsethasdualfrequencybandsupport--<booltranslatable=false" 文件路徑:device\softwinner\tulip-t1\bluetooth(#Set#SetbaudrateLPM_IDLE_TIMEOUT_MULTIPLE=5#LPM_SLEEP_MODE=FALSEND_DBG=TRUEBTHW_DBG=TRUEVNDUSERIAL_DBG=TRUEUPIO_DBG=#UART#UARTdeviceportwhereBluetoothcontrollerisattachedUartPort=/dev/ttyS1#Firmwarepatchfile #define#define#defineBTM_DEF_LOCAL_NAME"tulip-t1"#defineBTA_DM_COD{0x1A,0x01,0x14}#define sys_config.fex文件決定GPIOpinap6330sys_config.fex文件修改;;;wlan 0-notuse,1- externallowpowerclockinput inputsupply powerup/downinternalregulatorsusedbywifi wlantowake-up; = = ="vcc-wifi" ="vcc-wifi-io" ; 0-noused,1- externallowpowerclockinput inputsupply bluetoothI/O powerup/downinternalregulatorsusedbyBT; = ="vcc-wifi" ="vcc-wifi-io" =prt:PL04<; 0-noused,1- 0-uart0,1-uart1,2-;b hostwake-upbluetooth;bt_hos btdevicewake-up; = = =port:PL05<6><default><default><0>說明2、wlan_used1wifi0表示不使用3、wlan_busnumwifi使用的數(shù)據(jù)接口編號4、clockswifi模組使用的主32k時鐘5、wlan_powerwifi供電6、wlan_io_regulatorwifiio供電8、wlan_hostwakewifiap9、bt_used10表示不使用10、clocks32k時鐘11、bt_power為藍牙12、bt_io_regulator為藍io的供電13、bt_rst_n為控制藍on/off14、btlpm_used1bt低功耗模0表示不使用15、uart_index為藍牙使用uart口編號16、bt_wakeapbt17、bt_hostwakebtap linux-3.10\drivers\misc\sunxirf\\sunxi-wlan.c.clinux-3.10\drivers\miscunxi-rf\sunxi-wlan.c+接口類型:SDIOCONFIG_BCMDHD=yCONFIG_BCMDHD_OOB=y置成使用ap6335模組并啟用wifi和藍牙功能需要把BoardConfig.mk文件的相關代碼修改成如下。#wifi#wifiandbt#1.Wifi#BOARD_WIFI_VENDOR:=realtekBOARD_WIFI_VENDOR:=#wifiifeq :=NL80211 :=bcmdhd :=includeh #2.Bluetooth#makesureBOARD_HAVE_BLUETOOTHistrueforeverybtvendorBOARD_HAVE_BLUETOOTH:=trueBOARD_HAVE_BLUETOOTH_BCM:=true#BLUETOOTH_HCI_USE_RTK_H5:=true#BLUETOOTH_HCI_USE_RTK_H5:=true說明:= :=注意:=##insmod/system/vendor/modules/bcmdhd.ko#bcm#uartod660#powerup/downinterfaod0660/sy/clas/rfkill/rfkill0/typechownbluetoothnet_bt_stack/sys/class/rfkill/rfkill0/type#bluetoothMACaddresschownbluetoothnet_bt_stackro.bt.bdaddr_pathchownbluetoothnet_bt_stack/system/etc/bluetoothchownbluetoothnet_bt_stack/data/misc/bluetooth#bluetoothodod0220od0220chownbluetoothnet_bt_stack/proc/bluetooth/sleep/lpm wifi# wifista -iwlan0-Dnl80211- - -e/data/misc/wifi/entropy.bin-g@android: classmain _wlan0dgram660wifiwifi#wifistap2pconcurrent -iwlan0-Dnl80211- -e/data/misc/wifi/entropy.bin-g@android: classmain _wlan0dgram660wifiwifi注意tulip_t1Playerooth.xml\<!--Listofregexpressionsdescribingtheinterface(ifany)thatrepresenttetherableWifiinterfaces. Ifthedevicedoesn't<!--Listofregexpressionsdescribingtheinterface(ifany)thatrepresenttetherableWifiinterfaces. Ifthedevicedoesn'twanttosupporttetheringoerWifithisshouldbe Anexamplewouldbe"softap.*"-- --<!--Listofregexpressionsdescribingtheinterface(ifany)thatrepresentbluetoothinterfaces. Ifthedevicedosn'twanttosupporttetheringoverbluetooththisshouldbeempty.--> default:disableBluetoothPANfeture--<!--Listofregexpressionsdescribingtheinterface(ifany)thatrepresent<!--Booleanindicatingwhetherthewifichipsethasdualfrequencybandsupport--注若相應平臺 文件路徑:device\softwinner\tulip-t1\bluetooth(#Set#SetbaudrateBLUETOOTH_UART_DEVICE_PORT="/dev/ttyS1"LPM_IDLE_TIMEOUT_MULTIPLE=5#LPM_SLEEP_MODE=FALSEND_DBG=TRUEBTHW_DBG=TRUEVNDUSERIAL_DBG=TRUEUPIO_DBG=TRUE#UART#UARTdeviceportwhereBluetoothcontrollerisattachedUartPort=/dev/ttyS1#Firmwarepatchfile #define#define#defineBTM_DEF_LOCAL_NAME"tulip-t1"#defineBTA_DM_COD{0x1A,0x01,0x14}#define sys_config.fex文件決定GPIOpinap6335sys_config.fex文件修改;;;wlan 0-notuse,1- externallowpowerclockinput inputsupply powerup/downinternalregulatorsusedbywifi wlantowake-up; = = ="vcc-wifi" ="vcc-wifi-io" ; 0-noused,1- externallowpowerclockinput inputsupply bluetoothI/O powerup/downinternalregulatorsusedbyBT; = ="vcc-wifi" =vcc-wifi- =;bluetoothlpm 0-noused,1-;u 0-uart0,1-uart1,2-;bt_wak hostwake-upbluetooth btdevicewake-up; = = = =說明2、wlan_used1wifi0表示不使用3、wlan_busnumwifi使用的數(shù)據(jù)接口編號4、clockswifi模組使用的主32k時鐘5、wlan_powerwifi供電6、wlan_io_regulatorwifiio供電8、wlan_hostwakewifiap9、bt_used10表示不使用10、clocks32k時鐘11、bt_power為藍牙12、bt_io_regulator為藍io的供電13、bt_rst_n為控制藍on/off14、btlpm_used1bt低功耗模0表示不使用15、uart_index為藍牙使用uart口編號16、bt_wakeapbt17、bt_hostwakebtap 模組移植相關文件linux-3.10\drivers\misc\unxi-rf\\sunxi-wlan.c.clinux-3.10\divers\mic\sunxi-rf\sunxi-wlan.c+接口類型:SDIOCONFIG_BCMDHD=yCONFIG_BCMDHD_OOB=y配置成使用gb9663wifi和藍牙功能需要把BoardConfig.mk文件的相關代碼修改成如下。#wifi#wifiandbt#1.Wifi#BOARD_WIFI_VENDOR:=realtekBOARD_WIFI_VENDOR:=#wifiifeq :=NL80211 :=bcmdhd :=includeh #2.Bluetooth#makesureBOARD_HAVE_BLUETOOTHistrueforeverybtvendorBOARD_HAVE_BLUETOOTH:=trueBOARD_HAVE_BLUETOOTH_BCM:=true#BLUETOOTH_HCI_USE_RTK_H5:=true#BLUETOOTH_HCI_USE_RTK_H5:=true說明:= :=注意:=##insmod/system/vendor/modules/bcmdhd.ko#bcm#uartod660#powerup/downinterfaod0660/sy/clas/rfkill/rfkill0/typechownbluetoothnet_bt_stack/sys/class/rfkill/rfkill0/type#bluetoothMACaddresschownbluetoothnet_bt_stackro.bt.bdaddr_pathchownbluetoothnet_bt_stack/system/etc/bluetoothchownbluetoothnet_bt_stack/data/misc/bluetooth#bluetoothodod0220od0220chownbluetoothnet_bt_stack/proc/bluetooth/sleep/lpm wifi# wifista -iwlan0-Dnl80211- - -e/data/misc/wifi/entropy.bin-g@android: classmain _wlan0dgram660wifiwifi#wifistap2pconcurrent -iwlan0-Dnl80211- -e/data/misc/wifi/entropy.bin-g@android: classmain _wlan0dgram660wifiwifi注意tulip_t1Playerooth.xml\<!--Listofregexpressionsdescribingtheinterface(ifany)thatrepresenttetherableWifiinterfaces. Ifthedevicedoesn't<!--Listofregexpressionsdescribingtheinterface(ifany)thatrepresenttetherableWifiinterfaces. Ifthedevicedoesn'twanttosupporttetheringoerWifithisshouldbe Anexamplewouldbe"softap.*"-- --<!--Listofregexpressionsdescribingtheinterface(ifany)thatrepresentbluetoothinterfaces. Ifthedevicedosn'twanttosupporttetheringoverbluetooththisshouldbeempty.--> default:disableBluetoothPANfeture--<!--Listofregexpressionsdescribingtheinterface(ifany)thatrepresent 文件路徑:device\softwinner\tulip-t1\bluetooth(#Setbaudrateto#Setbaudrateto#LPM_SLEEP_MODE=FALSEBT_WAKE_VIA_PROC=TRUEND_DBG=TRUEBTH

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
  • 6. 下載文件中如有侵權或不適當內容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論