Skip to main content
Visitor II
August 5, 2022
Solved

I want to add flutter layer for my stm32mp157f-dk2 board with kirkstone branch. Can yo help me out with the steps that I need to follow? I did compile distribution package for st-image-Weston.

  • August 5, 2022
  • 1 reply
  • 1958 views

https://github.com/meta-flutter/meta-flutter.git Here is the link for meta-flutter.

    This topic has been closed for replies.
    Best answer by Kevin HUBER

    Hello @Gencay​ ,

    The commands to add a layer to the ST Distribution Package are explained on the wiki:

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

    I made a try with your layer:

    $ cd ../layers/
     
    $ git clone https://github.com/meta-flutter/meta-flutter.git
    Cloning into 'meta-flutter'...
    remote: Enumerating objects: 3904, done.
    remote: Counting objects: 100% (319/319), done.
    remote: Compressing objects: 100% (163/163), done.
    remote: Total 3904 (delta 168), reused 268 (delta 137), pack-reused 3585
    Receiving objects: 100% (3904/3904), 3.43 MiB | 1.18 MiB/s, done.
    Resolving deltas: 100% (2060/2060), done.
     
    $ bitbake-layers add-layer ../layers/meta-flutter/
    NOTE: Starting bitbake server...
    NOTE: Started PRServer with DBfile: /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp13-disco/cache/prserv.sqlite3, Address: 127.0.0.1:45543, PID: 9362
    *[osboxes@osboxes /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp13-disco]
     
     
    $ bitbake-layers show-layers
    NOTE: Starting bitbake server...
    NOTE: Started PRServer with DBfile: /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp13-disco/cache/prserv.sqlite3, Address: 127.0.0.1:40373, PID: 9397
    layer path priority
    ==========================================================================
    meta-python /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-openembedded/meta-python 5
    meta-oe /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-openembedded/meta-oe 5
    meta-gnome /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-openembedded/meta-gnome 5
    meta-initramfs /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-openembedded/meta-initramfs 5
    meta-multimedia /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-openembedded/meta-multimedia 5
    meta-networking /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-openembedded/meta-networking 5
    meta-webserver /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-openembedded/meta-webserver 5
    meta-filesystems /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-openembedded/meta-filesystems 5
    meta-perl /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-openembedded/meta-perl 5
    meta-st-stm32mp /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-st/meta-st-stm32mp 6
    meta-qt5 /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-qt5 7
    meta-st-openstlinux /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-st/meta-st-openstlinux 5
    meta /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/meta 5
    meta-flutter /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-flutter 12

    Hope it helps,

    Regards,

    Kevin

    In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

    1 reply

    Technical Moderator
    August 5, 2022

    Hello @Gencay​ ,

    The commands to add a layer to the ST Distribution Package are explained on the wiki:

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

    I made a try with your layer:

    $ cd ../layers/
     
    $ git clone https://github.com/meta-flutter/meta-flutter.git
    Cloning into 'meta-flutter'...
    remote: Enumerating objects: 3904, done.
    remote: Counting objects: 100% (319/319), done.
    remote: Compressing objects: 100% (163/163), done.
    remote: Total 3904 (delta 168), reused 268 (delta 137), pack-reused 3585
    Receiving objects: 100% (3904/3904), 3.43 MiB | 1.18 MiB/s, done.
    Resolving deltas: 100% (2060/2060), done.
     
    $ bitbake-layers add-layer ../layers/meta-flutter/
    NOTE: Starting bitbake server...
    NOTE: Started PRServer with DBfile: /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp13-disco/cache/prserv.sqlite3, Address: 127.0.0.1:45543, PID: 9362
    *[osboxes@osboxes /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp13-disco]
     
     
    $ bitbake-layers show-layers
    NOTE: Starting bitbake server...
    NOTE: Started PRServer with DBfile: /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/build-openstlinuxweston-stm32mp13-disco/cache/prserv.sqlite3, Address: 127.0.0.1:40373, PID: 9397
    layer path priority
    ==========================================================================
    meta-python /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-openembedded/meta-python 5
    meta-oe /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-openembedded/meta-oe 5
    meta-gnome /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-openembedded/meta-gnome 5
    meta-initramfs /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-openembedded/meta-initramfs 5
    meta-multimedia /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-openembedded/meta-multimedia 5
    meta-networking /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-openembedded/meta-networking 5
    meta-webserver /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-openembedded/meta-webserver 5
    meta-filesystems /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-openembedded/meta-filesystems 5
    meta-perl /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-openembedded/meta-perl 5
    meta-st-stm32mp /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-st/meta-st-stm32mp 6
    meta-qt5 /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-qt5 7
    meta-st-openstlinux /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-st/meta-st-openstlinux 5
    meta /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/openembedded-core/meta 5
    meta-flutter /opt/st/DP-MP1-4.0.0/openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/layers/meta-flutter 12

    Hope it helps,

    Regards,

    Kevin

    In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'