RTL8723bs WiFi compilation of SAIL-IMX6-Android
1. Compiler driver
If you have compiled the source code before, follow these steps to compile the driver. Otherwise, please refer to the source code compilation section first.
1. 1 execute make modules in the source code root directory.
1.2 after successful execution, enter the driver directory: kernel_imx/drivers/net/wireless/rtl8723bs, and execute make. After successful execution, you can see the wlan.ko file in the driver directory.
If make fails, please modify the CROSS_COMPILE and KSRC in the Makefile file of / android_m6.0.1_sailfish/kernel_imx/drivers/net/wireless/rtl8723bs/ to the directory corresponding to your Android source code. The location shown in the following figure:
Copy wlan.ko to the out/target/product/sabresd_6dq/system/lib/modules/ directory, if no modules folder is created manually.
Execute make snod to regenerate the system image.