hi:
这个平台上如何验证ota的方案呢,有没有文档可以参考下,谢谢!
我们的系统在128G上面,需要怎么修改脚本呢,
用什么命令生成镜像包呢
hi:
这个平台上如何验证ota的方案呢,有没有文档可以参考下,谢谢!
我们的系统在128G上面,需要怎么修改脚本呢,
用什么命令生成镜像包呢
hi:
agi@tegra-ubuntu:~/ota/Linux_for_Tegra/tools/ota_tools/version_upgrade$ sudo ./nv_ota_start.sh /ota/ota_payload_package.tar.gz
Command: ./nv_ota_start.sh /ota/ota_payload_package.tar.gz
/usr/bin/efibootmgr
/usr/bin/efibootdump
/usr/sbin/nvme
lsblk: overlay: not a block device
Current rootfs is on /dev/mmcblk0
hi:
用这个命令打包出来 ota升级会报错,现在想用一个完整的做包命令,请提供下 谢谢!
sudo ROOTFS_AB=1 ./tools/ota_tools/version_upgrade/l4t_generate_ota_package.sh -r --external-device nvme0n1 -S 24GiB jetson-agx-thor-devkit R38-4
Did you download and use these ota_tools sources ? It is updated.
Here’s Nvidia’s solution when I had AB error. To modify t264.conf.common or use -S to flash
hi:
我们使用了 overlay,当前改了点东西 验证不ok,帮忙看看怎么修改
agi@tegra-ubuntu:~/ota/Linux_for_Tegra/tools/ota_tools/version_upgrade$ sudo ./nv_ota_start.sh /ota/ota_payload_package.tar.gz
Command: ./nv_ota_start.sh /ota/ota_payload_package.tar.gz
/usr/bin/efibootmgr
/usr/bin/efibootdump
/usr/sbin/nvme
lsblk: overlay: not a block device
Current rootfs is on /dev/nvme0n1
init_ota_log /ota_log
Create log file at /ota_log/ota_20260127-174205.log
OTA_LOG_FILE=/ota_log/ota_20260127-174205.log
Extract /ota/ota_payload_package.tar.gz
update_nv_boot_control_in_rootfs /home/agi/work/ota_work
lsblk: overlay: not a block device
3834-000-0008--1--jetson-agx-thor-devkit-
TNSPEC 3834-400-0008-G.5-1-0-p3834-0008-p4071-0000-nvme-
COMPATIBLE_SPEC 3834-000-0008--1--jetson-agx-thor-devkit-
TEGRA_BOOT_STORAGE nvme0n1
TEGRA_CHIPID 0x26
TEGRA_OTA_BOOT_DEVICE /dev/mtdblock0
TEGRA_OTA_GPT_DEVICE /dev/mtdblock0
Info: Write TegraPlatformCompatSpec with 3834-000-0008--1--jetson-agx-thor-devkit-.
Info: The esp is already mounted to /boot/efi.
check_prerequisites
decompress_ota_package ota_package.tar /home/agi/work/ota_work
decompress_ota_package: start at Tue Jan 27 05:43:12 PM CST 2026
Sha1 checksum for /home/agi/work/ota_work/ota_package.tar (0f59b83685e729297b5952948e093d2cca395ed3) matches
decompress_ota_package: end at Tue Jan 27 05:43:26 PM CST 2026
nv_ota_update_implement.sh
Command: nv_ota_update_implement.sh
check_target_board /home/agi/work/ota_work TARGET_BOARD
get_chip_id CHIP_ID
ota_choose_images /home/agi/work/ota_work
COMPATIBLE_SPEC=3834-000-0008--1--jetson-agx-thor-devkit-
TEGRA_CHIPID=0x26
_BOARD_SPEC_NAME=3834-000-0008-
Copy files from ./images-R38-ToT/3834-000-0008-/ to ./images-R38-ToT/
is_rootfs_a_b_enabled ROOTFS_AB_ENABLED ROOTFS_CURRENT_SLOT
ROOTFS_AB_ENABLED=1
ROOTFS_CURRENT_SLOT=0
is_rootfs_encryption_enabled ROOTFS_ENC_ENABLED
ROOTFS_ENC_ENABLED=0
get_update_slot UPDATE_SLOT
UPDATE_SLOT=B
get_update_control /home/agi/work/ota_work UPDATE_BOOTLOADER UPDATE_ROOTFS
UPDATE_BOOTLOADER=1, UPDATE_ROOTFS=1
check_bsp_version /home/agi/work/ota_work BASE_VERSION
User release version in system: 0.0
User release version in OTA package: 0.0
User version is to be upgrade from 0.0 to 0.0
Rootfs A/B is enabled, update misc partitions directly
update_misc_partitions /home/agi/work/ota_work /home/agi/work/ota_work/external_device/images-R38-ToT
Updating misc partitions without layout change
install_partition_with_alt /home/agi/work/ota_work/external_device/images-R38-ToT recovery
prerequisite_check recovery
Verifying image /home/agi/work/ota_work/external_device/images-R38-ToT/recovery.img with sha1 chksum file /tmp/sha1sum.tmp
Sha1 checksum for /home/agi/work/ota_work/external_device/images-R38-ToT/recovery.img (374f917ca099de31a8bd163cfba2b3bd1a0928f1) matches
update_specified_partitions_alt recovery /home/agi/work/ota_work/external_device/images-R38-ToT/recovery.img /tmp/sha1sum.tmp
lsblk: overlay: not a block device
partx: /dev/: failed to initialize blkid prober
Failed to find recovery node. Exiting...
Start update procedure.
Start checking and writing recovery_alt.
Verifying image /home/agi/work/ota_work/external_device/images-R38-ToT/recovery.img with sha1 chksum file /tmp/sha1sum.tmp
Sha1 checksum for /home/agi/work/ota_work/external_device/images-R38-ToT/recovery.img (374f917ca099de31a8bd163cfba2b3bd1a0928f1) matches
lsblk: overlay: not a block device
partx: /dev/: failed to initialize blkid prober
Failed to find recovery_alt node. Exiting...
Failed to update recovery partition.
Failed to run update procedure on recovery. Exiting...
Failed to run "update_specified_partitions_alt recovery /home/agi/work/ota_work/external_device/images-R38-ToT/recovery.img /tmp/sha1sum.tmp "
Failed to run "install_partition_with_alt /home/agi/work/ota_work/external_device/images-R38-ToT recovery"
Failed to run "update_misc_partitions /home/agi/work/ota_work /home/agi/work/ota_work/external_device/images-R38-ToT"
agi@tegra-ubuntu:~/ota/Linux_for_Tegra/tools/ota_tools/version_upgrade$
hello mingming,
just an FYI, we’re able to do OTA update with ROOTFS_AB=1 from r38.4 to r38.4 on Jetson AGX Thor developer kit.
here’re steps for image flashing and OTA payload creation for your reference.
– Flash command:
$ sudo ROOTFS_AB=1 ./tools/kernel_flash/l4t_initrd_flash.sh jetson-agx-thor-devkit internal
– Generate OTA payload:
$ sudo -E ROOTFS_AB=1 ./tools/ota_tools/version_upgrade/l4t_generate_ota_package.sh --external-device nvme0n1 jetson-agx-thor-devkit R38-4
– Trigger OTA update on the target
$ mkdir OTA
$ tar xpvf ota_tools_R38.4.0_aarch64.tbz2 -C ./OTA/
$ sudo mkdir /ota
$ sudo cp ota_payload_package.tar.gz /ota/.
$ cd OTA/Linux_for_Tegra/tools/ota_tools/version_upgrade/
$ sudo ./nv_ota_start.sh /ota/ota_payload_package.tar.gz