Unable to Flash Tegra A

Hi,

  • I am working with Drive PX2.
  • My Host PC meets the system requirements as mentioned. I am using a native Linux PC: Software: Ubuntu Linux 16.04 LTS x86_64 X11 enabled on the host system Hardware: Memory: 8GB of RAM Hard disk: 120 GB of free disk space for the complete host and target deployed SDK version. Graphics card: NVIDIA Pascal (or newer) GPU (required only for running the sample applications on the host machine). A working Internet connection.
  • I have latest SDKM 0.9.12.4180 , and installed drive OS version 5.0.10.3,from https://developer.nvidia.com/drive/downloads#sdkmanager
  • The Aurix is updated to latest firmware

    Yet, I not able to complete the Tegra A flash. In the log file from SDKM, this is what it says:

    16:30:49 INFO : Flash Tegra A : Target will be flashed with rootfs in eMMC
    16:30:49 INFO : Flash Tegra A : Aurix Port = /dev/ttyUSB1
    16:30:49 INFO : Flash Tegra A : Successfully acquired lock over /var/lock/LCK…bootburn_seq
    16:30:49 INFO : Flash Tegra A : Successfully acquired lock over /var/lock/LCK…ttyUSB1
    16:30:49 INFO : Flash Tegra A : Disabling SIGINT temporarily
    16:30:49 ERROR : Flash Tegra A : Setting Tegra-A on hold… /dev/ttyUSB1:
    16:30:51 INFO : Flash Tegra A : Done
    16:30:51 ERROR : Flash Tegra A : Setting Tegra-B on hold… /dev/ttyUSB1:
    16:30:54 INFO : Flash Tegra A : Done
    16:30:54 ERROR : Flash Tegra A : Setting Tegra-A in recovery… /dev/ttyUSB1:
    16:30:57 ERROR : Flash Tegra A : /dev/ttyUSB1:
    16:31:00 INFO : Flash Tegra A : Done
    16:31:01 ERROR : Flash Tegra A : Setting Tegra-B in recovery… /dev/ttyUSB1:
    16:31:03 ERROR : Flash Tegra A : /dev/ttyUSB1:
    16:31:06 INFO : Flash Tegra A : Done
    16:31:06 INFO : Flash Tegra A : Enabling SIGINT
    16:31:06 INFO : Flash Tegra A : Failed to get Tegra instance.
    16:31:06 INFO : Flash Tegra A : ==> /home/afraah/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_P2379/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/_temp_dump/ta_on <==
    16:31:06 INFO : Flash Tegra A :
    16:31:06 INFO : Flash Tegra A : ==> /home/afraah/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_P2379/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/_temp_dump/tb_on <==
    16:31:06 INFO : Flash Tegra A :
    16:31:06 INFO : Flash Tegra A : ==> /home/afraah/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_P2379/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/_temp_dump/tb_off <==
    16:31:06 INFO : Flash Tegra A :
    16:31:06 INFO : Flash Tegra A : ------------ Stack Trace ------------
    16:31:06 INFO : Flash Tegra A : stack frame 0 - 384 AbnormalTermination /home/afraah/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_P2379/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/bootburn_lib.sh
    16:31:06 INFO : Flash Tegra A : stack frame 1 - 169 GetTegrasAssocWithAurix /home/afraah/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_P2379/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/bootburn_target.sh
    16:31:06 INFO : Flash Tegra A : stack frame 2 - 360 CheckRecoveryTargets /home/afraah/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_P2379/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/bootburn_target.sh
    16:31:06 INFO : Flash Tegra A : stack frame 3 - 457 SequencerSetupTarget /home/afraah/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_P2379/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/bootburn_sequencer.sh
    16:31:06 INFO : Flash Tegra A : stack frame 4 - 475 SeqFlashTarget /home/afraah/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_P2379/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/bootburn_sequencer.sh
    16:31:06 INFO : Flash Tegra A : stack frame 5 - 518 source /home/afraah/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_P2379/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/bootburn_sequencer.sh
    16:31:06 INFO : Flash Tegra A : stack frame 6 - 318 source /home/afraah/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_P2379/DriveSDK/drive-t186ref-foundation/tools/host/flashtools/bootburn/bootburn_core.sh
    16:31:06 INFO : Flash Tegra A : stack frame 7 - 44 main tools/host/flashtools/bootburn/bootburn.sh
    16:31:06 INFO : Flash Tegra A : -------------------------------------
    16:31:06 INFO : Flash Tegra A :
    16:31:06 INFO : Flash Tegra A : error-aurix-access
    16:31:06 INFO : Flash Tegra A :
    16:31:06 INFO : Flash Tegra A : Bootburn operation unsuccessful
    16:31:06 INFO : Flash Tegra A :
    16:31:06 INFO : Flash Tegra A : The following tips can help troubleshoot bootburn failures. These are based on
    16:31:06 INFO : Flash Tegra A : known issues related to setup or missing configuration. If it doesn’t help
    16:31:06 INFO : Flash Tegra A : resolve the issue, contact module owners with a copy of the full log.
    16:31:06 INFO : Flash Tegra A :
    16:31:06 INFO : Flash Tegra A : error= error-aurix-access
    16:31:06 INFO : Flash Tegra A :
    16:31:06 INFO : Flash Tegra A : * Make sure you have permissions to access the ttyUSB that the Aurix resides on
    16:31:06 INFO : Flash Tegra A :
    16:31:06 INFO : Flash Tegra A : bootburn flashing failed! error code = 27
    16:31:06 INFO : Flash Tegra A : exit status 27
    16:31:06 ERROR : Flash Tegra A : Failed to flash device: please check /home/afraah/.nvsdkm/logs/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS/flash_2379_Tegra_A.log for more details.
    16:31:06 INFO : Flash Tegra A :
    16:31:06 INFO : Flash Tegra A : InstallUtil returns: exit status 1
    16:31:06 ERROR : Flash Tegra A : command terminated with error
    SDKM_logs_07092019_1633.zip (427 KB)

  • Dear aburhanu,

    According to the log, SDK manager can’t access aurix part, so could you please help to check if you have set up as below picture? Thanks.

    Hello,

    I have done 1. & 2. I have not connected the device to the network. Since the installation happens form the host system. How important is it to have the device connected to the network?

    Regards,
    aburhanu

    okay, I have tried 3. as well (connecting the device to network). Alas, the log looks the same as above.
    Have you come across this issue for other drivepx2 adopters?

    how do I ensure this:

    16:31:06 INFO : Flash Tegra A : * Make sure you have permissions to access the ttyUSB that the Aurix resides on
    ??

    The aurix firmware version is drive-V5.0.10-P2379-EB-Aurix-With3LSS-4.02.04
    compilation date: Aug 13 2018

    In minicom setup, I have set ‘Serial Device’ setting as '/dev/ttyUSB0 ’
    Is this the right way of doing this ?

    https://devtalk.nvidia.com/default/topic/1047640/general/how-to-downgrade-driveinstall-error-installing-flash-tegra-a-5-0-5-0-failed-/post/5316460/?offset=9#5359647

    Here is a similar problem as the one I have encountered

    Dear aburhanu,

    For minicom setup, https://docs.nvidia.com/drive/active/5.0.10.3L/nvvib_docs/index.html#page/NVIDIA%20DRIVE%20Linux%20SDK%20Development%20Guide%2FUtilities%2Fuart_dpx.html

    I believe you can access DrivePX2 Aurix via minicom and then checked the Aurix FW version.
    For kernel downgrade, could you please refer to DRIVE AGX Developer Kit Flashing Technical Bulletin doc in https://developer.nvidia.com/drive/documentation?

    1. minicom : yes i followed this instruction, Flashing tegra A is unsuccessful. The logs are the same.

    2. Aurix: Yes, I have pasted the Aurix version above by accessing aurix through minicom. The aurix firmware version is drive-V5.0.10-P2379-EB-Aurix-With3LSS-4.02.04
      compilation date: Aug 13 2018

    3. I will try the kernel downgrade and get back with the results

    Hi aburhanu,

    Have you managed to the device up and running? Any result can be share or further assistance needed?

    Thanks