range Pi 用户手册 深圳市迅龙软件有限公司版权所有
www.orangepi.cn
93
www.xunlong.tv
5) Part of the information prompted when compiling the kernel source code is explained
as follows
a. Linux kernel source code version
[ o.k. ] Compiling legacy kernel [ 5.8.18 ]
b. The version of the cross compilation tool chain used
[ o.k. ] Compiler version [ aarch64-none-linux-gnu-gcc 9.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-rockchip64-current.config ]
d. If KERNEL_CONFIGURE=yes is set, the final configuration file .config used
by the kernel will be copied to output/config. If the kernel configuration is not
modified, the final configuration file is consistent with the default configuration
file
[ o.k. ] Exporting new kernel config [ output/config/linux-rockchip64-current.config ]
e. The path of the deb package related to the compiled kernel
[ o.k. ] Target directory [ output/debs/ ]
f. The package name of the compiled kernel image deb package
[ o.k. ] File name [ linux-image-current-rockchip64_2.1.0_arm64.deb ]
g. Compile time
[ o.k. ] Runtime [ 25 min]
h. At the end, it will display the compiling command to recompile the kernel
selected last time. Use the following command without selecting through the
graphical interface, you can directly start compiling the kernel source code
[ o.k. ] Repeat Build Options [ sudo ./build.sh BOARD=orangepir1plus
BRANCH=current BUILD_OPT=kernel RELEASE=bionic BUILD_DESKTOP=no
KERNEL_CONFIGURE=yes ]
6) View the deb package related to the kernel generated by the compilation
a. linux-dtb-current-rockchip64_2.1.0_arm64.deb Contains dtb files used by
the kernel
b. linux-headers-current-rockchip64_2.1.0_arm64.deb Include kernel header
files
c. linux-image-current-rockchip64_2.1.0_arm64.deb Contains kernel image
and kernel module