Check out www.jetsonhacks.com for more great content regarding RealSense on the Jetson
NOTE: Intel does not officially support the Jetson line of devices. Furthermore, there are several known issues with running librealsense on jetson.
To install librealsense on the Jetson TX2 Developer Kit, Follow the regular instructions for Ubuntu 16.04.
A couple things of note:
- Make sure you are running the latest L4T release as published by NVIDIA.
- The
./scripts/patch-realsense-ubuntu-xenial.sh
script will NOT work as is. The following are the minimal changes necessary to make the script run.
- Change line #26 to
kernel_name="kernel-4.4"
- Replace line #29 with:
[ ! -d ${kernel_name} ] && git clone https://github.com/jetsonhacks/buildJetsonTX2Kernel.git && cd buildJetsonTX2Kernel && ./getKernelSources.sh && ./scripts/fixMakeFiles.sh && cd .. && cp /usr/src/kernel/${kernel_name} ./${kernel_name}
- Comment out lines #33-53. This is necessary because the original script grabs the kernel sources from a git repository, which NVIDIA does not provide for L4T, and this segment was written with that assumption in mind.
- QtCreator won't work out of the box on the Jetson. JetsonHacks has posted a helpful tutorial explaining how to properly configure it.