range Pi 用户手册 深圳市迅龙软件有限公司版权所有
www.orangepi.cn 124 www.xunlong.tv
linux-u-boot-current-orangepipcplus_2.1.0_armhf.deb .
test@test:~/orangepi_build/output/debs/u-boot$ ls
linux-u-boot-current-orangepipcplus_2.1.0_armhf.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-orangepipcplus_2.1.0_armhf
│ └── u-boot-sunxi-with-spl.bin //u-boot binary file
└── u-boot
├── LICENSE
├── orangepi_pc_plus_defconfig //Compile the configuration file used by
u-boot source code
└── platform_install.sh //Burning script of u-boot
3 directories, 4 files
8) When the orangepi-bulid compilation 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 update function of the source code (You need to compile u-boot once to turn off
this function, otherwise you will be prompted that u-boot's source code cannot be
found), otherwise the changes made will be restored, the method is as follows:
Set the IGNORE_UPDATES variable in userpatches/config-default.conf to "yes"
test@test:~/orangepi-build$ vim userpatches/config-default.conf
IGNORE_UPDATES="yes"
9) When debugging u-boot code, you can use the following method to update u-boot in
the linux image for testing
a. Upload the compiled u-boot deb package to the linux system of the development
board
test@test:~/orangepi-build$ cd output/debs/u-boot
test@test:~/orangepi_build/output/debs/u-boot$ scp \
linux-u-boot-current-orangepipcplus_2.1.0_armhf.deb root@192.168.1.207:/root