主机配置环境:
刷机方式:SDK manager + jetpack 4.2
操作系统:64 位 ubuntu 16.04虚拟机
开发板配置环境:
- Jetson Tx2 (自带纯净官方ubuntu16.04)
开始踩坑:
坑1:在SDK manager里面登陆devoloper.nvidia.com的账号时,默认选择了系统全局代理,这样会导致账号密码验证错误。
解决方法:
- 右上角setting,选择手动代理以取消代理:
坑2:下载jetpack时经常下载失败
解决方法:
- 修改合适软件源:
- 备份原始文件
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
- 修改文件并添加国内源
sudo vi /etc/apt/sources.list
- 上述文件添加以下代码
# 阿里云
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
# Ubuntu 官方源
deb http://archive.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
- 更新源
sudo apt-get update
- 更新软件
sudo apt-get upgrade
坑3:卸载ubuntu下自带的python可能导致无法进入图形界面,无论是主机上的ubuntu 还是刷机后Jetson T2上的 Linux for Tegra(ubuntu18.04的改版)
解决方法:
- 不要删除
坑4:sudo apt-get install <package>出现unable to locate 错误
解决方法:
sudo apt-get upgrade
- 如果是Tx2上出现错误,只需要把软件源换回官方源,即不要用其他软件源。