I'm trying to compile the nxp-imx/mwifiex repo for use with an ARM64 AM62x-Board and followed this instructions: https://community.nxp.com/t5/Wireless-Connectivity/Wifi-Driver-Build-for-Generic-ARM64/td-p/1598321
The driver compiles without problems and I placed the moal.ko & mlan.ko in the /lib/modules/[...]/extra folder as well as the .conf and .bin in the firmware/nxp folder.
When I try to load the module, I get following errors:
modprobe moal mod_para=nxp/wifi_mod_para.conf
[ 108.554822] moal: Unknown symbol cfg80211_sched_scan_results (err -2)
[ 108.561485] moal: Unknown symbol cfg80211_mgmt_tx_status_ext (err -2)
[ 108.568052] moal: Unknown symbol cfg80211_rx_assoc_resp (err -2)
[ 108.574271] moal: Unknown symbol regulatory_set_wiphy_regd_sync (err -2)
[ 108.581153] moal: Unknown symbol cfg80211_scan_done (err -2)
[ 108.586943] moal: Unknown symbol cfg80211_sched_scan_stopped (err -2)
[ 108.593461] moal: Unknown symbol cfg80211_remain_on_channel_expired (err -2)
[ 108.600515] moal: Unknown symbol cfg80211_cac_event (err -2)
[ 108.606188] moal: Unknown symbol cfg80211_register_netdevice (err -2)
[ 108.612695] moal: Unknown symbol regulatory_hint (err -2)
[ 108.618160] moal: Unknown symbol cfg80211_new_sta (err -2)
[ 108.623655] moal: Unknown symbol cfg80211_disconnected (err -2)
[ 108.629651] moal: Unknown symbol wiphy_new_nm (err -2)
[ 108.634794] moal: Unknown symbol cfg80211_ready_on_channel (err -2)
[ 108.641077] moal: Unknown symbol cfg80211_classify8021d (err -2)
[ 108.647089] moal: Unknown symbol cfg80211_rx_mlme_mgmt (err -2)
[ 108.653038] moal: Unknown symbol wiphy_register (err -2)
[ 108.658365] moal: Unknown symbol __cfg80211_alloc_reply_skb (err -2)
[ 108.664735] moal: Unknown symbol __cfg80211_alloc_event_skb (err -2)
[ 108.671107] moal: Unknown symbol cfg80211_put_bss (err -2)
[ 108.676602] moal: Unknown symbol cfg80211_roamed (err -2)
[ 108.682002] moal: Unknown symbol cfg80211_ch_switch_notify (err -2)
[ 108.688296] moal: Unknown symbol ieee80211_get_channel_khz (err -2)
[ 108.694565] moal: Unknown symbol __cfg80211_radar_event (err -2)
[ 108.700582] moal: Unknown symbol cfg80211_tdls_oper_request (err -2)
[ 108.706961] moal: Unknown symbol cfg80211_find_elem_match (err -2)
[ 108.713148] moal: Unknown symbol __cfg80211_send_event_skb (err -2)
[ 108.719472] moal: Unknown symbol cfg80211_michael_mic_failure (err -2)
[ 108.726012] moal: Unknown symbol wiphy_apply_custom_regulatory (err -2)
[ 108.732657] moal: Unknown symbol cfg80211_del_sta_sinfo (err -2)
[ 108.738678] moal: Unknown symbol wiphy_unregister (err -2)
[ 108.744218] moal: Unknown symbol cfg80211_get_bss (err -2)
[ 108.749740] moal: Unknown symbol ieee80211_freq_khz_to_channel (err -2)
[ 108.756357] moal: Unknown symbol cfg80211_pmksa_candidate_notify (err -2)
[ 108.763144] moal: Unknown symbol cfg80211_vendor_cmd_reply (err -2)
[ 108.769416] moal: Unknown symbol cfg80211_cqm_beacon_loss_notify (err -2)
[ 108.776286] moal: Unknown symbol cfg80211_unregister_wdev (err -2)
[ 108.782482] moal: Unknown symbol cfg80211_rx_mgmt_ext (err -2)
[ 108.788361] moal: Unknown symbol ieee80211_channel_to_freq_khz (err -2)
[ 108.794986] moal: Unknown symbol ieee80211_hdrlen (err -2)
[ 108.800499] moal: Unknown symbol cfg80211_report_wowlan_wakeup (err -2)
[ 108.807111] moal: Unknown symbol cfg80211_ft_event (err -2)
[ 108.812721] moal: Unknown symbol cfg80211_inform_bss_data (err -2)
[ 108.818951] moal: Unknown symbol ieee80211_bss_get_elem (err -2)
[ 108.824983] moal: Unknown symbol cfg80211_connect_done (err -2)
[ 108.830903] moal: Unknown symbol cfg80211_unlink_bss (err -2)
[ 108.836660] moal: Unknown symbol wiphy_free (err -2)
[ 108.841648] moal: Unknown symbol cfg80211_cqm_rssi_notify (err -2)
[ 108.847851] moal: Unknown symbol cfg80211_auth_timeout (err -2)
modprobe: ERROR: could not insert 'moal': Unknown symbol in module, or unknown parameter (see dmesg)
Any hints how I can solve this? For compilation I use the Yocto SDK, the KERNELDIR in tmp/work/[...]/build (kernel buildfiles, analog to the build files in the NXP-BSP) and the nearest branch in mwifiex (lf-6.1.55_2.2.0 for use with linux-ti-staging 6.1.46)
解決済! 解決策の投稿を見る。
Hi, @dpog
Thanks for creating case to us.
From your logs, I think you need also to compile cfg802.11.ko based on your host platform.
You can search how to cross compile cfg80211.ko on Linux to fix this error.
Usually, you can configure it through make menuconfig during compiling Linux kernel BSP.
Also, if after you compiled cfg80211.ko, you still meet any failure, please provide me your full dmesg logs for further debugging.
And for your information, we will start our Mid-Autumn public holiday from tomorrow and come back to office until 18th/Sep.
So please allow me replying delay for this case.
Sorry for the inconvenience to you.
Best regards,
Christine.
Hi, @dpog
Thanks for creating case to us.
From your logs, I think you need also to compile cfg802.11.ko based on your host platform.
You can search how to cross compile cfg80211.ko on Linux to fix this error.
Usually, you can configure it through make menuconfig during compiling Linux kernel BSP.
Also, if after you compiled cfg80211.ko, you still meet any failure, please provide me your full dmesg logs for further debugging.
And for your information, we will start our Mid-Autumn public holiday from tomorrow and come back to office until 18th/Sep.
So please allow me replying delay for this case.
Sorry for the inconvenience to you.
Best regards,
Christine.
Hi, @dpog
Does the 88W9098 work on your side?
I am back from the public holiday, please do not hesitate to let me know if still need support.
And also provide me your detailed current status and related dmesg logs.
Best regards,
Christine.
Hi, @dpog
Thanks for your feedback.
If you need more time, would you mind help to close this current case, and after you verified, then create a new case to us?
It would be appreciated if you could create a new case after you verified still have issue or have other new questions.
Best regards,
Christine.