Hi, I need some help. I’m trying to flash a Jetson AGX Orin Industrial on a CTI Rogue carrier board onto a 2TB NVMe that’s already attached to the carrier board. I have read through “Flashing with initrd” and I believe it is what I want to do. From there, I have read through README_initrd_flash.txt in Linux_for_Tegra/tools/kernel_flash, and determined that I am interested in Workflow 3: How to flash to an external storage. I’m trying to follow the instructions there as closely as I can, but that’s where I run into problems.
I have modified flash_l4t_external.xml such that the device type is set to “nvme” and the device num_sectors is set to 4000000000. (2.048x10^12 B / 512 B/sector = 4000000000 sectors). I saved this as a new file called test_flash_l4t_external.xml.
The command I’m running from the Linux_for_Tegra folder is
sudo ADDITIONAL_DTB_OVERLAY_OPT="BootOrderNvme.dtbo" ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1 -c ./tools/kernel_flash/test_flash_l4t_external.xml cti/orin-agxi/rogue-orin/base nvme0n1p1
I have also tried
sudo ADDITIONAL_DTB_OVERLAY_OPT="BootOrderNvme.dtbo" ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c ./tools/kernel_flash/test_flash_l4t_external.xml cti/orin-agxi/rogue-orin/base nvme0n1p1
because README_initird_flash.txt is unclear about which is preferred. In either case, I get to a point where it finishes all the stuff it does before actually flashing the device, and I see:
saving flash command in flashcmd.txt
*** no-flash flag enabled. Exiting now… ***
User can run above saved command in factory environment without
providing pkc and sbk keys to flash a deviceExample:
$ cd bootloader $ sudo bash ./flashcmd.txt
But when I run sudo bash ./flashcmd.txt
, it gives the following output.
Entering RCM boot
[ 0.0424 ] mb1_t234_prod_aligned_sigheader.bin.encrypt filename is from --mb1_bin
[ 0.0424 ] psc_bl1_t234_prod_aligned_sigheader.bin.encrypt filename is from --psc_bl1_bin
[ 0.0424 ] rcm boot with presigned binaries
[ 0.0441 ] tegrarcm_v2 --new_session --chip 0x23 0 --uid --download bct_br br_bct_BR.bct --download mb1 mb1_t234_prod_aligned_sigheader.bin.encrypt --download psc_bl1 psc_bl1_t234_prod_aligned_sigheader.bin.encrypt --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt
[ 0.0457 ] BR_CID: 0x80012344705DD80B1800000011010080
[ 0.0471 ] Sending bct_br
[ 0.0474 ] Sending mb1
[ 0.0475 ] Sending psc_bl1
[ 0.0606 ] Sending bct_mb1
[ 0.0684 ] Generating blob for T23x
[ 0.0738 ] tegrahost_v2 --chip 0x23 0 --generateblob blob.xml blob.bin
[ 0.0754 ] The number of images in blob is 19
[ 0.0759 ] blobsize is 68123211
[ 0.0760 ] Added binary blob_uefi_jetson_with_dtb_sigheader.bin.encrypt of size 2986048
[ 0.1188 ] Added binary blob_pscfw_t234_prod_sigheader.bin.encrypt of size 375168
[ 0.1228 ] Added binary blob_mce_flash_o10_cr_prod_sigheader.bin.encrypt of size 190592
[ 0.1262 ] Added binary blob_applet_t234_sigheader.bin.encrypt of size 277312
[ 0.1298 ] Not supported type: mb2_applet
[ 0.1312 ] Added binary blob_mb2_t234_with_mb2_cold_boot_bct_MB2_sigheader.bin.encrypt of size 438768
[ 0.1361 ] Added binary blob_xusb_t234_prod_sigheader.bin.encrypt of size 164864
[ 0.1396 ] Added binary blob_display-t234-dce_sigheader.bin.encrypt of size 9097216
[ 0.1429 ] Added binary blob_nvdec_t234_prod_sigheader.fw.encrypt of size 294912
[ 0.1460 ] Added binary blob_bpmp_t234-TE992M-A1_prod_sigheader.bin.encrypt of size 1070208
[ 0.1504 ] Added binary blob_fsi-fw-ecc_sigheader.bin.encrypt of size 5746688
[ 0.1534 ] Added binary blob_tegra234-bpmp-3701-0008-3737-0000_with_odm_sigheader.dtb.encrypt of size 151360
[ 0.1577 ] Added binary blob_camera-rtcpu-sce_sigheader.img.encrypt of size 166304
[ 0.1610 ] Added binary blob_camera-rtcpu-t234-rce_sigheader.img.encrypt of size 537952
[ 0.1645 ] Added binary blob_adsp-fw_sigheader.bin.encrypt of size 400864
[ 0.1675 ] Added binary blob_spe_t234_sigheader.bin.encrypt of size 270336
[ 0.1710 ] Added binary blob_tos-optee_t234_sigheader.img.encrypt of size 1127568
[ 0.1747 ] Added binary blob_eks_t234_sigheader.img.encrypt of size 9232
[ 0.1781 ] Added binary blob_boot.img of size 44480512
[ 0.1818 ] Added binary blob_tegra234-orin-agxi-cti-AGX202.dtb of size 336203
[ 0.2537 ] tegrarcm_v2 --chip 0x23 0 --pollbl --download bct_mem mem_rcm_sigheader.bct.encrypt --download blob blob.bin
[ 0.2555 ] BL: version 1.2.0.0-t234-54845784-562369e5 last_boot_error: 0
[ 0.3191 ] Sending bct_mem
[ 0.3205 ] Sending blob
[ 5.4659 ] RCM-boot started
And then it stops. It does not appear to have flashed the NVMe SSD. Am I missing a step somewhere?