The boot configuration in Debian202302 image to Debian202311 image is the same, and replacing the kernel with Debian packages is also relatively simple. This section takes Debian202311 as an example:
Update Configuration Files
Follow the steps below to update the configuration file of the Debian202311 version image:
After compiling and installing the kernel Debian package, create the path to place the dtb files:
Execute the following command to set a new dtb addressing path for the new kernel boot option:
$ mkdir -p /boot/dtbs-performance/starfive
And place the device tree file under the compiled kernel source code in this path:Figure 1. Place kernel source code
After powering on, select the newly added kernel option in the U-Boot menu. As shown in the following two images, select the kernel boot options 3 to see that the corresponding device tree files have been correctly loaded:Figure 3. Kernel Boot Option-3