Lts kernel compile 5.10 imx28 configure: Difference between revisions

From embeddedTS Manuals
(Fix syntax)
(Formatting)
 
Line 1: Line 1:
Configure environment variables needed for building. This specifies the architecture, the cross compiler that is being used, and then the U-Boot load address:
Configure environment variables needed for building. This specifies the architecture, the cross compiler that is being used, and then the U-Boot load address:
<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
export CROSS_COMPILE=arm-linux-gnueabi-
export CROSS_COMPILE=arm-linux-gnueabi- # This may be different if using a different compiler!
export ARCH=arm
export ARCH=arm
export LOADADDR=0x40008000
export LOADADDR=0x40008000
</syntaxhighlight>
</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.

Latest revision as of 00:06, 25 April 2023

Configure environment variables needed for building. This specifies the architecture, the cross compiler that is being used, and then the U-Boot load address:

export CROSS_COMPILE=arm-linux-gnueabi-  # This may be different if using a different compiler!
export ARCH=arm
export LOADADDR=0x40008000


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 tsimx28_defconfig

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