Kernel
Configure defconfig
Android kernel configuration
$ ./build.sh -MLinux kernel configuration
$ ./build.sh kernel-configKernel path
kernel-5.10General configuration commands for kernel config
cd kernel-5.10/
make loadconfig
make ARCH=arm64 menuconfig
make saveconfig
make ARCH=arm64 rockchip_defconfigARCH=arm64 Configure the architecture. Currently, rk356x/3588 uses the arm64 architecture. menuconfig Launch the graphical configuration interface. saveconfig Save the current configuration as a
defconfigfile after streamlining. rockchip_defconfig Load the ARM64 architecture configuration file pre - set by Rockchip. loadconfig Load the default defconfig.
cp defconfig arch/arm64/configs/rockchip_defconfigThe defconfig generated by
make saveconfigneeds to be copied to the *defconfig file used for SDK compilation.The defconfig may vary across different versions. You can find the corresponding version file in the git history.
$ git log --name-only kernel-5.10/ | grep defconfig
DTS
rk356x-linux
kernel/arch/arm64/boot/dts/rockchip/
rk3562-kickpi-k3-linux.dts
rk3568-kickpi-k1-linux.dts
rk3568-kickpi-k1b-linux.dts
rk3588-kickpi-k8-linux.dtsrk-android
kernel-5.10/arch/arm64/boot/dts/rockchip
rk3568-kickpi-k1-android.dts
rk3568-kickpi-k1b-android.dts
rk3562-kickpi-k3-android.dts
rk3588-kickpi-k8-android.dtsLast updated