cancel
Showing results for 
Search instead for 
Did you mean: 

What is the simplest way to install 3rd party util on the STM32MP157A kit?

PPasy.1
Associate

Hi everyone.

I have a STM32MP157A-DK1 with a developer package. My goal is to install iperf. But I'm not familiar with OpenSTLinux and Yocto. Apt-get and dpkg do not allow to install iperf.

What is the simplest way to install 3rd party util (iperf in my case) on the STM32MP157A kit?

Thanks in advance.

2 REPLIES 2
PPasy.1
Associate

I managed to do it with help of dpkg - iperf works despite of error message during the installation process

root@stm32mp1:~# dpkg -i /mnt/libsctp1_1.0.18\+dfsg-1_armhf.deb
Selecting previously unselected package libsctp1:armhf.
(Reading database ... 16165 files and directories currently installed.)
Preparing to unpack .../libsctp1_1.0.18+dfsg-1_armhf.deb ...
Unpacking libsctp1:armhf (1.0.18+dfsg-1) ...
Setting up libsctp1:armhf (1.0.18+dfsg-1) ...
root@stm32mp1:~#
root@stm32mp1:~# dpkg -i /mnt/iperf_2.0.12\+dfsg1-2_armhf.deb
(Reading database ... 16171 files and directories currently installed.)
Preparing to unpack .../iperf_2.0.12+dfsg1-2_armhf.deb ...
Unpacking iperf (2.0.12+dfsg1-2) over (2.0.12+dfsg1-2) ...
dpkg: dependency problems prevent configuration of iperf:
 iperf depends on libgcc1 (>= 1:3.5); however:
  Version of libgcc1 on system is 8.2.0-r0.
 
dpkg: error processing package iperf (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 iperf

Olivier GALLIEN
ST Employee

Hi @PPasy.1​ 

Good to know you managed to do it.

FYI a proper way to install iperf from Distribution package, would have been to add the official Open Embedded layer "meta-arago-extras" to your build environnement.

http://layers.openembedded.org/layerindex/branch/master/layer/meta-arago-extras/

This page may help :

https://wiki.st.com/stm32mpu/wiki/How_to_create_a_new_open_embedded_layer

Hope it help,

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.