Problem of adding an external out-of-tree Linux kernel module↑
Hi,
I'm trying to add external out-of-tree module in developer package. (following wiki)
After following wiki, I got error message in board(STM32MP157F-DK2) like this.
modprobe: ERROR: could not insert 'kernel_module_example': Exec format error
There was a difference with wiki while proceeding according to wiki's explanation.
- In wiki, the "kernel_module_example.ko" is generated in [install_artifact/lib/modules/"<kernel version>"/extra/].
- But, my .ko file is generated in [install_artifact/lib/modules/"<kernel version>"/updates/]
Is there anything else I need to do to add external out-of-tree module?
- Ubuntu version (PC) : ubuntu 20.04 lts
- Board : STM32MP157F-DK2
- source code version : 24.11.06 (stm32mp1-openstlinux-6.6-yocto-scarthgap-mpu-v24.11.06)
Thanks.
Regards,
Youngjun.
