Flashing Yocto fails with 704: Error FileNotFound (0x19)

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.0.8846
other

Host Machine Version
native Ubuntu 18.04
other

Hello there,

I’m trying to install Yocto Linux SDK onto a Drive AGX Xavier. I followed the steps described here to install Foundation and the Linux SDK inside a ~/myDRIVEInstallation directory. Everything seems to be going successful here.

Then I bind it using:

make -f Makefile.bind PCT=linux BOARD=e3550b03-t194a

and try to flash it onto the target using:

./tools/host/flashtools/bootburn_t19x/bootburn.sh -b e3550b03-t194a -B qspi -x /dev/ttyUSB3

where I get the following error:

s_ERROR_TOOL_NVIMAGEGEN

:[E]: QbCreateKernImage_T19x             :  704: Error FileNotFound (0x19)
:[E]: Error: File /home/host/myDRIVEInstallation/drive-t186ref-linux/kernel/yocto-tegra-initramfs-rootfs.img not found
:[E]: QbFindAndCreateImages              : 1105: Error FileNotFound (0x19)
:[E]: Image Creation Failed for PartitionId 4
:[E]: QbCreatePartition                  : 1678: Error FileNotFound (0x19)
:[E]: failed to find and create images
:[E]: nvimagegen                         :  929: Error FileNotFound (0x19)
:[E]: Creating Partition images failed
:[E]: QbFindAndCreateImages              : 1256: Error (Unknown) (0xff00)
:[E]: Failed to exectute nvimagegen
:[E]: QbCreatePartition                  : 1678: Error (Unknown) (0xff00)
:[E]: failed to find and create images
:[E]: nvimagegen                         :  929: Error (Unknown) (0xff00)
:[E]: Creating Partition images failed
:[E]: QbFindAndCreateImages              : 1256: Error (Unknown) (0xff00)
:[E]: Failed to exectute nvimagegen
:[E]: QbCreatePartition                  : 1678: Error (Unknown) (0xff00)
:[E]: failed to find and create images
:[E]: nvimagegen                         :  929: Error (Unknown) (0xff00)
:[E]: Creating Partition images failed


Exception 53 raised in bootburn_active 
Traceback (most recent call last):
  File "./bootburn.py", line 139, in bootburn_active
    bootburnLib.CreateFlashImages(targetConfig.f_FlashCfg)
  File "/home/host/myDRIVEInstallation/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x_py/bootburn_lib.py", line 2491, in CreateFlashImages
    self.GenerateImage(configFiles, l_Operation, p_TempDumpPath)
  File "/home/host/myDRIVEInstallation/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x_py/bootburn_lib.py", line 2252, in GenerateImage
    AbnormalTermination("s_ERROR_TOOL_NVIMAGEGEN", nverror.NvError_NvImagegen)
  File "/home/host/myDRIVEInstallation/drive-t186ref-foundation/tools/host/flashtools/bootburn_t19x_py/flashtools_nverror.py", line 249, in AbnormalTermination
    raise OSError(errorCode)
OSError: 53

Indeed, the file /home/host/myDRIVEInstallation/drive-t186ref-linux/kernel/yocto-tegra-initramfs-rootfs.img does not exist so I assume that something went wrong with the build process.

Am I missing something here?

I also attached the complete output of the binding and flashing process. command_line_output (110.4 KB)

Any advise is much appreciated. Thank you very much!

Hi, @t.mueller

You should replace myDRIVEInstallation with your directory name.
So you should replace

~/myDRIVEInstallation

with the default DRIVE OS 5.2.6 installation directory of sdkmanager.

~/nvidia/nvidia_sdk/DRIVE_OS_5.2.6_SDK_Linux_OSWithSamples_DRIVE_AGX_XAVIER/DRIVEOS

Hi @VickNV,
Thanks for your answer. It worked for me!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.