cancel
Showing results for 
Search instead for 
Did you mean: 

How to add ModemManager and NetworkManager to the st-image-core?

PGros.3
Associate

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

1 ACCEPTED SOLUTION

Accepted Solutions
Olivier GALLIEN
ST Employee

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

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

3 REPLIES 3
Olivier GALLIEN
ST Employee

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

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

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

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

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