使用imx 8m 测试matter协议功能

本文描述了在使用Yocto进行项目开发时遇到的问题,如资源(硬盘和CPU)消耗大,fetch失败,编译错误等。作者提供了使用E5神机、升级Python版本、调整内存和处理错误消息的建议。
摘要由CSDN通过智能技术生成

yocto这玩意太耗硬盘和cpu了,网上租个E5神机来编吧
参考网址:
https://github.com/nxp-imx/meta-matter
请使用Ubuntu-20.04。18.04python版本太老
注意repo会出现此报错,可以无视:

repo sync 同步不了代码

error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.

参考这篇文章:https://blog.csdn.net/jycjyc/article/details/127615012

git checkout imx_matter_2023_q3
这一步在这个目录下操作
在这里插入图片描述
编译出错:

| {standard input}:1189785: Error: unknown pseudo-op: `.4by'
| aarch64-poky-linux-g++: fatal error: Killed signal terminated program cc1plus
| compilation terminated.

内存太小,原来是4GB,增大可解决。

还是有问题:

NOTE: Tasks Summary: Attempted 1286 tasks of which 0 didn't need to be rerun and 3 failed.

Summary: 3 tasks failed:
  /home/user/Desktop/MY_YOCTO/sources/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx_6.1.bb:do_fetch
  /home/user/Desktop/MY_YOCTO/sources/meta-openembedded/meta-networking/recipes-filter/libnetfilter/libnetfilter-queue_1.0.5.bb:do_fetch
  /home/user/Desktop/MY_YOCTO/sources/meta-openembedded/meta-networking/recipes-filter/libnftnl/libnftnl_1.2.5.bb:do_fetch
Summary: There were 3 WARNING messages.
Summary: There were 6 ERROR messages, returning a non-zero exit code.

再试一遍:

Summary: 1 task failed:
  /home/user/Desktop/MY_YOCTO/sources/meta-matter/recipes-matter/matter/matter.bb:do_fetch
Summary: There were 3 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.

项目交流、学习、开发,欢迎私信。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值