FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5238 Discussions

How to compile kernel module on DE10 nano

MRazw
Beginner
629 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_J_Intel
Employee
402 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_J_Intel
Employee
403 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
402 Views

Thank you very much. I can compile it now.

 

Reply