Jetson(XAVIER,NX)系列设备设置成NVME硬盘启动或者EMMC启动的保姆级教程,包括镜像恢复到外置存储,(附上脚本Github下载连接),Nvidia官方套件和国内厂家高仿载板都适用

 脚本已经上传到github,git clone即可

https://github.com/Unlicensed-driver-ljx/Jetson-.git

 顺便记录一下提交过程,用不到的就忽略过去就行了。

git config --global user.name “github用户名”

git config --global user.email “github邮箱”



git config --list  查看


ssh-keygen -t rsa -C “github邮箱”


 cat ~/.ssh/id_rsa.pub 生成的密钥登录github-> Settings-> SSH and GPG Keys-> New SSH key添加



测试是否连接成功

linuxidc@linuxidc:~$ ssh -T [email protected]



git init 

git status
On branch master

No commits yet

Untracked files:
  (use "git add ..." to include in what will be committed)
        .Xauthority
        .bash_logout
        .bashrc
        .cache/
        .config/
        .gitconfig
        .local/
        .profile
        .ssh/
        .sudo_as_admin_successful
        .vim/
        .viminfo
        .wget-hsts
        .xsessionrc
        Desktop/
        rootEMMCe-master.zip
        rootOnNVMe-rootOnEMM.tar
        rootOnNVMe-rootOnEMMc-master/
        rootOnNVMe-rootOnEMMc.tar
        tmp_NV_L4T_MULTIMEDIA_API_TARGET_POST_INSTALL_T194_COMP.sh

nothing added to commit but untracked files present (use "git add" to track)
git add rootOnNVMe-rootOnEMMc.tar
nvidia@nvidia-desktop:~$ git commit -m "first commit"
[master (root-commit) c264543] first commit
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 rootOnNVMe-rootOnEMMc.tar
nvidia@nvidia-desktop:~$ git branch -M main
nvidia@nvidia-desktop:~$ git remote add origin https://github.com/Unlicensed-driver-ljx/Jetson-.git
nvidia@nvidia-desktop:~$ git push -u origin main

fatal: unable to access 'https://github.com/Unlicensed-driver-ljx/Jetson-.git/': GnuTLS recv error (-110): The TLS connection was non-properly terminated.
nvidia@nvidia-desktop:~$
nvidia@nvidia-desktop:~$
nvidia@nvidia-desktop:~$
nvidia@nvidia-desktop:~$
nvidia@nvidia-desktop:~$
nvidia@nvidia-desktop:~$
nvidia@nvidia-desktop:~$
nvidia@nvidia-desktop:~$ pkg-config --modversion open
opencv4  opengl
nvidia@nvidia-desktop:~$ sudo apt-get install libcurl4-openssl-dev
[sudo] password for nvidia:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin dctrl-tools dpkg-repack gdal-data gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common libaec0
  libarmadillo9 libarpack2 libavcodec-dev libavformat-dev libavresample-dev libavresample4 libavutil-dev libcfitsio8 libcharls2 libdap25 libdapclient6v5 libdc1394-22-dev
  libdebian-installer4 libepsilon1 libevent-core-2.1-7 libevent-pthreads-2.1-7 libexif-dev libfreexl1 libfyba0 libgdal26 libgdcm-dev libgdcm3.0 libgeos-3.8.0 libgeos-c1v5
  libgeotiff5 libgl2ps1.4 libgphoto2-dev libhdf4-0-alt libhdf5-103 libhdf5-openmpi-103 libhwloc-plugins libhwloc15 libilmbase-dev libjbig-dev libjpeg-dev libjpeg-turbo8-dev
  libjpeg8-dev libjsoncpp1 libkmlbase1 libkmldom1 libkmlengine1 liblept5 liblzma-dev libminizip1 libnetcdf-c++4 libnetcdf15 libodbc1 libogdi4.1 libopencv-calib3d4.2
  libopencv-contrib4.2 libopencv-dnn4.2 libopencv-features2d4.2 libopencv-flann4.2 libopencv-highgui4.2 libopencv-imgcodecs4.2 libopencv-imgproc4.2 libopencv-ml4.2
  libopencv-objdetect4.2 libopencv-photo4.2 libopencv-shape4.2 libopencv-stitching4.2 libopencv-superres4.2 libopencv-video4.2 libopencv-videoio4.2 libopencv-videostab4.2
  libopencv-viz4.2 libopencv4.2-java libopencv4.2-jni libopenexr-dev libopenmpi3 libpmix2 libpng-dev libpq5 libproj15 libqhull7 libraw1394-dev libsocket++1 libspatialite7
  libsuperlu5 libswresample-dev libswscale-dev libsz2 libtbb-dev libtesseract4 libtiff-dev libtiffxx5 libtimezonemap-data libtimezonemap1 liburiparser1 libvtk6.3
  libxerces-c3.2 libxnvctrl0 odbcinst odbcinst1debian2 os-prober proj-data python3-icu python3-pam rdate tasksel tasksel-data
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libcurl4
Suggested packages:
  libcurl4-doc libidn11-dev libkrb5-dev libldap2-dev librtmp-dev libssh2-1-dev libssl-dev
The following NEW packages will be installed:
  libcurl4-openssl-dev
The following packages will be upgraded:
  libcurl4
1 upgraded, 1 newly installed, 0 to remove and 250 not upgraded.
Need to get 526 kB of archives.
After this operation, 1,494 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 libcurl4 arm64 7.68.0-1ubuntu2.14 [216 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 libcurl4-openssl-dev arm64 7.68.0-1ubuntu2.14 [310 kB]
Fetched 526 kB in 5s (109 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 158565 files and directories currently installed.)
Preparing to unpack .../libcurl4_7.68.0-1ubuntu2.14_arm64.deb ...
Unpacking libcurl4:arm64 (7.68.0-1ubuntu2.14) over (7.68.0-1ubuntu2.11) ...
Selecting previously unselected package libcurl4-openssl-dev:arm64.
Preparing to unpack .../libcurl4-openssl-dev_7.68.0-1ubuntu2.14_arm64.deb ...
Unpacking libcurl4-openssl-dev:arm64 (7.68.0-1ubuntu2.14) ...
Setting up libcurl4:arm64 (7.68.0-1ubuntu2.14) ...
Setting up libcurl4-openssl-dev:arm64 (7.68.0-1ubuntu2.14) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
nvidia@nvidia-desktop:~$ sudo apt-get update
Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
Hit:3 https://repo.download.nvidia.cn/jetson/common r35.1 InRelease
Hit:4 https://repo.download.nvidia.cn/jetson/t194 r35.1 InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
Hit:6 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Reading package lists... Done
nvidia@nvidia-desktop:~$ sudo apt-get install build-essential fakeroot dpkg-dev libcurl4-openssl-dev

git push -u origin main
Username for 'https://github.com': Unlicensed-driver-ljx
Password for 'https://[email protected]':
fatal: unable to access 'https://github.com/Unlicensed-driver-ljx/Jetson-.git/': GnuTLS recv error (-110): The TLS connection was non-properly terminated.
nvidia@nvidia-desktop:~$ git push
fatal: The current branch main has no upstream branch.
To push the current branch and set the remote as upstream, use

    git push --set-upstream origin main

 git push --set-upstream origin main
Username for 'https://github.com':  Unlicensed-driver-ljx
Password for 'https:// [email protected]':
remote: Support for password authentication was removed on August 13, 2021.
remote: Please see https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication.
fatal: Authentication failed for 'https://github.com/Unlicensed-driver-ljx/Jetson-.git/'
nvidia@nvidia-desktop:~$ git push -u origin main
Username for 'https://github.com': Unlicensed-driver-ljx
Password for 'https://[email protected]':
remote: Permission to Unlicensed-driver-ljx/Jetson-.git denied to Unlicensed-driver-ljx.
fatal: unable to access 'https://github.com/Unlicensed-driver-ljx/Jetson-.git/': The requested URL returned error: 403
nvidia@nvidia-desktop:~$ git push -u origin main

fatal: unable to access 'https://github.com/Unlicensed-driver-ljx/Jetson-.git/': GnuTLS recv error (-110): The TLS connection was non-properly terminated.
 

上传不了,登录密码换成密钥(12条消息) 彻底解决关于The requested URL returned error: 403错误_qwerqaqqq的博客-CSDN博客_the requested url returned error: 403 

 git push -u origin main
Username for 'https://github.com': Unlicensed-driver-ljx
Password for 'https://[email protected]':
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Delta compression using up to 4 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 4.57 KiB | 1.52 MiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To https://github.com/Unlicensed-driver-ljx/Jetson-.git
 * [new branch]      main -> main
Branch 'main' set up to track remote branch 'main' from 'origin'.Jetson(XAVIER,NX)系列设备设置成NVME硬盘启动或者EMMC启动的保姆级教程,包括镜像恢复到外置存储,(附上脚本Github下载连接),Nvidia官方套件和国内厂家高仿载板都适用_第1张图片

你可能感兴趣的:(嵌入式,Jetson,nvidia,运维,linux)