hi nv
https://docs.nvidia.com/jetson/archives/r35.4.1/DeveloperGuide/text/SD/SoftwarePackagesAndTheUpdateMechanism.html?highlight=ota#over-the-air-update
参考贵司的文档做OTA升级验证,Xavier Nx Devkit - eMMC R32.7.2->R35.4.1
在执行最后一个步骤重启后,设备没有进入recovery升级模式,请帮忙看下,谢谢!
nv_ota_start.log (9.9 KB)
Hi yougang.hu,
OTA preprocess has been completed. OTA will be automatically started once device is rebooted
It seems you didn’t run sudo reboot
after you finish nv_ota_start.sh.
问题就出在这,重启后并没有进入recovery升级模式,而是正常的进了BASE_BSP系统
Please share the full serial console log after you run reboot command.
nv_ota_reboot_log.log (95.1 KB)
我的操作步骤如下
host-PC端:
export BASE_BSP=${HOME}/work/nvidia/nvidia_sdk/JetPack_4.6.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra
export TARGET_BSP=${HOME}/work/nvidia/nvidia_sdk/JetPack_5.1.2_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra
cd ${BASE_BSP}
sudo ./flash.sh jetson-xavier-nx-devkit-emmc mmcblk0p1
cd ${TARGET_BSP}/…/
sudo tar xpf ota_tools_r35.4.1_aarch64.tbz2
cd ${TARGET_BSP}
sudo ./tools/ota_tools/version_upgrade/build_base_recovery_image.sh jetson-xavier-nx-devkit-emmc R32-7 ${BASE_BSP} ${BASE_BSP}/rootfs ${TARGET_BSP}
sudo -E ./tools/ota_tools/version_upgrade/l4t_generate_ota_package.sh jetson-xavier-nx-devkit-emmc R32-7
device端:
sudo tar xpf ota_tools_r35.4.1_aarch64.tbz2
cd Linux_for_Tegra/tools/ota_tools/version_upgrade
sudo ./nv_ota_start.sh /media/sd/ota_payload_package.tar.gz
sudo reboot
PC端是完全按照文档来的,设备端因为存储空间不够的原因,在执行nv_ota_start.sh脚本前,在设备系统上删除了一些应用,ota_payload_package.tar.gz放在外置存储中
如果你要更新eMMC,建議將payload放在eMMC內
你也可以參考以下Xavier NX從R32.7.4升到R35.4.1的步驟以及預期的訊息:
Jetson/L4T/peripheral/ - Image-Based OTA with layout change
在jp4.6.4上,相同的操作,OTA升级成功
有个问题请教下,系统从emmc启动,但是rootfs是挂载在nvme上,做OTA升级后,是否可以将系统刷到nvme上?
那會建議你在升級前就先更改為從NVMe啟動並且掛載rootfs在NVMe上
整個建立image-based OTA package的過程也都是針對(指定)NVMe去建立和更新
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.