ERROR: m4projects-stm32mp1-1.2.0-r0 do_fetch: Fetcher failure for URL: 'git://github.com/STMicroelectronics/STM32CubeMP1.git;protocol=https;branch=master'. Unable to fetch URL from any source.
ERROR: m4projects-stm32mp1-1.2.0-r0 do_fetch: Function failed: base_do_fetch
ERROR: Logfile of failure stored in: /home/fdw/32mp1/openstlinux-200219/build-openstlinuxweston-stm32mp1/tmp-glibc/work/stm32mp1-ostl-linux-gnueabi/m4projects-stm32mp1/1.2.0-r0/temp/log.do_fetch.80517
ERROR: Task (/home/fdw/32mp1/openstlinux-200219/layers/meta-st/meta-st-stm32mp/recipes-extended/m4projects/m4projects-stm32mp1.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
我的解决办法:
1、找到do_fetch失败安装包对应的xx.bb文件,根据bb文件找到下载地址 git://github.com/STMicroelectronics/STM32CubeMP1.git。直接去st github网站下载对应的开发包
2、在xx.bb文件的同级目录下创建files目录;
3、把下载得到的开发板其拷贝到files目录下解压;
4、修改bb文件,SRC_URI值为
SRC_URI = "file://STM32CubeMP1"
SRCREV = "c604fa0965c73e430eebd5fa780180beb9a71b44"
PV = "1.2.0"
S = "${WORKDIR}/STM32CubeMP1"
- bitbake m4projects-stm32mp1 -c compile