如何解决 bitbake do_fetch() 冻结或停止的情况,使用 Yocto 和 Raspberry Pi?

How to solve this situation where bitbake do_fetch() is freezing or stopping, with Yocto and Raspberry Pi?

我运行命令

bitbake core-image-minimal

这是我的步骤:

git clone poky
git clone meta-raspberrypi
source oe-init-build-env rpi-build
rpi-build/conf/bblayer.conf # adding meta-raspberrypi
rpi-build/conf/local.conf # modify MACHINE ?= "raspberrypi3"
bitbake core-image-minimal # (actually I also ran other image "rpi-hwup-image", "core-image-full-cmdline")

这道题怎么办?

$ps aux | grep core-image-minimal

 18925  0.1  0.5 153504 41724 pts/2    S+   17:05   0:00 python /opt/sungsoo/poky/bitbake/bin/bitbake core-image-minimal
 18937  0.7  1.6 322408 136508 pts/2   Sl+  17:05   0:04 python /opt/sungsoo/poky/bitbake/bin/bitbake core-image-minimal

Bitbake 可能没有崩溃,只是 Raspberry Pi 背后的人们创建了一个巨大的 git 存储库,其中包含大量二进制文件。克隆需要很长时间...

如果我没记错的话,引导文件取自Raspberry Pi firmware repo。我的裸克隆目前是 5.4GiB...