FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5892 Discussions

How to compile kernel module on DE10 nano

MRazw
Beginner
908 Views

Hello,

I need to develop a kernel module for my system. I dont know how to compile the module with my kernel headers. I searched rocketboards but could not find the answer. Please advice.

 

Thank you

0 Kudos
1 Solution
Fawaz_Al-Jubori
Employee
681 Views

Hello,

Once you build your linux kernel, you can use the following command:

make CROSS_COMPILE=<PATH_TO_YOUR_COMPILER> KERNEL_SRC=<inux-socfpga location>

 

This will build the custom kernel module for you.

 

Thank you

 

View solution in original post

2 Replies
Fawaz_Al-Jubori
Employee
682 Views

Hello,

Once you build your linux kernel, you can use the following command:

make CROSS_COMPILE=<PATH_TO_YOUR_COMPILER> KERNEL_SRC=<inux-socfpga location>

 

This will build the custom kernel module for you.

 

Thank you

 

MRazw
Beginner
681 Views

Thank you very much. I can compile it now.

 

0 Kudos
Reply