EasyManua.ls Logo

Orange Pi Zero2 - Page 72

Orange Pi Zero2
88 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
71
b. The version of the cross-compilation toolchain
[ o.k. ] Compiler version [ aarch64-none-linux-gnu-gcc 9.2.1 ]
c. The default configuration file used by the kernel and its storage path
[ o.k. ] Using kernel config file [ config/kernel/linux-sun50iw9-legacy.config ]
d. If KERNEL_CONFIGURE=yes, 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-sun50iw9-legacy.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-legacy-sun50iw9_2.0.8_arm64.deb ]
g. Compilation time
[ o.k. ] Runtime [ 5 min ]
h. In 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=orangepizero2
BRANCH=legacy BUILD_OPT=kernel KERNEL_CONFIGURE=yes ]
6) View the deb package related to the kernel generated by the compilation
a. linux-dtb-legacy-sun50iw9_2.0.8_arm64.deb is not used yet, don’t care about it
b. linux-headers-legacy-sun50iw9_2.0.8_arm64.deb contains kernel header files
c. linux-image-legacy-sun50iw9_2.0.8_arm64.deb contains kernel image and
kernel module
test@test:~/orangepi-build$ ls output/debs/linux-*
output/debs/linux-dtb-legacy-sun50iw9_2.0.8_arm64.deb
output/debs/linux-headers-legacy-sun50iw9_2.0.8_arm64.deb
output/debs/linux-image-legacy-sun50iw9_2.0.8_arm64.deb
7) 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-legacy-sun50iw9_2.0.8_arm64.deb test/
test@test:~/orangepi_build/output/debs$ cd test
test@test:~/orangepi_build/output/debs/test$ dpkg -x \

Table of Contents

Related product manuals