2021-05-23 06:59 AM
Hi,
I'm working on STM32MP157A-DK1. By following this linkhttps://wiki.st.com/stm32mpu/wiki/STM32MP1_Distribution_Package tried building the image for STM32MP157A-DK1 but i facing the error ERROR: icu-66.1-r0 do_compile: oe_runmake failed during build. attached build log.
i tried to resolve with the command "bitbake -c cleanall icu-native" and build still it fails. if i separately build "bitbake icu-native" it build fine but if i run command bitbake st-image-weston
the error comes up.
Solved! Go to Solution.
2021-05-25 11:13 PM
Hello @Arahm.1
Thank you for your reply and your detailed explanations.
You wrote your ecosystem is v2.1 but the tag openstlinux-5.10-dunfell-mp1-21-03-31 you used points to the ecosystem v3.0.
There may be mismatch between old data from a previous build based on 2.1 and this one based on v3.0?
Could you try to clean the bitbake cache and redo the build of the icu package with the following commands?
PC $> bitbake -c cleansstate icu
PC $> bitbake icu
Best regards,
--JM
2021-05-24 03:06 AM
Hi @Arahm.1
the build log only contains the line:
make: *** No targets specified and no makefile found. Stop.
Could you provide the distribution of the host machine on which you run the bitbake command, the ecosystem you use (v2.1? v3.0?) and the list of commands you performed please?
Best regards,
--JM
2021-05-25 09:33 PM
Hi @Jean-Marc B
I have updated the log file in the above description. the eco system used is v2.1.
Steps:
PC $> cd <working directory path>/Distribution-Package
PC $> mkdir openstlinux-5.10-dunfell-mp1-21-03-31
PC $> cd openstlinux-5.10-dunfell-mp1-21-03-31
PC $> repo init -u https://github.com/STMicroelectronics/oe-manifest.git -b refs/tags/openstlinux-5.10-dunfell-mp1-21-03-31
PC $> repo sync
PC $> DISTRO=openstlinux-weston MACHINE=stm32mp1-disco source layers/meta-st/scripts/envsetup.sh
PC $> bitbake st-image-weston
thanks
2021-05-25 11:13 PM
Hello @Arahm.1
Thank you for your reply and your detailed explanations.
You wrote your ecosystem is v2.1 but the tag openstlinux-5.10-dunfell-mp1-21-03-31 you used points to the ecosystem v3.0.
There may be mismatch between old data from a previous build based on 2.1 and this one based on v3.0?
Could you try to clean the bitbake cache and redo the build of the icu package with the following commands?
PC $> bitbake -c cleansstate icu
PC $> bitbake icu
Best regards,
--JM
2021-05-26 10:14 AM
Hey @Jean-Marc B
thanks a lot the issue is resolved and build is completed. build creates the image openstlinux-5.10-dunfell-mp1-21-03-31/build-openstlinuxweston-stm32mp1-disco/tmp-glibc/deploy/images/stm32mp1-disco/flashlayout_st-image-weston/trusted/FlashLayout_sdcard_stm32mp157c-dk2-trusted.tsv
but it doesn't create image for stm32mp157a-dk1. how can I create image for stm32mp157a-dk1 and how to add other debian packages as part of image?
thanks
2021-05-26 11:02 PM
Hi @Arahm.1
I am really glad you fixed the initial issue. To help community to find solutions, please click on "Select as Best" for my reply which solved your issue or answered your question.
For the next issue related to the dk1 image, I don't have the reply at first glance. Would it be possible to open a new topic so other people help you please? It would be more efficient than my poor knowledge ;)
Best regards
--JM
2021-05-27 02:36 AM
sure
Thanks for your help