11/12/2020 3:28 PM | |
Joined: 1/25/2019 Last visit: 12/11/2023 Posts: 2 Rating:
|
Hi, could you please provide a description how to build a kernel module. ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 11/13/2020 09:22:40New subject after splitting |
|
11/13/2020 9:28 AM | |
Joined: 4/28/2015 Last visit: 11/22/2023 Posts: 570 Rating:
|
Are we talking about an out-of-tree kernel modul or a driver that is part of the kernel but is not yet enabled in the config? For the former case: The currently released SDK does not yet include support for this, but the one you can build yourself from https://github.com/siemens/meta-iot2050/#build-user-sdk contains this feature. An alternative is creating your own image layer and adding a recipe for the particular out-of-tree module. Examples are https://github.com/ilbers/isar/tree/master/meta-isar/recipes-kernel/example-module or https://github.com/siemens/jailhouse-images/tree/master/recipes-kernel/xradio. But be warned about ouf-of-tree kernel drivers: They tend to be of low quality. |
11/18/2020 8:32 AM | |
Joined: 1/25/2019 Last visit: 12/11/2023 Posts: 2 Rating:
|
Hi
I tied this with the dokumentation from How to use IOT2050 SDK with Eclipse. But i was not able to build the module with my own created sdk from meta-iot2050. Maybe i missed something in the eclipse settings or compiler / linker settings.
I went this way. I put the source of the module in the recipes-kernel folder and added a line "nameofmodule-${KERNEL_NAME}" to the INCLUDE_IMAGE += at meta-iot2050/recipes-core/images/iot2050-image-example.bb Thank you |
Follow us on