range Pi User Manual Copyright reserved by Shenzhen Xunlong Software Co., Ltd
295
5) The cross-compilation tool chain used to compile the u-boot source code is
a. v2017.09
gcc-linaro-7.4.1-2019.02-x86_64_aarch64-linux-gnu
4.2.3. orangepi-build complete directory structure description
1) The orangepi-build repository does not contain the source code of the Linux kernel,
u-boot, and cross-compilation toolchain after downloading. The source code of the Linux
kernel and u-boot is stored in an independent git repository
a. The git repository where the Linux kernel source code is stored is as follows:
https://github.com/orangepi-xunlong/linux-orangepi/tree/orange-pi-5.10-rk35xx
b. The git warehouse where the b.u-boot source code is stored is as follows:
https://github.com/orangepi-xunlong/u-boot-orangepi/tree/v2017.09-rk3588
2) When orangepi-build runs for the first time, it will download the cross-compilation
toolchain, u-boot and Linux kernel source code. After successfully compiling a Linux
image, the files and folders that can be seen in orangepi-build are:
a. build.sh: compile startup script
b. external: Contains the configuration files needed to compile the image, scripts
with specific functions, and the source code of some programs. The rootfs
compressed package cached during the image compilation process is also stored in
external
c. kernel: stores the source code of the Linux kernel, and the folder named
orange-pi-5.10-rk35xx stores the kernel source code of the legacy branch of the
RK3588/RK3588S/RK3566 series development boards. Please do not manually
name the folder name of the kernel source code Modify, if modified, the kernel
source code will be re-downloaded when the compilation system is running
d. LICENSE: GPL 2 license file
e. README.md: orangepi-build documentation
f. output: Store compiled deb packages such as u-boot and Linux, compilation logs,
and compiled images and other files
g. scripts: general scripts for compiling Linux images
h. toolchains: store cross-compilation toolchain
i. u-boot: stores the source code of u-boot, the folder named v2017.09-rk3588 stores
the u-boot source code of the legacy branch of the RK3588/RK3588S/RK3566 series
development boards, the name of the folder of the u-boot source code Please do not