2020-11-12 05:32 AM
I have an STM32MP157A-DK1 dev board and I have successfully build and flashed the st-image-core (Distribution-Package) and flashed to sdcard.
I want to add ModemManager and NetworkManager to the build.
I see that meta-oe layer appears to be included and within meta-oe is a recipes-connectivity which contains ModemManager. How can I enable this in the build?
Additionally, I don't see NetworkManager in any layers. Is thare an equivalent functionality within another package?
Thank you
Solved! Go to Solution.
2020-11-17 06:20 AM
Hi @PGros.3 ,
NetworkManager is part of meta-networking, already present in our delivery.
So I guess following this https://wiki.st.com/stm32mpu/wiki/How_to_add_a_customer_application#Adding_an_application_already_present_in_layers
Might be suffisant.
Keep me posted
Thx
Olivier
2020-11-17 06:20 AM
Hi @PGros.3 ,
NetworkManager is part of meta-networking, already present in our delivery.
So I guess following this https://wiki.st.com/stm32mpu/wiki/How_to_add_a_customer_application#Adding_an_application_already_present_in_layers
Might be suffisant.
Keep me posted
Thx
Olivier
2020-11-17 06:28 AM
Also, since using DK1 you can directly try apt-get service to get the package on target :
https://wiki.st.com/stm32mpu/wiki/Package_repository_for_OpenSTLinux_distribution
Might be enabled on st-image-core ( not 100% sure)
Olivier
2020-11-18 06:35 AM
Hi Olivier,
Thanks for the help.
I have followed the instruction from the wiki link you posted and have been able to build modemmanager.
(NOTE: in section 4, there is the instruction to 'cd .../meta-st-openstlinux/recipes-st/images/' but this should read 'cd ../layers/meta-st/meta-st-openstlinux/recipes-st/images/'. Perhaps the wiki can be updated)
So far I have built and flashed the image to sdcard.
The wiki says to modprobe the kernel module but I wasn't sure what module that would be for modem manager, or if that is necessary in this case?
However, mmcli results in:
root@stm32mp1:~# mmcli -B
ModemManager daemon 1.12.8 running
So I guess this is a pretty good indication the build worked!
Thanks,
Paul