I have tried build the full image OTA payload and success run the full image OTA. But it appears the kernel does not get update.
the approach I used is
- when build rootfs, I generate the OTA payload same time, the Base/Target BSP version set to same, I rebuild kernel every time.
- Now I am in /dev/sda0 ,after download the OTA payload, I run OTA and reboot, I can see I am in /dev/sda1 now, and I get the rootfs I build in /dev/sda1
- however, when I use /proc/version to check kernel version, the kernel is same with old one. I do the kernel build every time, so the kernel will change, but it is not.
OTA payload is built like below, we run from ssd:
BASE_BSP=`pwd`
TARGET_BSP=`pwd`
ToT_BSP=`pwd`
ls -l
sudo ./tools/ota_tools/version_upgrade/build_base_recovery_image.sh jetson-xavier-nx-devkit-tx2-nx R32-6 ${BASE_BSP} ${BASE_BSP}/rootfs ${TARGET_BSP}
sudo ./tools/ota_tools/version_upgrade/l4t_generate_ota_package.sh jetson-xavier-nx-devkit-tx2-nx R32-6
May I know if I am doing anything wrong?