) N! d% @5 l* _6 T8 h. \# N8 d9 _
3 d' d `5 I* [! ?: w
9 }( n. Z, K/ i5 O9 i/ p- 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.1 F2 y" B9 T, o/ w9 v, m a
- ERROR: m4projects-stm32mp1-1.2.0-r0 do_fetch: Function failed: base_do_fetch
8 ^2 d; w1 j6 J8 M8 T" s1 u - 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.805177 r( Z3 P. z1 i( \/ ]7 g5 }' Z' o- H {
- 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'3 {) `% U% `- {0 E
- NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and 1 failed.% T; q) Q( j4 _! i3 Z/ f
- NOTE: Writing buildhistory
复制代码 7 o3 _# v) f$ ]2 i
我的解决办法:5 V# }% F0 F( W% \
1、找到do_fetch失败安装包对应的xx.bb文件,根据bb文件找到下载地址 git://github.com/STMicroelectronics/STM32CubeMP1.git。直接去st github网站下载对应的开发包
& Q, l1 { n/ r( X( K0 U2、在xx.bb文件的同级目录下创建files目录;7 {, S$ K: i( y
3、把下载得到的开发板其拷贝到files目录下解压;
" y6 f% u. @* K3 G# D4、修改bb文件,SRC_URI值为
# Z1 |4 y& @% O0 y* A0 r8 K' H) R0 J$ K, K/ Q+ r
- SRC_URI = "file://STM32CubeMP1") S; n7 d) u, i; g3 I
- SRCREV = "c604fa0965c73e430eebd5fa780180beb9a71b44"
# l3 J- U# A$ @5 ^4 c8 }! P/ N - PV = "1.2.0"
0 [) J$ a. f5 i4 H+ S' w - S = "${WORKDIR}/STM32CubeMP1"
复制代码
$ z' e( u. a. `7 [! V6 Bbitbake m4projects-stm32mp1 -c compile& ?( A5 z' y7 \9 P9 B3 N$ [8 w/ W
————————————————! K# h7 v7 r6 Z' \ A6 X, U c
版权声明:jacob杰克爸2 P0 m5 s' x$ S, z1 ]
* q6 ?2 U" r) `& W0 l8 ]3 { |