Before you begin, ensure that you've setup network access, either with ethernet or wlan.
sudo dpkg-reconfigure tzdata
Typically we use "US/Pacific-New"
To prep for building: | |
$ export MAKEFLAGS="-j4 -s PLATFORM_VARIANT=jetson" |
#!/bin/sh | |
# Video Mixer example | |
# 3 MPEG IPCAMS and local webcam | |
# Webcam is MJPEG 1280x720 | |
JPEG_DEC="jpegparse ! queue ! jpegdec" | |
VID_SPEC="videorate ! videoscale ! video/x-raw-yuv,framerate=30/1,width=960,height=540" | |
NVVIDCONV="queue ! nvvidconv" | |
VELEM="v4l2src device=/dev/video0" #video0 is a Logitech c920 webcam with built-in H.264 compression & MJPEG | |
VCAPS="image/jpeg, width=1280, height=720, framerate=30/1" | |
# Video Source |
#!/bin/sh | |
# Install Python prerequisites on NVIDIA Jetson TK1 for iTorch | |
# This is for https://github.com/facebook/iTorch | |
# L4T 21.3, Torch 7 (http://torch.ch) | |
# iPython is loaded using pip, as repository version is 1.x version, > 2.0 is needed | |
if [ $(id -u) != 0 ]; then | |
echo "This script requires root permissions" | |
echo "$ sudo "$0"" | |
exit | |
fi |
Linux for Tegra (LT4) uses UBoot as its bootloader, replacing fastboot. In order to enable the full size USB port as 3.0, you can change the boot configuration file on the Jetson.
The boot configuration file is located here:
/boot/extlinux/extlinux.conf
There are several example configuration files in that directory which define how to boot from different devices.
The switch to change is:
#!/bin/sh | |
# Add some niceties for a new NVIDIA Jetson TK1 - LT 19.3 | |
# Installs Chromium, git and aptitude | |
# Mark this file as executable in the permissions are of the properties dialog then | |
# $ sudo ./configureJetson.sh | |
# Don't allow apt-get upgrade of xorg overwrite libglx.so | |
# May be fixed in future versions of LT4 | |
sudo apt-mark hold xserver-xorg-core |
#!/bin/sh | |
# Install cuDNN V2 on NVIDIA Jetson TK1 | |
# Register as a NVIDIA developer and download the cuDNN package | |
# Package is named cudnn-6.5-linux-ARMv7-V2.tgz | |
# This script and the cuDNN package should be in the same directory, usually ~/Downloads | |
# This script places the library and include files for cudnn in the CUDA 6.5 directories | |
# Make sure this is executing as root | |
if [ $(id -u) != 0 ]; then | |
echo "This script requires root permissions" | |
echo "$ sudo "$0"" |
#!/bin/bash | |
# Install rviz on the NVIDIA Jetson TK1 | |
# Requires unsetting the GTK_IM_MODULE to avoid pcre conflict | |
# 9-8-2016 | |
sudo apt-get install ros-indigo-rviz | |
sudo apt-get install ros-indigo-robot-model | |
echo "unset GTK_IM_MODULE" >> ~/.bashrc | |
source ~/.bashrc |
#!/bin/sh | |
# Install cuDNN R2 on NVIDIA Jetson TK1 | |
# Register as a NVIDIA developer and download the cuDNN package | |
# Package is named cudnn-6.5-linux-ARMv7-R2-rc1.tgz | |
# This script and the cuDNN package should be in the same directory, usually ~/Downloads | |
# This script places the library and include files for cudnn in the CUDA 6.5 directories | |
# Make sure this is executing as root | |
if [ $(id -u) != 0 ]; then | |
echo "This script requires root permissions" | |
echo "$ sudo "$0"" |
#!/bin/sh | |
#from https://github.com/xlz/libfreenect2/wiki/Jetson-TK1-HOWTO | |
# Install Prerequisites | |
#opencv-dev -> opencv4tegra-dev -> already installed from Jetpack | |
sudo apt-get install -y build-essential libturbojpeg libtool autoconf libudev-dev cmake mesa-common-dev freeglut3-dev libxrandr-dev doxygen libxi-dev libjpeg-turbo8-dev | |
# Get libfreenect2 | |
git clone https://github.com/jetsonhacks/libfreenect2.git | |
# Copy nv_headers into libfreenect2/depends |