Problem in Installing CUDA 7.0 for Jetson TX1

Hello Everyone

Greetings of the Day !!..

I’m Amitava from India, I’m a new to Jetson TX1 and wish to learn more for that I want to install CUDA 7.0 but facing some problem in installing.

  1. I downloaded the package from NVIDIA Developer Web page and
    followed

    dpkg -i cuda-repo-l4t-r23.1-7-0-local_7.0-71_armhf.deb

    Which runned Sucessfully.

  2. Followed apt-get update

Which resulted
Ign file: InRelease
Ign file: InRelease
Get:1 file: Release.gpg [181 B]
Get:2 file: Release.gpg [198 B]
Get:3 file: Release [196 B]
Get:4 file: Release [196 B]
Ign file: Translation-en_US
Ign file: Translation-en
Ign file: Translation-en_US
Ign file: Translation-en
Ign http://ports.ubuntu.com trusty InRelease
Hit http://ports.ubuntu.com trusty-updates InRelease
Hit http://ports.ubuntu.com trusty-security InRelease
Hit http://ports.ubuntu.com trusty Release.gpg
Hit http://ports.ubuntu.com trusty-updates/main Sources
Hit http://ports.ubuntu.com trusty-updates/restricted Sources
Hit http://ports.ubuntu.com trusty-updates/universe Sources
Hit http://ports.ubuntu.com trusty-updates/multiverse Sources
Hit http://ports.ubuntu.com trusty-updates/main arm64 Packages
Hit http://ports.ubuntu.com trusty-updates/restricted arm64 Packages
Hit http://ports.ubuntu.com trusty-updates/universe arm64 Packages
Hit http://ports.ubuntu.com trusty-updates/multiverse arm64 Packages
Hit http://ports.ubuntu.com trusty-updates/main armhf Packages
Hit http://ports.ubuntu.com trusty-updates/restricted armhf Packages
Hit http://ports.ubuntu.com trusty-updates/universe armhf Packages
Hit http://ports.ubuntu.com trusty-updates/multiverse armhf Packages
Hit http://ports.ubuntu.com trusty-updates/main Translation-en
Hit http://ports.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://ports.ubuntu.com trusty-updates/restricted Translation-en
Hit http://ports.ubuntu.com trusty-updates/universe Translation-en
Hit http://ports.ubuntu.com trusty-security/main Sources
Hit http://ports.ubuntu.com trusty-security/restricted Sources
Hit http://ports.ubuntu.com trusty-security/universe Sources
Hit http://ports.ubuntu.com trusty-security/multiverse Sources
Hit http://ports.ubuntu.com trusty-security/main arm64 Packages
Hit http://ports.ubuntu.com trusty-security/restricted arm64 Packages
Hit http://ports.ubuntu.com trusty-security/universe arm64 Packages
Hit http://ports.ubuntu.com trusty-security/multiverse arm64 Packages
Hit http://ports.ubuntu.com trusty-security/main armhf Packages
Hit http://ports.ubuntu.com trusty-security/restricted armhf Packages
Hit http://ports.ubuntu.com trusty-security/universe armhf Packages
Hit http://ports.ubuntu.com trusty-security/multiverse armhf Packages
Hit http://ports.ubuntu.com trusty-security/main Translation-en
Hit http://ports.ubuntu.com trusty-security/multiverse Translation-en
Hit http://ports.ubuntu.com trusty-security/restricted Translation-en
Hit http://ports.ubuntu.com trusty-security/universe Translation-en
Hit http://ports.ubuntu.com trusty Release
Hit http://ports.ubuntu.com trusty/main Sources
Hit http://ports.ubuntu.com trusty/restricted Sources
Hit http://ports.ubuntu.com trusty/universe Sources
Hit http://ports.ubuntu.com trusty/multiverse Sources
Hit http://ports.ubuntu.com trusty/main arm64 Packages
Hit http://ports.ubuntu.com trusty/restricted arm64 Packages
Hit http://ports.ubuntu.com trusty/universe arm64 Packages
Hit http://ports.ubuntu.com trusty/multiverse arm64 Packages
Hit http://ports.ubuntu.com trusty/main armhf Packages
Hit http://ports.ubuntu.com trusty/restricted armhf Packages
Hit http://ports.ubuntu.com trusty/universe armhf Packages
Hit http://ports.ubuntu.com trusty/multiverse armhf Packages
Hit http://ports.ubuntu.com trusty/main Translation-en
Hit http://ports.ubuntu.com trusty/multiverse Translation-en
Hit http://ports.ubuntu.com trusty/restricted Translation-en
Hit http://ports.ubuntu.com trusty/universe Translation-en
Ign http://ports.ubuntu.com trusty/main Translation-en_US
Ign http://ports.ubuntu.com trusty/multiverse Translation-en_US
Ign http://ports.ubuntu.com trusty/restricted Translation-en_US
Ign http://ports.ubuntu.com trusty/universe Translation-en_US
Reading package lists… Done
W: Duplicate sources.list entry Index of /ubuntu-ports trusty/universe arm64 Packages (/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_trusty_universe_binary-arm64_Packages)
W: Duplicate sources.list entry Index of /ubuntu-ports trusty/universe armhf Packages (/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_trusty_universe_binary-armhf_Packages)
W: You may want to run apt-get update to correct these problems

3. Then i followed chmod +x JetPack-L4T-2.0-linux-x64.run and runned the installer which created _installer directory.

  1. Following ./cuda-l4t.sh …/cuda-repo-l4t-r23.1-7-0-local_7.0-71_armhf.deb 7.0 7-0 the error is showing

[i]dpkg: error processing archive /root/cuda-l4t/…/cuda-repo-l4t-r23.1-7-0-local_7.0-71_armhf.deb (–install):
cannot access archive: No such file or directory
Errors were encountered while processing:
/root/cuda-l4t/…/cuda-repo-l4t-r23.1-7-0-local_7.0-71_armhf.deb
Ign file: InRelease
Ign file: InRelease
Get:1 file: Release.gpg [181 B]
Get:2 file: Release.gpg [198 B]
Get:3 file: Release [196 B]
Get:4 file: Release [196 B]
Ign file: Translation-en_US
Ign file: Translation-en
Ign file: Translation-en_US
Ign file: Translation-en
Ign http://ports.ubuntu.com trusty InRelease
Hit http://ports.ubuntu.com trusty-updates InRelease
Hit http://ports.ubuntu.com trusty-security InRelease
Hit http://ports.ubuntu.com trusty Release.gpg
Hit http://ports.ubuntu.com trusty-updates/main Sources
Hit http://ports.ubuntu.com trusty-updates/restricted Sources
Hit http://ports.ubuntu.com trusty-updates/universe Sources
Hit http://ports.ubuntu.com trusty-updates/multiverse Sources
Hit http://ports.ubuntu.com trusty-updates/main arm64 Packages
Hit http://ports.ubuntu.com trusty-updates/restricted arm64 Packages
Hit http://ports.ubuntu.com trusty-updates/universe arm64 Packages
Hit http://ports.ubuntu.com trusty-updates/multiverse arm64 Packages
Hit http://ports.ubuntu.com trusty-updates/main armhf Packages
Hit http://ports.ubuntu.com trusty-updates/restricted armhf Packages
Hit http://ports.ubuntu.com trusty-updates/universe armhf Packages
Hit http://ports.ubuntu.com trusty-updates/multiverse armhf Packages
Hit http://ports.ubuntu.com trusty-updates/main Translation-en
Hit http://ports.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://ports.ubuntu.com trusty-updates/restricted Translation-en
Hit http://ports.ubuntu.com trusty-updates/universe Translation-en
Hit http://ports.ubuntu.com trusty-security/main Sources
Hit http://ports.ubuntu.com trusty-security/restricted Sources
Hit http://ports.ubuntu.com trusty-security/universe Sources
Hit http://ports.ubuntu.com trusty-security/multiverse Sources
Hit http://ports.ubuntu.com trusty-security/main arm64 Packages
Hit http://ports.ubuntu.com trusty-security/restricted arm64 Packages
Hit http://ports.ubuntu.com trusty-security/universe arm64 Packages
Hit http://ports.ubuntu.com trusty-security/multiverse arm64 Packages
Hit http://ports.ubuntu.com trusty-security/main armhf Packages
Hit http://ports.ubuntu.com trusty-security/restricted armhf Packages
Hit http://ports.ubuntu.com trusty-security/universe armhf Packages
Hit http://ports.ubuntu.com trusty-security/multiverse armhf Packages
Hit http://ports.ubuntu.com trusty-security/main Translation-en
Hit http://ports.ubuntu.com trusty-security/multiverse Translation-en
Hit http://ports.ubuntu.com trusty-security/restricted Translation-en
Hit http://ports.ubuntu.com trusty-security/universe Translation-en
Hit http://ports.ubuntu.com trusty Release
Hit http://ports.ubuntu.com trusty/main Sources
Hit http://ports.ubuntu.com trusty/restricted Sources
Hit http://ports.ubuntu.com trusty/universe Sources
Hit http://ports.ubuntu.com trusty/multiverse Sources
Hit http://ports.ubuntu.com trusty/main arm64 Packages
Hit http://ports.ubuntu.com trusty/restricted arm64 Packages
Hit http://ports.ubuntu.com trusty/universe arm64 Packages
Hit http://ports.ubuntu.com trusty/multiverse arm64 Packages
Hit http://ports.ubuntu.com trusty/main armhf Packages
Hit http://ports.ubuntu.com trusty/restricted armhf Packages
Hit http://ports.ubuntu.com trusty/universe armhf Packages
Hit http://ports.ubuntu.com trusty/multiverse armhf Packages
Hit http://ports.ubuntu.com trusty/main Translation-en
Hit http://ports.ubuntu.com trusty/multiverse Translation-en
Hit http://ports.ubuntu.com trusty/restricted Translation-en
Hit http://ports.ubuntu.com trusty/universe Translation-en
Ign http://ports.ubuntu.com trusty/main Translation-en_US
Ign http://ports.ubuntu.com trusty/multiverse Translation-en_US
Ign http://ports.ubuntu.com trusty/restricted Translation-en_US
Ign http://ports.ubuntu.com trusty/universe Translation-en_US
Reading package lists… Done
W: Duplicate sources.list entry Index of /ubuntu-ports trusty/universe arm64 Packages (/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_trusty_universe_binary-arm64_Packages)
W: Duplicate sources.list entry Index of /ubuntu-ports trusty/universe armhf Packages (/var/lib/apt/lists/ports.ubuntu.com_ubuntu-ports_dists_trusty_universe_binary-armhf_Packages)
W: You may want to run apt-get update to correct these problems
Reading package lists… Done
Building dependency tree
Reading state information… Done
libgomp1 is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
cuda-toolkit-7-0:armhf : Depends: cuda-core-7-0:armhf (= 7.0-71) but it is not going to be installed
Depends: cuda-command-line-tools-7-0:armhf (= 7.0-71) but it is not going to be installed
Depends: cuda-samples-7-0:armhf (= 7.0-71) but it is not going to be installed
Depends: cuda-documentation-7-0:armhf (= 7.0-71) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
[/i]

Awaiting for your earliest reply and Thanks in advance

Regards
AMITAVA

Hi Amitava, you reference JetPack-L4T-2.0 in your post above. This is outdated version. Please download the latest JetPack-L4T-2.3.1 to your host PC and re-flash and complete the post-install steps.

Note that JetPack is to be run from the host PC while the Jetson is connected in recovery mode via micro-USB and ethernet. After flashing the image, JetPack will reboot the Jetson and connect over the network via SSH to complete the post-install steps, including installing CUDA toolkit. Note that by default, JetPack will automatically install the CUDA toolkit DEB package to your Jetson, you don’t need to do it.

Hello

Thanks for your reply. I can find Jetpack L4T 3.0 can i download the same and use for Jetson TX1 flashing

Also does Jetson TX 1 need to be connected with HDMI monitor during flashing ?

Awaiting for your reply and thanks in advance

Regards
AMITAVA

Yes, after downloading JetPack-L4T 3.0 to the host PC and running it, select Jetson TX1 in the dialogue and it will install the appropriate version for TX1.

Yes it is recommended to have HDMI monitor connected to Jetson during flashing, because after flashing completes, the host PC will reset the Jetson and it’s good to verify the Jetson boots up before waiting for it to establish SSH connection over the network. Also this way you can obtain the IP address if necessary of the Jetson if JetPack has a problem querying it automatically with DHCP.