range Pi 用户手册 深圳市迅龙软件有限公司版权所有
www.orangepi.cn
88
www.xunlong.tv
[ o.k. ] Repeat Build Options [ sudo ./build.sh BOARD=orangepir1plus
BRANCH=current BUILD_OPT=u-boot BUILD_DESKTOP=no
KERNEL_CONFIGURE=yes ]
5) View the compiled u-boot deb package
test@test:~/orangepi-build$ ls output/debs/u-boot/
linux-u-boot-current-orangepir1plus_2.1.0_arm64.deb
6) The files contained in the generated u-boot deb package are as follows
a. Use the following command to unzip the deb package
test@test:~/orangepi-build$ cd output/debs/u-boot
test@test:~/orangepi_build/output/debs/u-boot$ $ dpkg -x \
linux-u-boot-current-orangepir1plus_2.1.0_arm64.deb . (Note that there is a "."
at the end of the command)
test@test:~/orangepi_build/output/debs/u-boot$ ls
linux-u-boot-current-orangepir1plus_2.1.0_arm64.deb usr
b. The decompressed file is as follows
test@test:~orangepi-build/output/debs/u-boot$ tree usr
usr
└── lib
├── linux-u-boot-current-orangepir1plus_2.1.0_arm64
│ ├──idbloader.bin
│ ├──uboot.img //u-boot binary file
│ └──trust.bin
└── u-boot
├── LICENSE
├── orangepi_r1_plus_rk3328_defconfig
└── platform_install.sh
3 directories, 6 files
7) When the orangepi-bulid build system compiles the u-boot source code, it will first
synchronize the u-boot source code with the u-boot source code of the github server, so if
you want to modify the u-boot source code, you first need to turn off the download and