Image-based OTA update for JetPack 5.1.3

Hello,

I am trying to update my orin nano devkit from JP5.1.2(R35.4.1) to the latest JP5.1.3(R35.5.0) via image-based OTA update. And I bumped into a trouble.
I know that I can use APT to easily update my dev kit but I need to verify the image-based way for my later custom production boards.

The problem is, since my device is flashed with rootfs A/B enabled, the successful update should automatic change my boot slot but it seemed not. The attachment is the log I got. According to the log, I can see it said the update to non-current boot slot B was succeed and would be re-directed after the reboot. However, the device always boot into the old version JP5.1.2 with nothing changes.
commandPromptResult.txt (16.4 KB)

Please help. Thanks.

Hi ewei2,

Please share the following 2 logs for further check.

  1. log showed on your host PC when you generated the image-based OTA package
  2. serial console log when you run reboot command to trigger update process

Thanks for your reply. Please refer to the following information.

Payload generation command:
sudo -E ./tools/ota_tools/version_upgrade/l4t_generate_ota_package.sh --external-device nvme0n1 -S 55GiB jetson-orin-nano-devlit R35-4
corresponding log:
payloadGeneration.txt (617.9 KB)

OTA deployment script:
ota_deply.txt (416 Bytes)
Trigger and execution log:
otaTriggerLog.txt (16.4 KB)

Reboot log for triggering update from serial console:
resetUpdateConsoleLog.txt (124.2 KB)

p.s. my device can be flashed successfully by using the following command with rootfs A/B enabled in the very first place:
$sudo ROOTFS_AB=1 ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -S 55GiB -c tools/kernel_flash/flash_l4t_t234_nvme_rootfs_ab.xml -p “-c bootloader/t186ref/cfg/flash_t234_qspi.xml” --showlogs --network usb0 jetson-orin-nano-devkit internal

Please add ROOTFS_AB=1 when you are generating the OTA payload for rootfs a/b enabled.

$ sudo -E ROOTFS_AB=1 ./tools/ota_tools/version_upgrade/l4t_generate_ota_package.sh --external-device nvme0n1 -S 55GiB jetson-orin-nano-devlit R35-4

Thanks. It worked.

Please do add that in the document otherwise it’s a bit hard to know.

Thank you again for the help.

There’re detailed commands used for different cases in this example txt file.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.