JetPack 4.5.1 Installation Failed: "Failed to execute commands with Generic Installer"

SDKM_logs_JetPack_4.5.1_Linux_for_Jetson_Xavier_NX_[developer_kit_version]_2021-06-03_12-18-01.zip (283.1 KB)

Hi all, very new and un-knowledgeable Jetson user here (and just plain new Linux user, for that matter). I am trying to install the OS onto my Jetson Xavier NX Developer Kit using the SDK Manager, however as it’s flashing the OS onto the Jetson, the installation fails and it gives me the following error “Failed to execute commands with GenericInstaller.” (up to timestamp 12:10:XX in the log). Out of naive optimism I just clicked the retry installation button and after a while it gave me the same error (timestamp 12:18:XX and after). I’ve attached the logs to this post as well. I noticed it had some other errors earlier in the log as well, but I assumed those were because I did not attach the Jetson to the host computer until the OS flashing step where the popup tells you to attach it. Also, not sure if it matters with the error but I powered the Jetson on in USB Recovery mode manually by following the instructions and connecting pins 9 and 10 with a jumper wire upon powering it on.

One last thing to note, my coworker had previously attempted to flash the OS onto the Jetson in headless mode and failed. I’m worried that that might have affected this current attempt at flashing the OS using this standard non-headless method? In any case, I hope the logs provide all the information needed. Thanks so much in advance!

hello santoso.matthew.1,

if this Xavier NX DevKit ever flashed before?
according to the logs, the system image has already created and install to your local host machine.
for example,

/home/coalesenz/Downloads/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/flash.sh  jetson-xavier-nx-devkit mmcblk0p1
###############################################################################
# L4T BSP Information:
# R32 , REVISION: 5.1
###############################################################################
# Target Board Information:
# Name: jetson-xavier-nx-devkit, Board Family: t186ref, SoC: Tegra 194, 
# OpMode: production, Boot Authentication: NS, 
# Disk encryption: disabled ,
###############################################################################
...
Making system.img... 
 populating rootfs from /home/coalesenz/Downloads/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/rootfs ... done.
 populating /boot/extlinux/extlinux.conf ... done.
 	Sync'ing system.img ... done.
 	Converting RAW image to Sparse image... done.
 system.img built successfully. 

however, here’s error to flash the board.
please check developer guide, To determine whether the developer kit is in Force Recovery mode before flashing the board.

...
[  11.6936 ] 
[  11.6939 ] Sending BCTs
[  11.7010 ] tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt --download bct_mem mem_rcm_sigheader.bct.encrypt
[  11.7064 ] Applet version 01.00.0000
[  11.7261 ] Sending bct_bootrom
[  11.7273 ] [...] 100%
[  11.7318 ] Sending bct_mb1
[  11.7342 ] [...] 100%
[  11.7439 ] Sending bct_mem
[  11.7870 ] [...] 100%
[  11.9076 ] 
Error: Return value 8
Command tegrarcm_v2 --download bct_bootrom br_bct_BR.bct --download bct_mb1 mb1_bct_MB1_sigheader.bct.encrypt --download bct_mem mem_rcm_sigheader.bct.encrypt
Failed flashing t186ref.
*** ERROR: flashing failed.
[ Component Install Finished with Error ]
[host] [ 9.83 GB used. Disk Avail: 179.69 GB ]
[ NV_L4T_FLASH_XAVIER_NX_DEVKIT_WITH_OS_IMAGE_COMP Install took 1m27s ]
error: NV_L4T_FLASH_XAVIER_NX_DEVKIT_WITH_OS_IMAGE_COMP@JETSON_XAVIER_NX_DEVKIT: [error]: : [exec_command]: /bin/bash -c /tmp/tmp_NV_L4T_FLASH_XAVIER_NX_DEVKIT_WITH_OS_IMAGE_COMP.sh; [error]: 20+0 records in
info: Event: NV_L4T_FLASH_XAVIER_NX_DEVKIT_WITH_OS_IMAGE_COMP@JETSON_XAVIER_NX_DEVKIT - error is: [error]: : [exec_command]: /bin/bash -c /tmp/tmp_NV_L4T_FLASH_XAVIER_NX_DEVKIT_WITH_OS_IMAGE_COMP.sh; [error]: 20+0 records in

since you’re already install the JetPack release.
you could see the image as following,
i.e. /home/coalesenz/Downloads/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_XAVIER_NX_DEVKIT/Linux_for_Tegra/
please perform the flash.sh to flash the board again, here’s documentation for your reference, Basic Flash Script Usage.
thanks