「Debian活用/Yocto設定」の版間の差分
< Debian活用
ナビゲーションに移動
検索に移動
(→kas) |
|||
| (同じ利用者による、間の8版が非表示) | |||
| 54行目: | 54行目: | ||
<nowiki> |
<nowiki> |
||
$ bitbake core-image- |
$ bitbake core-image-minimal |
||
($ runqemu snapshot) |
($ runqemu snapshot) |
||
</nowiki> |
</nowiki> |
||
| 80行目: | 80行目: | ||
<nowiki> |
<nowiki> |
||
$ bitbake core-image-minimal |
$ bitbake core-image-minimal |
||
</nowiki> |
|||
=== kas === |
|||
kas-poky-rpi.yml |
|||
==== Scarthgap ==== |
|||
<nowiki> |
|||
header: |
|||
version: 14 |
|||
machine: raspberrypi4-64 |
|||
distro: poky |
|||
target: |
|||
- core-image-minimal |
|||
repos: |
|||
poky: |
|||
url: https://git.yoctoproject.org/poky |
|||
branch: scarthgap |
|||
layers: |
|||
meta: |
|||
meta-poky: |
|||
meta-yocto-bsp: |
|||
meta-openembedded: |
|||
url: https://git.openembedded.org/meta-openembedded |
|||
branch: scarthgap |
|||
layers: |
|||
meta-oe: |
|||
meta-python: |
|||
meta-raspberrypi: |
|||
url: https://git.yoctoproject.org/meta-raspberrypi |
|||
branch: scarthgap |
|||
layers: |
|||
.: |
|||
</nowiki> |
|||
<nowiki> |
|||
$ kas-container build kas-poky-rpi.yml |
|||
</nowiki> |
</nowiki> |
||
2026年7月28日 (火) 16:45時点における最新版
概要
- https://www.yoctoproject.org/development/releases/
- Wrynose
- Scarthgap
設定
Wrynose
$ sudo apt-get install build-essential chrpath cpio debianutils diffstat file gawk gcc git iputils-ping libacl1 libc $ locale --all-locales | grep en_US.utf8 $ sudo dpkg-reconfigure locales
$ git clone https://git.openembedded.org/bitbake $ ./bitbake/bin/bitbake-setup init
※「./bitbake/bin/bitbake-setup init」を非対話で設定
$ ./bitbake/bin/bitbake-setup init --non-interactive poky-wrynose poky distro/poky machine/qemuarm64
$ source bitbake-builds/poky-wrynose/build/init-build-env $ bitbake-config-build list-fragments $ bitbake-config-build enable-fragment core/yocto/root-login-with-empty-password
Raspberry Pi用の設定
$ bitbake-layers layerindex-fetch meta-raspberrypi ($ git clone -b wrynose https://git.yoctoproject.org/meta-raspberrypi ../layers/meta-raspberrypi) ($ bitbake-layers add-layer ../layers/meta-raspberrypi) $ bitbake-layers show-layers
$ bitbake-config-build enable-fragment machine/raspberrypi4-64
conf/local.conf
LICENSE_FLAGS_ACCEPTED = "synaptics-killswitch"
$ bitbake core-image-minimal ($ runqemu snapshot)
$ cd build/tmp/deploy/images/raspberrypi4-64/ $ sudo bmaptool copy core-image-sato-raspberrypi4-64.rootfs.wic.bz2 /dev/sdX
Scarthgap
$ git clone -b scarthgap https://git.yoctoproject.org/poky $ source poky/oe-init-build-env $ bitbake-layers layerindex-fetch meta-raspberrypi $ bitbake-layers show-layers
conf/local.conf
MACHINE = "raspberrypi4-64"
$ bitbake core-image-minimal
kas
kas-poky-rpi.yml
Scarthgap
header:
version: 14
machine: raspberrypi4-64
distro: poky
target:
- core-image-minimal
repos:
poky:
url: https://git.yoctoproject.org/poky
branch: scarthgap
layers:
meta:
meta-poky:
meta-yocto-bsp:
meta-openembedded:
url: https://git.openembedded.org/meta-openembedded
branch: scarthgap
layers:
meta-oe:
meta-python:
meta-raspberrypi:
url: https://git.yoctoproject.org/meta-raspberrypi
branch: scarthgap
layers:
.:
$ kas-container build kas-poky-rpi.yml