Hi, I have just flashed 40 nx xavier devices, where 39 of the 40 was flashed succesfully, but the last one is not flashing correctly. When running the flashing process in jetpack 5.1 (as docker), it terminates with the following errors:
debug: running command < true >
info: exec_command: true
error: shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
info: command finished successfully
debug: using adapter to install NV_L4T_DRIVERS@JETSON_XAVIER_NX_TARGETS to /home/nvidia/nvidia/nvidia_sdk/JetPack_5.1_Linux_JETSON_XAVIER_NX_TARGETS/
info: Found file /home/nvidia/Downloads/nvidia/sdkm_downloads/nv-tensorrt-local-repo-l4t-8.5.2-cuda-11.4_1.0-1_arm64.deb with correct checksum, skip downloading.
info: [host] [ Disk Avail on Partition overlay: 185.12 GB ]
info: Installing component ‘Drivers for Jetson’ (NV_L4T_DRIVERS)
info: NV_L4T_DRIVERS include 2 package
info: change working directory to /home/nvidia/nvidia/nvidia_sdk/JetPack_5.1_Linux_JETSON_XAVIER_NX_TARGETS
info: [ Package PreInstall Started ]
info: current working directory is /home/nvidia/nvidia/nvidia_sdk/JetPack_5.1_Linux_JETSON_XAVIER_NX_TARGETS
info: exec_command [host]:
info: **********************
info: sudo rm -rf /home/nvidia/nvidia/nvidia_sdk/JetPack_5.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/
info: **********************
info: exec_command: /home/nvidia/.nvsdkm/replays/scripts/JetPack_5.1_Linux/NV_L4T_DRIVERS.sh
info: [ Package PreInstall Finished Successfully ]
info: [ Package Install Started ]
info: current working directory is /home/nvidia/nvidia/nvidia_sdk/JetPack_5.1_Linux_JETSON_XAVIER_NX_TARGETS
info: exec_command [host]:
info: **********************
info: tar xf /home/nvidia/Downloads/nvidia/sdkm_downloads/Jetson_Linux_R35.2.1_aarch64.tbz2
info: **********************
info: exec_command: /home/nvidia/.nvsdkm/replays/scripts/JetPack_5.1_Linux/NV_L4T_DRIVERS.sh
info: Found file /home/nvidia/Downloads/nvidia/sdkm_downloads/cudnn-local-tegra-repo-ubuntu2004-8.6.0.166_1.0-1_arm64.deb with correct checksum, skip downloading.
info: Found file /home/nvidia/Downloads/nvidia/sdkm_downloads/Tegra_Linux_Sample-Root-Filesystem_R35.2.1_aarch64.tbz2 with correct checksum, skip downloading.
info: Found file /home/nvidia/Downloads/nvidia/sdkm_downloads/cuda-repo-l4t-11-4-local_11.4.19-1_arm64.deb with correct checksum, skip downloading.
info: [ Package Install Finished Successfully ]
info: change working directory to /home/nvidia/nvidia/nvidia_sdk/JetPack_5.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/
info: [ Package Install Started ]
info: current working directory is /home/nvidia/nvidia/nvidia_sdk/JetPack_5.1_Linux_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra
info: exec_command [host]:
info: **********************
info: unzip -o /home/nvidia/Downloads/nvidia/sdkm_downloads/nvsdkmanager_flash.zip
info: **********************
info: exec_command: /home/nvidia/.nvsdkm/replays/scripts/JetPack_5.1_Linux/NV_L4T_DRIVERS.sh
error: /home/nvidia/.nvsdkm/replays/scripts/JetPack_5.1_Linux/NV_L4T_DRIVERS.sh: line 3: unzip: command not found
error: [exec_command]: /bin/bash -c /home/nvidia/.nvsdkm/replays/scripts/JetPack_5.1_Linux/NV_L4T_DRIVERS.sh; [error]: /home/nvidia/.nv sdkm/replays/scripts/JetPack_5.1_Linux/NV_L4T_DRIVERS.sh: line 3: unzip: command not found
info: [ Package Install Finished with Error ]
info: [host] [ 690.78 MB used. Disk Avail on Partition overlay: 184.44 GB ]
info: [ NV_L4T_DRIVERS Install took 38s ]
error: command error code: 11
error: command terminated with error
info: Installation failed.
info: Depends on failed component
info: Depends on failed component
info: Depends on failed component
info: Depends on failed component
info: Depends on failed component
info: Depends on failed component
info: Depends on failed component
info: Depends on failed component
info: Depends on failed component
info: Depends on failed component
info: Depends on failed component
Are you using the devkit or custom board for Xavier NX?
Have you also tried with the latest JP5.1.4(R35.6.0)?
error: /home/nvidia/.nvsdkm/replays/scripts/JetPack_5.1_Linux/NV_L4T_DRIVERS.sh: line 3: unzip: command not found
error: [exec_command]: /bin/bash -c /home/nvidia/.nvsdkm/replays/scripts/JetPack_5.1_Linux/NV_L4T_DRIVERS.sh; [error]: /home/nvidia/.nv sdkm/replays/scripts/JetPack_5.1_Linux/NV_L4T_DRIVERS.sh: line 3: unzip: command not found
info: [ Package Install Finished with Error ]
From the error you shared, it seems there’s the issue from host rather than flashing.
Please share the full flash log as file here for further check.
When I’m trying with latest JP5.1.4(R25.6.0), it continues further, but here it runs into problems when trying to locate the device. When checking with lsusb command, it appears as NVIDIA Corp. APX. (Ihave followed the instructions in order to boot in force flash mode)
How can I get the full flash log, when using the docker version of the sdk manager? (the --export-response-file argument does not do it)
SDK manager may not work for your custom carrier board since it use the default official BSP pakcage.
For the custom carrier board, please request the custom BSP package from your vendor first and use command to flash your board.
Do you confirm that it is an NVIDIA official Xavier NX devkit rather than custom carrier board from 3-rd party?
If you are using the devkit, please use SDK manager to flash the latest JP5.1.4(R35.6.0) and check if it could be flashed.
And share the full flash log as file here if you still have flash issue.
No, I have tried to use the docker version, since I am running ubuntu 22.04, but in order to get the right jetpack version, I need ubuntu 18.04 or 20.04, which I believe the docker versions is for?
I tried some more and eventually got it to flash from ubuntu 18.04 with Jetpack 5.1.4.
But I still can’t get it to flash the way, that I need to in my use case.
I have tried uninstalling the version of Jetpack, that I installed with SDK manager and then I tried to flash the way, I need to do in my use case (and as I have done for several others succesfully).
When reading the serial connecter, while flashing, I now get the error:
Following your documentation, you need either ubuntu 18.04 or 20.04 in order to flash JP5 (look at the table under the headline “Host Operating System Compatibility Matrix” at https://developer.nvidia.com/sdk-manager)
If I try to flash with SDK manager from ubuntu 22.04, I am only able to choose JP6 (because of this problem you have also made three docker-version of SDK Manager available, when looking at the download site).