NXP Semiconductors
UM11558
Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Android 10 OS
4.3 Enabling uSD/M.2 88W8987-based wireless module
This section shows how to enable the uSD/M.2 88W8987-based wireless module in the
Android 10 image, and the set of modifications to implement prior to initiating the Android
10 image build process.
4.3.1 Enabling M.2 88W8987-based wireless module support
The following configuration modifications are required before starting the Android 10
image build process.
Step 1
: Open and modify the
BoardConfig.mk
file to enable the device tree support for
M.2. The file path is
<absolute-path>/android_build/device/fsl/imx8m/
evk_8mq/
.
Replace the following line
TARGET_BOARD_DTS_CONFIG ?= imx8mq:imx8mq-evk-pcie1-m2.dtb
with
TARGET_BOARD_DTS_CONFIG ?= imx8mq:imx8mq-evk-usdhc2-m2.dtb
Step 2
: Open and modify the
SharedBoardConfig.mk
file to add NXP 88W8987 Wi-Fi
driver module support. The file path is
<absolute-path>/android_build/device/
fsl/imx8m/evk_8mq/.
Replace the following lines
#NXP 8997 wifi driver module
BOARD_VENDOR_KERNEL_M= \
$(KERNEL_OUT)/drivers/net/wireless/marvell/mrvl8997/wlan_src/mlan.ko
\
$(KERNEL_OUT)/drivers/net/wireless/marvell/mrvl8997/wlan_src/
pcie8xxx.ko
with
# NXP 8987 wifi driver module
BOARD_VENDOR_KERNEL_M= \
$(KERNEL_OUT)/drivers/net/wireless/nxp/mxm_wifiex/wlan_src/mlan.ko \
$(KERNEL_OUT)/drivers/net/wireless/nxp/mxm_wifiex/wlan_src/moal.ko
Step 3
: Open and modify the
UbootKernelBoardConfig.mk
file to enable additional
default configuration. The path is
<absolute-path>/android_build/device/fsl/
imx8m/evk_8mq/
.
Replace the following line
# TARGET_KERNEL_ADDITION_DEFCONF ?= android_addition_defconfig
with
TARGET_KERNEL_ADDITION_DEFCONF ?= android_addition_defconfig
UM11558
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2021. All rights reserved.
User manual
Rev. 1 — 29 January 2021
29 / 78