Running tests on JP >4.6.1

So now that I have finally been able to reflash my Xavier NX back to JP 4.6.1, I am told that I cannot use 4.6.1 . So I will attempt to upgrade JetPack once again just to eliminate any chance that its me. Please advise me on the best way to upgrade. Shall I use the SDK manager (versions?) on my ubuntu host (Is 20.04 ok?), or apt or reflash from SD and which would you prefer I use JP 5.0 or 5.1?
V

FOR ANY JETSON ORIN OR XAVIER DEVELOPER KIT >

Download NVIDIA SDK Manager

Follow the steps at Install Jetson Software with SDK Manager.

Test 1. Flashing freshly flashed 4.6.1 NX Dev Kit to JP 5.0 via SDKM v 1.8.0.10363

Ok Im following the steps at Install Jetson Software with SDK Manager :: NVIDIA SDK Manager Documentation.

Flashing Xavier NX dev kit (has fresh 4.6.1 install on it with no mods) and it fails when flashing to 5.0 using SDKM 1.8.0.10363 Rendering the unit unusable. See error log below. Along with the images that lead up to the error.

17:23:56 ERROR: Flash Jetson Xavier NX - flash: /home/v/nvidia/nvidia_sdk/JetPack_5.0_DP_Linux_DP_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/tegraflash_impl_t234.py:865: SyntaxWarning: “is not” with a literal. Did you mean “!=”?

17:23:56 ERROR: Flash Jetson Xavier NX - flash: while count is not 0:

17:23:56 INFO: Flash Jetson Xavier NX - flash: l4t_sign_image.sh: Generate header for kernel_tegra194-p3668-0000-p3509-0000_sigheader.dtb.encrypt

17:23:56 INFO: Flash Jetson Xavier NX - flash: l4t_sign_image.sh: chip 0x19: add 0x3dd52 to offset 0x8 in sig file

17:23:56 ERROR: Flash Jetson Xavier NX - flash: /home/v/nvidia/nvidia_sdk/JetPack_5.0_DP_Linux_DP_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/l4t_sign_image.sh: line 108: xxd: command not found

17:23:56 INFO: Flash Jetson Xavier NX - flash: populating kernel to rootfs… done.

17:23:56 INFO: Flash Jetson Xavier NX - flash: populating initrd to rootfs… done.

17:23:56 INFO: Flash Jetson Xavier NX - flash: populating kernel_tegra194-p3668-0000-p3509-0000.dtb to rootfs… done.

17:23:56 INFO: Flash Jetson Xavier NX - flash: Making system.img…

17:23:56 INFO: Flash Jetson Xavier NX - flash: Setting “FDT /boot/dtb/kernel_tegra194-p3668-0000-p3509-0000.dtb” successfully in the extlinux.conf…done.

17:24:15 INFO: Flash Jetson Xavier NX - flash: populating rootfs from /home/v/nvidia/nvidia_sdk/JetPack_5.0_DP_Linux_DP_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/rootfs … populating /boot/extlinux/extlinux.conf … done.

17:24:15 INFO: Flash Jetson Xavier NX - flash: generating sig file of Image … /home/v/nvidia/nvidia_sdk/JetPack_5.0_DP_Linux_DP_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/tegraflash.py --chip 0x19 --key --cmd sign ./boot/Image kernel

17:24:15 INFO: Flash Jetson Xavier NX - flash: Welcome to Tegra Flash

17:24:15 INFO: Flash Jetson Xavier NX - flash: version 1.0.0

17:24:15 INFO: Flash Jetson Xavier NX - flash: Type ? or help for help and q or quit to exit

17:24:15 INFO: Flash Jetson Xavier NX - flash: Use ! to execute system commands

17:24:15 INFO: Flash Jetson Xavier NX - flash:

17:24:15 INFO: Flash Jetson Xavier NX - flash: [ 0.0141 ] Generating signature

17:24:15 INFO: Flash Jetson Xavier NX - flash: [ 0.0172 ] tegrasign_v3.py --key --getmode mode.txt

17:24:15 INFO: Flash Jetson Xavier NX - flash: [ 0.0174 ] Assuming zero filled SBK key : not reading

17:24:15 INFO: Flash Jetson Xavier NX - flash: [ 0.0169 ] header_magic: 4d5a0091

17:24:15 INFO: Flash Jetson Xavier NX - flash: [ 0.0398 ] tegrahost_v2 --chip 0x19 --align 1_Image_aligned

17:24:15 INFO: Flash Jetson Xavier NX - flash: [ 0.0414 ]

17:24:15 INFO: Flash Jetson Xavier NX - flash: [ 0.0438 ] tegrahost_v2 --chip 0x19 0 --magicid KRNL --appendsigheader 1_Image_aligned zerosbk

17:24:15 INFO: Flash Jetson Xavier NX - flash: [ 0.0450 ] adding BCH for 1_Image_aligned

17:24:16 INFO: Flash Jetson Xavier NX - flash: [ 0.5284 ]

17:24:16 INFO: Flash Jetson Xavier NX - flash: [ 0.5338 ] tegrasign_v3.py --key --list 1_Image_aligned_sigheader_list.xml

17:24:16 INFO: Flash Jetson Xavier NX - flash: [ 0.5342 ] Assuming zero filled SBK key : not reading

17:24:16 INFO: Flash Jetson Xavier NX - flash: [ 0.5992 ] tegrahost_v2 --chip 0x19 0 --updatesigheader 1_Image_aligned_sigheader.encrypt 1_Image_aligned_sigheader.hash zerosbk

17:24:16 ERROR: Flash Jetson Xavier NX - flash: /home/v/nvidia/nvidia_sdk/JetPack_5.0_DP_Linux_DP_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/tegraflash_internal.py:2598: SyntaxWarning: “is not” with a literal. Did you mean “!=”?

17:24:16 ERROR: Flash Jetson Xavier NX - flash: while count is not 0 and not check_ismb2():

17:24:16 ERROR: Flash Jetson Xavier NX - flash: /home/v/nvidia/nvidia_sdk/JetPack_5.0_DP_Linux_DP_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/tegraflash_internal.py:2607: SyntaxWarning: “is not” with a literal. Did you mean “!=”?

17:24:16 ERROR: Flash Jetson Xavier NX - flash: while count is not 0:

17:24:16 ERROR: Flash Jetson Xavier NX - flash: /home/v/nvidia/nvidia_sdk/JetPack_5.0_DP_Linux_DP_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/tegraflash_impl_t234.py:858: SyntaxWarning: “is not” with a literal. Did you mean “!=”?

17:24:16 INFO: Flash Jetson Xavier NX - flash: [ 0.8570 ]

17:24:16 INFO: Flash Jetson Xavier NX - flash: [ 0.8828 ] Signed file: /home/v/nvidia/nvidia_sdk/JetPack_5.0_DP_Linux_DP_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/mnt/Image_sigheader.encrypt

17:24:16 ERROR: Flash Jetson Xavier NX - flash: while count is not 0 and not self.check_is_mb2applet():

17:24:16 ERROR: Flash Jetson Xavier NX - flash: /home/v/nvidia/nvidia_sdk/JetPack_5.0_DP_Linux_DP_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/bootloader/tegraflash_impl_t234.py:865: SyntaxWarning: “is not” with a literal. Did you mean “!=”?

17:24:16 ERROR: Flash Jetson Xavier NX - flash: while count is not 0:

17:24:16 INFO: Flash Jetson Xavier NX - flash: l4t_sign_image.sh: Generate header for Image_sigheader.encrypt

17:24:16 INFO: Flash Jetson Xavier NX - flash: l4t_sign_image.sh: chip 0x19: add 0x2023a00 to offset 0x8 in sig file

17:24:16 ERROR: Flash Jetson Xavier NX - flash: /home/v/nvidia/nvidia_sdk/JetPack_5.0_DP_Linux_DP_JETSON_XAVIER_NX_TARGETS/Linux_for_Tegra/l4t_sign_image.sh: line 108: xxd: command not found

17:24:16 INFO: Flash Jetson Xavier NX - flash: failed.

17:24:16 ERROR: Flash Jetson Xavier NX - flash: *** ERROR: flashing failed.

17:24:16 INFO: Flash Jetson Xavier NX - flash: [ Component Install Finished with Error ]

17:24:16 INFO: Flash Jetson Xavier NX - flash: [host] [ 1.59 GB used. Disk Avail: 691.30 GB ]

17:24:16 INFO: Flash Jetson Xavier NX - flash: [ NV_L4T_FLASH_XAVIER_NX_WITH_OS_IMAGE_COMP Install took 1m0s ]

17:24:16 ERROR: Flash Jetson Xavier NX - flash: command terminated with error

17:24:16 SUMMARY: Flash Jetson Xavier NX - flash: First Error: Installation failed.
SDKM_logs_JetPack_5.0_DP_Linux_for_Jetson_Xavier_NX_modules_2022-07-19_17-25-34.zip (106.2 KB)

Test 2. Flashing previously failed unit to JP 5.0.1 via SDKM v 1.8.0.10363 .

Im following the steps at Install Jetson Software with SDK Manager :: NVIDIA SDK Manager Documentation EXCEPT I did not reinstall 4.6.1 before this flash.

Fail: See error log below. Along with the images that lead up to the error.

I think this may be syntax error in the bootloader files located within the /Linux_for_Tegra/bootloader/ Dir. Look at logs.

SDKM_logs_JetPack_5.0.1_DP_Linux_for_Jetson_Xavier_NX_modules_2022-07-19_17-55-44.zip (106.4 KB)

What would you like me to try now?

Test #3 I now tried using the 5.01 disc boot Image. See below

Result was that the Xavier NX would not boot at all = black screen. No intro screen boot text… nada.

Test #4 I now tried using the 4.6.1 disc boot Image. See below

Result was that the Xavier NX booted up perfectly fine.

But again I have been told that I cannot use Riva with JP < 5.0.

So guys lets figure this out. How in the heck do I get JP >= 5.0 on my Xavier NX so that I can use Riva 2.3.0?

@vanessa.crosby Today is my 3rd day for installing OS to jetson. I also got the same issues.

1 Like

Hi bumping for response.

This is what I found.

I can use SDKmanger to flash jetpack 4.6 or jetpack 5.01 successfully including all extra tools to Jetson NX SSD. I found if I use manual config after flash it works better than trying to config user and passwords from SDK manger.

I have also found that I haven’t been able to get Jetpack 4.5 or 5.0 to flash using SDKmanager

@Out_of_the_BOTS Did you reset your NX with J14 pin before flashing to 5.01 through SDKM? Im going to make one last attempt and if you had success Id like to duplicate your method and settings.

Yes I power-down the Jetson then set the jumper then reconnect power then connect the USB cable to host computer then run SDKmanger on host computer. I select Jetjack 5.01 and developer tools and select the Jetson Xavier NX developer kit version. Once the OS has downloaded and built I select manual config and flash to NVMe

Ok I was trying auto config. Ill try manual.

@kayccc
Still cannot flash. Any ideas? I have sent all my logs.

Here is what I am on currently:

Package: nvidia-jetpack
Version: 4.6.1-b110
Architecture: arm64
Maintainer: NVIDIA Corporation
Installed-Size: 194
Depends: nvidia-cuda (= 4.6.1-b110), nvidia-opencv (= 4.6.1-b110), nvidia-cudnn8 (= 4.6.1-b110), nvidia-tensorrt (= 4.6.1-b110), nvidia-visionworks (= 4.6.1-b110), nvidia-container (= 4.6.1-b110), nvidia-vpi (= 4.6.1-b110), nvidia-l4t-jetson-multimedia-api (>> 32.7-0), nvidia-l4t-jetson-multimedia-api (<< 32.8-0)
Homepage: http://developer.nvidia.com/jetson
Priority: standard
Section: metapackages
Filename: pool/main/n/nvidia-jetpack/nvidia-jetpack_4.6.1-b110_arm64.deb

Well I have very good news. Today I ran my >10th sd flash install of JetPack 5.0.1 on my NX Dev Kit and low and behold it worked! (so far) . It was very slow booting up and the fan is working really hard, but I do have my focal 20.04 Ubuntu start screen! As of right now it seems to be struggling with some update installs. Keep this open for a bit longer until I have time to test further. If this works out, the next step is to see if JP 5.0.1 and Riva 2.2.0 will play nicely together those results will be posted in the Riva section of the Forum.