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.
项目交流、学习、开发,欢迎私信。