2.2 Loading SAMA5D4 Configuration File
Use the predefined defconfig
file to create the required
.config
configuration file. This defconfig
file is
available in configs
folder of the buildroot-external-microchip folder
linux4sam
.
For SAMA5D4, the sama5d4_xplained_headless_wilc_defconfig
defconfig file is used.
To build the root file system for SAMA5D4 with Linux kernel 5.4 for the ATWILC board, browse to the directory buildroot-at91 where the files are buildroot repository is extracted and create the .config file, using the following commands:
$ BR2_EXTERNAL=../buildroot-external-microchip/ make sama5d4_xplained_headless_wilc_defconfig
Modify linux kernel configuration to compile 'cfg80211 - wireless configuration API' as built-in module
$ cd buildroot-at91
$ make linux-menuconfig
From
kernel config GUI → Select 'Networking Support' → 'Wireless --> ' Include the cfg80211 module as an inbuilt module to kernel, from the GUI selection window:
- Go to Networking support > wireless.
- Press * to include the cfg80211 – wireless configuration API module to kernel.
- Save the configuration.