I know that it might not be a good idea that I flash from Ubuntu 20.04. However, I’ve got NO Ubuntu 18.04 or 16.04 at hand. Did anybody successfully flash AGX Xavier under Ubuntu 20.04 by command line, without that headache SDK Manager?
Note that if your flash software is installed from running SDKM once, then you will have this directory: ~/nvidia/nvidia_sdk/JetPack...version.../Linux_for_Tegra/
Within that directory, if the content of “Linux_for_Tegra/rootfs/” is fully populated, then it is simple to flash on command line. However, this does not install any optional packages, e.g., CUDA cannot be installed with this. Also, if “rootfs/” is not properly filled, then flash would work, but would not install a working system. If all is set up, and you just want to flash, then you could try this from “Linux_for_Tegra/”: sudo ./flash.sh jetson-xavier mmcblk0p1
…or if you wish to log command line flash: sudo ./flash.sh jetson-xavier mmcblk0p1 2>&1 | tee log_flash.txt
Also note that even when using SDKM on a proper Ubuntu 18.04 host PC that flash occurs entirely with the AGX Xavier in recovery mode, but when flash completes the Jetson will reboot and first boot account setup occurs; following this SDKM would install any optional packages, e.g., CUDA, using the fully booted Jetson via ethernet. If you disable flashing, and use an already flashed Jetson, then you can pick to only install optional packages to the AGX Xavier and skip host PC or many other steps which are incompatible with Ubuntu 20.04 hosts. It isn’t always obvious that some parts of the SDKM flash software can be unchecked.
sudo ./flash.sh jetson-agx-xavier-devkit mmcblk0p1
......
*** The target t186ref has been flashed successfully. ***
Reset the board to boot from internal eMMC.
sudo ./flash.sh -r -k kernel-dtb jetson-agx-xavier-devkit mmcblk0p1
......
[ 7.3685 ]
*** The [kernel-dtb] has been updated successfully. ***
sudo ./flash.sh -r -k bpmp-fw-dtb jetson-agx-xavier-devkit mmcblk0p1
......
[ 7.3672 ]
*** The [bpmp-fw-dtb] has been updated successfully. ***
sudo ./flash.sh jetson-agx-xavier-devkit mmcblk1p1
......
[ 18.7384 ]
*** The target t186ref has been flashed successfully. ***
Make the target filesystem available to the device and reset the board to boot from external mmcblk1p1.
It looks I can boot from eMMC, but with very limited number of commands …