#
JetPack on Nvidia DevKit
JetPack on ConnectTech Orbitty Carrier
CUDA + PyTorch
ROS
ROS Melodic With Python3
Optional Tools
You will require an xUbuntu 18.04 computer to run the Nvidia SDK Manager. As of the time this documentation was written, sdkmanager
is incompatible with 20.04, but it can be run under a VMWare Workstation Player virtual machine running 18.04 - you just need to connect the Jetson USB device to the VM
sdkmanager
on the host computer, and select both “Host Machine” and “Jetson TX2” to download JetPack to the host.
Select CUDA and additional packages as desired
Click next past Step 02, accepting the license along the way.REC
(Recovery) buttonPOWERBTN
(Power) buttonREC
buttonsdkmanager
on the host computer, and select both “Host Machine” and “Jetson TX2” to download JetPack to the host.
Click next past Step 02, accepting the license along the way.~/nvidia/nvidia_sdk/
:
joydeepb@ubuntu:~$ cd nvidia/nvidia_sdk
joydeepb@ubuntu:~/nvidia/nvidia_sdk$ ls -lthr
total 8.0K
drwxrwxr-x 4 joydeepb joydeepb 4.0K May 1 09:16 JetPack_4.5.1_Linux
drwxrwxr-x 3 joydeepb joydeepb 4.0K May 1 09:19 JetPack_4.5.1_Linux_JETSON_TX2
<JetPack_install_dir>/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/
. For example:
joydeepb@ubuntu:~$ cd nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/
joydeepb@ubuntu:~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra$ wget https://connecttech.com/ftp/Drivers/CTI-L4T-TX2-32.5-V001.tgz
--2021-05-01 09:14:59-- https://connecttech.com/ftp/Drivers/CTI-L4T-TX2-32.5-V001.tgz
Resolving connecttech.com (connecttech.com)... 104.26.6.94, 172.67.72.40, 104.26.7.94, ...
Connecting to connecttech.com (connecttech.com)|104.26.6.94|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 519331075 (495M) [application/octet-stream]
Saving to: ‘CTI-L4T-TX2-32.5-V001.tgz’
CTI-L4T-TX2-32.5-V001.tgz 100%[===================================================================================================================================>] 495.27M 15.5MB/s in 32s
2021-05-01 09:15:31 (15.4 MB/s) - ‘CTI-L4T-TX2-32.5-V001.tgz’ saved [519331075/519331075]
joydeepb@ubuntu:~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra$ tar xzf CTI-L4T-TX2-32.5-V001.tgz
joydeepb@ubuntu:~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra$ cd ./CTI-L4T
joydeepb@ubuntu:~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra/CTI-L4T$ sudo ./install.sh
Linux_for_Tegra
directory:
joydeepb@ubuntu:~/nvidia/nvidia_sdk/JetPack_4.5.1_Linux_JETSON_TX2/Linux_for_Tegra$ sudo ./cti-flash.sh
192.168.10.100
sdkmanager
CUDA
and additional components:
Install ROS Melodic as per the installation instructions: http://wiki.ros.org/melodic/Installation/Ubuntu
After installing ROS, install rospkg for python3:
sudo apt install python3-pip python3-all-dev python3-rospkg
This will prompt to install python3-rospkg and to remove ROS packages (already installed). Select Yes for that prompt. This will remove ROS packages and we will have to re-install them.
sudo apt install ros-melodic-desktop-full --fix-missing
After this, you should be able to run PyTorch with Cuda alongside ROS using Python3.
To monitor CPU and GPU usage, clone and install Jetson Stats