JetsonTX2+JetPack4.5刷机

时间:2024-02-22 20:52:54

本博文 主要记录 本博对JetsonTX2的刷机心路历程(JetPack4.5  2021年1月22日)

1. 购买了JetsonTX2开发套件一套、JetsonTX2核心板与对应的小开发板,JetsonTX2开发套件主要目的是在实验室里进行算法测试与验证,JetsonTX2核心板与对应的小开发板主要目的是往无人机上移植,如下:

    

2. JetsonTX2开发套件自带系统,自带JetPack4.3(L4T 32.3.1),开发套件开机并查看,打开终端,输入版本查看命令:head -n 1 /etc/nv_tegra_release

3. 其他的东西要么没有,要么没刷进去,比如cuda版本为6,太低了,TensoRT就压根没有!  天无绝人之路,哥要刷机! 刷机! 刷机!

4. 下载sdkmanager,我下载最新的sdkmanager_1.4.0-7363_amd64.deb地址为:

https://developer.nvidia.com/embedded/jetpack-archive 需要账户登录并下载,这个账户后面还要用,是必须要的。

5. 提前准备一台机器,笔记本或台式机,我们暂称之为上位机,在上位机中安装(Ubuntu18.04-LTS  8G内存需求,若虚拟机请将磁盘容量至少设置在60G以上,内存8G),sdkmanager,命令:

$ sudo apt install ./sdkmanager_1.4.0-7363_amd64.deb

$ sdkmanager

6. 登录(常规操作)

登录正常应该如下界面,但是,如果…… 出现以下界面主要原因是靠脸,脸好看就会出现以下界面!  可偏偏,本博脸比上不足比下有余,实属难看,所以没给给我以下的界面,而是给了下面这张界面后的界面,显示:OOPS No SDK on you account! …… 命不好,没办法!

我问你怎么办?怎么办?怎么办?我该怎么办?怎么办?怎么办?

反正呢,我是解决了,怎么解决的我要保密,但是我可以悄悄地告诉你一部分:

sdkmanager安装好后,在~/.nvsdkm/sdkm.log文件,你只需要,在终端输入:

$ sudo tail -f ~/.nvsdkm/sdkm.log

一边登录sdkmanager,就可以在终端中显示相关信息了,主要是看Failed和Error信息,看完你就明白了,至此打住,别问!别问!别问!!!

6. 不用更换上位机的源,JetPack4.5相关的文件我已经提前下载好,放置于百度网盘中,共61个文件+2个JSON配置文件,共计63个文件,需要的话,就请留言,我回贴出来的,要就要留言!要就要留言!要就要留言!保证给!保证给!保证给! 你只需要,在home下,新建jetpack4.5/nvidia/nvidia_download 和jetpack4.5/nvidia/nvidia_sdk

将下载好的63个文件 放置在jetpack4.5/nvidia/nvidia_download中,怎么放进去,你自己看着办!你自己看着办!你自己看着办!

7. 然后就是正常刷机了,网上教程千篇一律,自己去“偷看”,我就不搬砖了!不搬砖了!不搬砖了!

8. 其他的问题,就是保证上位机与JetsonTX2在同一个局域网中!

9. 其他的问题,在刷机开机后,配置TX2网络同时开启ssh服务,需要保证上位机终端能够 ssh JetsonTX2-name@IP 访问,该重启就得重启!

10. 其他的问题,若上位机是虚拟机,可能会出现,tlp问题,显示如“0955:7c18”,需要编辑/etc/default/tlp 新增如下,然后重启!

USB_BLACKLIST=” 0955:7c18”

11. 在下位机TX2 输入法安装: $ sudo apt-get install fcitx-googlepinyin

12. 在下位机TX2 安装 TX2监控软件包 jetson-stats,你会发现别有洞天:

     $ sudo apt-get install python3-pip

     $ sudo pip3 install jetson-stats

     $ sudo jtop

13. 刷完机,若你需要换源,你自己决定,自己看着办!自己看着办!自己看着办!

算了,还是贴出那61个文的下载地址吧,若自己网速好,就自己下,尽量不要觊觎我的网盘地址,真有必要,就留言吧!

03:25:43.763 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/ubuntu1804/cuda-repo-ubuntu1804-10-2-local-10.2.89-440.40_1.0-1_amd64.deb

03:25:43.764 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/cuda-repo-cross-aarch64-10-2-local-10.2.89_1.0-1_all.deb

03:25:43.764 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/cuda-repo-l4t-10-2-local-10.2.89_1.0-1_arm64.deb

03:25:43.764 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/OpenCV-4.1.1-2-gd5a58aa75-aarch64-libs.deb

03:25:43.764 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/OpenCV-4.1.1-2-gd5a58aa75-aarch64-dev.deb

03:25:43.764 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/OpenCV-4.1.1-2-gd5a58aa75-aarch64-licenses.deb

03:25:43.764 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/OpenCV-4.1.1-2-gd5a58aa75-aarch64-python.deb

03:25:43.764 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/OpenCV-4.1.1-2-gd5a58aa75-aarch64-samples.deb

03:25:43.764 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/libvisionworks-repo_1.6.0.501_amd64.deb

03:25:43.764 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/libvisionworks-sfm-repo_0.90.4.501_amd64.deb

03:25:43.764 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/libvisionworks-tracking-repo_0.88.2.501_amd64.deb

03:25:43.764 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NVIDIA_VisionWorks_References.zip

03:25:43.764 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/vpi-lib-1.0.12-cuda10-x86_64-linux.deb

03:25:43.764 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/vpi-dev-1.0.12-cuda10-x86_64-linux.deb

03:25:43.764 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/vpi-samples-1.0.12-cuda10-x86_64-linux.deb

03:25:43.764 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/ubuntu1804/vpi-demos-1.0.12-cuda10-x86_64-linux-ubuntu1804.deb

03:25:43.764 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/vpi-lib-1.0.12-cuda10-aarch64-l4t.deb

03:25:43.764 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/vpi-dev-1.0.12-cuda10-aarch64-l4t.deb

03:25:43.764 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/vpi-samples-1.0.12-cuda10-aarch64-l4t.deb

03:25:43.764 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/vpi-demos-1.0.12-cuda10-aarch64-l4t.deb

03:25:43.764 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/libcudnn8_8.0.0.180-1+cuda10.2_arm64.deb

03:25:43.764 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/libcudnn8-dev_8.0.0.180-1+cuda10.2_arm64.deb

03:25:43.764 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/libcudnn8-doc_8.0.0.180-1+cuda10.2_arm64.deb

03:25:43.764 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/vpi-cross-aarch64-l4t-1.0.12-cuda10-x86_64-linux.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NVIDIA_Nsight_Graphics_L4T_Public_2020.5.20329.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NoDLA/libnvinfer7_7.1.3-1+cuda10.2_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NoDLA/libnvinfer-dev_7.1.3-1+cuda10.2_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NoDLA/libnvinfer-plugin7_7.1.3-1+cuda10.2_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NoDLA/libnvinfer-plugin-dev_7.1.3-1+cuda10.2_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NoDLA/libnvonnxparsers7_7.1.3-1+cuda10.2_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NoDLA/libnvonnxparsers-dev_7.1.3-1+cuda10.2_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NoDLA/libnvparsers7_7.1.3-1+cuda10.2_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NoDLA/libnvparsers-dev_7.1.3-1+cuda10.2_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NoDLA/libnvinfer-bin_7.1.3-1+cuda10.2_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NoDLA/libnvinfer-doc_7.1.3-1+cuda10.2_all.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NoDLA/libnvinfer-samples_7.1.3-1+cuda10.2_all.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NoDLA/tensorrt_7.1.3.0-1+cuda10.2_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NoDLA/python-libnvinfer_7.1.3-1+cuda10.2_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NoDLA/python-libnvinfer-dev_7.1.3-1+cuda10.2_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NoDLA/python3-libnvinfer_7.1.3-1+cuda10.2_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NoDLA/python3-libnvinfer-dev_7.1.3-1+cuda10.2_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NoDLA/graphsurgeon-tf_7.1.3-1+cuda10.2_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NoDLA/uff-converter-tf_7.1.3-1+cuda10.2_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/libvisionworks-repo_1.6.0.501_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/libvisionworks-sfm-repo_0.90.4.501_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/libvisionworks-tracking-repo_0.88.2.501_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/NsightSystems-linux-public-2020.5.3.17-0256620.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/T186/Jetson_Linux_R32.5.0_aarch64.tbz2

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/nvidia-container-csv-cuda_10.2.89-1_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/nvidia-container-csv-cudnn_8.0.0.180-1+cuda10.2_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/nvidia-container-csv-tensorrt_7.1.3.0-1+cuda10.2_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/nvidia-container-csv-visionworks_1.6.0.501_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/libnvidia-container0_0.9.0_beta.1_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/libnvidia-container-tools_0.9.0_beta.1_arm64.deb

03:25:43.765 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/nvidia-container-toolkit_1.0.1-1_arm64.deb

03:25:43.766 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/nvidia-container-runtime_3.1.0-1_arm64.deb

03:25:43.766 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/nvidia-docker2_2.2.0-1_all.deb

03:25:43.766 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/T186/nvidia-l4t-jetson-multimedia-api_32.5.0-20210115151051_arm64.deb

03:25:43.766 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/T186/Tegra_Linux_Sample-Root-Filesystem_R32.5.0_aarch64.tbz2

03:25:43.766 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129/nsight-systems-cli-2020.5.3_2020.5.3.17-1_arm64.deb

03:25:43.766 :  https://developer.nvidia.com/assets/embedded/secure/tools/files/jetpack-sdks/jetpack-4.5/JETPACK_45_b129_DEEPSTREAM/deepstream-5.0_5.0.1-1_arm64.deb

还有2个文件!

sdkml3_jetpack_l4t_45.json 文件内容太多

sdkml3_jetpack_l4t_45_deepstream.json文件内容太多

共计63个文件

json 文件你要我就给!你要我就给!你要我就给!