1012 NVIDIA TX1
Contents |
Introduction
This page will guide you in using the Sensoray Model 1012 or the Sensoray Model 812 with NVIDIA tegra TX1 development boards. If you are using an older version of Tegra R21 TK1, please see our other wiki page for the TK1 (see paragraph below if using a newer version of Tegra on the TK1).
The latest version of Tegra, R24.2.1, does not contain videobuf1 libraries. It only contains videobuf2 libraries. The instructions below show how to build the TW6869 VBUF2 kernel module for the NVIDIA Tegra TX1 (R24.2.1). It is possible these instructions will also work with the TK1 development board under R24.2.1 or later versions of the Tegra SDK.
Prepare the kernel headers
$ cd /usr/src/linux-headers-<kernel-version>/ $ sudo make modules_prepare
Build the driver source
Do this from within the driver source directory (wherever you unpacked the vbuf2 module). If you obtained the Sensoray SDK, then the <source-dir> is $SDK_DIR/vbuf2.
$ cd <source-dir> $ make jetson=y $ sudo make install $ sudo make load
Edit kernel boot params
The kernel boot parameters are in /boot/extlinux/extlinux.conf. Add vmalloc=512M cma=64M coherent_pool=32M to the end of the last line. The last line starts with APPEND and is part of the LABEL primary section of the config file. It is a very long line and probably wraps several times in your text editor. It should look like this after editing:
LABEL primary MENU LABEL primary kernel LINUX /boot/Image ... ... APPEND fbcon:map0 console=tty0 ... ... ... vmalloc=512M cma=64M coherent_pool=32M
Reboot!
(Note provided courtesy of Jim Pelton, Black Sage Technologies.)