I’m trying to flash the Jetson AGX Xavier with the flash.sh script, the jetson was flashed successfully, but i had some weird output like the following :
*** Flashing target device started. ***
/home/uie82142/nvidia/nvidia_sdk/JetPack_5.0.1_DP_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/bootloader/tegraflash_internal.py:2598: SyntaxWarning: "is not" with a literal. Did you mean "!="?
while count is not 0 and not check_ismb2():
/home/uie82142/nvidia/nvidia_sdk/JetPack_5.0.1_DP_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/bootloader/tegraflash_internal.py:2607: SyntaxWarning: "is not" with a literal. Did you mean "!="?
while count is not 0:
/home/uie82142/nvidia/nvidia_sdk/JetPack_5.0.1_DP_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/bootloader/tegraflash_impl_t234.py:858: SyntaxWarning: "is not" with a literal. Did you mean "!="?
while count is not 0 and not self.check_is_mb2applet():
/home/uie82142/nvidia/nvidia_sdk/JetPack_5.0.1_DP_Linux_JETSON_AGX_XAVIER_TARGETS/Linux_for_Tegra/bootloader/tegraflash_impl_t234.py:865: SyntaxWarning: "is not" with a literal. Did you mean "!="?
while count is not 0:
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
The command i’ve used : sudo ./flash.sh jetson-agx-xavier-devkit mmcblk0p1
I also tried with the commmand, but i had the same issue sudo ./flash.sh jetson-xavier mmcblk0p1
[ 233.7379 ] Flashing completed
[ 233.7380 ] Coldbooting the device
[ 233.7434 ] tegrarcm_v2 --ismb2
[ 233.8254 ]
[ 233.8311 ] tegradevflash_v2 --reboot coldboot
[ 233.8348 ] Bootloader version 01.00.0000
[ 233.8653 ]
*** The target t186ref has been flashed successfully. ***
Reset the board to boot from internal eMMC.
When the flash is completed the jetson doesn’t boot, but it’s frozen with log below
[FAILED] Failed to start Configure USB flashingport for device mode
A start job is running for end-user configuration after initial oem installation
In the attached picture, you can find the the full logs
After flashing the Jetson with the sdkmanager, the boot was successfully, i guess this means that the roofts folder was corrupted, when i tried to copy the binaries that was cross-compiled using GCC-Linaro, but it’s weird in fact that SDKManager is just a GUI that use the flash.sh script, i’m wondering why the roofts is corrupted in fact i just copied into it the kernel modules.
I tried to flash without the custom module i’ve added before but with the cross-compiling approach, it stucks at the logs below :
[FAILED] Failed to start Firmware update daemon
[FAILED] Failed to start Refresh fwupd metadata and update motd
A start job is running for end-user configuration after initial oem installation
The jetson boot successfully, but i couldn’t have the accesses to ubuntu desktop, but i’m able to connect into it using ssh from my host.
linuxDev@tsl8746u:~$ ssh jetson@192.168.55.1
jetson@192.168.55.1's password:
Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.10.65-tegra aarch64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
This system has been minimized by removing packages and content that are
not required on a system that users do not log into.
To restore this content, you can run the 'unminimize' command.
247 updates can be applied immediately.
246 of these updates are standard security updates.
To see these additional updates run: apt list --upgradable
Last login: Tue Nov 22 13:43:33 2022 from 192.168.55.100
The issue was fixed using nvbuild.sh and nvcommon_build.sh to compile the sources, you can get the shell script in public sources in kernel_src archive.