This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2020, JetsonHacks. All rights reserved. | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a | |
# copy of this software and associated documentation files (the "Software"), | |
# to deal in the Software without restriction, including without limitation | |
# the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
# and/or sell copies of the Software, and to permit persons to whom the | |
# Software is furnished to do so, subject to the following conditions: | |
# | |
# The above copyright notice and this permission notice shall be included in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) 2020, JetsonHacks. All rights reserved. | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a | |
# copy of this software and associated documentation files (the "Software"), | |
# to deal in the Software without restriction, including without limitation | |
# the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
# and/or sell copies of the Software, and to permit persons to whom the | |
# Software is furnished to do so, subject to the following conditions: | |
# | |
# The above copyright notice and this permission notice shall be included in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd $HOME | |
# Get TensorFlow build scripts from JasonAtNvidia JetsonTFBuild repository | |
git clone --no-checkout https://github.com/JasonAtNvidia/JetsonTFBuild.git | |
cd JetsonTFBuild | |
# Sparse checkout tells git not to checkout the wheels directory | |
# where all of the .whl files are kept | |
git config core.sparsecheckout true | |
# Do not checkout the wheels directory | |
echo '!wheels/*' >> .git/info/sparse-checkout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# MIT License | |
# Copyright (c) 2017 Jetsonhacks | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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) | |
# Python 2.7 or greater must be installed before running this script | |
# Torch 7 should already be installed before running this script | |
# iPython is loaded using pip, as repository version is 1.x version, > 2.0 is needed | |
# Need to compile from source as repository version libzmq3-dev is not the correct revision | |
wget http://download.zeromq.org/zeromq-4.0.5.tar.gz | |
tar xzvf zeromq-4.0.5.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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"" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Install Jedroid 1.3 on SD card | |
# Assumes a blank Ext4 formatted SD card is in the card reader | |
# The SD Card is not mounted | |
sudo mkdir /media/ubuntu/jedroidInstall | |
sudo mount -t ext4 /dev/mmcblk1p1 /media/ubuntu/jedroidInstall | |
# Get Jedroid 1.3 from Google Drives | |
cd ~/Downloads | |
wget -O jedroid_v1.31.tar.bz2 https://googledrive.com/host/0B-lsw7HiSbj8cHJNTmF2RUV6RVE | |
wget -O jedroid_v1.31.tar.bz2.md5sum https://googledrive.com/host/0B-lsw7HiSbj8T2xFdjZFY0VadXM |
NewerOlder