range Pi User Manual Copyright reserved by Shenzhen Xunlong Software Co., Ltd
302
6) Part of the information prompted when compiling the kernel source code is as follows
a. The version of the Linux kernel source code
[ o.k. ] Compiling current kernel [ 5.10.160 ]
b. The version of the cross-compilation toolchain used
[ o.k. ] Compiler version [ aarch64-none-linux-gnu-gcc 11.2.1 ]
c. The configuration file used by the kernel by default and the path where it is
stored
[ o.k. ] Using kernel config file [ config/kernel/linux-rockchip-rk356x-legacy.config ]
d. The path of the deb package related to the kernel generated by compiling
[ o.k. ] Target directory [ orangepi-build/output/debs/ ]
e. The package name of the compiled kernel image deb package
[ o.k. ] File name [ linux-image-legacy-rockchip-rk356x_1.0.0_arm64.deb ]
f. The time used for compilation
[ o.k. ] Runtime [ 5 min ]
g. Finally, the compilation command to repeatedly compile the kernel selected last
time will be displayed. Use the following command to start compiling the kernel
source code directly without selecting through the graphical interface
[ o.k. ] Repeat Build Options [ sudo ./build.sh BOARD=orangepi3b BRANCH=legacy
BUILD_OPT=kernel KERNEL_CONFIGURE=no ]
7) View the deb package related to the kernel generated by compilation
a. linux-dtb-legacy-rockchip-rk356x_1.0.0_arm64.deb Contains dtb files used by the kernel
b. linux-headers-legacy-rockchip-rk356x_1.0.0_arm64.deb Include kernel header files
c. linux-image-legacy-rockchip-rk356x_1.0.0_arm64.deb Contains kernel images and kernel