8 }: ?4 Q* x% M2 s$ m$ r" X( S
2 ~! p) U2 g7 Y' L) E. s. J) c- C ~1 D/ U
- 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.7 _# a3 X7 m! |, P; J) i: B( F
- ERROR: m4projects-stm32mp1-1.2.0-r0 do_fetch: Function failed: base_do_fetch1 g7 M, Z2 }7 _4 U8 A
- 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
" l0 d& c/ c( {: X. U3 E - 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'& V) J: z3 m; A
- NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and 1 failed.2 C o, k' n. Z6 F
- NOTE: Writing buildhistory
复制代码 0 P+ a' B4 C; _8 [: T
我的解决办法:8 t+ w7 B; k) v+ d
1、找到do_fetch失败安装包对应的xx.bb文件,根据bb文件找到下载地址 git://github.com/STMicroelectronics/STM32CubeMP1.git。直接去st github网站下载对应的开发包) N- D) v. u! b+ A4 R
2、在xx.bb文件的同级目录下创建files目录;
; @4 j- _ A6 i/ b1 F& N" L3、把下载得到的开发板其拷贝到files目录下解压;
7 h4 e! c/ Q1 L2 T& b4、修改bb文件,SRC_URI值为, ?, E, d' E1 z0 q0 W
$ T- C) s) J8 u$ k
- SRC_URI = "file://STM32CubeMP1" b3 k) n, Q! q/ m7 O, c
- SRCREV = "c604fa0965c73e430eebd5fa780180beb9a71b44"
% Y- ]9 p9 K5 Y! U% ^+ I - PV = "1.2.0"
/ f! O; J# V! X" `8 Z! e c; a' t9 w - S = "${WORKDIR}/STM32CubeMP1"
复制代码 : D+ Z; e# K# I/ r) @
bitbake m4projects-stm32mp1 -c compile3 o ~( R* o) j W' q7 E' u+ e
————————————————4 {# a: h9 I. m' L9 V8 Y
版权声明:jacob杰克爸
4 e0 Z$ ~* A: E7 }5 k, d
8 {! G# t ]; U U: l+ s |