I have a USB device (LonWorks interface) with Linux driver (with source code). I want port this code to ARM kernel but there are many differences on Makefile, sources, includes, etc. Anybody knows about documentation or help for this situation? Thanks!!!
Porting driver to ARM
Hi gasensio, Do you know how to compile a single application for ARM? Probably you will have to change the compiler path and maybe some includes path. You could start with compiling libusb for ARM. :D regards.
Yes, I know how compiling a single application but drivers have 'modules' that must be included on kernel. Compiling with gcc-arm compiler there are lots of files that aren't on arm source files (called from my source files). Regards
Hello, usually you just have to use appropriate kernel (variable KERNELDIR) and setup appropriate flags for ARCH and CROSS_COMPILE to compile module for arm. If you see that some files are missing, it might indicate that your module was made for older/newer kernel version and incompatible with the one on friendlyARM.