cancel
Showing results for 
Search instead for 
Did you mean: 

STM32mp1 yocto project

Anto_Z
Associate II

Hi, I'm new to yocto project,

while building core  minimal image , my Linux PC got shutdown bcoz of low battery , after restarting it , trying to use bitbake command , but it shows command not found , 

Do i Need to again  build the environment by source oe-init-build-env command , or any other methods to source the build environment , and resume my building minimal image,

or creating new environment won't disturb my building the minimal image,

Thank for helping me.

4 REPLIES 4
allard
Senior

If you open a new terminal you need to source the environment again. After that bitbake should resume without problems, if not, delete the build folder and start over.

Anto_Z
Associate II

Thank you , i will try that.

 

Hi, after i sourced the environment , the bitbake is resumed , but i'm getting 2 error which is telling some missing SRC_URI in openocd-stm32mp recipe , i tried to check the recipe url which is 

https://github.com/openocd-org/openocd.git;protocol=https;branch=master;name=openocd    currently online,.

i don't know which SRC_URI is missing ,

Error:

ERROR: openocd-stm32mp-native-0.11.0+dev.-r0 do_fetch: Missing SRC_URI checksum, please add those to the recipe:
SRC_URI[openocd.sha256sum] = "32f7e84b205b8f0717c6303af0e3438857e8b8950c1874cf9441dca4a85852a8"
ERROR: openocd-stm32mp-native-0.11.0+dev.-r0 do_fetch: Bitbake Fetcher Error: BBFetchException('There was some missing checksums in the recipe')


ERROR: Logfile of failure stored in: /home/nivi/projects/yocto/build-mp1/tmp/work/x86_64-linux/openocd-stm32mp-native/0.11.0+dev./temp/log.do_fetch.583559


ERROR: Task (virtual:native:/home/nivi/projects/yocto/meta-st-stm32mp/recipes-devtools/openocd/openocd-stm32mp_0.11.0.bb:do_fetch) failed with exit code '1'

ArnaudTiberghien
ST Employee

Hello @Anto_Z 

Since the build of the recipe might have been abruptly interrupted, you can try to clean it using:

bitbake -c cleansstate <recipe>

Then build your image again.  

Best Regards,

 

Arnaud

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.