From: Andrei Gherzan <[email protected]>
PATCH v2:
* the patches (depmod fixes) below were merged in oe-core/master (FYI)
* added support for a similar (but simpler) armv8 machine - with CI
PATCH v1:
The new raspberrypi-armv7.conf aims at supporting all the armv7
Raspberry Pi boards.
This initial support was tested on:
- Raspberry Pi 4 Model B
- Raspberry Pi 3 Model B
- Raspberry Pi 0 2 WiFi
Tests:
- Boot
- WiFi
- BT
- Modules load
There is a known limitation of the fact that the core doesn't handle
image depmod for multiple kernels. A set of fixes were proposed for
that:
https://lists.openembedded.org/g/openembedded-core/message/170505
https://lists.openembedded.org/g/openembedded-core/message/170506
https://lists.openembedded.org/g/openembedded-core/message/170507
https://lists.openembedded.org/g/openembedded-core/message/170508
Without these (or similar patches) patches, an additional step is
needed on any board but Raspberry Pi 4: for example running `depmod -a`
at first boot.
Andrei Gherzan (7):
sdcard_image-rpi.bbclass: Move SDIMG_KERNELIMAGE definitions to their
machines
raspberrypi0-2w.conf: Include the RPi 0-2w dtb for all 32-bit machines
rpi-base.inc: Split IMAGE_BOOT_FILES for kernel image
Add support for a ARMv7 machine supporting multiple Raspberry Pi
boards
ci: Add raspberrypi-armv7 to the build matrix
Add support for a ARMv8 machine supporting multiple Raspberry Pi
boards
ci: Add raspberrypi-armv8 to the build matrix
.github/workflows/yocto-builds.yml | 2 +
classes/sdcard_image-rpi.bbclass | 5 ---
conf/machine/include/rpi-base.inc | 10 +++--
conf/machine/include/rpi-default-versions.inc | 1 +
conf/machine/raspberrypi-armv7.conf | 39 +++++++++++++++++
conf/machine/raspberrypi-armv8.conf | 43 +++++++++++++++++++
conf/machine/raspberrypi.conf | 4 +-
conf/machine/raspberrypi0-2w.conf | 4 --
conf/machine/raspberrypi2.conf | 2 +-
conf/machine/raspberrypi3-64.conf | 7 ++-
docs/layer-contents.md | 22 ++++++++++
recipes-kernel/linux/linux-raspberrypi-v7.inc | 13 ++++++
.../linux/linux-raspberrypi-v7_5.10.bb | 6 +++
.../linux/linux-raspberrypi-v7_5.15.bb | 6 +++
recipes-kernel/linux/linux-raspberrypi.inc | 2 +
.../linux/linux-raspberrypi_5.15.bb | 12 ++++++
16 files changed, 159 insertions(+), 19 deletions(-)
create mode 100644 conf/machine/raspberrypi-armv7.conf
create mode 100644 conf/machine/raspberrypi-armv8.conf
create mode 100644 recipes-kernel/linux/linux-raspberrypi-v7.inc
create mode 100644 recipes-kernel/linux/linux-raspberrypi-v7_5.10.bb
create mode 100644 recipes-kernel/linux/linux-raspberrypi-v7_5.15.bb
--
2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#58029): https://lists.yoctoproject.org/g/yocto/message/58029
Mute This Topic: https://lists.yoctoproject.org/mt/93665582/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-