10 Appendix F – Multi-Kernel Support
From ATWILC 15.7 onwards, the kernel featurization code that allowed the driver to compile on older kernel versions is removed. The kernel featurization code is provided as a separate patch.
To download and apply the Multi-Kernel Support patch, perform the following steps:
- Clone the Linux kernel from
linux4microchip github
repository.
git clone https://github.com/linux4microchip/linux.git
- Check out the required
Linux4Microchip kernel, for example, the linux4microchip-2022.04
tag.
git checkout linux4microchip-2022.04 -b linux4microchip-2022.04
- Download the Multi-Kernel Support patch for the specific ATWILC release from files.linux4microchip.com, for example.files.linux4microchip.com/pub/wilc/wilc_15_7/linux/linux-5.15-mchp/linux4microchip-2022.04/wilc_driver_multikernel.patch.
- Apply the patch using the following
command.
git am --3way wilc_driver_multikernel.patch