tx1和tx2装机环境配置一览

时间:2021-06-07 07:00:00

arm64平台越来越少,nvidia已经不在官网上放出cuda和cudnn在arm架构下的下载地址。
由于tx1和tx2都是直接用jetpack刷机,自动下载cuda和cudnn,那么如果刷机时没有下载,后期再想安装怎么办。
http://download.csdn.net/download/xuanwu_yan/10154021
直接在文档中搜索就可以

这里提供cuda和cudnn的下载地址

cuda:

wget "http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/013/linux-x64/cuda-repo-l4t-8-0-local_8.0.84-1_arm64.deb"
sudo dpkg -i cuda-repo-l4t-8-0-local_8.0.84-1_arm64.deb
sudo apt-get update
sudo install cuda-toolkit-8-0

cudnn:

wget "http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/013/linux-x64/libcudnn6_6.0.21-1+cuda8.0_arm64.deb"
wget "http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/013/linux-x64/libcudnn6-dev_6.0.21-1+cuda8.0_arm64.deb"
sudo dpkg -i libcudnn6_6.0.21-1+cuda8.0_arm64.deb
sudo dpkg -i libcudnn6-dev_6.0.21-1+cuda8.0_arm64.deb

更换源

sudo vim /etc/apt/sources.list

修改内容

deb http://mirrors.ustc.edu.cn/ubuntu-ports/  xenial main restricted universe multiverse

deb http://mirrors.ustc.edu.cn/ubuntu-ports/  xenial-updates main restricted universe multiverse

deb http://mirrors.ustc.edu.cn/ubuntu-ports/  xenial-security main restricted universe multiverse

deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/  xenial main restricted universe multiverse

deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/  xenial-updates main restricted universe multiverse

deb-src http://mirrors.ustc.edu.cn/ubuntu-ports/  xenial-security main restricted universe multiverse

安装opencv

tx1参考
http://blog.csdn.net/c406495762/article/details/72302980

tx2参考
https://jkjung-avt.github.io/opencv3-on-tx2/

安装Caffe

参考
http://blog.csdn.net/jiongnima/article/details/70040262

安装TensorRT

待续。。。