How imx8mp-evk support AW-XM458 Wireless Modules

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How imx8mp-evk support AW-XM458 Wireless Modules

跳至解决方案
2,509 次查看
lanchanning
Contributor II

use image LF_v5.15.5-1.0.0_images_IMX8MPEVK ..

Can't see the device after installing the wireless module

dmesg | grep pci
[ 1.477245] ehci-pci: EHCI PCI platform driver
[ 1.493503] ohci-pci: OHCI PCI platform driver
[ 2.380695] imx6q-pcie 33800000.pcie: supply epdev_on not found, using dummy regulator
[ 2.396348] imx6q-pcie 33800000.pcie: EXT REF_CLK is used!.
[ 2.402557] imx6q-pcie 33800000.pcie: PCIe PHY PLL clock is locked.
[ 2.463526] imx6q-pcie 33800000.pcie: PCIe PLL is locked.
[ 2.468986] imx6q-pcie 33800000.pcie: invalid resource
[ 2.474148] imx6q-pcie 33800000.pcie: iATU unroll: enabled
[ 2.479645] imx6q-pcie 33800000.pcie: Detected iATU regions: 4 outbound, 4 inbound
[ 2.487225] imx6q-pcie 33800000.pcie: host bridge /soc@0/pcie@33800000 ranges:
[ 2.494469] imx6q-pcie 33800000.pcie: No bus range found for /soc@0/pcie@33800000, using [bus 00-ff]
[ 2.503811] imx6q-pcie 33800000.pcie: IO 0x001ff80000..0x001ff8ffff -> 0x0000000000
[ 2.512011] imx6q-pcie 33800000.pcie: MEM 0x0018000000..0x001fefffff -> 0x0018000000
[ 2.520282] imx6q-pcie 33800000.pcie: iATU unroll: enabled
[ 2.525776] imx6q-pcie 33800000.pcie: Detected iATU regions: 4 outbound, 4 inbound
[ 3.522813] imx6q-pcie 33800000.pcie: Phy link never came up
[ 3.528541] imx6q-pcie: probe of 33800000.pcie failed with error -110
root@imx8mpevk:~#

 

see UM11483_Getting Started with NXP-based Wireless Modules on i.MX 8M Quad EVK Running Linux OS - User manual.pdf

i.MX 8M Quad EVK needs to change DTS if using PCIE mode

u-boot=> setenv fdtfile imx8mq-evk-pcie1-m2.dtb
u-boot=> saveenv

but don't see the relevant dts file in imx8mp

How to enable AW-XM458 Wireless Modules to PCIE mode?

0 项奖励
回复
1 解答
2,310 次查看
lanchanning
Contributor II

Directly connect to EVK board M.2 slot without using uSD-M.2 transfer board

Replace dts with imx8mp-evk-usdhc1-m2.dts

uboot modification

setenv fdtfile imx8mp-evk-usdhc1-m2.dtb

savenv

After restarting, you can test the AW_XM458 SDIO interface version

在原帖中查看解决方案

0 项奖励
回复
4 回复数
2,483 次查看
lanchanning
Contributor II

try AW-CM276MA

pci bus can see wifi devices

root@imx8mqevk:/home/user# lspci
0001:00:00.0 PCI bridge: Synopsys, Inc. DWC_usb3 / PCIe bridge (rev 01)
0001:01:00.0 Ethernet controller: Marvell Technology Group Ltd. Device 2b42 (rev 11)

0 项奖励
回复
2,416 次查看
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @lanchanning,

Only to confirm, do you still have problems with the AW-XM458?

BR,

Alexis Andalon

0 项奖励
回复
2,327 次查看
lanchanning
Contributor II

I tested the AW-XM458 pcie version and it works fine .

But there is a problem with testing the AW-XM458 SDIO version

 

root@imx8mpevk:~# ifconfig mlan0 up
[ 153.075508] cmd53 write error=-110
[ 153.079020] host_to_card, write iomem (1) failed: -1
[ 153.084123] write CFG reg failed
[ 153.087406] cmd53 write error=-110
[ 153.090884] host_to_card, write iomem (2) failed: -1
[ 153.095917] write CFG reg failed
[ 153.099533] cmd53 write error=-110
[ 153.103009] host_to_card, write iomem (3) failed: -1


Have you encountered similar problems? 

0 项奖励
回复
2,311 次查看
lanchanning
Contributor II

Directly connect to EVK board M.2 slot without using uSD-M.2 transfer board

Replace dts with imx8mp-evk-usdhc1-m2.dts

uboot modification

setenv fdtfile imx8mp-evk-usdhc1-m2.dtb

savenv

After restarting, you can test the AW_XM458 SDIO interface version

0 项奖励
回复