I would like to use Wi-Fi/Bluetooth module on i.MX8M Plus EVK.
This board comes with AW-CM276MA(88W8997 chipset) as standard, then I'm trying to use AW-AM510MA(IW416 chipset) instead.
Refer to "4.1" and "5.5" in UM11483(Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Linux OS), I tried it with pre-built image but I could not get 'attach logs' and mlan0 network interface.
My log is attached here.
I read the following post then tried to do it, but I could not find "/lib/firmware/nxp/wifi_mod_para.conf"
Could you help to me?
Best Regards.
tanoue.
Hello @tanoue
You could find it in yocto project source code. you could find it in following path: imx-bsp-yocto-5.4.70/build_xwayland/tmp/work-shared/imx8mpevk/kernel-source/arch/arm64/boot/dts/freescale/
Best Regards
Shaun
Hi, @shaun_wu .
I found dts files.
I thought the module does not worked because usdhc1_pwrseq was not written on "imx8mp-evk.dts".
Is it correct?
Best Regards.
Tanoue.
Hello @tanoue
You could check device tree first. the demo 'dts' file didn't add usdhc1.
Best Regards
Shaun
Hi, @shaun_wu
I'm sorry, but I'm a Linux newbie.
What do you mean your "first"?
I checked the both device trees on the board before and after the change with the following command.
ls /proc/device-tree
Then, I found that 'usdhc1_pwrseq' was added.
Best Regards.
tanoue
Hello @tanoue
8997 module is work right?
iw416 only support sdio signal, if you use M.2 interface, default image don't support M.2 sdio. You need use following dtb file. 'imx8mp-evk-usdhc1-m2.dtb'
Best Regards
Shaun
Hi, @shaun_wu
Thank you for replying to my question.
Yes, 8997 module is working.
Based on your advice, referred to "4.4.3" in UM11483 and this topic, I tried it again.
I could control the IW416 chipset module on i.MX8M Plus EVK.
Its way shown below.
u-boot=> setenv fdtfile imx8mp-evk-usdhc1-m2.dtb
u-boot=> saveenv
Saving Environment to MMC... Writing to MMC(2)... OK
u-boot=> reset
In addition, I have two questions for you. (I should really create a separate topic.)
How did you know 'imx8mp-evk-usdhc1-m2.dtb' would be appropriate?
If possible, let me know how to customize dtb for my board that I will make in the future.