環境
yocto下載
# 源碼下載
git clone git://git.yoctoproject.org/poky
git reset --hard b223b6d533a6d617134c1c5bec8ed31657dd1268
?
構建
# 編譯鏡像
export MACHINE="qemuarm64"
. oe-init-build-env
bitbake core-image-full-cmdline?
運行
# 跑虛擬機
export KERNEL=/home/q/home/yocto/poky/build/tmp/work/qemuarm64-poky-linux/linux-yocto/6.12.22+git/linux-qemuarm64-standard-build/arch/arm64/boot/Image
export DEVICE_TREE=/home/q/home/yocto/poky/build/virt.dtb
runqemu nographic
<完>?