Rebuilding the Tegra kernel to support CP201x driver - MDHSRobotics/TeamWiki GitHub Wiki
#Rebuilding the Tegra kernel to support CP201x driver The Tegra TX1 does not come with the CP210x option enabled in the kernel. This results in the RP Lidar A1 not being supported with the out of hte box Tegra TX1. Fortunately, the kernel canbe rebuilt with this option turned on.
At the time of writing this turorial, the current version of the Tegra was version 24.2.1. The kernel can be downloaded from
Steps followed were adapted from these two references. The Arduino refers to FTDI, but per the NVidia post, this needs to be adapted to CP210x:
- Jetson Tutorial - Rebuilding Tegra kernel for FTDI support
- NVIDIA post on rebuilding Tegra kernal for CP210X support
Steps:
- Download the kernel, for me, at this time: L4T sources 24.2.1
- Extract the kernal sources into a workspace. I used the file manager and extracted it to
~/workspace/l4t-24.2.1/sources
- In the location where you extracted the sources in the previous step, you should see many packages. One should be
kernel_src.tbz2
. Using the file manager, you can select this file and extract it into this location - Next build & launch the menuconfig tool to configure the kernel options. menuconfig
sudo apt-get install ncurses-bin libncurses5-dev
make menuconfig
- Navigate to
General Setup > Local version
and set it to-gdacac96