Skip to main content
Visitor II
December 27, 2019
Question

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

  • December 27, 2019
  • 2 replies
  • 1236 views

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.

    This topic has been closed for replies.

    2 replies

    PPasy.1Author
    Visitor II
    December 30, 2019

    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

    Technical Moderator
    January 6, 2020

    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