Ap6255 is currently used on the IMx8 Mini. It is found that the driver of this part is already available on the kernel using 4.1.98. It can be started normally just by configuring the relevant device tree.But now the problem is that I used the IW command to connect to wifi without password, but I reported an error when I used wPA_supplicant to connect to wifi with password,Using iwConfig will also report an error.Do I need to modify the driver or is there any way to solve this problem.Here are some of the error messages. Thank you
root@imx8mmevk:~#
root@imx8mmevk:~#
root@imx8mmevk:~# cat /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
update_config=1
network={
key_mgmt=NONE
}
network={
ssid="geniatech-google1"
#psk="geniatech1234"
psk=071ee9b61807eb62fce347618c47c48befa4ac3e75b530986bb976762a4898ed
}
root@imx8mmevk:~#
root@imx8mmevk:~#
root@imx8mmevk:~# wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -B
Successfully initialized wpa_supplicant
[ 50.944392] brcmfmac: brcmf_cfg80211_add_iface: iface validation failed: err=-16
Failed to create interface p2p-dev-wlan0: -16 (Device or resource busy)
nl80211: Failed to create a P2P Device interface p2p-dev-wlan0
P2P: Failed to enable P2P Device interface
root@imx8mmevk:~#
root@imx8mmevk:~#
or
root@imx8mmevk:~# iwconfig wlan0 ap auto
root@imx8mmevk:~#
root@imx8mmevk:~#
root@imx8mmevk:~#
root@imx8mmevk:~#
root@imx8mmevk:~# ifconfig wlan0 10.168.1.159
root@imx8mmevk:~#
root@imx8mmevk:~# [ 212.716154] brcmfmac: brcmf_run_escan: error (-25)
[ 212.721022] brcmfmac: brcmf_cfg80211_scan: scan error (-25)
[ 213.596634] brcmfmac: brcmf_sdio_hostmail: Unknown mailbox data content: 0x40012
[ 216.409878] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[ 216.415741] brcmfmac: brcmf_do_escan: error (-110)
[ 216.420608] brcmfmac: brcmf_cfg80211_scan: scan error (-110)
[ 219.993666] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[ 219.999529] brcmfmac: brcmf_do_escan: error (-110)
[ 220.004403] brcmfmac: brcmf_cfg80211_scan: scan error (-110)
[ 223.577681] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[ 223.583541] brcmfmac: brcmf_do_escan: error (-110)
[ 223.588404] brcmfmac: brcmf_cfg80211_scan: scan error (-110)
[ 227.161706] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[ 227.167568] brcmfmac: brcmf_do_escan: error (-110)
[ 227.172439] brcmfmac: brcmf_cfg80211_scan: scan error (-110)
Hi fu
i.MX8M Mini was not supported by nxp in kernel 4.1.98, suggest to try latest
from source.codeaurora.org/external/imx/linux-imx repository
linux-imx - i.MX Linux kernel
Embedded Linux for i.MX Applications Processors | NXP
latest brcmfmac drivers:
Cypress Linux WiFi Driver Release (FMAC) [2020-... | Cypress Developer Community
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Sorry, I made a mistake. The current version is 4.14.98. The system is currently operating normally.
root@imx8mmevk:~#
root@imx8mmevk:~# cat /proc/version
Linux version 4.14.98-imx_4.14.98_2.0.0_ga+gd91d322ebac6 (fq@geniatech-hf210) (gcc version 7.3.0 (GCC)) #1 SMP PREEMPT Fri Jul 17 08:07:22 UTC 2020
root@imx8mmevk:~#