Lts kernel compile 5.10 imx28 configure: Difference between revisions
From embeddedTS Manuals
(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 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> | ||
export CROSS_COMPILE=arm-linux-gnueabi- | export CROSS_COMPILE=arm-linux-gnueabi- | ||
export ARCH=arm | export ARCH=arm | ||
export LOADADDR=0x40008000 | export LOADADDR=0x40008000 | ||
</ | </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 tsimx28_defconfig | make tsimx28_defconfig | ||
# The minimal defconfig can alternately be used with: | # The minimal defconfig can alternately be used with: | ||
# make tsimx28_minimal_defconfig | # make tsimx28_minimal_defconfig | ||
</ | </syntaxhighlight> |
Revision as of 12:47, 21 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-
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