-
Notifications
You must be signed in to change notification settings - Fork 0
Jetson Nano
Yuxiang Gao edited this page May 3, 2019
·
9 revisions
Jetson Nano originally has some problem recognizing hid devices on RealSense, we need to rebuild the kernel to enable this. Refer to this github comment and the official L4T guide:
Package dependencies:
libhidapi-libusb0 libturbojpeg libncurses5-dev
- Go to the L4T download page and download the BSP Sources for the Nano.
- Untar the sources with
tar -vxjf [name of downloaded file
cd public_sources
thentar -vxjf kernel_src.tbz2
cd kernel/kernel-4.9
andzcat /proc/config.gz > .config
andcp /lib/firmware/tegra21x_xusb_firmware ./firmware/
make menuconfig
and enable HID_SENSOR_ACCEL_3D and HID_SENSOR_GYRO_3D under device drivers -> Industrial I/O (IIO) -> digital gyroscopes / accelerometers These are needed by 435i- Apply HID patch patch -p1 < [librealsense cloned repo directory]/scripts/realsense-hid-ubuntu-xenial-Ubuntu-hwe-4.8.0-58.63_16.04.1.patch
make -j$(nproc)
. Recommend doing this from terminal over SSH as it will lock up GUI.sudo make modules_install
sudo mv /boot/Image /boot/Image-original
andcp ./arch/arm64/boot/Image /boot/Image
- Do a reboot and verify system loads.
- Build realsense library and install. Verify device detected with rs-enumerate-devices then use rs-data-collect to collect some data. Library was built with options -DHWM_OVER_XU=true -DBUILD_GRAPHICAL_EXAMPLES=false