7/1/2019 9:35 AM | |
Posts: 3 Rating:
|
Hi All, I am trying to build/compile the netatop kernel module on iot2000. For this however, I need to have the kernel headers. Is there a way using "opkg" to download the kernel headers? If not, how else can I compile kernel modules on iot2000? Could you please point to some guide? How can I do it in the build process if downloading from package manager and compiling dowsn't work? As of now, I have build the kas_example image using the link below: https://github.com/siemens/meta-iot2000 Thanks a lot in advance. |
Last edited by: AutoGen_4251151 at: 07/01/2019 09:35:35 |
|
7/1/2019 9:46 AM | |
Joined: 4/28/2015 Last visit: 6/28/2024 Posts: 578 Rating:
|
Look at this recipe for how to integrate an external kernel module in the image build: https://github.com/siemens/meta-iot2000/tree/master/meta-iot2000-example/recipes-kernel/galileogen2-fake. That module needs to be compatible with kernel 4.4 if you want to keep the official version. |
7/2/2019 11:38 AM | |
Joined: 4/28/2015 Last visit: 6/28/2024 Posts: 578 Rating:
|
I would start with copying the example I referenced, renaming things, ensuring that the new package is selected as package in https://github.com/siemens/meta-iot2000/blob/master/meta-iot2000-example/recipes-core/images/iot2000-example-image.inc and then replace the Makefile and the source file with what you have in your archive under module/. |
Follow us on