Can't install Jetson OS on NVIDIA Jetson TX2

I have such board: https://connecttech.com/product/rudi-embedded-system-with-nvidia-jetson-tx2-tx1/
I tried to install Jetson OS. Guide how to do that we can see here: Jetson AGX Orin Developer Kit User Guide - Two Ways to Set Up Software | NVIDIA Developer

On host machine I have Ubuntu 18.04. next - we should find which jetpack current board support. We can see list of all jetpacks here: https://connecttech.com/product/rudi-embedded-system-with-nvidia-jetson-tx2-tx1/#tab-downloads.
Also this board has manual for installation from SDK and from Terminal.
We can see instruction here: https://connecttech.com/ftp/Drivers/L4T-Release-Notes/Jetson-TX2/TX2-32.7.3.pdf

VARIANT_1. Install jetpack via SDK.
I did all steps from this document https://connecttech.com/ftp/Drivers/L4T-Release-Notes/Jetson-TX2/TX2-32.7.3.pdf (Chapter Installation), after that I started to install jetpack from chapter from SDK Manager .
I got this error:

21:04:11 ERROR: Flash Jetson TX2 - flash: UnicodeDecodeError: 'ascii' codec can't decode byte 0xa4 in position 0: ordinal not in range(128)
21:04:11 ERROR: Flash Jetson TX2 - flash: --- Error: Reading board information failed.
21:04:11 ERROR: Flash Jetson TX2 - flash: command terminated with error
21:04:11 SUMMARY: Flash Jetson TX2 - flash: First Error: Installation failed.

Also I tried to install earlier versions via SDK: 4.6.2 and 4.6.1 but I got the same error.

VARIANT_2. Installing JetPack from Nvidia’s Source packages (Alternate approach)
In this document https://connecttech.com/ftp/Drivers/L4T-Release-Notes/Jetson-TX2/TX2-32.7.3.pdf we have alternative way, so I tried to do that.
I made the last step from this Chapter

sudo ./apply_binaries.sh

and I got successful results:

Installing extlinux.conf into /boot/extlinux in target rootfs
/home/slava/Downloads/nvidia/nvidia_sdk/JetPack_4.6.3_Linux_JETSON_TX2/Linux_for_Tegra/nv_tegra/nv-apply-debs.sh
Root file system directory is /home/slava/Downloads/nvidia/nvidia_sdk/JetPack_4.6.3_Linux_JETSON_TX2/Linux_for_Tegra/rootfs
Copying public debian packages to rootfs
Start L4T BSP package installation
QEMU binary is not available, looking for QEMU from host system
Found /usr/bin/qemu-aarch64-static
Installing QEMU binary in rootfs
/home/slava/Downloads/nvidia/nvidia_sdk/JetPack_4.6.3_Linux_JETSON_TX2/Linux_for_Tegra/rootfs /home/slava/Downloads/nvidia/nvidia_sdk/JetPack_4.6.3_Linux_JETSON_TX2/Linux_for_Tegra
Installing BSP Debian packages in /home/slava/Downloads/nvidia/nvidia_sdk/JetPack_4.6.3_Linux_JETSON_TX2/Linux_for_Tegra/rootfs
Selecting previously unselected package nvidia-l4t-core.
(Reading database ... 142237 files and directories currently installed.)
Preparing to unpack .../nvidia-l4t-core_32.7.3-20221122092958_arm64.deb ...
Pre-installing... skip compatibility checking.
Unpacking nvidia-l4t-core (32.7.3-20221122092958) ...
Setting up nvidia-l4t-core (32.7.3-20221122092958) ...
Selecting previously unselected package jetson-gpio-common.
(Reading database ... 142285 files and directories currently installed.)
Preparing to unpack .../jetson-gpio-common_2.0.17_arm64.deb ...
Unpacking jetson-gpio-common (2.0.17) ...
Selecting previously unselected package python3-jetson-gpio.
Preparing to unpack .../python3-jetson-gpio_2.0.17_arm64.deb ...
Unpacking python3-jetson-gpio (2.0.17) ...
Selecting previously unselected package python-jetson-gpio.
Preparing to unpack .../python-jetson-gpio_2.0.17_arm64.deb ...
Unpacking python-jetson-gpio (2.0.17) ...
Selecting previously unselected package nvidia-l4t-3d-core.
Preparing to unpack .../nvidia-l4t-3d-core_32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-3d-core (32.7.3-20221122092958) ...
Selecting previously unselected package nvidia-l4t-apt-source.
Preparing to unpack .../nvidia-l4t-apt-source_32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-apt-source (32.7.3-20221122092958) ...
Selecting previously unselected package nvidia-l4t-camera.
Preparing to unpack .../nvidia-l4t-camera_32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-camera (32.7.3-20221122092958) ...
Selecting previously unselected package nvidia-l4t-configs.
Preparing to unpack .../nvidia-l4t-configs_32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-configs (32.7.3-20221122092958) ...
Selecting previously unselected package nvidia-l4t-cuda.
Preparing to unpack .../nvidia-l4t-cuda_32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-cuda (32.7.3-20221122092958) ...
Selecting previously unselected package nvidia-l4t-firmware.
Preparing to unpack .../nvidia-l4t-firmware_32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-firmware (32.7.3-20221122092958) ...
Selecting previously unselected package nvidia-l4t-gputools.
Preparing to unpack .../nvidia-l4t-gputools_32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-gputools (32.7.3-20221122092958) ...
Selecting previously unselected package nvidia-l4t-graphics-demos.
Preparing to unpack .../nvidia-l4t-graphics-demos_32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-graphics-demos (32.7.3-20221122092958) ...
Selecting previously unselected package nvidia-l4t-gstreamer.
Preparing to unpack .../nvidia-l4t-gstreamer_32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-gstreamer (32.7.3-20221122092958) ...
Selecting previously unselected package nvidia-l4t-init.
Preparing to unpack .../nvidia-l4t-init_32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-init (32.7.3-20221122092958) ...
Selecting previously unselected package nvidia-l4t-initrd.
Preparing to unpack .../nvidia-l4t-initrd_32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-initrd (32.7.3-20221122092958) ...
Selecting previously unselected package nvidia-l4t-jetson-io.
Preparing to unpack .../nvidia-l4t-jetson-io_32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-jetson-io (32.7.3-20221122092958) ...
Selecting previously unselected package nvidia-l4t-libvulkan.
Preparing to unpack .../nvidia-l4t-libvulkan_32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-libvulkan (32.7.3-20221122092958) ...
Selecting previously unselected package nvidia-l4t-multimedia.
Preparing to unpack .../nvidia-l4t-multimedia_32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-multimedia (32.7.3-20221122092958) ...
Selecting previously unselected package nvidia-l4t-multimedia-utils.
Preparing to unpack .../nvidia-l4t-multimedia-utils_32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-multimedia-utils (32.7.3-20221122092958) ...
Selecting previously unselected package nvidia-l4t-oem-config.
Preparing to unpack .../nvidia-l4t-oem-config_32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-oem-config (32.7.3-20221122092958) ...
Selecting previously unselected package nvidia-l4t-tools.
Preparing to unpack .../nvidia-l4t-tools_32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-tools (32.7.3-20221122092958) ...
Selecting previously unselected package nvidia-l4t-wayland.
Preparing to unpack .../nvidia-l4t-wayland_32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-wayland (32.7.3-20221122092958) ...
Selecting previously unselected package nvidia-l4t-weston.
Preparing to unpack .../nvidia-l4t-weston_32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-weston (32.7.3-20221122092958) ...
Selecting previously unselected package nvidia-l4t-x11.
Preparing to unpack .../nvidia-l4t-x11_32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-x11 (32.7.3-20221122092958) ...
Selecting previously unselected package nvidia-l4t-xusb-firmware.
Preparing to unpack .../nvidia-l4t-xusb-firmware_32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-xusb-firmware (32.7.3-20221122092958) ...
Selecting previously unselected package nvidia-l4t-kernel.
Preparing to unpack .../nvidia-l4t-kernel_4.9.299-tegra-32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-kernel (4.9.299-tegra-32.7.3-20221122092958) ...
Selecting previously unselected package nvidia-l4t-kernel-dtbs.
Preparing to unpack .../nvidia-l4t-kernel-dtbs_4.9.299-tegra-32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-kernel-dtbs (4.9.299-tegra-32.7.3-20221122092958) ...
Selecting previously unselected package nvidia-l4t-kernel-headers.
Preparing to unpack .../nvidia-l4t-kernel-headers_4.9.299-tegra-32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-kernel-headers (4.9.299-tegra-32.7.3-20221122092958) ...
Selecting previously unselected package nvidia-l4t-bootloader.
Preparing to unpack .../nvidia-l4t-bootloader_32.7.3-20221122092958_arm64.deb ...
Unpacking nvidia-l4t-bootloader (32.7.3-20221122092958) ...
Setting up jetson-gpio-common (2.0.17) ...
Setting up python3-jetson-gpio (2.0.17) ...
Setting up python-jetson-gpio (2.0.17) ...
Setting up nvidia-l4t-apt-source (32.7.3-20221122092958) ...
Pre-installing... skip changing source list.
Setting up nvidia-l4t-configs (32.7.3-20221122092958) ...
Setting up nvidia-l4t-firmware (32.7.3-20221122092958) ...
Setting up nvidia-l4t-gputools (32.7.3-20221122092958) ...
Setting up nvidia-l4t-init (32.7.3-20221122092958) ...
Setting up nvidia-l4t-libvulkan (32.7.3-20221122092958) ...
Setting up nvidia-l4t-multimedia-utils (32.7.3-20221122092958) ...
Setting up nvidia-l4t-oem-config (32.7.3-20221122092958) ...
Setting up nvidia-l4t-tools (32.7.3-20221122092958) ...
Setting up nvidia-l4t-wayland (32.7.3-20221122092958) ...
Setting up nvidia-l4t-weston (32.7.3-20221122092958) ...
Setting up nvidia-l4t-x11 (32.7.3-20221122092958) ...
Setting up nvidia-l4t-xusb-firmware (32.7.3-20221122092958) ...
Pre-installing xusb firmware package, skip flashing
Setting up nvidia-l4t-kernel (4.9.299-tegra-32.7.3-20221122092958) ...
Using the existing boot entry 'primary'
Pre-installing kernel package, skip flashing
Setting up nvidia-l4t-kernel-dtbs (4.9.299-tegra-32.7.3-20221122092958) ...
Pre-installing kernel-dtbs package, skip flashing
Setting up nvidia-l4t-kernel-headers (4.9.299-tegra-32.7.3-20221122092958) ...
Setting up nvidia-l4t-bootloader (32.7.3-20221122092958) ...
Pre-installing bootloader package, skip flashing
Setting up nvidia-l4t-3d-core (32.7.3-20221122092958) ...
Setting up nvidia-l4t-cuda (32.7.3-20221122092958) ...
Setting up nvidia-l4t-graphics-demos (32.7.3-20221122092958) ...
Setting up nvidia-l4t-initrd (32.7.3-20221122092958) ...
Pre-installing initrd package, skip flashing
Setting up nvidia-l4t-jetson-io (32.7.3-20221122092958) ...
Setting up nvidia-l4t-multimedia (32.7.3-20221122092958) ...
Setting up nvidia-l4t-camera (32.7.3-20221122092958) ...
Setting up nvidia-l4t-gstreamer (32.7.3-20221122092958) ...
Processing triggers for nvidia-l4t-kernel (4.9.299-tegra-32.7.3-20221122092958) ...
Processing triggers for libc-bin (2.27-3ubuntu1.6) ...
/home/slava/Downloads/nvidia/nvidia_sdk/JetPack_4.6.3_Linux_JETSON_TX2/Linux_for_Tegra
Removing QEMU binary from rootfs
Removing stashed Debian packages from rootfs
L4T BSP package installation completed!
Rename ubuntu.desktop --> ux-ubuntu.desktop
Disabling NetworkManager-wait-online.service
Disable the ondemand service by changing the runlevels to 'K'
Success!

But what should I do next? This command installed all packages too fast.
Questions, which I have:

  1. What is the next step?
  2. Should I do flashing commands from terminal, which described in Chapter Flashing TX2/TX2i/TX2-4G ?

Suggest to contact with Connecttech to know how to do the SW image installation and get the support as this is not our devkit.

This is a patch added to the stock JetPack/SDKM, so it is something ConnectTech must answer, but I did see something that I wonder about:

21:04:11 ERROR: Flash Jetson TX2 - flash: UnicodeDecodeError: 'ascii' codec can't decode byte 0xa4 in position 0: ordinal not in range(128)

On the system where you performed this:

  • What is the output of “echo $LANG”?
  • Is this a VM?

If $LANG is “en_US.UTF-8”, and you are not using a VM, then you can ignore everything which follows.

VMs have to pass text through to the host o/s, and language support can shift. For example, WSL2 can’t properly handle all Unicode that the Linux bash shell does work with. Setting to a locale (the “$LANG” which does not handle wider Unicode would also be a problem. Using several non-English characters in a file path can even trigger an issue even if “$LANG” is en_US.UTF-8.

I had written this just for fun (and a utility for copy and paste of smiley faces), which produces a list of Unicode emojis (I named the file “emoji”), and found that WSL2 cannot display this properly due to text actually passing through to the parent o/s (similarly, if $LANG is incorrect, it also loses full Unicode support):
emoji (360 Bytes)

That’s a rather small bash script you could set to executable and run; if it fails to show actual emojis, then it would seem your system (or host o/s) is failing Unicode support; if it does work, then perhaps it is an issue of accents in the characters which some of the flash software does not work with. The error might be one of interpreting the UTF as a narrower size character when seeing the the 0xa4, which happens to be (if next to some other characters in the wider character set) an accent mark, or a currency sign in other character sets (which some parts of scripts do not handle correctly even if the system supports UTF-8).

The reason I mention this is that it is rather difficult to recognize wide character bugs. If it is this, then ConnectTech would be able to fix it faster knowing this.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.