starfive-tech / linux

Other
152 stars 113 forks source link

Move Kernel Module to ubuntu image #71

Open dtometzki opened 1 year ago

dtometzki commented 1 year ago

Hello together,

i build a kernel module for wifi support with the SDK for visionFive2. And now i copied the firmware and the ko file to the starfive debian image. Now when i try insmod r8188eu.ko or modprobe r8188eu i get the following error: [15399.605144] r8188eu: Unknown symbol iwe_stream_add_event (err -2) [15399.611659] r8188eu: Unknown symbol wireless_send_event (err -2) [15399.617915] r8188eu: Unknown symbol iwe_stream_add_point (err -2)

What i have todo ?

Best regards Damian

kth5 commented 1 year ago

Did you run depmod on the new/updated modules folder?

dtometzki commented 1 year ago

Hello kth5,

yes i did depmod and depmod -a

dtometzki commented 1 year ago

Hello kth5,

i think i found the issue. The functions are all located in net/wireless/wext-core.c And Symbole WEXT_CORE is dependig on CONFIG_CFG80211_WEXT

And this isnt a module and is missing in the kernel config. I hope the starfive image get a newer kernel with more Kernel Configs activated ?