【ARM-Linux開發】【CUDA開發】【深度學習與神經網路】Jetson Tx2安裝相關之一__Linux

來源:互聯網
上載者:User
I am trying to install libraries on to Jetson Tx2 using Jetpack 3.0.

The host computer has Ubuntu 16.04 installed. I tried following the instructions given in the JetPack documentation which also flashes the OS. It has successfully flashed the OS, but when it comes to installing the libraries, it is unable to determine the IP address. I have connected both the host computer and the TX2 to a router which is connected to the Internet. I am able to ssh in the TX2 via terminal, but the Jetpack cannot determine the IP address on its own. The error I get is address is already in use.

I have also attempted to put the address manually, which takes about hours to connect but the Jetpack is unable to copy and install the libraries.

Please help.

#1 Posted 05/15/2017 11:01 PM   
    JetPack requires Ubuntu 14.04. Some people have figured out how to make it work on 16.04, but I don't know the details. I suspect there may be some change in how networking is set up between 14.04 and 16.04, but that's only conjecture. There are ways to get to the packages being installed via JetPack, but then you're back to doing things on the command line. Can you use Ubuntu 14.04?

#2 Posted 05/15/2017 11:58 PM    ShwetaPhilip     Unfortunately no. I am setting up for my work. The standard here is to have Ubuntu 16.04 on all computers.

#3 Posted 05/16/2017 12:02 AM    linuxdev     Someone else may be able to comment on what might be done to fool JetPack into working on 16.04. Meanwhile, if you are interested, you can manually extract parts of JetPack, and then copy over to the Jetson (such as through scp).

If you run this on the host, JetPack will unpack files...because you were able to run this already (just not doing what you wanted), then this first step may not even be needed (it's to unpack files):

 bash ./JetPack-L4T-2.3.1-linux-x64.run --noexec

./Chooser
# You can now exit Chooser...previous runs may have already done what this would achieve.

There should now be file "repository.json". This file contains the URLs which can be downloaded (I use wget) and copied over to the Jetson. Notice that this is a human-readable file, and that because Jetson can install packages to a TK1, a TX1, a TX2, or even an x86_64 host, that you need to pay attention to get only the TX2 files. One file in particular would be the starting point...that's the  CUDA repo info applicable to arm64 architecture and Ubuntu 16.04 (current L4T for both TX1 and TX2 are Ubuntu 16.04...this does not refer to the host). With this CUDA can be installed (which is a requirement for most other things) and the local repo will become available on the Jetson (I think TX1 and TX2 use the same CUDA though). For example, this is what I used to get CUDA on TX2:
 wget http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/006/linux-x64/nv-gie-repo-ubuntu1604-6-rc-cuda8.0_1.0.2-1_arm64.deb 


Copy this over to the Jetson (scp for example), and install using sudo dpkg. Run "sudp apt update". Now you can search for and install anything from the local CUDA repo, including CUDA. Other packages should correctly resolve dependencies since you have a repo and not just an individual file.

#4 Posted 05/16/2017 12:30 AM    ShwetaPhilip     Thank you for the suggestion. I had done that earlier, let Jetpack download deb files for CUDA, CUDNN and opencv. However, that only installs cuda, but not CUDNN. OpenCV was also not installed properly as I wasn't able to import cv2 libraries. I also need to install TensorRT. Hence I wanted to get the Jetpack to work.

#5 Posted 05/16/2017 01:04 AM    snarky     For what it's worth:
I installed Jetpack 3.0 on Ubuntu 16.04.2 stock (a brand new install on bare hardware with enough free disk space and simple Intel Integrated graphics.)

It seemed to install and flashed fine. (Note: I had the "press return to continue" not continuing bug, which seems to be there no matter what the OS version.)

Note that I didn't babysit the entire process, because it took a long time, so if some error was displayed but then timed out, I might have missed it. But it seems to work fine for me.
sha1sum -c /etc/nv_tegra_release on the board is all OK.

#6 Posted 05/16/2017 01:54 AM    linuxdev     I noticed that in "repository.json" there is:

 "url": "http://developer.download.nvidia.com/devzone/devcenter/mobile/jetpack_l4t/006/lin

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.