JetPack 4.1 – NVIDIA Jetson AGX Xavier
Articles Blog

JetPack 4.1 – NVIDIA Jetson AGX Xavier

August 16, 2019


Hello, it’s Jim from JetsonHacks.com. On
today’s show we are going to use JetPack 4.1 to install the system software and
libraries onboard the Nvidia Jetson AGX Xavier developer kit. If that doesn’t
make you want to stick around, I don’t know what would. Let’s get started. Let’s go over the hardware setup you will need.
A PC (either a desktop or a laptop) running Ubuntu 16.04 or Ubuntu 18.04.
For the purposes of this demonstration, we have a laptop running Ubuntu 16.04.
The laptop is hooked into a Gigabit Ethernet switch. You also need your
Xavier, of course. T he Xavier is hooked into the Ethernet switch. The Ethernet
switch is hooked into the Internet. The Xavier is hooked into this HDMI monitor
and also into a USB hub, which connects the keyboard and the mouse. You will also
need the USB A to USB C cable that was provided with a developer kit. Plug the
USB C into the Xavier on the front panel. (The front panel is where the GPIO pins
are) and plug the USB A side into the PC. Now
let’s switch over to the PC and install the software. We go to the JetPack
webpage. I’ve already signed into the developer portal. Let’s download jetpack
4.1 Developer Preview EA. That takes us to the Jetson Download Center. Let’s open
this up. OK, we go over here to the Downloads area. Let’s take a look at it.
Showing the folder. I have made up a folder to store it in. We will copy it
over there. Let’s take a look at the install guide. And here are the
instructions that you’re supposed to follow. Let’s change the JetPack install
permissions so that we can execute it as a program, then we’ll switch over to this
directory. Now we’re ready to run JetPack. “JetPack
SDK is the most comprehensive solution for building AI applications” OK. Next!
This looks good.. Lets’ enable usage collection. Next!
This looks good. Next! Now we’re in the Components Manager, and this will allow
us to install different packages. This is on the host side which is the PC, and the
target is the Jetson AGX Xavier. This looks good. Let’s compile the CUDA
samples also. Next! Please read the license agreements. Oh my.
I’ll just accept it, my fate is sealed. passwords Depending on the component selection
please pay attention to the prompt in embedded terminal. Okay. Host installation complete. Now we’re
ready to start the target hardware setup. Next! Please select the network layout.
This looks like ours. Next! Next we select the network interface. That looks like us.
Next! The following actions will be performed. That’s a lot of stuff. Next! Please put your device to Force USB
Recovery mode. OK, it’s time to put the Xavier into Force Recovery Mode. There
are three buttons on the side of the Xavier. The middle button is the Force
Recovery Button. Hold that down, then press the Power Button and then release
them both. There are three buttons on the side of the Xavier. This is a Reset
Button, Force Recovery, and this is the Power Button. In order to put the Xavier
into forced recovery mode, with the Xavier powered off, press the Forced
Recovery Button (the middle button) and then press the Power on Button, then
release both. The power light indicator should come on. At this point you should
be able to see the Xavier over USB. So let’s check to make sure that we’re in
force recovery mode. We’ll look on the host. Open up a new terminal we sing the magic
song, “lsusb”. And there it is! We can close this up, and then we hit Enter. That’s a good sign, the Xavier is starting
to boot. And there we have the desktop. That’s a
good sign JetPack then installs the packages and
SDKs that we requested. Installation complete! OK, close this window up. OK
our Xavier is set up and ready to go. Of course the next time that we run
jetpack it won’t have to download all the packages so it will flash much more
quickly. You also don’t have to have the samples compiled and all that. Let’s run
a few demos and see how it looks. OK, we’re over here on the Xavier. I’ve set
it up to do some demos. The first thing that we want to do is set the nvpmodel.
This defines the performance characteristics. Let’s take a look and
see what mode we are in. Currently it says that we are at MODE_15W. MODE_15W emulates the energy envelope of a Jetson TX2. Let’s switch that over to
maximum performance. OK, let’s close this up. For the first demo, let’s take a
look at some of the OpenGL examples. This is the oceanfft. And let’s look at the smoke particles. As we expect, we get snappy performance Let’s look at some other demos. Let’s
take a look at a couple of the VisionWorks demos. We’ll need a terminal. Let’s
take a look at the feature tracker. You can see that the program has identified
some features and is tracking their motion flow. Let’s put that aside for the
moment. Let’s take a look at an object tracker. We’ll need another Terminal. You
can see we’re tracking this truck here. Let’s close these demos up. And then our
last demo is one of the Tegra M ultimedia API samples
this one’s called back-end. The demonstration will use GoogleNet to
track objects. The instructions for running this demo are in the Nvidia
Tegra Linux Multimedia API Reference manual. It takes a while to build up for
the first run. Once we have the cache model it loads a
lot faster of course. Here we’re tracking the little cars. If you liked this video,
give it a thumbs up and if you haven’t already, please subscribe. Thanks for
watching

Only registered users can comment.

  1. Jim. Thank you for this! Can you also look into how to use the CAN pins on the Xavier to enable CAN usage?

  2. Thank you for doing it!But i use Nvidia-smi and nvcc -V command can't find command, how can i know this process succeed.

  3. Do I need to install drivers to enable a WiFi dongle on the Xavier? I don't have available Ethernet during jetpack install so I flashed and now I'm manually setting up the internet so I can install the other stuff but it doesn't seem to run the network manager, any thoughts?

  4. Another setup video that I will reference and replay 100 times when reinstalling the JetPack. thank-you Jim! Rock on!

  5. HiJetsonHacks! Can you do a video on how to start and run a simple program from the host machine (ubuntu 18.04) using Nsight and execute it on the Jetson Xavier. Having issues achieving the simplest of things on the Jetson Xavier. Too many setting to jump through.

  6. Thanks Jim for the cool demo!! My installation seems to be Ok, but some samples are missing. Just got nvx_sample_sfm in /home/nvidia/VisionWorks-SFM-0.90-Samples/bin/aarch64/linux/release/
    Any hints?

  7. did jeckpack 3.3 work with ubuntu18.04 because my jetson has already this version. i have a tx2. also can i install jecpack4 on tx2

  8. Everyday, I dream about a Jetson Xavier on my desk, then I remember I have to pay my car's gasoline XD

  9. Thank you for the video. Following your footsteps… 🙂
    How do we run the demos/samples? Although I selected to install the whole JetPack, I can't find them. Also, is it possible to enable audio via HDMI on Xavier? It's listed in the sound devices but it doesn't work.

  10. 3 questions:
    1) When you run xavier on first boot ita ask to run installation.sh script, why libraries are not installed with this script? What's the point?
    2) Why you can't just add private deb repository into apt repo list and install everything by regular apt-get? This will be A LOT more handy.
    3) Can we install proper libraries WITHOUT jetpack? Jetpack is really frustrating solution. I really feel PAIN while watching this video (

Leave a Reply

Your email address will not be published. Required fields are marked *