Lts kernel compile 5.10 imx6ul configure: Difference between revisions
(fix text) |
(Fix syntax) |
||
Line 1: | Line 1: | ||
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: | 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: | ||
< | <syntaxhighlight lang=bash> | ||
export CROSS_COMPILE=arm-linux-gnueabihf- | export CROSS_COMPILE=arm-linux-gnueabihf- | ||
export ARCH=arm | export ARCH=arm | ||
export WILC=y | export WILC=y | ||
</ | </syntaxhighlight> | ||
The WILC3000 Wi-Fi/BLE drivers are maintained and built externally out of the kernel tree. Clone this tree inside of the < | The WILC3000 Wi-Fi/BLE drivers are maintained and built externally out of the kernel tree. Clone this tree inside of the <code>linux-lts/</code> directory (this is built later): | ||
< | <syntaxhighlight lang=bash> | ||
git clone https://github.com/embeddedTS/wilc3000-external-module/ | git clone https://github.com/embeddedTS/wilc3000-external-module/ | ||
</ | </syntaxhighlight> | ||
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. | 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. | ||
< | <syntaxhighlight lang=bash> | ||
make tsimx6ul_defconfig | make tsimx6ul_defconfig | ||
# The minimal defconfig can alternately be used with: | # The minimal defconfig can alternately be used with: | ||
# make tsimx6ul_minimal_defconfig | # make tsimx6ul_minimal_defconfig | ||
</ | </syntaxhighlight> |
Revision as of 12:46, 21 April 2023
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 tsimx6ul_defconfig
# The minimal defconfig can alternately be used with:
# make tsimx6ul_minimal_defconfig