I have a Freescale iMX6 SMARC module and carrier board. It came from the manufacturer with Ubuntu Linaro 12.04 LTS (kernel 3.0.35). I need a lot of serial ports, so I got the Syba 8 port PCIe card with the Exar XR17V358 chipset to go with it. When I attempted to install the driver from the Exar website, I get an error:
make -C /lib/modules/'uname -r'/build SUBDIRS=/home/linaro/Desktop/exar modules
make: *** /lib/modules/3.0.35/build: No such file of directory. Stop
make: *** [build] Error 2
I am assuming that the kernel headers are not installed and that is why it did not work. Unfortunately, it does not appear that the linux headers are available from the the default apt repos.
sudo apt-get install linux-headers-3.0.35
Returned:
E: Unable to locate package linux-headers-3.0.35
E: Couldn't find any package by regex 'linux-headers-3.0.35'
Doing some searching, it appears that this is a common problem. I found a link to a tarball of the header files and instructions for a different iMX6 board running linaro.
wget http://commondatastorage.googleapis.com/boundarydevices.com/linux-headers-3.0.35-02829-gac24896_4.1.0.tar.gz
tar zxvf linux-headers-3.0.35-02829-gac24896_4.1.0.tar.gz -C /usr
Download was successful, but when I tried building the exar driver again, same output as above.
Linux-headers are not properly installed.
dpkg -l | grep linux-headers
returns no results.
Tried installing linux-headers-generic, to no avail.
Package linux-headers-generic is not available, but is referred to by
another package. This may mean that the package is missing, has been
obsoleted, or is only available from another source.
Anyone else installing Exar PCIe drivers on Linaro?
Suggestions?