Skip to main content
Explorer
August 2, 2023
Solved

MP157 Discovery Which Image from the deploy directory?

  • August 2, 2023
  • 1 reply
  • 1597 views

Hi Community,

I realise that this may be a very newbie question:

I have run all the steps as seen on the Wiki,

I followed these steps to the letter: https://wiki.st.com/stm32mpu/wiki/PC_prerequisites
Folowed by:

mkdir -p st/build
cd st/build

repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-6.1-yocto-mickledore-mp1-v23.06.21

repo sync

 

DISTRO=openstlinux-weston MACHINE=stm32mp15-disco source layers/meta-st/scripts/envsetup.sh

bitbake st-example-image-qtwayland

All these steps were completed successfully :heavy_check_mark:

I'm looking at the tmp-glibc/deploy/images/stm32mp15-disco/ directory and I am unable to figure out which of these I need to flash on to the SD card using etcher on my PC.

image.png

Could someone help point me in the right direction?

Thanks,

    This topic has been closed for replies.
    Best answer by Erwan SZYMANSKI

    Hello @BarryKingLive ,

    Here you are supposed to have a flashlayout_st-example-image-qtwayland folder, containing optee folder and itself containing the different TSV files that have been generated if everything were going well in your compilation step. This TSV file can be directly used with CubeProgrammer following Wiki information, or you can use the script located in tmp-glibc/deploy/images/<st_platform>/scripts as follows:

    ./create_sdcard_from_flashlayout.sh ../<your_flashlayout>/optee/<your_TSV>

    I hope it will help you to go forward.
    Kind regards,
    Erwan.

    1 reply

    Technical Moderator
    August 2, 2023

    Hello @BarryKingLive ,

    Here you are supposed to have a flashlayout_st-example-image-qtwayland folder, containing optee folder and itself containing the different TSV files that have been generated if everything were going well in your compilation step. This TSV file can be directly used with CubeProgrammer following Wiki information, or you can use the script located in tmp-glibc/deploy/images/<st_platform>/scripts as follows:

    ./create_sdcard_from_flashlayout.sh ../<your_flashlayout>/optee/<your_TSV>

    I hope it will help you to go forward.
    Kind regards,
    Erwan.

    Explorer
    August 2, 2023

    Thanks Erwan!

    This did the trick.