Creating a bootable USB Drive (UEFI) from host

You went wrong with the order of FAB and BOARDDEV.
It’s supposed to be FAB=300 BOARDDEV=M.2.

Anyway, does AGX Orin also throw the same error?
Please also verify with 35.4.1.

Yes, I just tested with the AGX Orin 32GB devkit

L4TLauncher: Attempting Direct Boot
OpenAndReadUntrustedFileToBuffer: Failed to open boot\extlinux\extlinux.conf: No
t Found
ProcessExtLinuxConfig:sds Failed to Authenticate boot\extlinux\extlinux.conf (No
t Found)
L4TLauncher: Unable to process extlinux config: Not Found
L4TLauncher: Attempting Kernel Boot
Failed to boot image: Device Error
Failed to boot kernel:0 partition
????Shutdown state requested 1
Rebooting system ...
??

I flashed the USB with

sudo BOARDID=3701 BOARDSKU=0000 FAB=TS4 ./tools/kernel_flash/l4t_initrd_flash.sh -c tools/kernel_flash/flash_l4t_external.xml --external-device sda1 --direct sdc jetson-agx-orin-devkit external

SDK Flash through USB-C to USB worked. So same situation with both boards.

Will do now.

I cannot flash 35.4.1 (JetPack 5.1.2) for Jetson AGX Orin with the SDK Manager GUI, I always get an error.
I had no problems flashing with JetPack 6.

End of log with error :

Summary
17:39:20.516 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: /mnt/extra/jetson/AGXJP5/JetPack_5.1.2_Linux_JETSON_AGX_ORIN_TARGETS/Linux_for_Tegra
17:39:20.521 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: ***************************************
17:39:20.521 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: *                                     *
17:39:20.521 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: *  Step 3: Start the flashing process *
17:39:20.521 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: *                                     *
17:39:20.521 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: ***************************************
17:39:20.658 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:21.783 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:22.909 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:24.038 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:25.164 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:26.290 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:27.420 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:28.092 - info: Event: Device APX was unplugged from usb port.
17:39:28.549 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:29.677 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:30.802 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:31.929 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:33.057 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:34.185 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:35.312 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:36.443 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:37.568 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:38.697 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:39.826 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:40.957 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:42.085 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:43.213 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:44.344 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:45.471 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:46.600 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:47.730 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for target to boot-up...
17:39:47.836 - info: Event: Device Linux_for_Tegra was plugged to usb port.
17:39:59.973 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for device to expose ssh ...RTNETLINK answers: File exists
17:39:59.982 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: RTNETLINK answers: File exists
17:40:00.011 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Waiting for device to expose ssh ...Run command: flash on fc00:1:1:0::2
17:40:00.100 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: SSH ready
17:40:00.527 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: blockdev: cannot open /dev/mmcblk0boot0: No such file or directory
17:40:00.540 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: [ 0]: l4t_flash_from_kernel: Starting to create gpt for emmc
17:40:00.540 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Active index file is /mnt/internal/flash.idx
17:40:00.540 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Number of lines is 76
17:40:00.540 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: max_index=75
17:40:02.114 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: writing item=59, 1:3:primary_gpt, 512, 19968, gpt_primary_1_3.bin, 16896, fixed-<reserved>-0, 25432dc6a91b3f4948f0646d30ca5bd1527e73b0
17:40:08.797 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Writing primary_gpt partition with gpt_primary_1_3.bin
17:40:08.807 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Offset is not aligned to K Bytes, no optimization is applied
17:40:08.807 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: dd if=/mnt/internal/gpt_primary_1_3.bin of=/dev/mmcblk0 bs=1 skip=0  seek=512 count=16896
17:40:08.829 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: 16896+0 records in
17:40:08.830 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: 16896+0 records out
17:40:08.830 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: 16896 bytes (17 kB, 16 KiB) copied, 0.0190665 s, 886 kB/s
17:40:08.839 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Writing primary_gpt partition done
17:40:09.175 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Writing secondary_gpt partition with gpt_secondary_1_3.bin
17:40:09.188 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Offset is not aligned to K Bytes, no optimization is applied
17:40:09.188 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: dd if=/mnt/internal/gpt_secondary_1_3.bin of=/dev/mmcblk0 bs=1 skip=0  seek=63652740608 count=16896
17:40:09.198 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: 16896+0 records in
17:40:09.198 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: 16896+0 records out
17:40:09.202 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: 16896 bytes (17 kB, 16 KiB) copied, 0.0190768 s, 886 kB/s
17:40:09.210 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Writing secondary_gpt partition done
17:40:09.218 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: [ 9]: l4t_flash_from_kernel: Successfully create gpt for emmc
17:40:09.218 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: [ 9]: l4t_flash_from_kernel: Starting to create gpt for external device
17:40:09.218 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Active index file is /mnt/external/flash.idx
17:40:09.219 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Number of lines is 18
17:40:09.219 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: max_index=17
17:40:09.250 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: writing item=1, 9:0:primary_gpt, 512, 19968, gpt_primary_9_0.bin, 16896, fixed-<reserved>-0, 5a597b8c66db34e22b47dc73c8cacc816e4f962f
17:40:09.386 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Writing primary_gpt partition with gpt_primary_9_0.bin
17:40:09.393 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Offset is not aligned to K Bytes, no optimization is applied
17:40:09.393 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: dd if=/mnt/external/gpt_primary_9_0.bin of=/dev/sda bs=1 skip=0  seek=512 count=16896
17:40:09.410 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: 16896+0 records in
17:40:09.410 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: 16896+0 records out
17:40:09.410 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: 16896 bytes (17 kB, 16 KiB) copied, 0.0190106 s, 889 kB/s
17:40:09.421 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Writing primary_gpt partition done
17:40:09.439 - error: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Error: Invalid argument during seek for read on /dev/sda
17:40:09.439 - info: Event: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS - error is: Error: Invalid argument during seek for read on /dev/sda
17:40:09.444 - error: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: [ 9]: l4t_flash_from_kernel: Error: partprobe failed. This indicates that:
17:40:09.444 - info: Event: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS - error is: [ 9]: l4t_flash_from_kernel: Error: partprobe failed. This indicates that:
17:40:09.444 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS:  -   the xml indicates the gpt is larger than the device storage
17:40:09.445 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS:  -   the xml might be invalid
17:40:09.445 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS:  -   the device might have a problem.
17:40:09.445 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS:  Please make correction.
17:40:09.445 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Flash failure
17:40:09.445 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Cleaning up...
17:40:09.495 - error: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: [exec_command]: /bin/bash -c /tmp/tmp_NV_L4T_FLASH_JETSON_LINUX_COMP.rick.sh; [error]: 85085 blocks
17:40:09.495 - info: Event: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS - error is: [exec_command]: /bin/bash -c /tmp/tmp_NV_L4T_FLASH_JETSON_LINUX_COMP.rick.sh; [error]: 85085 blocks
17:40:09.495 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: 
17:40:09.495 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: 
17:40:09.503 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: [ Component Install Finished with Error ]
17:40:09.503 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: [host] [ 36.20 MB used. Disk Avail: 6.36 GB ]
17:40:09.504 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: [ NV_L4T_FLASH_JETSON_LINUX_COMP Install took 5m5s ]
17:40:09.504 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: 
17:40:09.504 - error: command error code: 11
17:40:09.504 - info: Event: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS - error code is: 1011
17:40:09.504 - error: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: command terminated with error
17:40:09.504 - info: Event: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS - error is: command terminated with error
17:40:09.512 - info: Event: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS - install ended - failure
17:40:09.513 - info: Summary: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Installation failed. 
17:40:09.513 - info: Event: NV_L4T_DOCKER_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - error is: NVIDIA Container Runtime with Docker integration (Beta) Skipped. Due to its dependencies fail to install: Flash Jetson Linux
17:40:09.513 - info: Event: NV_L4T_DOCKER_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - install ended - failure
17:40:09.514 - info: Summary: NV_L4T_DOCKER_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: Depends on failed component
17:40:09.514 - info: Event: NV_L4T_MULTIMEDIA_API_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - error is: Multimedia API Skipped. Due to its dependencies fail to install: Flash Jetson Linux
17:40:09.514 - info: Event: NV_L4T_MULTIMEDIA_API_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - install ended - failure
17:40:09.514 - info: Summary: NV_L4T_MULTIMEDIA_API_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: Depends on failed component
17:40:09.514 - info: Event: NV_L4T_TENSORRT_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - error is: TensorRT on Target Skipped. Due to its dependencies fail to install: Flash Jetson Linux
17:40:09.514 - info: Event: NV_L4T_TENSORRT_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - install ended - failure
17:40:09.514 - info: Summary: NV_L4T_TENSORRT_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: Depends on failed component
17:40:09.514 - info: Event: NV_L4T_TENSORRT_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - error is: TensorRT Runtime Skipped. Due to its dependencies fail to install: Flash Jetson Linux
17:40:09.514 - info: Event: NV_L4T_TENSORRT_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - install ended - failure
17:40:09.514 - info: Summary: NV_L4T_TENSORRT_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: Depends on failed component
17:40:09.515 - info: Event: NV_L4T_VPI_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - error is: VPI on Target Skipped. Due to its dependencies fail to install: Flash Jetson Linux
17:40:09.515 - info: Event: NV_L4T_VPI_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - install ended - failure
17:40:09.515 - info: Summary: NV_L4T_VPI_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: Depends on failed component
17:40:09.515 - info: Event: NV_L4T_VPI_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - error is: VPI Runtime Skipped. Due to its dependencies fail to install: Flash Jetson Linux
17:40:09.515 - info: Event: NV_L4T_VPI_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - install ended - failure
17:40:09.515 - info: Summary: NV_L4T_VPI_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: Depends on failed component
17:40:09.515 - info: Event: NV_L4T_CUPVA_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - error is: CuPVA Runtime Skipped. Due to its dependencies fail to install: Flash Jetson Linux
17:40:09.515 - info: Event: NV_L4T_CUPVA_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - install ended - failure
17:40:09.515 - info: Summary: NV_L4T_CUPVA_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: Depends on failed component
17:40:09.515 - info: Event: NV_L4T_CUDA_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - error is: CUDA Toolkit for L4T Skipped. Due to its dependencies fail to install: Flash Jetson Linux
17:40:09.515 - info: Event: NV_L4T_CUDA_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - install ended - failure
17:40:09.515 - info: Summary: NV_L4T_CUDA_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: Depends on failed component
17:40:09.515 - info: Event: NV_L4T_CUDA_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - error is: CUDA Runtime Skipped. Due to its dependencies fail to install: Flash Jetson Linux
17:40:09.515 - info: Event: NV_L4T_CUDA_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - install ended - failure
17:40:09.515 - info: Summary: NV_L4T_CUDA_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: Depends on failed component
17:40:09.515 - info: Event: NV_L4T_CUDNN_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - error is: cuDNN on Target Skipped. Due to its dependencies fail to install: Flash Jetson Linux
17:40:09.516 - info: Event: NV_L4T_CUDNN_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - install ended - failure
17:40:09.516 - info: Summary: NV_L4T_CUDNN_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: Depends on failed component
17:40:09.516 - info: Event: NV_L4T_CUDNN_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - error is: CuDNN Runtime Skipped. Due to its dependencies fail to install: Flash Jetson Linux
17:40:09.516 - info: Event: NV_L4T_CUDNN_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - install ended - failure
17:40:09.516 - info: Summary: NV_L4T_CUDNN_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: Depends on failed component
17:40:09.516 - info: Event: NV_L4T_OPENCV_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - error is: OpenCV Skipped. Due to its dependencies fail to install: Flash Jetson Linux
17:40:09.516 - info: Event: NV_L4T_OPENCV_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - install ended - failure
17:40:09.516 - info: Summary: NV_L4T_OPENCV_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: Depends on failed component
17:40:09.516 - info: Event: NV_L4T_OPENCV_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - error is: OpenCV Runtime Skipped. Due to its dependencies fail to install: Flash Jetson Linux
17:40:09.516 - info: Event: NV_L4T_OPENCV_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS - install ended - failure
17:40:09.516 - info: Summary: NV_L4T_OPENCV_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: Depends on failed component
17:40:09.516 - info: Event: NV_DATETIME_SETUP_TARGET_COMP@JETSON_AGX_ORIN_TARGETS - error is: DateTime Target Setup Skipped. Due to its dependencies fail to install: Flash Jetson Linux
17:40:09.516 - info: Event: NV_DATETIME_SETUP_TARGET_COMP@JETSON_AGX_ORIN_TARGETS - install ended - failure
17:40:09.516 - info: Summary: NV_DATETIME_SETUP_TARGET_COMP@JETSON_AGX_ORIN_TARGETS: Depends on failed component
17:40:09.545 - info: Event: Session before ended
17:40:09.546 - info: Stopping all currently running download services
17:40:09.546 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/T234/Jetson_Linux_R35.4.1_aarch64.tbz2
17:40:09.546 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/T234/Tegra_Linux_Sample-Root-Filesystem_R35.4.1_aarch64.tbz2
17:40:09.546 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/./NVIDIA_Nsight_Perf_SDK_2023.3.1.tar.gz
17:40:09.546 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/./cuda-repo-ubuntu2004-11-4-local_11.4.19-470.154-1_amd64.deb
17:40:09.547 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/./NVIDIA_Nsight_Perf_SDK_Docs_2023.3.1.zip
17:40:09.547 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/./cuda-repo-l4t-11-4-local_11.4.19-1_arm64.deb
17:40:09.547 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/./cudnn-local-tegra-repo-ubuntu2004-8.6.0.166_1.0-1_arm64.deb
17:40:09.547 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/./nv-tensorrt-local-repo-l4t-8.5.2-cuda-11.4_1.0-1_arm64.deb
17:40:09.547 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/./libnvidia-container0_0.11.0+jetpack_arm64.deb
17:40:09.547 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/./libnvidia-container1_1.10.0-1_arm64.deb
17:40:09.547 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/./libnvidia-container-tools_1.10.0-1_arm64.deb
17:40:09.547 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/./nvidia-container-toolkit_1.11.0_rc.1-1_arm64.deb
17:40:09.547 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/./nvidia-container-runtime_3.9.0-1_all.deb
17:40:09.547 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/./nvidia-docker2_2.11.0-1_all.deb
17:40:09.547 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/T234/nvidia-l4t-jetson-multimedia-api_35.4.1-20230801124926_arm64.deb
17:40:09.547 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/./OpenCV-4.5.4-8-g3e4c170df4-aarch64-libs.deb
17:40:09.547 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/./OpenCV-4.5.4-8-g3e4c170df4-aarch64-dev.deb
17:40:09.547 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/./OpenCV-4.5.4-8-g3e4c170df4-aarch64-licenses.deb
17:40:09.548 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/./OpenCV-4.5.4-8-g3e4c170df4-aarch64-python.deb
17:40:09.548 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/./OpenCV-4.5.4-8-g3e4c170df4-aarch64-samples.deb
17:40:09.548 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/./cupva-2.3.0-l4t.deb
17:40:09.548 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/./vpi-lib-2.3.9-aarch64-l4t.deb
17:40:09.548 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/./vpi-python3.8-2.3.9-aarch64-l4t.deb
17:40:09.548 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/./vpi-python3.9-2.3.9-aarch64-l4t.deb
17:40:09.548 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/./vpi-dev-2.3.9-aarch64-l4t.deb
17:40:09.548 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/./vpi-samples-2.3.9-aarch64-l4t.deb
17:40:09.548 - info: Stopping the download for:  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-5.1.2/Jetson_512_b104/./vpi-demos-2.3.9-aarch64-l4t.deb
17:40:09.550 - info: The overall duration (Download + Install) is 00:05:34

17:40:09.550 - info: *** Dialogs Timing Summary ***

pre-flash: duration: 00:00:28
*** End of Dialogs Timing Summary ***
17:40:09.551 - info: 
*** Download Summary ***

        - Bundle: JetPack 5.1.2 Linux for Jetson AGX Orin modules
        - Download server: DevZone
        - 0B downloaded of 12.37GB
        - Download started on: Wed Feb 21 2024 17:34:35 GMT+0100 (Central European Standard Time).
        - Download ended on: Wed Feb 21 2024 17:13:32 GMT+0100 (Central European Standard Time).
        - Download duration: 56.542s.
        - Average total download speed: 0B/s = total downloaded bytes / download duration.
        - Average total bandwidth: 0B/s, average accumulation of all file chunk's speed, downloaded concurrently.
        - Average file chunk's download speed: 0B/s, average of all downloaded file chunk's speed.
        - Max 6 concurrent files using 12 threads.

        Total 40 files:
        - 0 downloaded, 27 cached, 0 failed, 13 skipped

        Details:
- OpenCV-4.5.4-8-g3e4c170df4-aarch64-libs.deb: Cached.
- cupva-2.3.0-l4t.deb: Cached.
- vpi-python3.8-2.3.9-aarch64-l4t.deb: Cached.
- vpi-python3.9-2.3.9-aarch64-l4t.deb: Cached.
- vpi-lib-2.3.9-aarch64-l4t.deb: Cached.
- libnvidia-container0_0.11.0+jetpack_arm64.deb: Cached.
- libnvidia-container-tools_1.10.0-1_arm64.deb: Cached.
- libnvidia-container1_1.10.0-1_arm64.deb: Cached.
- nvidia-container-runtime_3.9.0-1_all.deb: Cached.
- nvidia-docker2_2.11.0-1_all.deb: Cached.
- nvidia-container-toolkit_1.11.0_rc.1-1_arm64.deb: Cached.
- nvidia-l4t-jetson-multimedia-api_35.4.1-20230801124926_arm64.deb: Cached.
- nv-tensorrt-local-repo-l4t-8.5.2-cuda-11.4_1.0-1_arm64.deb: Cached.
- cudnn-local-tegra-repo-ubuntu2004-8.6.0.166_1.0-1_arm64.deb: Cached.
- OpenCV-4.5.4-8-g3e4c170df4-aarch64-licenses.deb: Cached.
- OpenCV-4.5.4-8-g3e4c170df4-aarch64-dev.deb: Cached.
- OpenCV-4.5.4-8-g3e4c170df4-aarch64-samples.deb: Cached.
- OpenCV-4.5.4-8-g3e4c170df4-aarch64-python.deb: Cached.
- vpi-dev-2.3.9-aarch64-l4t.deb: Cached.
- vpi-samples-2.3.9-aarch64-l4t.deb: Cached.
- vpi-demos-2.3.9-aarch64-l4t.deb: Cached.
- cuda-repo-l4t-11-4-local_11.4.19-1_arm64.deb: Cached.
- Jetson_Linux_R35.4.1_aarch64.tbz2: Cached.
- Tegra_Linux_Sample-Root-Filesystem_R35.4.1_aarch64.tbz2: Cached.
- NVIDIA_Nsight_Perf_SDK_2023.3.1.tar.gz: Cached.
- cuda-repo-ubuntu2004-11-4-local_11.4.19-470.154-1_amd64.deb: Cached.
- NVIDIA_Nsight_Perf_SDK_Docs_2023.3.1.zip: Cached.

*** End of Download Summary ***

17:40:09.552 - info: 
*** Install summary of 25 components ***

        Install Jetson - JetPack 5.1.2 Linux for Jetson AGX Orin modules - finished failed
		Failure root cause: Failed Component ID: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS#35.4. Error Code: 1011. Error: Failed to execute commands with GenericInstaller.

        Install started on: 17:35:03 GMT+0100 (Central European Standard Time).
        Install ended on: 17:40:09 GMT+0100 (Central European Standard Time).
        Install duration:  00:05:05.
        Install idle time: 0.000s.
        Real install duration (duration - idle time): 00:05:05.
        Total 25 components: 0 installed, 10 up-to-date, 1 failed, 0 skipped, 14 dependency failures.
        Install details:
- NV_CUDA_HOST_COMP@host: Up-to-date.
- NV_CUDA_CROSS_HOST_COMP@host: Up-to-date.
- NV_NVSCI_HOST_COMP@host: Up-to-date.
- NV_VPI_HOST_COMP@host: Up-to-date.
- NV_L4T_NVIDIA_NSIGHT_SYSTEMS_HOST_COMP@host: Up-to-date.
- NV_L4T_NVIDIA_NSIGHT_GRAPHICS_HOST_COMP@host: Up-to-date.
- NV_NVIDIA_NSIGHT_COMPUTE_HOST_COMP@host: Up-to-date.
- NV_L4T_NVIDIA_NSIGHT_PERFSDK_HOST_COMP@host: Up-to-date.
- NV_L4T_DRIVERS_COMP@JETSON_AGX_ORIN_TARGETS: Up-to-date.
- NV_L4T_FILE_SYSTEM_AND_OS_COMP@JETSON_AGX_ORIN_TARGETS: Up-to-date.
- NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Failed - 00:05:05 -start: 17:35:03 GMT+0100 (Central European Standard Time) - end: 17:40:09 GMT+0100 (Central European Standard Time).
- NV_DATETIME_SETUP_TARGET_COMP@JETSON_AGX_ORIN_TARGETS: DependencyFailure.
- NV_L4T_CUDA_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: DependencyFailure.
- NV_L4T_CUDNN_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: DependencyFailure.
- NV_L4T_TENSORRT_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: DependencyFailure.
- NV_L4T_OPENCV_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: DependencyFailure.
- NV_L4T_CUPVA_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: DependencyFailure.
- NV_L4T_VPI_RUNTIME_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: DependencyFailure.
- NV_L4T_DOCKER_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: DependencyFailure.
- NV_L4T_MULTIMEDIA_API_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: DependencyFailure.
- NV_L4T_CUDA_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: DependencyFailure.
- NV_L4T_CUDNN_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: DependencyFailure.
- NV_L4T_TENSORRT_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: DependencyFailure.
- NV_L4T_OPENCV_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: DependencyFailure.
- NV_L4T_VPI_TARGET_POST_INSTALL_COMP@JETSON_AGX_ORIN_TARGETS: DependencyFailure.

*** End of Install Summary ***

17:40:09.554 - info: Event: Session ended - failure
17:40:09.554 - info: Setting SessionInitialStatus with value:  Download: 100. Install: 80
17:40:09.554 - error: Trying to set a custom dimension: SessionInitialStatus - cd12, Download: 100. Install: 80. Visitor is not initialized.
17:40:09.554 - info: Setting custom dimension value SessionInitialStatus - Download: 100. Install: 80
17:40:09.555 - info: 	 target duration: all (end time - start time): 00:05:05. duration summary: 00:05:05
17:40:09.556 - error: completeSetup failed. Error: 
17:40:09.556 - error: install process failure 
17:40:09.556 - info: 

********************** Completed install for bundle JetPack 5.1.2 Linux for Jetson AGX Orin modules time: 21-Feb-2024-17.40:09 is succeeded: false **********************
17:40:09.606 - info: Engine.install is complete.
17:41:41.795 - info: exporting logs from /home/rick/.nvsdkm

Check on the UART console to see if /dev/sda is really detected by the device.

Hi,

I just tried the setup of flashing a USB drive to be used for Orin Nano 4GB with 36.2, and L4TLauncher worked fine.

sudo BOARDID=3767 BOARDSKU=0004 FAB=300 ./tools/kernel_flash/l4t_initrd_flash.sh -c tools/kernel_flash/flash_l4t_external.xml --external-device sda1 --direct sdd jetson-orin-nano-devkit internal

I have been using internal for the last parameter, but I’m not sure if that’s making any impact as probably ruining extlinux.conf, and you can give it a try.

Initrd flash depends on --external-device options and the last parameter <rootdev>
to generate the correct images. The following combinations are supported:
+-------------------+-----------------+-------------------------------------------------------+
| --external-device |       <rootdev> | Results                                               |
+-------------------+-----------------+-------------------------------------------------------+
| nvme*n*p* / sda*  |        internal | External device contains full root filesystem with    |
|                   |                 | kernel commandline: rootfs=PARTUUID=<external-uuid>   |
|                   |                 |                                                       |
|                   |                 | Internal device contains full root filesystem with    |
|                   |                 | kernel commandline: rootfs=PARTUUID=<internal-uuid>   |
+-------------------+-----------------+-------------------------------------------------------+
| nvme*n*p* / sda*  | nvme0n*p* / sd* | External device  contains full root filesystem with   |
|                   |                 | with kernel commandline rootfs=/dev/nvme0n1p1         |
|                   |                 |                                                       |
|                   |                 | Internal device contains minimal filesystem with     |
|                   |                 | kernel command line rootfs=/dev/nvme0n1p1             |
+-------------------+-----------------+-------------------------------------------------------+
| nvme*n*p* / sda*  |       mmcblk0p1 | External device  contains full root filesystem with   |
|                   |                 | with kernel commandline rootfs=/dev/nvme0n1p1         |
|                   |                 |                                                       |
|                   |                 | Internal device contains full filesystem with     |
|                   |                 | kernel command line rootfs=/dev/mmcblk0p1             |
+-------------------+-----------------+-------------------------------------------------------+
| nvme*n*p* / sda*  |        external | External device contains full root filesystem with    |
|                   |                 | kernel commandline: rootfs=PARTUUID=<external-uuid>   |
|                   |                 |                                                       |
|                   |                 | Internal device contains minimal root filesystem with |
|                   |                 | kernel commandline: rootfs=PARTUUID=<external-uuid>   |
+-------------------+-----------------+-------------------------------------------------------+

Just a reminder that, as you are not flashing the QSPI memory on the module, this part of the command is not needed:

-p --no-systemimg -c bootloader/generic/cfg/flash_t234_qspi.xml

It is as we can see in the SDK logs :

17:40:09.386 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Writing primary_gpt partition with gpt_primary_9_0.bin
17:40:09.393 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Offset is not aligned to K Bytes, no optimization is applied
17:40:09.393 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: dd if=/mnt/external/gpt_primary_9_0.bin of=/dev/sda bs=1 skip=0  seek=512 count=16896
17:40:09.410 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: 16896+0 records in
17:40:09.410 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: 16896+0 records out
17:40:09.410 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: 16896 bytes (17 kB, 16 KiB) copied, 0.0190106 s, 889 kB/s
17:40:09.421 - info: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Writing primary_gpt partition done
17:40:09.439 - error: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS: Error: Invalid argument during seek for read on /dev/sda
17:40:09.439 - info: Event: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_ORIN_TARGETS - error is: Error: Invalid argument during seek for read on /dev/sda

UART log :

[    6.841593] usb 2-3.2: new SuperSpeed Gen 1 USB device number 3 using tegra-xusb
[    6.868081] usb 2-3.2: New USB device found, idVendor=0781, idProduct=55a9, bcdDevice= 1.00
[    6.868320] usb 2-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    6.868547] usb 2-3.2: Product:  SanDisk 3.2Gen1
[    6.868679] usb 2-3.2: Manufacturer:  USB
[    6.868814] usb 2-3.2: SerialNumber: 040128578eb15c1849ac99a2d6e8e5127c4f30a631d07de4f7a46a9afe91322d459d0000000000000000000090961c3c00956e18a9558107842eb900
[    6.874363] usb-storage 2-3.2:1.0: USB Mass Storage device detected
[    6.875433] scsi host0: usb-storage 2-3.2:1.0
...
[    7.921100] sd 0:0:0:0: [sda] Attached SCSI removable disk

But there is a seek error (I only get this with JP 5.1.2) it is the same 64GB USB key which I can flash with JP6 from the SDK without issues (same setup, just version of JP is different).

I tried with your command (changed BOARDSKU), this is basically the command I used in the beginning. (I started adding options that I saw in the SDK log to try…)

sudo BOARDID=3767 BOARDSKU=0003 FAB=300 ./tools/kernel_flash/l4t_initrd_flash.sh -c tools/kernel_flash/flash_l4t_external.xml --external-device sda1 --direct sdc jetson-orin-nano-devkit internal

But still the same behaviour.

Since I have the same error both on the Orin Nano and AGX Orin I wonder it there is some problem with how the host builds L4TLauncher or some other component. The commands from the SDK log are more numerous than only the l4t_initrd_flash.sh script. I wonder if maybe the SDK uses some prebuilt components or if the build of components differs between SDK and script. It might be that some tool on my host causes an issue (Ubuntu 20.04.3 LTS host).

I installed everything afresh on another host with Ubuntu 22.04 and will check if there is a difference.

My test was done on 20.04, and I don’t think the Ubuntu version of host PC makes any difference.

I agree the Ubuntu version should not change anything. Maybe on my host some of my executables in my path may be different versions (as I have multiple toolchains, tools installed for different boards etc.). It might be that an executable used in the script (e.g., the ones installed by tools/l4t_flash_prerequisites.sh is actually another version because of my path env.). This might be the problem as I run the script from a bash terminal, which will source my .bashrc config script, which probably does not get sourced by the SDK Manager when the SDK Manager runs scripts.

Anyhow, I will try flashing from a freshly installed Ubuntu 22.04 so that there will be no conflicts or other versions of tools installed.

I will also try with bash -norc on my host to see if it makes a difference.

I flashed the USB key from script for the AGX Orin, same command, but on the freshly installed 22.04 host.

sudo BOARDID=3701 BOARDSKU=0000 FAB=TS4 ./tools/kernel_flash/l4t_initrd_flash.sh -c tools/kernel_flash/flash_l4t_external.xml --external-device sda1 --direct sda jetson-agx-orin-devkit external

I could boot the AGX Orin from the USB key without issues !

I still get the same error, so it seems there is something wrong with my 20.04 host computer, I don’t know what or why, at least with the new host it works (I used the exact same installation of the SDK Manager, and exact same commands on both hosts…).

Thanks for all the support.

1 Like

I can confirm that everything works fine on my freshly installed Ubuntu 22.04 host.

I could flash USB drives from the host with the above mentioned commands. It works for both my platforms, the Jetson Orin Nano and the Jetson AGX Orin.

Solution : In doubt try from a freshly installed host, Then for building the kernel and RootFS start from the directory generated by the SDK Manager instead of manually downloading all drivers, sample RootFS, and BSP sources.

I also managed to compile my own kernel from source, as well as the linux-next kernel.

Thanks to Dave for his patience and fantastic support.

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