I am having difficulty in flashing the Jetson AGX Xavier using SDK Manager 1.5.1.7814 on a Ubuntu 18.04 host. I get the following error:
target_image: invoke-rc.d: could not determine current runlevel
The output from the terminal is:
14:26:16 INFO: File System and OS - target_image: Processing triggers for libc-bin (2.27-3ubuntu1.3) ...
14:26:17 INFO: File System and OS - target_image: Removing QEMU binary from rootfs
14:26:17 INFO: File System and OS - target_image: Removing stashed Debian packages from rootfs
14:26:17 INFO: File System and OS - target_image: Disable the ondemand service by changing the runlevels to 'K'
14:26:17 INFO: File System and OS - target_image: Success!
14:26:17 INFO: File System and OS - target_image: /media/xavier/nvidia_image/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/rootfs /media/xavier/nvidia_image/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra
14:26:18 INFO: File System and OS - target_image: (Reading database ... 159062 files and directories currently installed.)
14:26:18 INFO: File System and OS - target_image: Removing dnsmasq (2.79-1ubuntu0.2) ...
14:26:18 ERROR: File System and OS - target_image: invoke-rc.d: could not determine current runlevel
14:26:19 INFO: File System and OS - target_image: * Stopping DNS forwarder and DHCP server dnsmasq
14:26:19 INFO: File System and OS - target_image: * (not running)
14:26:20 INFO: File System and OS - target_image: Purging configuration files for dnsmasq (2.79-1ubuntu0.2) ...
14:26:22 INFO: File System and OS - target_image: Processing triggers for systemd (237-3ubuntu10.43) ...
14:26:22 INFO: File System and OS - target_image: /media/xavier/nvidia_image/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra
14:26:22 INFO: File System and OS - target_image: command finished successfully
14:26:22 SUMMARY: File System and OS - target_image: Install completed successfully.
14:26:22 INFO: Start to check if only one device connected...
14:26:22 DEBUG: running command < true >
14:26:22 INFO: command finished successfully
14:26:22 DEBUG: running command < [ `lsusb | grep -c "0955:"` -ne 1 ] >
14:26:23 DEBUG: command terminated with error
14:26:23 INFO: Only one NVIDIA device detected, as expected.
14:26:23 INFO: Start to check if in device recovery mode...
14:26:23 DEBUG: running command < true >
14:26:23 INFO: command finished successfully
14:26:23 DEBUG: running command < lsusb | grep 0955:7020 >
14:26:23 DEBUG: command terminated with error
14:26:23 INFO: Jetson device is in recovery mode.
14:26:23 INFO: Start to check if the right device connected...
14:26:23 DEBUG: running command < true >
14:26:23 INFO: command finished successfully
14:26:23 DEBUG: running command < lsusb | grep -E '0955:7019|0955:7819' >
14:26:23 INFO: Bus 001 Device 005: ID 0955:7019 NVidia Corp.
14:26:23 INFO: command finished successfully
14:26:23 INFO: Verified, 0955:7019 or 0955:7819 detected in recovery mode.
14:26:24 DEBUG: running command < true >
14:26:24 INFO: command finished successfully
14:26:24 DEBUG: Device Mode Host Setup in Flash - flash: using adapter to install NV_DEVICE_MODE_SETUP_IMAGE_COMP@JETSON_AGX_XAVIER_TARGETS to /media/xavier/nvidia_image/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER_TARGETS
14:26:24 INFO: Device Mode Host Setup in Flash - flash: exec_command: /tmp/tmp_NV_DEVICE_MODE_SETUP_IMAGE_COMP.sh
14:26:24 INFO: Device Mode Host Setup in Flash - flash: Found route default wlp59s0, setting up device mode
14:26:24 INFO: Device Mode Host Setup in Flash - flash: net.ipv4.ip_forward = 1
14:26:24 INFO: Device Mode Host Setup in Flash - flash: command finished successfully
14:26:24 SUMMARY: Device Mode Host Setup in Flash - flash: Install completed successfully.
14:26:24 DEBUG: running command < true >
14:26:24 INFO: command finished successfully
14:26:24 DEBUG: Flash Jetson AGX Xavier 16GB/32GB - flash: using adapter to install NV_L4T_FLASH_XAVIER_WITH_OS_IMAGE_COMP@JETSON_AGX_XAVIER_TARGETS to /media/xavier/nvidia_image/JetPack_4.5.1_Linux_JETSON_AGX_XAVIER_TARGETS
14:26:24 INFO: Flash Jetson AGX Xavier 16GB/32GB - flash: *** Checking ONLINE mode ... OK.
14:26:24 INFO: Flash Jetson AGX Xavier 16GB/32GB - flash: *** Checking target board connection ... 1 connections found.
14:26:30 INFO: Flash Jetson AGX Xavier 16GB/32GB - flash: Put the target board in RCM mode and retry.
14:26:30 ERROR: Flash Jetson AGX Xavier 16GB/32GB - flash: command terminated with error
14:26:32 SUMMARY: NVIDIA Nsight Systems - target: Depends on failed component
Would be very grateful if you could advise on how to fix this.
Thanks,
Naveen