2021-07-27 03:37 AM
Hi, I am trying to compile an OpenSTLinux image for a target "DK2_A7" custom machine.
I've followed this guide and everything seems ok until 98% of the process when the following error occurs:
ERROR: tf-a-stm32mp-2.4.r1-r0 do_compile: oe_runmake failed
ERROR: tf-a-stm32mp-2.4.r1-r0 do_compile: Execution of '/home/ubuntu/customer/openstlinux-5.10-dunfell-mp1-21-03-31/build-openstlinuxweston-stm32mp1-DK2_A7/tmp-glibc/work/stm32mp1_DK2_A7-ostl-linux-gnueabi/tf-a-stm32mp/2.4.r1-r0/temp/run.do_compile.27013' failed with exit code 1:
make: Entering directory '/home/ubuntu/customer/openstlinux-5.10-dunfell-mp1-21-03-31/build-openstlinuxweston-stm32mp1-DK2_A7/tmp-glibc/work-shared/stm32mp1-DK2_A7/tfa-source'
Including bl32/sp_min/sp_min.mk
make: *** No rule to make target 'fdts/stm32mp157c-dk2_a7-mx-fw-config.dts', needed by '/home/ubuntu/customer/openstlinux-5.10-dunfell-mp1-21-03-31/build-openstlinuxweston-stm32mp1-DK2_A7/tmp-glibc/work/stm32mp1_DK2_A7-ostl-linux-gnueabi/tf-a-stm32mp/2.4.r1-r0/build/trusted/fdts/stm32mp157c-dk2_a7-mx-fw-config.dtb'. Stop.
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/ubuntu/customer/openstlinux-5.10-dunfell-mp1-21-03-31/build-openstlinuxweston-stm32mp1-DK2_A7/tmp-glibc/work-shared/stm32mp1-DK2_A7/tfa-source'
WARNING: exit code 1 from a shell command.
ERROR: Logfile of failure stored in: /home/ubuntu/customer/openstlinux-5.10-dunfell-mp1-21-03-31/build-openstlinuxweston-stm32mp1-DK2_A7/tmp-glibc/work/stm32mp1_DK2_A7-ostl-linux-gnueabi/tf-a-stm32mp/2.4.r1-r0/temp/log.do_compile.27013
The following variables have been set inside the "./layers/meta-st/meta-st-stm32mp-addons/conf/machine/stm32mp1-DK2_A7.conf" file:
The content of the mx folder is the following:
├── mx
│ └── DK2_A7
│ ├── kernel
│ │ └── stm32mp157c-dk2_a7-mx.dts
│ ├── tf-a
│ │ ├── stm32mp15-mx.dtsi
│ │ └── stm32mp157c-dk2_a7-mx.dts
│ └── u-boot
│ ├── stm32mp15-mx.dtsi
│ ├── stm32mp157c-dk2_a7-mx-u-boot.dtsi
What am I missing?
Solved! Go to Solution.
2021-07-27 06:52 AM
Hi @Riccardo Bruè
First, RC5 !? Not supposed to go out ST .. but maybe just a mistmake in version display.
But most important is that you need 6.2.1 minimum to work with DV3.0 and fip support.
A brand new 6.3 is available on st.com.
Olivier
2021-07-27 06:03 AM
Hi @Riccardo Bruè
Which version of CubeMX did you use ?
You should have the "stm32mp157c-dk2_a7-mx-fw-config.dts" inside mx/DK2-A7/tf-a folder.
Olivier
2021-07-27 06:12 AM
Hi, we don't have such file, the cubemx version is: 6.0.0-RC5.
2021-07-27 06:52 AM
Hi @Riccardo Bruè
First, RC5 !? Not supposed to go out ST .. but maybe just a mistmake in version display.
But most important is that you need 6.2.1 minimum to work with DV3.0 and fip support.
A brand new 6.3 is available on st.com.
Olivier