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:
sudo ./flash.sh -r -k kernel-dtb -d ~/JetStream/4.6/Linux_for_Tegra/source/public/kernel/kernel-4.9/arch/arm64/boot/dts/tegra194-p3668-all-p3509-0000.dtb jetson-xavier-nx-devkit-emmc nvme0n1p1
However, I see the following error:
Error: Return value 13
Command tegradevflash_v2 --write kernel-dtb 1_kernel_tegra194-p3668-all-p3509-0000_sigheader.dtb.encrypt
Failed to flash/read t186ref.
The reference to t186ref suggests to me that it is using the wrong definition somewhere.
The Xavier NX module is hosted on a carrier board designed by my employer.
I have attached a log of the output from the flash script.
flash.log (71.1 KB)