Marvell WIFI driver cannot be loaded

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

Marvell WIFI driver cannot be loaded

Jump to solution
4,255 Views
andre_jovchev
Contributor I

Hi all,
I am using a Colibri IMX6 module connected to a H&D wireless wifi chip. I integrated the Yocto Layer meta-spb209a to my yocto configuration and the driver is building fine (mlan.ko and sd8xxx.ko).
Now I try to load the module on my device:


root@colibri-imx6:~# modprobe cfg80211
root@colibri-imx6:~# modprobe mlan
root@colibri-imx6:~# modprobe sd8xxx
modprobe: ERROR: could not insert 'sd8xxx': Invalid argument

root@colibri-imx6:~# dmesg | tail -n 10
[ 40.371861] sd8xxx: disagrees about version of symbol cfg80211_pmksa_candidate_notify
[ 40.383916] sd8xxx: Unknown symbol cfg80211_pmksa_candidate_notify (err -22)
[ 40.393187] sd8xxx: disagrees about version of symbol wiphy_new_nm
[ 40.401516] sd8xxx: Unknown symbol wiphy_new_nm (err -22)
[ 40.409076] sd8xxx: disagrees about version of symbol wiphy_register
[ 40.417551] sd8xxx: Unknown symbol wiphy_register (err -22)
[ 40.425215] sd8xxx: disagrees about version of symbol wiphy_apply_custom_regulatory
[ 40.436981] sd8xxx: Unknown symbol wiphy_apply_custom_regulatory (err -22)
[ 40.445973] sd8xxx: disagrees about version of symbol dev_set_name
[ 40.454283] sd8xxx: Unknown symbol dev_set_name (err -22)

I tried compiling the driver directly in the kernel directory in the yocto build folder wit the same result.
The crc checksums in the sd8xxx.ko file are exactly the same as in the Module.symvers file as I can see in a hex editor.

When I try to force the load:
root@colibri-imx6:~# modprobe --force sd8xxx
modprobe: ERROR: could not insert 'sd8xxx': Exec format error

with no additional dmesg output.

Does someone know what I have to do to load the driver?

More information:

root@colibri-imx6:~# uname -r
4.9.67-+g1db9f06

I use the openembedded-core layer for the kernel.

0 Kudos
Reply
1 Solution
3,893 Views
igorpadykov
NXP Employee
NXP Employee

Hi Anrde

reason may be version incompatibility between wifi module driver/firmware

and used image, as this module was developed by toradex one can post issue on its community

Wi-Fi 

Welcome to - Toradex Community 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
Reply
1 Reply
3,894 Views
igorpadykov
NXP Employee
NXP Employee

Hi Anrde

reason may be version incompatibility between wifi module driver/firmware

and used image, as this module was developed by toradex one can post issue on its community

Wi-Fi 

Welcome to - Toradex Community 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply