Altera_Forum
Honored Contributor
9 years agoWhere is the kernel header files for driver module?
Hi,
I have a Arrow Cyclone V FPGASoC kit, and am studying the linux driver. In order to compile the driver for the platform, I need the kernel header files which matches the kernel version running on my board. I made the zImage of my board using the source here: https://github.com/altera-opensource/linux-socfpga/tree/socfpga-3.10-ltsi-rt and the result of 'uname -r' on my board is '3.10.31-ltsi-05151-gc8b20a4'. However, the source code lacks its header files, and /usr/src, which usually contains the header file, is almost empty. So where can I find the header files I need? Thanks so much~~~