2019-12-27 12:16 AM
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.
2019-12-30 02:05 AM
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
2020-01-06 12:48 AM
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