Lts kernel compile 5.10 imx6ul configure: Difference between revisions

From embeddedTS Manuals
(Initial creation)
 
(Clarification)
 
(3 intermediate revisions by the same user not shown)
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:
<source lang=bash>
<syntaxhighlight lang=bash>
export CROSS_COMPILE=arm-linux-gnueabihf-
export CROSS_COMPILE=arm-linux-gnueabihf- # This may be different if using a different compiler!
export ARCH=arm
export ARCH=arm
export WILC=y
export WILC=y
</source>
</syntaxhighlight>


The WILC3000 Wi-Fi/BLE drivers are maintained and built externally out of the kernel tree. Clone this tree inside of the <source inline>linux-lts/</source> directory (this is built later):
 
<source lang=bash>
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/
</source>
</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 not much else. 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.
<source lang=bash>
<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
</source>
</syntaxhighlight>

Latest revision as of 18:16, 24 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-  # This may be different if using a different compiler!
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