Failed to flash Xavier A+B (DRIVE Software 10)

Please provide the following info (check/uncheck the boxes after clicking “+ Create Topic”):
Software Version
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

Target Operating System

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

SDK Manager Version

Host Machine Version
native Ubuntu 18.04

Hi, I can not flash Drive AGX Xavier dev kit. It’s failed to exec the command “pdkinstaller”:

11:41:54 ERROR: Flash Xavier A+B in parallel: [error]: : [exec_command]: /bin/bash -c cd pdkinstaller && ./pdkinstaller --installtype bindflash --boardtype ES --pdkinstalledpath /media/hunglx/DATA_500GB/Downloads/t12/target_image/DRIVE_Software_10.0_Linux_OS_DDPX/DRIVEOS --configjson ./manifests/install_pdk_config/av_ddp_pegasus_hyp71_linux_tegraAB_install_config.json --consoleout enable; [error]: [12799] Failed to execute script pdkinstaller

Please help check the log SDKM_logs_DRIVE_Software_10.0_(rev.2) (2.5 MB)

Dear @v.hunglx2,
Could you please confirm if the requirements in Getting Started with DRIVE Software :: NVIDIA DRIVE AGX System Installation and Setup is followed. I notice some flashing issues with fuseblk partion type(run df -Th on host to know partion type). If so, please check with ext4 partition.

Hi @SivaRamaKrishnaNV,
i have the same setup with the same problem here.
My host system outputs following with: df -Th

Filesystem     Type      Size  Used Avail Use% Mounted on
udev           devtmpfs  7,8G     0  7,8G   0% /dev
tmpfs          tmpfs     1,6G  1,9M  1,6G   1% /run
/dev/sda2      ext4      234G  112G  111G  51% /
tmpfs          tmpfs     7,8G  763M  7,1G  10% /dev/shm
tmpfs          tmpfs     5,0M  4,0K  5,0M   1% /run/lock
tmpfs          tmpfs     7,8G     0  7,8G   0% /sys/fs/cgroup
/dev/loop0     squashfs  1,0M  1,0M     0 100% /snap/gnome-logs/100
/dev/loop1     squashfs  2,3M  2,3M     0 100% /snap/gnome-system-monitor/148
/dev/loop2     squashfs  384K  384K     0 100% /snap/gnome-characters/550
/dev/loop3     squashfs  256M  256M     0 100% /snap/gnome-3-34-1804/36
/dev/loop4     squashfs   30M   30M     0 100% /snap/snapd/8542
/dev/loop6     squashfs  2,5M  2,5M     0 100% /snap/gnome-calculator/748
/dev/loop5     squashfs   63M   63M     0 100% /snap/gtk-common-themes/1506
/dev/loop7     squashfs   56M   56M     0 100% /snap/core18/1885
/dev/sda1      vfat      511M  6,1M  505M   2% /boot/efi
tmpfs          tmpfs     1,6G   44K  1,6G   1% /run/user/1000

I found the exact logs where the flash process stops:
TegraALog_dpUDptfeFH.txt (19.1 KB) TegraBLog_ynUvzYtjY1.txt (21.5 KB)

command options used = -b e3550b03-t194 -B qspi -x /dev/ttyUSB3 --updtcfga gos1-fs:dirname:/home/dspace/nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/targetfs_a --updtcfgb gos1-fs:dirname:/home/dspace/nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS_DDPX/DRIVEOS/drive-t186ref-linux/targetfs_b -w

 ------------ Stack Trace ------------
stack frame 0 - 329 AbnormalTermination /home/dspace/nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS_DDPX/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/
stack frame 1 - 48 CheckUSBServiceInit /home/dspace/nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS_DDPX/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/
stack frame 2 - 2942 FlashImages /home/dspace/nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS_DDPX/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/
stack frame 3 - 404 source /home/dspace/nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS_DDPX/DRIVEOS/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x/
stack frame 4 - 1270 main /home/dspace/nvidia/nvidia_sdk/DRIVE_Software_10.0_Linux_OS_DDPX/DRIVEOS/drive-t186ref-foundation//tools/host/flashtools/bootburn_t19x/

Tool OutPut:
Bus 003 Device 018: ID 0955:7100 NVidia Corp. Tegra Device
Tool OutPut to stderr:
Bus 003 Device 018: ID 0955:7100 NVidia Corp. Tegra Device

@v.hunglx2 maybe you can crosscheck if your fault is the same. Else I will open an seperate thread for my problem.

Dear @mspilker ,
it seems your issue is different. It seems you already filed similar topic at Error 5 during flashing . Could you follow on the same thread?

1 Like

Dear @SivaRamaKrishnaNV ,

thanks for your reply.
It was the same problem as last time:

Just the errorcode was missing from last time

Flashing process exited with error 5

which mislead me to this thread.

Dear @mspilker,
So, is the issue fixed?if not please file new topic.

Hello @SivaRamaKrishnaNV,
yes, the zip file from the other thread solved my problem - excuse me for not expressing myself precisely

1 Like

I also failed to flash

Dear @yafei.meng ,
Could you please file a new topic?

Dear @v.hunglx2,
Could you provide any update on the issue?

because when i launch the sdkmanager, got some APT repo connection issue.
then i give up to flash the board.

Hi, the issue was caused by not having enough storage space. Now I can flash Drive AGX normally.

1 Like