how to flash tegras after rm -rf /

After rm -rf /, I tried to flash dual tegras in parallel again and again, but I did not work.

error-aurix-command

Bootburn operation unsuccessful

The following tips can help troubleshoot bootburn failures. These are based on
known issues related to setup or missing configuration. If it doesn’t help
resolve the issue, contact module owners with a copy of the full log.

error= error-aurix-command

  • The Aurix console did not regognize the command given to it. Please review
    the logs and make sure that the command that you are sending is valid

bootburn flashing failed! error code = 37

18:57:35 ERROR : OSS and NV packages : E: Failed to fetch http://cn.archive.ubuntu.com/ubuntu/dists/xenial/main/binary-arm64/Packages 404 Not Found [IP: 91.189.91.26 80]
18:57:44 ERROR : OSS and NV packages : W
18:57:44 ERROR : OSS and NV packages : : --force-yes is deprecated, use one of the options starting with --allow instead.
18:59:37 ERROR : OSS and NV packages : date: invalid date ‘2019年 06月 25日 星期二 18:59:37 CST’
19:04:39 ERROR : Flash Dual Tegras in Parallel : 18955 blocks
19:04:39 ERROR : Flash Dual Tegras in Parallel : 18955 blocks
19:04:40 ERROR : Flash Dual Tegras in Parallel : Setting Tegra-A on hold… /dev/ttyUSB1:
19:04:40 ERROR : Flash Dual Tegras in Parallel :
19:04:52 ERROR : Flash Dual Tegras in Parallel : Failed to flash device: please check /home/liuhf/.nvsdkm/logs/DRIVE/Linux/5.0.10.3/OS/flash_2379_parallel.log for more details.
19:04:52 ERROR : Flash Dual Tegras in Parallel : command terminated with error
19:04:52 ERROR : Flash Dual Tegras in Parallel : install ‘Flash Dual Tegras in Parallel’ failure, command < cd ‘/home/liuhf/nvidia/nvidia_sdk/DRIVE/Linux/5.0.10.3/OS’ ; /opt/nvidia/sdkmanager/resources/app.asar.unpacked/output/installUtils/adapter -a=‘install’ -b=‘NV_DRIVE_LINUX_BUNDLE’ -c=‘eyJpZCI6Ik5WX0ZMQVNIX0RVQUxfVEVHUkFTX0lOX1BBUkFMTEVMX0NPTVAiLCJuYW1lIjoiRmxhc2ggRHVhbCBUZWdyYXMgaW4gUGFyYWxsZWwiLCJkZXNjcmlwdGlvbiI6IkZsY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IjUuMC4xMC4zIn1dLCJleHRlcm5hbF9kZXBlbmRlbmNpZXMiOltdLCJwYXJlbnRJRCI6Ik5WX0RSSVZFX0ZMQVNIX1RBUkdFVF9HUk9VUCIsImFjdGlvbiI6MSwiZG93bmxvYWRFcnJvcnMiOltdLCJleGVjIjoiL2hvbWUvbGl1aGYvRG93bmxvYWRzL252aWRpYS9zZGttX2Rvd25sb2FkcyIsImluc3RhbGxQYXRoIjoiL2hvbWUvbGl1aGYvbnZpZGlhL252aWRpYV9zZGsvRFJJVkUvTGludXgvNS4wLjEwLjMvT1MiLCJ0aW1lb3V0Q0IiOm51bGx9’ -i=‘NV_FLASH_DUAL_TEGRAS_IN_PARALLEL_COMP’ -v=‘5.0.10.3’ -l=’/home/liuhf/nvidia/nvidia_sdk/DRIVE/Linux/5.0.10.3/OS’ -L=’/home/liuhf/.nvsdkm/logs/DRIVE/Linux/5.0.10.3/OS’ -p=‘2173’ -u=’/opt/nvidia/sdkmanager/resources/app.asar.unpacked/output/installUtils/NV_DRIVE_LINUX_BUNDLE/common/_installer/InstallUtil’ -t=‘PX2_AUTOCHAUFFEUR’ -x=‘SDK’ -e=’/home/liuhf/Downloads/nvidia/sdkm_downloads’ > terminated with error
FLASHING FAILED
Review terminal tab for details. Resolve and RETRY.
EXPORT LOGS

Dear xwang6zdh0,

Could you please let us know more detail about your topic?

  1. Did you use SDK manager for DrivePX2 flash?
  2. If yes, could you please upload the full logs available at below locations for your topic?
    ~/.nvsdkm/sdkm.log
    ~/.nvsdkm/logs

Dear SteveNV,

Thank you for your help !

https://drive.google.com/open?id=1P0OuPbSurqx2_d2zNMvUJ8dO9L5uR5XH

Hi xwang6zdh0,

From the log, OSS and NV packages are not installed successfully.
18:59:37 ERROR : OSS and NV packages : date: invalid date ‘2019年 06月 25日 星期二 18:59:37 CST’

SDK Manager 0.9.12 has fixed the issue. Can you please completely uninstall 5.0.10.3 with SDK Manager, then use 0.9.12 to reinstall? Please see https://docs.nvidia.com/sdk-manager/download-run-sdkm/index.html for download page.

13:24:26 ERROR : Flash Dual Tegras in Parallel : 18955 blocks
13:24:26 ERROR : Flash Dual Tegras in Parallel : 18955 blocks
13:24:28 ERROR : Flash Dual Tegras in Parallel : Setting Tegra-A on hold… /dev/ttyUSB1:
13:24:41 INFO : Flash Dual Tegras in Parallel : error-aurix-command
13:24:41 INFO : Flash Dual Tegras in Parallel : error= error-aurix-command
13:24:41 INFO : Flash Dual Tegras in Parallel : bootburn flashing failed! error code = 37
13:24:41 ERROR : Flash Dual Tegras in Parallel : Failed to flash device: please check /home/xiang/.nvsdkm/logs/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS/flash_2379_parallel.log for more details.
13:24:41 ERROR : Flash Dual Tegras in Parallel : command terminated with error
13:24:41 ERROR : install ‘Flash Dual Tegras in Parallel’ failure, command < cd ‘/home/xiang/nvidia/nvidia_sdk/DRIVE_OS_5.0.10.3_SDK_with_DriveWorks_Linux_OS_P2379’ ; ‘/opt/nvidia/sdkmanager/resources/app/output/installUtils/adapter’ -a=‘install’ -c=‘eyJpZCI6Ik5WX0ZMQVNIX0RVQUxfVEVHUkFTX0lOX1BBUkFMTEVMX0NPTVAiLCJuYW1lIjoiRmxhc2ggRHVhbCBUZWdyYXMgaW4gUGFyYWxsZWwiLCJkZXNjcmlwdGlvbiI6IkZsYXNoIEJvdGggVGVncmEgQSBhbmQgVGVncmEgQiBpbiBwYXJhbGxlbC4iLCJpc1Zpc2libGUiOnRydWUsImxpY2Vuc2VJZCI6Ik5WX0RSSVZFX1NMQV9PQ1QyMDE3IiwiaXNEZXRlY3RhYmxlSW5zdGFsbCI6ZmFsc2UsImlzSW5zdGFsbFBhdGhDdXN0b21pemFibGUiOnRydWUsInRpbWVvdXRTZWNvbmRzIjozNjAwLCJ2ZXJzaW9uIjoiNS4wLjEwLjMiLCJvcGVyYXRpbmdTeXN0ZW1zIjpbInVidW50dTE0MDQiLCJ1YnVudHUxNjA0Il0sImluc3RhbGxTaXplTUIiOj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S’ -p=‘16355’ -t=‘PX2_AUTOCHAUFFEUR’ -e=‘undefined’ -b=‘NV_DRIVE_LINUX_BUNDLE’ -x=‘SDK’ > terminated with error

Dear SteveNV,

Thank you for your reply, but it didn’t work.

Hi xwang6zdh0,

Can you please check https://devtalk.nvidia.com/default/topic/1051764/general/installation-failed-for-drivepx2-with-sdk-manager-beta-0-9-9-2351/post/5339653/#5339653 ?
Seems the aurix firmware needs be updated.