Add support for multi kernel Raspberry Pi machines
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 0 repliesNew
- v15 patches 0 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | sdcard_image-rpi.bbclass: Move SDIMG_KERNELIMAGE definitions to their machinesclasses/ conf/ conf/ +1 more | +6 | 0 replies | |
| 2/7 | raspberrypi0-2w.conf: Include the RPi 0-2w dtb for all 32-bit machinesconf/ conf/ | +1 | 0 replies | |
| 3/7 | rpi-base.inc: Split IMAGE_BOOT_FILES for kernel imageconf/ | +6 | 0 replies | |
| 4/7 | Add support for a ARMv7 machine supporting multiple Raspberry Pi boardsconf/ conf/ docs/ +5 more | +94 | 0 replies | |
| 5/7 | ci: Add raspberrypi-armv7 to the build matrix.github/ | +1 | 0 replies | |
| 6/7 | Add support for a ARMv8 machine supporting multiple Raspberry Pi boardsconf/ docs/ recipes-kernel/ | +50 | 0 replies | |
| 7/7 | ci: Add raspberrypi-armv8 to the build matrix.github/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [meta-raspberrypi][PATCH v2 0/7] Add support for multi kernel Raspberry Pi machines
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
Signature · 1 line
2.25.1