本文主要是介绍Yocto Beaglebone-Black 编译记录,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
sudo apt update
sudo apt upgrade ^C
sudo apt install gawk wget git diffstat unzip texinfo gcc build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev pylint3 xterm python3-subunit mesa-common-dev zstd liblz4-tool
git clone git://git.yoctoproject.org/poky
cd poky/
git branch -a
git checkout -t origin/kirkstone -b my-kirkstone
source oe-init-build-env
MACHINE="beaglebone-yocto" bitbake core-image-minimal
这个时候会报错,
ERROR: Variable BB_ENV_EXTRAWHITE has been renamed to BB_ENV_PASSTHROUGH_ADDITIONS
ERROR: Variable BB_ENV_EXTRAWHITE from the shell environment has been renamed to
我这里关掉终端, 重新打开, 重新source 确实好了
Solved: [Yocto Kirkstone][LF-5.15.32-2.0.0] Fail to bitbak... - NXP Community
烧写sdcard
cd tmp/deploy/images/beaglebone-yocto/
lsblk
sudo dd if=core-image-minimal-beaglebone-yocto.wic of=/dev/sdb bs=4M
参考:
Yocto Project: quickest instructions to generate BeagleBone images - Bootlin's blog
这篇关于Yocto Beaglebone-Black 编译记录的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!