cancel
Showing results for 
Search instead for 
Did you mean: 

STM32MP1 Distribution Package - oe-init-build-env No such file

Ma2teo
Associate

Dear ST community,

I’m trying to use the distribution package as described in the guide https://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package#Installing_the_OpenSTLinux_distribution, but the oe-init-build-env file is absent.

The first commands:

$ repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-20-02-19

And

$ repo sync

Finish successfully.

However when I initialize the OpenEmbedded build environment (chapter 5.1):

PC $> DISTRO=openstlinux-weston MACHINE=stm32mp1 source layers/meta-st/scripts/envsetup.sh

The command fails due to the missing of the oe-init-build-env file.

I check the revision of the openembedded-core folder and it is cd7cf933b3235560ec71576d8f3836dff736a39f as indicated in the manifest (https://github.com/STMicroelectronics/oe-manifest/blob/thud/default.xml), however inside the openembedded-core folder there is no oe-init-build-env file.

How can I solve this problem?.

Thanks in advance for any suggestions.

Regards

2 REPLIES 2
Olivier GALLIEN
ST Employee

Hi @Ma2teo​ 

This may come from your environment.

Did you install all extra packages recommended in https://wiki.st.com/stm32mpu/wiki/PC_prerequisites#Install_extra_packages ?

Hope it help

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.
Ma2teo
Associate

Hi @Community member​ ,

Thanks for your attention to this matter.

Your suggestion has worked.

I have followed again the indications reported at that link.

I have reinstalled again all the required packages and tools.

Now my layers/embedded-core folder is populated with a lot of folders and files including the oe-init-build-env file.

Probably something wasn’t correctly installed in my previous attempt.

Thanks again.

Regards