I am currently trying to update the device tree on an installation to a Xavier NX module. I have successfully installed JetPack 4.6 to the NVMe SSD with sdkmanager and have been trying to add a custom device tree. I can load the device tree using extlinux.conf but I am looking into flashing it to the relevant partition.
I am attempting to update the flash using the flash.sh script in ~/nvidia/nvidia_sdk/JetPack_4.6_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra. I believe that this is the correct command:
flash.sh is not able to flash any content to the external drive. If you use command like that, it will just flash to kernel-dtb partition over emmc and tell kernel to mount file system from nvme.
Please remove -d and the path. Directly put your dtb file to BSP folder /kernel/dtb and see if it can flash.
There is no much tool that can flash to external drive. It is new feature. If you are using release < rel-32.6, then none of them can flash to external drive.