What to do after kernel modules copy?

Hey everyone,

I’ve a custom Debian which runs 6.8.1 kernel. I’ve built kernel modules from 6.8.0 with the same kernel config. I’ve copied these files in order:

  • Image
  • dtb
  • /lib/modules/

I’ve copied all modules under same directory for 6.8.1 but I have version mismatch errors.
I’ve also updated extlinux.conf file according to my settings but currently the Rock5B is not booting up.

What steps should I apply before I reboot the device after copying kernel modules?
Is it the same for every version like can I upgrade 5.10 to 6.8 the same way?

Rebuild all modules of 6.8.1.

I did. I’ve copied under /lib/modules. Now I have 2 kernel modules folder. I also have Image.
What to do next after copying?

Copy the 6.8.1 image to the Image file. dtb probably still is the same.

There is now two kernel modules directory with different versions. Is Image file selecting which one to load?

Boot with different image, check version with

uname -r