Trimming Methods and Differences of Embedded Linux Kernel and Uboot

This section only records the general trimming method without introducing specific file modifications.

Linux Kernel Trimming Steps

1 Modify the ARCH and CROSS_COMPILE environment variables in the makefile

ARCH ?= arm
CROSS_COMPILE ?= XXX (your cross compiler)

2 Find the configuration file xxxdeconfig in the arch/arm/configs folder, and modify it appropriately. Run the following in the root directory:

make xxxdeconfig

3 Run make menuconfig in the root directory. If new content has been added in xxxdeconfig, Kconfig needs to be modified to match xxxdeconfig.

4 Run

Back to Top
Product has been added to your cart
×