STM32MP257F-DK + CYW55572
- April 28, 2025
- 7 replies
- 905 views
Hi there,
We are trying to porting the linux driver of STM32MP257F-DK + CYW55572 based on kernel 6.6.48.
- The ST Linux SDK kernel 6.6.48 is from https://www.st.com/en/embedded-software/stm32mp2dev.html#
- The target board image on eMMC is from https://wiki.st.com/stm32mpu/wiki/STM32MP25_Discovery_kits_-_Starter_Package#step3
The generated 6.6.48 driver(patched) 3 ko files as the attachment but found the errors as below.
insmod ./cfg80211.ko
[17917.220084] module cfg80211: .gnu.linkonce.this_module section size must match the kernel's built struct module size at run time
insmod: ERROR: could not insert module cfg80211.ko: Invalid module format
insmod ./brcmutil.ko
[17998.345277] module brcmutil: .gnu.linkonce.this_module section size must match the kernel's built struct module size at run time
insmod: ERROR: could not insert module ./brcmutil.ko: Invalid module format
insmod ./brcmfmac.ko
[18031.322200] module brcmfmac: .gnu.linkonce.this_module section size must match the kernel's built struct module size at run time
insmod: ERROR: could not insert module ./brcmfmac.ko: Invalid module format
May I confirm why insert ko with errors or suggestions?
Thank you!
Mason
