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

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


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


build/conf/local.conf
~/yocto/build/conf/local.conf


<nowiki>
<nowiki>
22行目: 22行目:


<nowiki>
<nowiki>
$ bitbake core-image-minimal
~/yocto/build$ bitbake core-image-minimal
$ bitbake core-image-sato -c populate_sdk
~/yocto/build$ bitbake core-image-sato -c populate_sdk
</nowiki>
</nowiki>

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

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
~/yocto/build$ bitbake core-image-sato -c populate_sdk