EasyManua.ls Logo

ORANGE Pi 3B - Compile Rootfs

ORANGE Pi 3B
366 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 User Manual Copyright reserved by Shenzhen Xunlong Software Co., Ltd
304
kernel source code, so if you want to modify the Linux kernel source code, you first need
to turn off the update function of the source code (You need to fully compile the Linux
kernel source code before turning off this function. Otherwise, you will be prompted
that the source code of the Linux kernel cannot be found. If you download the
source code package from Baidu cloud disk, there is no such problem, because the
source code of Linux has been cached.), otherwise the The changes made will be
reverted 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"
10) If the kernel has been modified, the following method can be used to update the
kernel and kernel modules of the development board Linux system
a. Upload the deb package of the compiled Linux kernel to the Linux system of the
development board
test@test:~/orangepi-build$ cd output/debs
test@test:~/orangepi-build/output/debs$ scp \
linux-image-legacy-rockchip-rk356x_1.0.0_arm64.deb root@192.168.1.xxx:/root
b. Then log in to the development board and uninstall the deb package of the
installed Linux kernel
root@orangepi:~# apt purge -y linux-image-legacy-rockchip-rk356x
c. Install the deb package of the new Linux kernel just uploaded
root@orangepi:~# dpkg -i linux-image-legacy-rockchip-rk356x_1.0.0_arm64.deb
d. Then restart the development board, and then check whether the kernel-related
modifications have taken effect
root@orangepi:~# reboot
4.5.
Compile rootfs
1) Run the build.sh script, remember to add sudo permission
test@test:~/orangepi-build$ sudo ./build.sh
2) Select Rootfs and all deb packagesthen enter

Table of Contents