「Raspberry Pi活用/Yocto設定」の版間の差分

提供: Medeshima wiki
ナビゲーションに移動 検索に移動
編集の要約なし
編集の要約なし
32行目: 32行目:


<nowiki>
<nowiki>
~/yocto/build/tmp/deploy/sdk
~/yocto/build/tmp/deploy/sdk/poky-glibc-x86_64-core-image-sato-cortexa72-raspberrypi4-64-toolchain-4.0.17.sh
</nowiki>
</nowiki>

2024年5月20日 (月) 06:23時点における版

tools-debug

~/yocto$ git clone git://git.yoctoproject.org/poky
~/yocto$ cd poky
~/yocto/poky$ git checkout kirkstone
//~/yocto/poky$ git checkout scarthgap
~/yocto/poky$ cd ..
~/yocto$ git clone git://git.yoctoproject.org/meta-raspberrypi
~/yocto$ cd meta-raspberrypi 
~/yocto/meta-raspberrypi$ git checkout kirkstone
~/yocto/meta-raspberrypi$ cd ..
~/yocto$ source poky/oe-init-build-env
~/yocto/build$ bitbake-layers add-layer ../meta-raspberrypi

~/yocto/build/conf/local.conf

MACHINE ?= "raspberrypi4-64"

~/yocto/build$ bitbake core-image-minimal

SDK

~/yocto/build$ bitbake core-image-sato -c populate_sdk

~/yocto/build/tmp/deploy/sdk/poky-glibc-x86_64-core-image-sato-cortexa72-raspberrypi4-64-toolchain-4.0.17.sh