Hi,
I’m very much a linux n00b so please excuse my questions or general linux ignorance.
We have a custom baseboard based around the Ixora design and we are using an Apalis T30. I’ve recently taken over our custom linux kernel build from a former developer who has previously left the company and I’m fighting a battle to get the Wi-Fi backports working in our custom kernel.
I have had the Wi-Fi working however since yesterday, I cannot for the life of me figure out what is going wrong. Having followed the steps in both the “compiling kernel + uboot” and “kernel backport integration” with no success, I’m lost.
The platform is already configured to use the arm-angstrom-linux-gnueabi toolchain.
I’ve managed to successfully compile and deploy the backports to my deployment folder as follows:
export ARCH=arm
export CROSS_COMPILE=arm-angstrom-linux-gnueabi-
export KLIB=~/dev/build_iwlwifi
export KLIB_BUILD=~/dev/linux-toradex
make -j4
make install
I copy them across to the deployment folder:
sudo cp -r ~/dev/build_iwlwifi/lib/modules/ ~/dev/deploy/linux-v0.1/rootfs/lib/modules/wifi
The deploy them to the SD card ready for updating the kernel/rootfs as follows:
sudo ./update.sh -o /media/dev/BOOT_SD
Having updated the target during uboot:
run setupdate
run update
I find that when the new kernel runs, the Wi-Fi modules are not loaded. If I try to “insmod” the modules manually and in the correct order, when I get to the “iwlwifi” module, an error occurs:
*Failed to load module iwlmvm (error 256) - is dynamic loading enabled?*
Previously when this was working, all of the modules had loaded successfully and I was able to perform a “connmanctl scan wifi” and “connmanctl services” to bring up the available network SSID’s. Also, the RF_KILL feature seems to have disappeared.
To my knowledge, I have not changed the kernel .config file but to clarify regarding the Wi-Fi:
- CONFIG_WLAN=n
- CONFIG_CFG80211=n
Is this the correct set-up for the backports or should they be “m” to indicate modules?
Thanks in advance for any help!
Kind regards,
Kevin