Having problems booting TX2 NX off SSD drive

Attempting to boot TX2 NX off an SSD drive (128 GB SSD ) the Jetpack version is version R32.6.1. The flashing command I’m using is:
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c ./tools/kernel_flash/flash_l4t_nvme.xml -S 110GiB --showlogs jetson-xavier-nx-devkit-tx2-nx nvme0n1p1

The log shows the following failure when flashing the device:


  •                                 *
    
  • Step 3: Start the flashing process *
  •                                 *
    

Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for target to boot-up…
Waiting for device to expose ssh …Run command: if [ -f /qspi/l4t_flash_from_kernel.sh ]; then USER=root /qspi/l4t_flash_from_kernel.sh --no-reboot --qspi-only ; fi on root@fe80::1%enp0s21f0u1
4194304
[ 0]: l4t_flash_from_kernel: Starting to create gpt for emmc
Active index file is /home/alwaysai/projects/bootFromExternalStorage/R32.6.1/Linux_for_Tegra/tools/kernel_flash/images/internal/flash.idx
Number of lines is 56
max_index=55
writing item=21, 1:3:primary_gpt, 512, 2097152, gpt_primary_1_3.bin, 16896, fixed--0, e39e67bf80b423ccaa470a8dbefbf73f8b4325b5
Writing primary_gpt partition with gpt_primary_1_3.bin
Offset is not aligned to K Bytes, no optimization is applied
dd if=/home/alwaysai/projects/bootFromExternalStorage/R32.6.1/Linux_for_Tegra/tools/kernel_flash/images/internal/gpt_primary_1_3.bin of=/dev/sdc bs=1 skip=0 seek=512 count=16896
16896+0 records in
16896+0 records out
16896 bytes (17 kB, 16 KiB) copied, 0.0327446 s, 516 kB/s
Writing primary_gpt partition done
Error: Invalid argument during seek for read on /dev/sdc
[ 2]: l4t_flash_from_kernel: Error: partprobe failed. This indicates that:

  • the xml indicates the gpt is larger than the device storage
  • the xml might be invalid
  • the device might have a problem.
    Please make correction.
    Cleaning up…

Any help support or the community can provide would be greatly appreciated.

For TX2 case, please modify the # of sectors in xml file.

WayneWWE. Thank you for the quick response I will give it try today and get back to you.

I’m trying to boot off the nvme SSD drive, why is l4t_initrd_flash.sh trying to format the internal emmc memory if the first place?

Wayne my bad, thank you for point me toward the -h command I was flashing both external and internal on the way approached it. This helped a lot I appreciate it.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.