-
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 filecd public_sourcesthentar -vxjf kernel_src.tbz2cd kernel/kernel-4.9andzcat /proc/config.gz > .configandcp /lib/firmware/tegra21x_xusb_firmware ./firmware/make menuconfigand 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_installsudo mv /boot/Image /boot/Image-originalandcp ./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