NVIDIA Jetson TK1学习与开发(四):一些细节问题
来源:互联网 发布:深圳网络教育机构 编辑:程序博客网 时间:2024/04/19 08:00
版权声明:本文为博主原创文章,转载请标注转载网址:http://blog.csdn.net/frd2009041510
本文把自己在学习或开发Jetson TK1过程中遇到的一些细节性的问题罗列出来,并提供解决方案。
首先就是wiki上提供的一些注意事项,网址:http://elinux.org/Jetson_TK1
1、An important step before connecting the Jetson to Internet
It is really important to tell "apt" not to overwrite the file "libglx.so" if you upgrade the system. "libglx.so" is a specific file in NVIDIA's graphics driver that might get replaced by an incorrect version from Ubuntu that stops you from being able to boot into the graphical environment! So please execute this command on your Jetson before you connect it to Internet or perform an update:
- sudo apt-mark hold xserver-xorg-core
2、Add the Universe package repositories, since you will often need packages from Universe for code development
- sudo apt-add-repository universe
- sudo apt-get update
3、If you will use the shell command-line a lot
Install "bash-completion" (it allows you to hit the "Tab" key to auto-complete your shell commands) and "command-not-found" (it shows which package you probably need to install if you run an unavailable command). These 2 tools are extremely useful when using the commandline, but were not installed by default in Ubuntu 14.04. Simply run this:- sudo apt-get install bash-completion command-not-found
- exit
4、change the shell prompt
You probably should also change the shell prompt (by adjusting "PS1" in the ".bashrc" file in your home directory) to be more useful, such as getting the shell prompt to have a different color than regular commands, and make it obvious if a command returned with an error. There are thousands of custom .bashrc configurations on the web, including Shervin's that provides a different colored shell prompt depending on whether a command was succesful or returned an error.
5、If you will use the graphical environment (Unity) a lot
turn off the desktop shopping suggestions that are enabled by default in Ubuntu 14.04 (despite the spyware concerns discussed by huge numbers of people) by running this:
- gsettings set com.canonical.Unity.Lenses disabled-scopes "['more_suggestions-amazon.scope', \
- 'more_suggestions-u1ms.scope', 'more_suggestions-populartracks.scope', 'music-musicstore.scope', \
- 'more_suggestions-ebay.scope', 'more_suggestions-ubuntushop.scope', 'more_suggestions-skimlinks.scope']"
6、If you need more disk space on the eMMC
The eMMC on the Jetson has a capacity of 16GB, however some instructions or boards default to only using 8GB of the drive (or 12GB, see discussion). If you require more disk space in your rootfs such as for installing toolkits or compiling large projects, you can flash the Jetson (from a Linux desktop) to have a larger filesystem (note that this will erase all data on the Jetson TK1, and it takes roughly 1 hour to flash the whole eMMC!):
- sudo ./flash.sh -S 14580MiB jetson-tk1 mmcblk0p1
7、Shutting down Jetson TK1 safely
Just like any Linux computer, the recommended way to shut-down or turn off Jetson TK1 is to click Shutdown in the GUI or run this in a terminal, to ensure the filesystem will not be corrupt:
- sudo shutdown -h now
相信仍然有很多细节性的问题亟待发现并解决,待续。。。。
- NVIDIA Jetson TK1学习与开发(四):一些细节问题
- NVIDIA Jetson TK1学习与开发(四):一些细节问题
- NVIDIA Jetson TK1学习与开发(一):NVIDIA Jetson TK1介绍
- NVIDIA Jetson TK1学习与开发(一):NVIDIA Jetson TK1介绍
- NVIDIA Jetson TK1学习与开发(三):图文详解Jetson TK1平台搭建
- NVIDIA Jetson TK1学习与开发(三):图文详解Jetson TK1平台搭建
- NVIDIA Jetson TK1学习与开发(二):入门指导
- NVIDIA Jetson TK1学习与开发(二):入门指导
- NVIDIA Jetson TK1学习与开发(七):图文详解OpenCV在Jetson TK1上的安装和使用
- NVIDIA Jetson TK1学习与开发(八):图文详解OpenGL在Jetson TK1上的安装和使用
- NVIDIA Jetson TK1学习与开发(七):图文详解OpenCV在Jetson TK1上的安装和使用
- NVIDIA Jetson TK1学习与开发(八):图文详解OpenGL在Jetson TK1上的安装和使用
- NVIDIA Jetson TK1学习与开发:如何解决输入和输出音频问题
- NVIDIA Jetson TK1学习与开发(五):helloworld的C版本与C++版本
- NVIDIA Jetson TK1学习与开发(五):helloworld的C版本与C++版本
- NVIDIA Jetson TK1学习与开发(十):人脸检测(Face Detection)
- NVIDIA Jetson TK1学习与开发(十):人脸检测(Face Detection)
- NVIDIA Jetson TK1学习与开发(六):如何安装CUDA
- WPF Storyboard动画停止
- 写了一个hello.py,运行出错,提示 File "<stdin>" , line 1
- Android WebView页面加载优化
- Arduino IDE的编译执行过程解读
- sscanf用法总结
- NVIDIA Jetson TK1学习与开发(四):一些细节问题
- codeforces #345(div2)
- HDU1710 Binary Tree Traversals
- YTU 1439: 2.4.5 Fractions to Decimals 分数化小数
- Problem F: C语言习题 不等长字符串排序
- opencv颜色识别和操作
- Oracle12c中SQL优化(SQL TUNING)新特性之SQL计划指令
- 【bzoj1305】[CQOI2009]dance跳舞 最大流
- Codeforces Round #345 (Div. 2) (D. Image Preview(二分))