I have a custom board with Xavier NX.
I have the entire configuration, which allows me to flash Jetpack 5.1.1 (35.3.1) in the eMMC and it all works just fine.
The command I have used for flashing is: sudo ./flash.sh wolf-22xp-dp-revClk mmcblk0p1
The configurations for this flash sequence:
wolf-22xp-dp-revClk.conf (here I uploaded it as wolf-22xp-dp-revClk.conf.backup)
flash_l4t_t194_spi_emmc_p3668.xml
tegra194-p3668-all-wolf-22xp-01.dtb
All files attached in working_configuration.zip: working_configuration.zip (53.6 KB)
Now, I would like to flash it directly to NVMe. I have failed doing so.
The steps I have followed:
Update wolf-22xp-dp-revClk.conf to point flash_l4t_t194_spi_nvme64GB_p3668.xml
Use the following flash command: sudo ./flash.sh wolf-22xp-dp-revClk nvme0n1p1
Updates in configuration are attached in: NOT_working_configuration_with_NVME.zip NOT_working_configuration_with_NVME.zip (4.0 KB)
The output of this sequence is in flash_output.txt flash_output.txt (27.8 KB)
I have followed the instructions for installing the prerequisites in the link you sent and then performed sudo ./tools/kernel_flash/l4t_initrd_flash.sh wolf-22xp-dp-revClk nvme0n1p1
Hi
I succeded to flash and boot my custom xavier nx board using the hints in the link you have sent me and README_initrd_flash.txt inside the tegra directories:
I have Extracted the NVMe charecteristics: Number of sectors and sectors size using fdisk -l on a linux system this nvme is connected to.
I have Created tools/kernel_flash/flash_l4t_external_custom.xml from the original tools/kernel_flash/flash_l4t_external.xml. update number of sectors and sector size of the external device inisde the flash_l4t_external.xml. for example, I have updated to 125045424.
I have used the command line in (Quick Start — Jetson Linux Developer Guide documentation) in the section of: Jetson Orin Nano Developer Kit (NVMe), with the help of the command in README_initrd_flash.txt (For a device with internal QSPI and external NVMe: paragraph) with the following updates:
a. As bootloader/t186ref/cfg/flash_t234_qspi.xml fits Orin and not my Xavier I have used bootloader/t186ref/cfg/flash_t194_uefi_qspi_p3668.xml
b. I have used tools/kernel_flash/flash_l4t_external_custom.xml I created in previous step.
The final flash command is: