View Full Version : Problem installing Jetpack 2.3 for Jetson TK1
Judge2005
06-11-2016, 06:35
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
marshall
06-11-2016, 08:46
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.
Judge2005
06-11-2016, 11:54
I followed the instructions here (http://docs.nvidia.com/jetpack-l4t/2_3/index.html#developertools/mobile/jetpack/l4t/2.3/jetpack_l4t_install.htm) 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
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
marshall
06-11-2016, 14:50
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.
Judge2005
06-11-2016, 16:15
Worked like a charm. Thanks for your help!
marshall
06-11-2016, 22:35
Worked like a charm. Thanks for your help!
Sweet! Also, what worked? ;)
Judge2005
26-11-2016, 08:48
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 (https://www.chiefdelphi.com/forums/showthread.php?t=143516). 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.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.