你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

STM32MP1系列Yocto编译do fetch fail

[复制链接]
STMCU小助手 发布时间:2022-10-3 22:00

8 }: ?4 Q* x% M2 s$ m$ r" X( S 20200724171119178.png
2 ~! p) U2 g7 Y' L) E. s. J) c- C  ~1 D/ U
  1. 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
  2. ERROR: m4projects-stm32mp1-1.2.0-r0 do_fetch: Function failed: base_do_fetch1 g7 M, Z2 }7 _4 U8 A
  3. 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
  4. 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
  5. 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
  6. 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
  1. SRC_URI = "file://STM32CubeMP1"  b3 k) n, Q! q/ m7 O, c
  2. SRCREV  = "c604fa0965c73e430eebd5fa780180beb9a71b44"
    % Y- ]9 p9 K5 Y! U% ^+ I
  3. PV = "1.2.0"
    / f! O; J# V! X" `8 Z! e  c; a' t9 w
  4. 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
收藏 评论0 发布时间:2022-10-3 22:00

举报

0个回答

所属标签

相似分享

官网相关资源

关于
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
意法半导体官网
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
官方最新发布
STM32N6 AI生态系统
STM32MCU,MPU高性能GUI
ST ACEPACK电源模块
意法半导体生物传感器
STM32Cube扩展软件包
关注我们
st-img 微信公众号
st-img 手机版