range Pi 用户手册 深圳市迅龙软件有限公司版权所有
www.orangepi.cn
95
www.xunlong.tv
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 first need to turn
off the source code update function (you need to complete the compilation once This
function can be turned off after the linux kernel source code, otherwise it will be
prompted that the linux kernel 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) If you modify the kernel, you can use the following method to update the kernel and
kernel modules of the development board Linux OS
a. Upload the compiled linux kernel deb package to the Linux OS of the
development board
test@test:~/orangepi-build$ cd output/debs
test@test:~/orangepi-build/output/debs$ scp \
linux-image-current-rockchip64_2.1.0_arm64.deb root@192.168.1.207:/root
b. Then log in to the development board and uninstall the deb package of the
installed linux kernel
root@orangepir1plus:~# apt purge -y linux-image-current-rockchip64
c. Install the deb package of the new linux kernel just uploaded
root@orangepir1plus:~# dpkg -i linux-image-current-rockchip64_2.1.0_arm64.deb
d. Then restart the development board, and then check whether the kernel-related
changes have taken effect
10) The method of installing the kernel header file into the Linux OS is as follows
a. Upload the deb package of the compiled linux header file to the Linux OS of the
development board
test@test:~/orangepi-build$ cd output/debs
test@test:~/orangepi-build/output/debs$ scp \
linux-headers- current-rockchip64_2.1.0_arm64.deb root@192.168.1.xxx:/root
b. Then log in to the development board and install the deb package of the linux
header file just uploaded
root@orangepir1plus:~# dpkg -i linux-headers- current-rockchip64_2.1.0_arm64.deb
c. After installation, you can see the contents of the kernel header file just installed