Go to Post CHALLENGE: A dozen Krispy Kreamers to the first team to make a three-pointer during a break at an NBA game. - Natchez [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-11-2016, 06:35
Judge2005 Judge2005 is offline
Registered User
FRC #1277
 
Join Date: Mar 2016
Location: Groton MA
Posts: 4
Judge2005 is an unknown quantity at this point
Problem installing Jetpack 2.3 for Jetson TK1

Hi,

Our team (1277) are just getting into vision processing and decided to buy a TK1. I have tried installing Jetpack 2.3 on my ubuntu laptop but the install fails - it can't find arm32 ubuntu packages! It seems like this is a bit of deal breaker for the TK1 if arm32 ubuntu packages are no longer available.

Admittedly we have a big learning curve to go through here, but can anyone point us in the right direction with this? Did we make a mistake buying the TK1?

Thanks - Paul
Reply With Quote
  #2   Spotlight this post!  
Unread 06-11-2016, 08:46
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,259
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Problem installing Jetpack 2.3 for Jetson TK1

I would suggest following the jetpack installation guide. Missing packages is a symptom of not following that guide completely from what I've seen on the Nvidia embedded forums.

As for if you've made a mistake with the TK1. It's a great platform and more and more teams are using is successfully. That being said, I always tell teams who want to 'get started' with vision processing to start with the examples provided by FIRST/WPI and the GRIP program. It's not as sexy/cool/exciting but it is the right place to start. Once you have the basics down then a raspberry pi, kangaroo PC, Jetson, or android device is a solid way to progress.

Make sure you thoroughly read through the installation guide and if you're still stuck then post some output and logs so we can help you out a bit.
__________________
"La mejor salsa del mundo es la hambre" - Miguel de Cervantes
"The future is unwritten" - Joe Strummer
"Simplify, then add lightness" - Colin Chapman
Reply With Quote
  #3   Spotlight this post!  
Unread 06-11-2016, 11:54
Judge2005 Judge2005 is offline
Registered User
FRC #1277
 
Join Date: Mar 2016
Location: Groton MA
Posts: 4
Judge2005 is an unknown quantity at this point
Re: Problem installing Jetpack 2.3 for Jetson TK1

I followed the instructions here for a host install. Here's the installation logs for visionworks. Note the lack of arm32 package repos, the signature error, and warnings that none of the visionworks libraries could be 'authenticated'. The last line indicates it errored out and I couldn't find libvisionworks* in any of the library locations.

If I try and find arm32 ubuntu packages manually, they are not listed. For example at http://packages.ubuntu.com/search?keywords=search

Code:
Selecting previously unselected package libvisionworks-repo.
(Reading database ... 171708 files and directories currently installed.)
Preparing to unpack .../libvisionworks-repo_1.5.3.55n_amd64_ubuntu-14.04.deb ...
Unpacking libvisionworks-repo (1.5.3.55n) ...
Setting up libvisionworks-repo (1.5.3.55n) ...
Ign file:  InRelease
Get:1 file:  Release.gpg [181 B]
Get:2 file:  Release [698 B]
Ign http://us.archive.ubuntu.com trusty InRelease
Ign file:  Release
Get:3 http://us.archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Ign file:  Translation-en_US
Ign file:  Translation-en
Hit http://us.archive.ubuntu.com trusty-backports InRelease
Hit http://us.archive.ubuntu.com trusty Release.gpg
Hit http://us.archive.ubuntu.com trusty Release
Get:4 http://us.archive.ubuntu.com trusty-updates/main Sources [384 kB]
Get:5 http://us.archive.ubuntu.com trusty-updates/restricted Sources [5,360 B]
Get:6 http://us.archive.ubuntu.com trusty-updates/universe Sources [169 kB]
Hit http://security.ubuntu.com trusty-security InRelease
Get:7 http://us.archive.ubuntu.com trusty-updates/multiverse Sources [7,531 B]
Ign http://extras.ubuntu.com trusty InRelease
Get:8 http://us.archive.ubuntu.com trusty-updates/main amd64 Packages [913 kB]
Hit http://extras.ubuntu.com trusty Release.gpg
Get:9 http://us.archive.ubuntu.com trusty-updates/restricted amd64 Packages [15.9 kB]
Get:10 http://us.archive.ubuntu.com trusty-updates/universe amd64 Packages [388 kB]
Hit http://security.ubuntu.com trusty-security/main Sources
Get:11 http://us.archive.ubuntu.com trusty-updates/multiverse amd64 Packages [15.0 kB]
Hit http://us.archive.ubuntu.com trusty-backports/main Sources
Hit http://us.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://extras.ubuntu.com trusty Release
Hit http://us.archive.ubuntu.com trusty-backports/universe Sources
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://us.archive.ubuntu.com trusty-backports/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/restricted Sources
Hit http://us.archive.ubuntu.com trusty-backports/restricted amd64 Packages
Hit http://us.archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit http://us.archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://us.archive.ubuntu.com trusty/main Sources
Hit http://us.archive.ubuntu.com trusty/restricted Sources
Hit http://us.archive.ubuntu.com trusty/universe Sources
Hit http://us.archive.ubuntu.com trusty/multiverse Sources
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://us.archive.ubuntu.com trusty/main amd64 Packages
Hit http://us.archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://us.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://us.archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/restricted amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse amd64 Packages
Fetched 1,963 kB in 2s (745 kB/s)
W: GPG error: file:  Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D88C3D385C37D3BE
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease  Unable to find expected entry 'main/binary-arm32/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty-backports/InRelease  Unable to find expected entry 'main/binary-arm32/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/trusty-security/InRelease  Unable to find expected entry 'main/binary-arm32/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/trusty/Release  Unable to find expected entry 'main/binary-arm32/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/trusty/Release  Unable to find expected entry 'main/binary-arm32/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  libdrm-dev libeigen3-dev libgl1-mesa-dev libpthread-stubs0-dev libx11-dev
  libx11-doc libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev
  libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev
  libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev
  libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxshmfence-dev
  libxxf86vm-dev mesa-common-dev x11proto-core-dev x11proto-damage-dev
  x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev x11proto-input-dev
  x11proto-kb-dev x11proto-xext-dev x11proto-xf86vidmode-dev
  xorg-sgml-doctools xtrans-dev
Suggested packages:
  libeigen3-doc libmrpt-dev libxcb-doc libxext-doc
Recommended packages:
  cuda-cudart-dev-8-0 nvidia-cuda-dev libopencv4tegra-dev
The following NEW packages will be installed:
  libdrm-dev libeigen3-dev libgl1-mesa-dev libpthread-stubs0-dev
  libvisionworks libvisionworks-dev libvisionworks-docs libvisionworks-nvxio
  libvisionworks-nvxio-dev libvisionworks-samples libx11-dev libx11-doc
  libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev
  libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev
  libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev libxdamage-dev libxdmcp-dev
  libxext-dev libxfixes-dev libxshmfence-dev libxxf86vm-dev mesa-common-dev
  x11proto-core-dev x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev
  x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev
  x11proto-xf86vidmode-dev xorg-sgml-doctools xtrans-dev
0 upgraded, 42 newly installed, 0 to remove and 97 not upgraded.
Need to get 4,869 kB/70.9 MB of archives.
After this operation, 170 MB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  libvisionworks libvisionworks-dev libvisionworks-docs libvisionworks-nvxio
  libvisionworks-nvxio-dev libvisionworks-samples
E: There are problems and -y was used without --force-yes
Reply With Quote
  #4   Spotlight this post!  
Unread 06-11-2016, 14:50
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,259
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Problem installing Jetpack 2.3 for Jetson TK1

What version of Ubuntu are you trying to install this on?

I believe 14.04 is required.

It looks like you are missing a GPG key for one of the repos to me. That could be because the repo no longer exists, it wasn't added correctly to your repo list, or an OS version mismatch.

If you are on 14.04 theb try running apt-get update and apt-get upgrade before the install. Make sure to reboot after to pick up any kernel updates. If those commands produce similar output then post that please.
__________________
"La mejor salsa del mundo es la hambre" - Miguel de Cervantes
"The future is unwritten" - Joe Strummer
"Simplify, then add lightness" - Colin Chapman
Reply With Quote
  #5   Spotlight this post!  
Unread 06-11-2016, 16:15
Judge2005 Judge2005 is offline
Registered User
FRC #1277
 
Join Date: Mar 2016
Location: Groton MA
Posts: 4
Judge2005 is an unknown quantity at this point
Re: Problem installing Jetpack 2.3 for Jetson TK1

Worked like a charm. Thanks for your help!
Reply With Quote
  #6   Spotlight this post!  
Unread 06-11-2016, 22:35
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,259
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: Problem installing Jetpack 2.3 for Jetson TK1

Quote:
Originally Posted by Judge2005 View Post
Worked like a charm. Thanks for your help!
Sweet! Also, what worked?
__________________
"La mejor salsa del mundo es la hambre" - Miguel de Cervantes
"The future is unwritten" - Joe Strummer
"Simplify, then add lightness" - Colin Chapman
Reply With Quote
  #7   Spotlight this post!  
Unread 26-11-2016, 08:48
Judge2005 Judge2005 is offline
Registered User
FRC #1277
 
Join Date: Mar 2016
Location: Groton MA
Posts: 4
Judge2005 is an unknown quantity at this point
Re: Problem installing Jetpack 2.3 for Jetson TK1

I take it back. It didn't work like a charm.

First, to answer your question I did apt-get update and upgrade and reboot and run again.

So I only ran the host install, because I didn't have the TK1 around. When I finally got my hands on the TK1 again, I ran the TK1 part of the install and I was back to square 1, like it had never worked in the first place.

I've given up trying to install it. I posted on the nvidia developer forums where the response was basically 'We have an exact copy of the software here and ours is working fine'.

I've gone down the route of trying to get GRIP working on it, using some old instructions I found on this forum here. They are clearly out of date, but it is possible to figure out the intent and move from there (although I am currently stuck there too).

I have to say: Don't buy this board. Nothing I try to do with it works, including:
  • Adding a wifi device driver.
  • Using ufw
  • Adding and using vnc
  • Installing Jetpack
  • Building GRIP (this latter is a great learning experience and I haven't totally given up yet, despite my experience with all of the above)

There are a couple of problems that seem to exist:

The first is that Nvidia seem to have moved on to the TX1. The TK1 doesn't get much love.

The second is that using an arm based device as a native build environment is still a novelty. Most packages and instructions for using them assume you are cross-compiling on something else. They also often assume you are cross compiling for Android.

The third is that no one seems to explain (or know?) the purpose of all of the various build options (compiler switches, compiler options, tool options etc). They generally just seem to be messing with the incantations until something seems to work, then finally it doesn't.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 17:25.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi