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

STM32MP1系列Yocto编译do fetch fail

[复制链接]
STMCU小助手 发布时间:2022-10-3 22:00
) N! d% @5 l* _6 T8 h. \# N8 d9 _
20200724171119178.png 3 d' d  `5 I* [! ?: w

9 }( n. Z, K/ i5 O9 i/ p
  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.1 F2 y" B9 T, o/ w9 v, m  a
  2. ERROR: m4projects-stm32mp1-1.2.0-r0 do_fetch: Function failed: base_do_fetch
    8 ^2 d; w1 j6 J8 M8 T" s1 u
  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.805177 r( Z3 P. z1 i( \/ ]7 g5 }' Z' o- H  {
  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'3 {) `% U% `- {0 E
  5. 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
  6. 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
  1. SRC_URI = "file://STM32CubeMP1") S; n7 d) u, i; g3 I
  2. SRCREV  = "c604fa0965c73e430eebd5fa780180beb9a71b44"
    # l3 J- U# A$ @5 ^4 c8 }! P/ N
  3. PV = "1.2.0"
    0 [) J$ a. f5 i4 H+ S' w
  4. 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 {
收藏 评论0 发布时间:2022-10-3 22:00

举报

0个回答

所属标签

相似分享

官网相关资源

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