git clone -b krogoth git://git.yoctoproject.org/poky git clone -b krogoth git://git.openembedded.org/meta-openembedded git clone -b krogoth git://git.yoctoproject.org/meta-raspberrypi
oe-init-env build之後,到 build/conf 下 修改 local.conf..
加上:
MACHINE = "raspberrypi3" PREFERRED_VERSION_LINUX-raspberrypi = "4.%" DISTRO_FEATURES_remove += "x11 wayland" DISTRO_FEATURES_append += "systemd" VIRTUAL-RUNTIME_init_manager = "systemd"
bblayers.conf 修改成..
POKY_BBLAYERS_CONF_VERSION = "2" BBPATH = "${TOPDIR}" BBFILES ?= "" BBLAYERS ?= " \ /home/charles-chang/rpi2016/sources/poky/meta \ /home/charles-chang/rpi2016/sources/poky/meta-poky \ /home/charles-chang/rpi2016/sources/poky/meta-yocto-bsp \ /home/charles-chang/rpi2016/sources/meta-openembedded/meta-oe \ /home/charles-chang/rpi2016/sources/meta-openembedded/meta-multimedia \ /home/charles-chang/rpi2016/sources/meta-raspberrypi \ " BBLAYERS_NO_REMOVABLE ?= " \ /home/charles-chang/rpi2016/sources/poky/meta \ /home/charles-chang/rpi2016/sources/poky/meta-poky \ "
然後 bitbake rpi-basic-image 就成工了。
build 完 dd , 可以開機。
但是 dtoverlay=pi3-disable-bt 沒作用。
uart 還是沒辦法當 console。只能用 hdmi + keyboard
沒有留言:
張貼留言