Lts kernel compile 5.10 a38x configure

From embeddedTS Manuals
Revision as of 12:47, 21 April 2023 by Kris (talk | contribs) (Fix syntax)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Configure environment variables needed for building. This specifies the architecture, the cross compiler that is being used, and to set up building the kernel modules for the WILC3000 Wi-Fi/BLE module:

export CROSS_COMPILE=arm-linux-gnueabihf-
export ARCH=arm
export WILC=y

The WILC3000 Wi-Fi/BLE drivers are maintained and built externally out of the kernel tree. Clone this tree inside of the linux-lts/ directory (this is built later):

git clone https://github.com/embeddedTS/wilc3000-external-module/

Next, set the default configuration for this platform. Note that a minimal defconfig and a full-feature defconfig are available. The minimal defconfig contains options for supporting the device and a few common peripherals and technologies. While the full defconfig includes much more support for things like USB devices, a more broad range of netfilter/iptables filter module support, etc.

make tsa38x_defconfig

# The minimal defconfig can alternately be used with:
# make tsa38x_minimal_defconfig