EasyManua.ls Logo

Orange Pi PC Plus - Page 132

Orange Pi PC Plus
150 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...
range Pi 用户手册 深圳市迅龙软件有限公司版权所有
www.orangepi.cn 131 www.xunlong.tv
├── linux-dtb-current-sunxi_2.1.0_armhf.deb
└── usr
└── share
4 directories, 1 file
13) When the orangepi-bulid compilation system compiles the linux kernel source code,
it first synchronizes the linux kernel source code with the linux kernel source code of the
github server, so if you want to modify the linux kernel source code, you need to turn off
the source code update function first (you need to compile the linux kernel once. This
function can only be turned off after the source code, otherwise it will be prompted
that the source code of the linux kernel 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"
14) If you modify the kernel, you can use the following method to update the kernel and
kernel modules of the Linux system on the development board
a. Upload the compiled linux deb package to the linux system of the development
board
test@test:~/orangepi-build$ cd output/debs
test@test:~/orangepi_build/output/debs$ scp \
linux-image-current-sunxi_2.1.0_armhf.deb root@192.168.1.207:/root
b. Then log in to the development board and uninstall the installed deb package of
u-boot
root@orangepi:~# apt purge -y linux-image-current-sunxi
c. Install the new u-boot deb package just uploaded
root@orangepi:~# dpkg -i linux-image-current-sunxi_2.1.0_armhf.deb
d. Then restart the development board, and then check whether the kernel-related
changes have taken effect

Table of Contents

Related product manuals