I am facing a problem during process of kernel customization using Cross compilation. I followed the Nvidia documentation : Tegra Linux Driver
I achieve to add my modifications to the kernel and to flash the Jetson Nano correctly. But, when I do this command after booting for the first time :
sudo apt upgrade, it changes the kernel image to put a non modified one after rebooting.
What’s a bit strange is that it’s always the same old image dating from the 5th May of 2021 which is put and it’s not corresponding to a particular nvidia update.
I searched this type of error on Google and I found that
sudo apt upgrade normally do this thing when it detects a more recent image. After searching more I found in my sources files (in particular in the rootfs folder) at this path :
/Linux_for_Tegra/rootfs/lib/modules two folders with two different names or versions :
4.9.201-tegra. I noticed that the
4.9.201-tegra folder appears after doing this command :
On Jetson nano, before rebooting I have that :
uname -r 4.9.201
and after doing an upgrade and rebooting I have :
uname -r 4.9.201-tegra
The problem is that the 4.9.201-tegra version of the kernel doesn’t contain my modifications.
Do you know what to do to solve this issue ?
Thank you by advance !