(原创) jetson tk1 初始化
1. 相关的网站:
1. Jetson TK1 support https://developer.nvidia.com/jetson-tk1-support
2.official Wiki for embedded Tegra & the Jetson TK1 board, maintained by both the community and NVIDIA: http://elinux.org/Jetson_TK1
3. blog NVIDIA Jetson TK1开发板上手:http://blog.csdn.net/Pyen/article/details/27563819
4.台湾网站的评测 http://www.coolpc.com.tw/phpBB2/viewtopic.php?f=70&t=147025
5. youtube 上的Jetson Tegra K1 Devkit - Setting up Desktop GUI https://www.youtube.com/watch?v=ghqM8pzJZxg
6. NVIDIA Nsight Eclipse Edition for Jetson TK1:http://devblogs.nvidia.com/parallelforall/nvidia-nsight-eclipse-edition-for-jetson-tk1/
2. 相关名词解释
Cross compiling: means the target executable is built on the host machine, not on the target. Therefore, the target executable must be compatible with (in particular with the libraries on) the target machine. This compatibility is achieved by having the correct version of nvcc as well as the correct library versions (CUDA version and target OS) to link against, that match your target.
3. 开发方法
对于jetson 有2种开发方法:
- 原生开发:在jetson tk1 上进行开发
- 交叉编译:在host计算机上进行编译
4. 初始化方法
0. 初始化
连上显示器上电后,出来的是arm-ubuntu14.04的字符界面,账号和密码均为ubuntu。如果你喜欢GUI,那么请进入/home/ubuntu/NVIDIA-INSTALLER(也就是~/NVIDIA_INSTALLER目录),运行./installer.sh,待安装完重启后即可获得图形界面。
要特别注意的是,Jetson-TK1是arm架构的ubuntu,和普通我们见到的ubuntu(x86架构)有本质的区别(编译器完全是不同的),因此x86 ubuntu的所有程序都不可直接拿到TK1上用!
注意:如果更新之后出现黑屏,那么ctrl+alt+f1 然后login,然后进入/home/ubuntu/NVIDIA-INSTALLER,最后运行./installer.sh ,就可以看到图形界面
1. 进入
Jetson TK1 support https://developer.nvidia.com/jetson-tk1-support 下载
CUDA 6.0 Toolkit for L4T Rel -19.2(注意:CUDA 6.0 Toolkit for Ubuntu12.04 x86 64-bit (with TK1 cross-development support 是为了在ubuntu 主机上进行Corss Compiling)
2.设置网络链接
使用电脑作为无限网卡,通过网线和jetson tk1 进行网络共享。
设置方法:在network connection --> wired --> edit --> IPv4 Settings --> method --> shared to other computers
3. 安装
cd Downloads (进入下载目录)
ls (显示当前文件夹中的文件)
sudo dpkg -i package.deb (安装程序)
sudo apt-get update (更新系统源)
sudo apt-get install cuda-samples-6-0 (安装samples)
sudo apt-get install cuda-toolkit-6-0 (安装toolkit)
sudo usermod -a -G video ubuntu (这里的ubuntu是用户名,如果不是这个用户名,那么输入其他的用户名) (Update your permissions for directFB access , DirectFB 全名是 Direct Frame Buffer。DirectFB是德国Convergence公司推动的开放源代码计划,是 GNU/Linux 操作系统上的库,提供硬件图形加速(hardware graphics acceleration)与 translucent windows 等功能。授权方式为GNU宽通用公共许可证。)
cd
echo "# Add CUDA bin & library paths:" >> ~/.bashrc (编辑bashrc文件)
echo "export PATH=/usr/local/cuda-6.0/bin:$PATH" >> ~/.bashrc
echo "export LD_LIBRARY_PATH=/usr/local/cuda-6.0/lib:$LD_LIBRARY_PATH" >> ~/.bashrc
source ~/.bashrc
cd /usr/local/cuda (进入cuda安装路径,进行查看)
ls (查看安装路径下的文件)
nvcc -V (查看版本)
cuda-install-samples-6.0.sh /home/ubuntu(将samples 拷贝到放特定的目录下面,这里输入的是 /home/ubuntu)
cd ~/NVIDIA_CUDA-6.0_Samples
ls (查看各种例子程序)
make (对各个例子进行编译)
./deviceQuery (进行设备性质的查看)
(原创) jetson tk1 初始化的更多相关文章
- Jetson tk1 刷机教程
前期准备: 1. Jetson TK1开发板. 2. 安装有ubuntu系统的PC(或者ubuntu虚拟机)切记:不管是PC还是虚拟机,务必确保有大于5G的存储空间,之后安装过程会作详细解释. 3 ...
- 结合阿里云服务器,设置家中jetson tk1随时远程登陆
前提条件: 1.路由配置dmz主机为tk1的ip ,设置路由器中ssh 端口22的访问权限 2.有一台远程服务器,服务器安装了php可以运行php文件(我使用的是阿里云) 家中tk1配置: 脚本pyt ...
- Jetson TK1刷机+配置Mini PCI-e无线网卡
最近买了台4K电视,觉得可以当显示器用,但没主机,不知怎的想到了Jetson TK1,于是一冲动买了.因为没网线,而Jetson TK1没有无线网卡,所以也折腾了一番,记录一下,给万一也有像我一样没有 ...
- Jetson TK1 Restore 步骤
Jetson TK1 Restore 步骤 下载驱动包和文件系统包: 1:驱动包 2:文件系统 具体参见文档:http://download.csdn.net/detail/xiabodan/7 ...
- Jetson tk1 安装 Intel 7260 无线网卡驱动
Jseton TK1上没有集成的无线网卡,开发板上有一个mini pci-e接口,可以插入Intel 7260这款继承了wifi和蓝牙功能的无线网卡: 该网卡实物如下图,在淘宝和Amazon上都可以买 ...
- Jetson tk1 刷机后要做的几件事
参考简书文章: http://www.jianshu.com/p/997ede860d74 1. 查看Jetson TK1 L4T版本 head -n 1 /etc/nv_tegra_release ...
- Jetson TK1 四:重新安装系统(刷机)
转载:http://blog.sina.com.cn/s/blog_bab3fa030102vk21.html Jetson TK1是NVIDIA基于Tegra K1开发的一块低成本开发板,板载一块T ...
- ROS:Nvidia Jetson TK1平台安装使用ROS
原文连接: http://wiki.ros.org/indigo/Installation/UbuntuARM Ubuntu ARM install of ROS Indigo There are c ...
- ROS:Nvidia Jetson TK1开发平台
原文链接: http://wiki.ros.org/NvidiaJetsonTK1 1. Nvidia Jetson TK1 Jetson TK1 comes pre-installed with L ...
随机推荐
- LNMP笔记:域名重定向、读写权限、显示WP主题、北京时间
边写边记,以后还会用到的. 将 xxx.com 重定向到 www.xxx.com 1.打开 /usr/local/nginx/conf/vhost/你网站的域名.com.conf 2.查看原有的 se ...
- 零基础创建RCP工程
一.环境搭建 1. 安装java jdk,我选择的是jdk 1.7版本,配置环境变量: 2. 下载并安装java EE: 二.创建工程 1. 打开File-> New ->other -& ...
- sitecore(key\value\language)的灵活应用
1.当我们在做网站的时候是否会因为一个页面的文字变动来回改变.这样的麻烦sitecore都帮我们解决了. 2.sitecore分类key和value和语言几个维度.不同的key会因为不同的语言显示不同 ...
- web api 2 学习笔记 (Odata ODataQueryOptions 使用)
[ODataRoutePrefix("products")] public class ProductController : BaseController { [ODataRou ...
- Android项目的图标
项目的图标就是在AndroidManifest.xml中通过android:icon="@drawable/ic_launcher"来指定的,ic_launcher这张图片可以放在 ...
- 百度贴吧的网络爬虫(v0.4)源码及解析
更新:感谢评论中朋友的提醒,百度贴吧现在已经改成utf-8编码了吧,需要把代码中的decode('gbk')改成decode('utf-8'). 百度贴吧的爬虫制作和糗百的爬虫制作原理基本相同,都 ...
- HDOJ 1194 Beat the Spread!(简单题)
Problem Description Superbowl Sunday is nearly here. In order to pass the time waiting for the half- ...
- Redis应用场景 及其数据对象 string hash list set sortedset
原文地址:http://www.cnblogs.com/shanyou/archive/2012/09/04/2670972.html Redis开创了一种新的数据存储思路,使用Redis,我们不用在 ...
- lesson1:threadlocal的使用demo及源码分析
本文中所使用的demo源码地址:https://github.com/mantuliu/javaAdvance 其中的类Lesson1ThreadLocal 本文为java晋级系列的第一讲,后续会陆续 ...
- 添加链接服务器 SQL SERVER
使用sql语句: exec sp_addlinkedserver @server='serverontest',@provider='sqloledb',@srvproduct='',@datasrc ...