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

STM32MP1系列Yocto编译do fetch fail

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

20200724171119178.png

  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.
  2. ERROR: m4projects-stm32mp1-1.2.0-r0 do_fetch: Function failed: base_do_fetch
  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
  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'
  5. NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and 1 failed.
  6. 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值为

  1. SRC_URI = "file://STM32CubeMP1"
  2. SRCREV  = "c604fa0965c73e430eebd5fa780180beb9a71b44"
  3. PV = "1.2.0"
  4. S = "${WORKDIR}/STM32CubeMP1"
复制代码

bitbake m4projects-stm32mp1 -c compile
————————————————
版权声明:jacob杰克爸

收藏 评论0 发布时间:2022-10-3 22:00

举报

0个回答

所属标签

相似分享

官网相关资源

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