range Pi 用户手册 深圳市迅龙软件有限公司版权所有
www.orangepi.cn
86
www.xunlong.tv
function scripts, and the source code of some programs. The rootfs compressed
package cached during the compilation of the image is also stored in external
c. kernel: Store the source code of the linux kernel. The folder named
orange-pi-5.8-rockchip64 stores the kernel source code of the current branch of
the rk3328 development board. Please do not manually modify the name of the
kernel source folder. If you modify it The kernel source code will be
re-downloaded when the build system is running
d. LICENSE: GPL 2 license file
e. README.md: orangepi-build instruction file
f. output: store files such as u-boot, linux and other deb packages generated by
compilation, compilation logs, and images generated by compilation
g. scripts: general scripts for compiling linux images
h. toolchains: store cross-compilation toolchains
i. u-boot: The folder named v2020.07 in the u-boot source code stores the u-boot
source code of the current branch of the rk3328 development board. Please do
not modify the name of the u-boot source code folder manually. If you modify it
The u-boot source code will be re-downloaded when the compilation system is
running
j. userpatches: store configuration files needed to compile scripts
test@test:~/orangepi-build$ ls
build.sh external kernel LICENSE output README.md scripts
toolchains u-boot userpatches
6.2.
Compile u-boot
1) Run the build.sh script, remember to add sudo permissions
test@test:~/orangepi-build$ sudo ./build.sh
2) Select U-boot package, then press Enter