DRIVE PX 2 - Install tp-link wn725n wifi usb adapter on ubuntu


I would like to use tp-link wifi dongle and I was trying to cross compile the driver .ko by following this manual:

But I get the following error:
nvidia@nvidia:~/GIT/rtl8188eu$ sudo apt-get install linux-headers-$(uname -r)
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package linux-headers-4.9.38-rt25-tegra
E: Couldn’t find any package by glob ‘linux-headers-4.9.38-rt25-tegra’
E: Couldn’t find any package by regex ‘linux-headers-4.9.38-rt25-tegra’

How can I get the Linux drivers build environment and cross compile it correctly?


Please refer to the document of Drive Linux. ->NVIDIA DRIVE Linux SDK

“Compiling the Kernel (NVIDIA DRIVE Linux)” and you should be able to get the headers.