Error Flashing Drive AGX

Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.6 and DriveWorks 4.0
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other

Target Operating System
Linux
QNX
other

Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other

SDK Manager Version
1.7.1.8928
other

Host Machine Version
native Ubuntu 18.04
other

Hello,
Flashing AGX failed with lots of python errors.
What’s wrong ?
Regards,
Hiro.


sdkm.log (11.2 MB)

Dear @hirofumi_momose,
Is the host has enough space? Could you clean up to get some more space before trying to flash. I notice No space left error in the log

20:19:31.170 - error: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX: --- Logging error ---
20:19:31.171 - info: Event: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX - error is: --- Logging error ---
20:19:31.172 - error: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX: Traceback (most recent call last):
20:19:31.172 - info: Event: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX - error is: Traceback (most recent call last):
20:19:31.172 - error: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX: File "logging/__init__.py", line 984, in emit
20:19:31.172 - info: Event: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX - error is: File "logging/__init__.py", line 984, in emit
20:19:31.173 - error: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX: File "logging/__init__.py", line 964, in flush
20:19:31.173 - info: Event: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX - error is: File "logging/__init__.py", line 964, in flush
20:19:31.173 - error: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX: OSError: [Errno 28] No space left on device
20:19:31.173 - info: Event: NV_FLASH_XAVIER_PDKFLASH_PARALLEL_COMP@DDPX - error is: OSError: [Errno 28] No space left on device

Besides that, could you attach the error as text instead of image to be able to search by the community

Hello, SivaRamaKrishnaNV
Thank you quick reply.

Umm. Host machine has enough space to do the job.
Following is df -k result.
/dev/sda1 holds install image (downloaded prior to)
/dev/sda2 is working directory (specified for sdkmanager)

but /dev/loop is 100%.
I am not sure what these are.

Regards,
Hiro.

momose@ThinkPadX1:~$ df -k
Filesystem 1K-blocks Used Available Use% Mounted on
udev 16233304 0 16233304 0% /dev
tmpfs 3251648 2424 3249224 1% /run
/dev/nvme1n1p5 40518124 10149584 28280604 27% /
tmpfs 16258232 292496 15965736 2% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 16258232 0 16258232 0% /sys/fs/cgroup
/dev/loop1 44544 44544 0 100% /snap/snapd/14549
/dev/loop2 66816 66816 0 100% /snap/gtk-common-themes/1519
/dev/loop4 2560 2560 0 100% /snap/gnome-calculator/884
/dev/loop3 63488 63488 0 100% /snap/core20/1328
/dev/loop0 768 768 0 100% /snap/gnome-characters/726
/dev/loop5 2688 2688 0 100% /snap/gnome-calculator/920
/dev/loop7 640 640 0 100% /snap/gnome-logs/106
/dev/nvme0n1p1 244988 4529 240460 2% /boot/efi
/dev/loop6 254848 254848 0 100% /snap/gnome-3-38-2004/99
/dev/loop8 247168 247168 0 100% /snap/gnome-3-38-2004/70
/dev/loop10 224256 224256 0 100% /snap/gnome-3-34-1804/72
/dev/loop9 56960 56960 0 100% /snap/core18/2284
/dev/loop11 33152 33152 0 100% /snap/snapd/12883
/dev/loop12 128 128 0 100% /snap/bare/5
/dev/loop13 768 768 0 100% /snap/gnome-characters/741
/dev/loop15 63360 63360 0 100% /snap/core20/1081
/dev/loop14 2688 2688 0 100% /snap/gnome-system-monitor/174
/dev/loop16 224256 224256 0 100% /snap/gnome-3-34-1804/77
/dev/loop17 66688 66688 0 100% /snap/gtk-common-themes/1515
/dev/loop18 56832 56832 0 100% /snap/core18/2128
/dev/loop19 2560 2560 0 100% /snap/gnome-system-monitor/163
tmpfs 3251644 16 3251628 1% /run/user/121
tmpfs 3251644 36 3251608 1% /run/user/1000
/dev/sda2 103479512 47349252 50830688 49% /media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129
/dev/sda1 832027960 741297720 90730240 90% /media/momose/SSD_1T

Dear @hirofumi_momose,
is /dev/sda2 partition is etx4? I notice some flashing earlier if the partition is not ext4. Could you confirm that? Also, Could you check installing at $HOME folder?

Hi,
sda2 (target image folder) is ext4,
sda1 (downloaded folder) is ntfs.
I use external ssd because host internal is too small.
Thank you.

Hello,
I can not find a log file containing same message with the screen.
Instead re-tried today and copy and paste message below .
(entire text cant be copied , sorry)

10:32:50 INFO: Flash Xavier A+B in parallel - flash: exec_command: [ -e /dev/ttyUSB3 ] || echo Failed to flash device: detected no board connected to host with USB cable. >&2
10:32:50 INFO: Flash Xavier A+B in parallel - flash: '` dialout
10:32:50 INFO: Flash Xavier A+B in parallel - flash: exec_command: cd pdkinstaller && ./pdkinstaller --installtype bindflash --boardtype ES --pdkinstalledpath /media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS --configjson ./manifests/install_pdk_config/av_ddp_pegasus_hyp71_linux_tegraAB_install_config.json --consoleout enable
10:34:50 INFO: Flash Xavier A+B in parallel - flash: Password for momose:
10:34:50 INFO: Flash Xavier A+B in parallel - flash: Aurix port /dev/ttyUSB3 found. Fetching board revision from InfoROM …
10:34:59 INFO: Flash Xavier A+B in parallel - flash: BOARD SKU : 940-63550-2000-100
10:34:59 INFO: Flash Xavier A+B in parallel - flash: Executing bind cmd make -f Makefile.bind PCT=linux BOARD=e3550b03-t194a PCT_VARIANT=dev_nonrt
10:35:03 INFO: Flash Xavier A+B in parallel - flash: Executing bind cmd make -f Makefile.bind PCT=linux BOARD=e3550b03-t194b PCT_VARIANT=dev_nonrt
10:35:06 INFO: Flash Xavier A+B in parallel - flash: Bind partitions done!
10:35:06 INFO: Flash Xavier A+B in parallel - flash: Processor found in ttyUSB3
10:35:14 INFO: Flash Xavier A+B in parallel - flash: BOARD SKU : 940-63550-2000-100
10:35:14 INFO: Flash Xavier A+B in parallel - flash: Running flash command: sudo -E /media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-foundation//tools/host/flashtools/bootburn_t19x/bootburn.sh -b e3550b03-t194 -B qspi -x /dev/ttyUSB3 --updtcfga gos1-fs:dirname:/media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux/targetfs_a --updtcfgb gos1-fs:dirname:/media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-linux/targetfs_b -w
10:35:43 INFO: Flash Xavier A+B in parallel - flash:
10:35:43 INFO: Flash Xavier A+B in parallel - flash:
10:35:43 INFO: Flash Xavier A+B in parallel - flash: ‘/media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/…/…/…/…//firmwares/bin/t19x/mb1/mb1_safe_t194_prod.bin’ → ‘/media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/_temp_dump/_temp_dump_Ddxi72S9de/rcm-flash/safe_mb1_recovery.bin’
10:35:43 INFO: Flash Xavier A+B in parallel - flash:
10:35:43 INFO: Flash Xavier A+B in parallel - flash: ==> /media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/_temp_dump/TegraBLog_f3drupjnkJ.txt <==
10:35:44 INFO: Flash Xavier A+B in parallel - flash: /media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/_temp_dump/_temp_dump_Ddxi72S9de/rcm-flash/applet /media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/_temp_dump/_temp_dump_Ddxi72S9de/rcm-flash /media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x /media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/pdkinstaller
10:35:45 INFO: Flash Xavier A+B in parallel - flash:
10:35:45 INFO: Flash Xavier A+B in parallel - flash:
10:35:45 INFO: Flash Xavier A+B in parallel - flash: ==> /media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/_temp_dump/TegraBLog_f3drupjnkJ.txt <==
10:35:45 INFO: Flash Xavier A+B in parallel - flash: ==> /media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/_temp_dump/TegraALog_wHPfbEUIGN.txt <==
10:35:45 INFO: Flash Xavier A+B in parallel - flash: ‘/media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/…/…/…/…//tools/host/flashtools/flash/t19x/rcmfirmware/tegra194-a02-bpmp-e3550-0001-b01-B.dtb’ → ‘/media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/_temp_dump/_temp_dump_Ddxi72S9de/rcm-flash/bpmp.dtb’
10:35:48 INFO: Flash Xavier A+B in parallel - flash: Generating MB1_BCT File
10:35:48 INFO: Flash Xavier A+B in parallel - flash:
10:35:48 INFO: Flash Xavier A+B in parallel - flash: f_FlashingMB2Applet = /media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/…/…/…/…//tools/host/flashtools/flash/t19x/rcmbl/nvtboot_applet.bin
10:35:54 INFO: Flash Xavier A+B in parallel - flash: ==> /media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/_temp_dump/TegraBLog_f3drupjnkJ.txt <==
10:35:54 INFO: Flash Xavier A+B in parallel - flash: [… ] 032% [… ] 035%
10:35:54 INFO: Flash Xavier A+B in parallel - flash: ==> /media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/_temp_dump/TegraALog_wHPfbEUIGN.txt <==
10:35:56 INFO: Flash Xavier A+B in parallel - flash: [… ] 037%
10:35:56 INFO: Flash Xavier A+B in parallel - flash: [… ] 053%
10:35:56 INFO: Flash Xavier A+B in parallel - flash: ==> /media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/_temp_dump/TegraBLog_f3drupjnkJ.txt <==
10:35:57 INFO: Flash Xavier A+B in parallel - flash: ‘/media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/…/…/…/…//firmwares/bin/t19x/mts/mce_c10_prod_grp.bin’ → ‘/media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/_temp_dump/_temp_dump_Ddxi72S9de/flash-images/mce_c10_grp.bin’
10:35:57 INFO: Flash Xavier A+B in parallel - flash:
10:35:58 INFO: Flash Xavier A+B in parallel - flash: ==> /media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/_temp_dump/TegraALog_wHPfbEUIGN.txt <==
10:37:58 INFO: Flash Xavier A+B in parallel - flash: [… ] 081%
10:49:46 INFO: Flash Xavier A+B in parallel - flash: ‘/media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/…/…/…/…//firmwares/bin/t19x/mb1/mb1_safe_t194_prod.bin’ → ‘/media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/_temp_dump/_temp_dump_pw7Vn1K3Vj/flash-images/safe_mb1.bin’
10:49:46 INFO: Flash Xavier A+B in parallel - flash:
10:49:46 ERROR: Flash Xavier A+B in parallel - flash: Traceback (most recent call last):
10:49:46 ERROR: Flash Xavier A+B in parallel - flash: During handling of the above exception, another exception occurred:
10:49:46 ERROR: Flash Xavier A+B in parallel - flash: File “/usr/lib/python3.5/traceback.py”, line 487, in init
10:49:46 ERROR: Flash Xavier A+B in parallel - flash: command terminated with error
10:49:46 SUMMARY: Flash Xavier A+B in parallel - flash: First Error: Installation failed.
10:49:46 DEBUG: running command < true >
10:49:46 INFO: command finished successfully
10:49:46 DEBUG: DRIVE Linux Release Notes - target_image: using adapter to install NV_DRIVE_LINUX_RELEASE_NOTES@DDPX to /media/momose/0184b7ed-16f5-4549-bb97-3e41f85d9129/DRIVE_Software_10.0_Linux_OS_DRIVE_AGX_XAVIER
10:49:46 INFO: DRIVE Linux Release Notes - target_image: command finished successfully
10:49:46 SUMMARY: DRIVE Linux Release Notes - target_image: Install completed successfully.

Dear @hirofumi_momose,
Could you please attach the folder ~/.nvsdkm/ as zipfile?

Also, may I know the current DRIVE release version on target and do you see issues on target before flashing?

nvsdkm.tar.gz (2.0 MB)
Hello SivaRamaKrishnaNV,

nvsdkm archive attached.
I flashed DRIVE OS Linux 5.2.6 prior to flash Drive software 10.0.
Previous flash (5.2.6) succeeded and works.

My best regards,
Hiro.

Dear @hirofumi_momose,
May I know what version is on target before flashing DRIVE OS 5.2.6?

Migration from DRIVE OS 5.2.6 to DRIVE SW 10.0 is not supported. Please see https://docs.nvidia.com/drive/drive-os-5.2.6.0L/drive-qsg-dz/get-started/index.html#update-matrix-drive-os-sw .

Hello,
I am not sure what version was installed before flashing 5.2.6.
But prior to flashing 5.2.6 , AGX was just unboxed.
It must be factory default.
Please tell me how to identify what version is installed.
I have another AGX and am able to read the version.
Thank you.

Dear @hirofumi_momose,
To find version, please check cat /etc/nvidia/version-ubuntu-rootfs.txt.

Hello, SivaRamaKrishnaNV
Another AGX’s version-ubuntu-rootfs.txt is 5.1.6.1-16902563
GUI display of above machine works.
5.2.6 flashed has no GUI display.
I am confusing that 5.1.6 with GUI but 5.2.6 without GUI.
Regards,
Hiro.

Dear @hirofumi_momose,
DRIVE OS 5.2.6 do not have GUI display by default. You need to install manually. Please check Install DRIVE with SDK Manager :: DRIVE Platform Installation Guide with NVIDIA SDK Manager

Hi,
Yes I tried this finalize step on 5.2.6
Console shell/ethernet works , but nothing obtained from HDMI port .
Stucking of installing drive os 10.0 make me thought of
re-installing 5.2.6…
Thank you.

Dear @hirofumi_momose,
Take a look at No screen visible after DRIVE AGX reflashing - #2 by Sunny127 if you have display issue with gdm3

Hello,
Finally , 5.2.6 + GUI works with XA, XB
To select gdm3 instead of lightdm is key point.
Thnak you.
I will close this thread.
Hiro.

Good to hear you solved the problem.