cancel
Showing results for 
Search instead for 
Did you mean: 

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

Gtada
Associate II
 
3 REPLIES 3
Olivier GALLIEN
ST Employee

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

Olivier GALLIEN
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.

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 Employee

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