レイヤーの追加とbitbakeのImageがちょっと変更になったのでメモ。
ダウンロード
$ mkdir aarch64 $ cd aarch64/ $ git clone git://git.yoctoproject.org/poky.git $ cd poky/ $ git clone git://git.yoctoproject.org/meta-raspberrypi $ git clone git://git.openembedded.org/meta-openembedded
レイヤーの追加
以前はmeta-raspberrypiだけ追加すればよかったが、エラーとなるため、meta-openembeddedのレイヤーも追加する。
$ mkdir aarch64 $ bitbake-layers add-layer ../poky/meta-openembedded/meta-oe/ $ bitbake-layers add-layer ../poky/meta-openembedded/meta-multimedia/ $ bitbake-layers add-layer ../poky/meta-openembedded/meta-python/ $ bitbake-layers add-layer ../poky/meta-openembedded/meta-networking/ $ bitbake-layers add-layer ../poky/meta-raspberrypi/
bitbake
conf/local.confに以下を追加する。
bitbakeでは「rpi-hwup-image」を指定。
MACHINE ?= "raspberrypi3-64"
bitbakeでは「rpi-hwup-image」を指定。
$ bitbake rpi-hwup-image
Parsing recipes: 100% |##########################################| Time: 0:00:29 Parsing of 1974 .bb files complete (0 cached, 1974 parsed). 2762 targets, 113 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.35.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "fedora-26" TARGET_SYS = "aarch64-poky-linux" MACHINE = "raspberrypi3-64" DISTRO = "poky" DISTRO_VERSION = "2.4" TUNE_FEATURES = "aarch64" TARGET_FPU = "" meta meta-poky meta-yocto-bsp = "master:fcdfe09d9cc4e2977bd602dfd18f729cd9f6d73d" meta-oe meta-multimedia meta-python meta-networking = "master:f841648657069051dffa1012a42eb1524b894d50" meta-raspberrypi = "master:04b37dbdb79638b17a670280058400ffaf1b6ccb" NOTE: Tasks Summary: Attempted 2464 tasks of which 6 didn't need to be rerun and all succeeded.