android4 imx6q rtl8723du wifi+蓝牙 移植

本文档详细介绍了如何在IMX6Q板卡上移植rtl8723du的WiFi和蓝牙功能。首先在Linux+Busybox系统中进行WiFi驱动的编译、配置和测试,包括修改驱动Makefile、内核配置、wpa_supplicant配置以及ip地址分配。然后,进行了Android系统的WiFi移植,涉及到BoardConfig.mk、initrc和硬件库的修改。蓝牙移植方面,参照了官方文档和网络资源,但缺少针对8723DU的Linux手册,参考了8723BU的Linux蓝牙手册。
摘要由CSDN通过智能技术生成

目前我使用的板卡是 imx6q

8723的移植分为两部分: wifi 的移植+蓝牙的移植。

关于wifi 的移植,分为 linxu+busybox  系统中wifi 的移植,以及 android4 的WiFi的移植。

关于蓝牙的移植,分为linxu+busybox 系统的蓝牙的移植,以及android4 的蓝牙的移植。

1 关于linux +busybox 的wifi 的移植

说明: 官方关于wifi 的移植的文档只有 android 的,没有linux 的。但是linux 的wifi 的移植,可以参考正点原子的手册进行移植。

总体的逻辑:

1 修改好wifi 驱动源码的makefile ,以便对源码进行编译。

2 内核中menuconfig 勾选上,所依赖的模块。

首先是 关于 驱动的 makefile 的设置。

########################BT FM ########################## Download the image using command: 1 # Flash Image Put the board in Flashing mode. Refer below Appendix - 1 cd <your path>/Nvidia_Demo/android_gb_cardhu_os_image sudo ./nvflash --bct flash.bct --setbct --odmdata 0x40080105 --configfile flash.cfg --create --bl bootloader.bin --go #################################################################################################################################################################################################### Appendix - 1 Nvidia Board in Flashing Mode #################################################################################################################################################################################################### 1. Connect the Debug board to Cardhu board. 2. Connect the power supply and Micro USB to Cardhu 3. On the Debug Board Press S12 (FRC RCV), Keeping this pressed Press and release S7 (RESET), Now Release S12. 4. Now Device is in Flashing mode, We can start nvflash command now. #################################################################################################################################################################################################### Appendix - 2 Nvidia Board Keys (On Debug Board) #################################################################################################################################################################################################### 1. S7 (RESET) --> is the RESET button. 2. S5 (ROW1) --> is the BACK button. 2. S10 (ROW2) --> is the Home button. 4. S6 (ON KEY) --> is Wake up button. #################################################################################################################################################################################################### Appendix - 3 Nvidia Board unavailable Keys workaround #################################################################################################################################################################################################### 1.To execute teh specific keys, provide the key inputs from adb shell. Provide the keyevent for the desired key.Refer teh key list below. Eg: for MENU key run adb shell #input keyevent 82 { "STAR", 17 }, { "POUND", 18 }, { "DPAD_UP", 19 }, { "DPAD_DOWN", 20 }, { "DPAD_LEFT", 21 }, { "DPAD_RIGHT", 22 }, { "DPAD_CENTER", 23 }, { "VOLUME_UP", 24 }, { "VOLUME_DOWN", 25 }, { "POWER", 26 }, { "CAMERA", 27 }, { "CLEAR", 28 }, { "HEADSETHOOK", 79 }, { "FOCUS", 80 }, { "PLUS", 81 }, { "MENU", 82 }, { "NOTIFICATION", 83 }, { "SEARCH", 84 }, { "MEDIA_PLAY_PAUSE", 85 }, { "MEDIA_STOP", 86 }, { "MEDIA_NEXT", 87 },
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值