-
In the process of trying LLEXT I check samples/subsys/llext/modules and fail to get it working.
do_llext_load seams to work find withall symbols are resolved. But when launching extension function, I get a bus fault. Dis anyone success in running LLEXT samples ? thank you
|
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
Find the issue. LLEXT samples prj.conf should include Note that is fix was not included neither in 3.7 neither in current Master when it should be, isn't it ? |
Beta Was this translation helpful? Give feedback.
-
Hi @fulup-bzh , Thanks |
Beta Was this translation helpful? Give feedback.
-
@DerekSnell I ask @aaillet one of our engineer to create a pull request. |
Beta Was this translation helpful? Give feedback.
-
Without ARM MPU sample does not work at least on ARM architecture, and I fail to make it work with CONFIG_USERSPACE. I lost a full day searching to get a solution, and from what I saw in forums, I'm not the only one who fail on LLEXT samples. I did not test on Intel architecture, but at least on Arm this feature should be added to default config file.
|
Beta Was this translation helpful? Give feedback.
-
This sample shows how to call the same function either directly or via LLEXT. The README in that folder specifies how it is supposed to be built, and specifically mentions looking at I would not add |
Beta Was this translation helpful? Give feedback.
-
@pillo79 publishing "non working" samples is really a good idea to promote technology. In order to reduce the initial cost of adoption sample should work out of the box. Which is not the case. CONFIG_ARM_MPU=n flag should be set automatically when selecting "CONFIG_MODULES=y" or even better when selecting CONFIG_LLEXT=y at a global level. |
Beta Was this translation helpful? Give feedback.
Find the issue. LLEXT samples prj.conf should include
CONFIG_ARM_MPU=n
as listed in #72957 (comment)Note that is fix was not included neither in 3.7 neither in current Master when it should be, isn't it ?