range Pi 用户手册 深圳市迅龙软件有限公司版权所有
www.orangepi.cn 129 www.xunlong.tv
[ o.k. ] File name [ linux-image-current-sunxi_2.1.0_armhf.deb ]
m. Compile time
[ o.k. ] Runtime [ 4 min ]
n. 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=orangepipcplus
BRANCH=current BUILD_OPT=kernel KERNEL_CONFIGURE=yes ]
10) View the deb package related to the kernel image generated by the compilation
a. linux-dtb-current-sunxi_2.1.0_armhf.deb contains dtb files used by the kernel
b. linux-headers-current-sunxi_2.1.0_armhf.deb contains the header files used
by the kernel
c. linux-image-current-sunxi_2.1.0_armhf.deb contains kernel images and
kernel modules
test@test:~/orangepi-build$ ls output/debs/linux-*
output/debs/linux-dtb-current-sunxi_2.1.0_armhf.deb
output/debs/linux-image-current-sunxi_2.1.0_armhf.deb
output/debs/linux-headers-current-sunxi_2.1.0_armhf.deb
11) The files contained in the generated linux-image deb package are as follows
a. Use the following command to unzip the deb package
test@test:~/orangepi-build$ cd output/debs
test@test:~/orangepi_build/output/debs$ mkdir test
test@test:~/orangepi_build/output/debs$ cp \
linux-image-current-sunxi_2.1.0_armhf.deb test/
test@test:~/orangepi_build/output/debs$ cd test
test@test:~/orangepi_build/output/debs/test$ dpkg -x \
linux-image-current-sunxi_2.1.0_armhf.deb .
test@test:~/orangepi_build/output/debs/test$ ls
boot etc lib linux-image-current-sunxi_2.1.0_armhf.deb usr
b. The decompressed file is as follows