Hema
April 20, 2021, 11:34am
1
Hello All,
I installed ubuntu core edge 20 built on 19.04.2021 (https://cdimage.ubuntu.com/ubuntu-core/20/edge/ ) in Raspberry Pi CM4
kernel version: 5.4.0-1034-raspi
I have plugged in Intel AX200 Wifi Adapter in the pcie slot. The device is recognised.
pciutils-snap.lspci
00:00.0 PCI bridge: Broadcom Inc. and subsidiaries Device 2711 (rev 20)
01:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
But it does not have the necessary driver ‘iwlwifi’
lsmod | grep iwl
iwlwifi is the driver needed for intel wireless chips(https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi ).
Is there a way to install the driver alone or should I recompile the kernel?
ogra
April 20, 2021, 11:41am
2
Hema:
iwlwifi
since this is usually a default driver shipped with the ubuntu kernels, you should just file a bug at
to get it enabled (typical RPi’s do not have PCIe slots and there are no USB based iwlwifi devices, which is likely the reason the config to build the module was simply not enabled)
Hema
April 20, 2021, 12:46pm
3
@ogra . I have filed the bug. Is there a possibility to compile the kernel in ubuntu core ?
Hema
April 22, 2021, 7:51am
4
Hello,
Bug URL: https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1925209 . The bug is also confirmed by Juerg Haefliger.
In the meantime I would like to compile the kernel with CONFIG_IWLWIFI enabled.
I am new to kernel compiling and Ubuntu Core. Can anyone tell me how to compile the kernel for Ubuntu Core
Thanks,
Hema
ogra
April 22, 2021, 8:49am
5
you should be able to clone this tree on a Pi4 and then simply build it with snapcraft like any other snap package:
to add your extra config just change:
kconfigs:
- CONFIG_DEBUG_INFO=n
to
kconfigs:
- CONFIG_DEBUG_INFO=n
- CONFIG_IWLWIFI=m
(or to =y if you want to build the driver into the kernel binary)
i tend to do such stuff in an lxd container on Ubuntu Core, here is how i personally do it:
Hema
May 25, 2021, 7:34am
6
Hello @ogra ,
I have already filed the bug (https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1925209 ) and a fix has been provided.
I have to test if the kernel -in proposed solved the problem.
Can you please let me know how i can test the kernel in -propsed in Ubuntu Core 20 ?
Thanks,
Hema
ogra
May 25, 2021, 11:08am
7
i am not 100% sure here but i think the kernel snap in the edge channel uses the proposed pocket for building.