Skip to main content
Gtada
Associate II
April 29, 2019
Question

How to cross compile QT for STM32mpC157-DK2 on Linux (Ubuntu)?

  • April 29, 2019
  • 3 replies
  • 1277 views

..

This topic has been closed for replies.

3 replies

Olivier GALLIEN
ST Technical Moderator
April 30, 2019

Hi,

Please have a look to similar post in this Forum :

What is the process for initializing the OpenEmbedded build environment st-example-image-qt?

st-example-image-qt Qt examples extremely slow

Guess you will find hint you are looking for.

Olivier

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.
Gtada
GtadaAuthor
Associate II
May 2, 2019

Thank you for the links.

We were able to build the image - st-example-image-qt. However, we are facing issues while flashing it to the target device - STM32mpC157-DK2 .

Error Message: log

Memory Programming ...

Opening and parsing file: st-example-image-qt-openstlinux-eglfs-stm32mp1.ext4

 File     : st-example-image-qt-openstlinux-eglfs-stm32mp1.ext4

 Size     : 1086592 KBytes

 Partition ID : 0x23 

Download in Progress:

[===================================        ] 70% 

Error: failed to download Segment[0]

Error: failed to download the File

Time elapsed during download operation: 00:11:25.623

Error: Download partition 0x23 failed

Error: TSV flashing service failed

Request for support!!

Bernard PUEL
ST Technical Moderator
May 6, 2019

1/ Could you please check you did this (see above link) ?

conf/machine/include/st-machine-common-stm32mp.inc

# New value proposed for rootfs is 768MB

-ROOTFS_PARTITION_SIZE = "768432"

+ROOTFS_PARTITION_SIZE = "1400000"

2/ Could you please confirm you did flash this tsv ?

FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsv