sdio wifi module on i.MX8M EVK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

sdio wifi module on i.MX8M EVK

834 Views
chunfengren
Contributor I

We are doing sdio brcm4339 chip wifi  test on i.MX8M EVK from NXP,  board is based on android 8.1 from NXP.

wifi driver (bcmdhd.ko) is from android 8.1 kernel. if insmod bcmdhd.ko, MMC code will meet crash.  we don't make any modification to kernel code in android 8.1. could you tell me that  i.MX8M board support sdio wifi?

crash log is below:

Unable to handle kernel NULL pointer dereference at virtual address 0000036c
mpgd = ffff8000294b0000
[0000036c] *pgd=0000000000000000
[Internal error [: Oops: 96000004 [#1] PREEMPT SMP
[Modules linked in : bcmdhd(+) cfg80211
[CPU : 1 PID: 5087 Comm: insmod Tainted: G        W       4.9.78 #1
[Hardware name : Freescale i.MX8MQ EVK (DT)
[task : ffff8000548a4380 task.stack: ffff8000091ec000
PC is at mmc_detect_change+0x14/0x64
LR is at wifi_card_detect+0x38/0x48

detailed log is attached in file below.

Labels (1)
0 Kudos
1 Reply

553 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

Unfortunately, I do not have your WiFi module and for that reason, I cannot test your case. 

However, I found that you need to add the below drivers in the Android defconfig:

CONFIG_B43_SDIO=y

CONFIG_B43_DEBUG=y

CONFIG_B43LEGACY_DEBUG=y

Please, try adding the specified configuration and see if that solves your problem.

Furthermore, you will find the defconfig file in the below path:

~/<your build directory path>/vendor/nxp-opensource/kernel_imx/arch/arm/configs/imx_v7_android_defconfig

Hope this information can help you.

Best Regards,

Diego.

0 Kudos