一、图形化界面
买来开发板后,进入NVIDIA-INSTALLERS页面,有几十兆的文件
Tegra124_Linux_R21.2.0_armhf.tbz2
21是版本,不同批次不同。
这是板上驱动包,运行./installer.sh后出现图形化界面。
二、Tegra_Linux_Sample-Root-Filesystem_R21.4.0_armhf.tbz2
这个是系统,有600多兆,用micro usb接口与ubuntu主机相连后刷系统用。
sudo tar xpf Tegra124_Linux_R21.2.0_armhf.tbz2 cd Linux_for_Tegra/rootfs/ sudo tar xpf ../../Tegra_Linux_Sample-Root-Filesystem_R21.2.0_armhf.tbz2 cd ../ sudo ./apply_binaries.sh 3. Flash the rootfs onto the system's internal eMMC. a) Put your system into "reset recovery mode" by holding down the RECOVERY button and press RESET button once on the main board. b) Ensure your Linux host system is connected to the target device through the USB cable for flashing. sudo ./flash.sh 'jetson-tk1' mmcblk0p1 #This will take less than 10 minutes.
二、
三、JetPackTK1-1.2-cuda6.5-linux-x64.run 十几兆
安装过程中下载上G的包,包括cuda for ubuntu cuda for jetson opencv也是两套,
一套是host ubuntu用,一套是jetson运行用。
http://docs.nvidia.com/jetpack-tk1/index.html#developertools/mobile/jetpack_install.htm
sudo dpkg -i cuda-repo-l4t-r21.1-6-5-prod_6.5-14_armhf.deb | # Download & install the actual CUDA Toolkit including the OpenGL toolkit from NVIDIA. | sudo apt-get update | sudo apt-get install cuda-toolkit-6-5 -y | # Add yourself to the "video" group to allow access to the GPU | sudo usermod -a -G video $USER | #Add the 32-bit CUDA paths to your .bashrc login script, and start using it in your current console: | echo "# Add CUDA bin & library paths:">> ~/.bashrc | echo "export PATH=/usr/local/cuda-6.5/bin:$PATH">> ~/.bashrc | echo "export LD_LIBRARY_PATH=/usr/local/cuda-6.5/lib:$LD_LIBRARY_PATH">> ~/.bashrc | source ~/.bashrc | # Build Samples (optional) | cd /usr/local/cuda-6.5/bin | ./cuda-install-samples-6.5.sh ~/ | # Switch to CUDA directory in ~/ | make |
四、可能遇到的问题:
sudo apt-get update后,登陆界面不断提示输入密码,重装驱动即可,或者:
或者覆盖破坏的文件:
I saw an xorg update, so I thought I'd check out if this is what has been troubling people. It is!
This packages is at fault for overwriting nVidia's version:
xserver-xorg-core
Before upgrading those two packages (comes with xserver-common), deselect xserver-xorg-core.
For nVidia:
/usr/lib/xorg/modules/extensions/libglx.so