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

Hi,

I would like to use tp-link wifi dongle and I was trying to cross compile the driver .ko by following this manual:
https://askubuntu.com/questions/678134/how-to-install-tp-link-wn725n-wifi-usb-adapter-on-ubuntu-ubuntu-14-04-3-lts/678852

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?

yoram,

Please refer to the document of Drive Linux.

Autonomous Vehicle Development Platforms | NVIDIA Docs ->NVIDIA DRIVE Linux SDK

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