Dear all,
I want to install the device driver for a TI battery monitor - BQ76PL536A. The role of a battery monitor is to measure batteries voltage and do few other things.
I am using debian: uname -a
Linux beaglebone 4.4.9-ti-r25 #1 SMP Thu May 5 23:08:13 UTC 2016 armv7l GNU/Linux
Will this device driver work with Ubuntu only ? If yes, what should I do to install the driver ?
I have tried running the Makefile as is, also tried giving "KERNELDIR" = /usr/src/linux-headers-4.4.9-ti-r25 , which is the location of the current kernel headers, and I have tried using gcc to compile, all without success, on my current setup, on the BBB.
Seems like there is some mention of cross-compilation, which means I need to do this on linux PC, (with Ubuntu). Does this require a cross-compilation setup compulsorily ?