Skip to content

Commit 566211c

Browse files
authored
Merge branch 'master' into python3-picamera2
2 parents d79fb40 + 7494a37 commit 566211c

File tree

68 files changed

+25437
-69247
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+25437
-69247
lines changed

.github/workflows/yocto-builds.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ jobs:
2525
- raspberrypi3
2626
- raspberrypi4-64
2727
- raspberrypi4
28+
- raspberrypi5
2829
- raspberrypi-cm3
2930
- raspberrypi-cm
3031
- raspberrypi-armv7

.readthedocs.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
version: 2
22

3+
sphinx:
4+
configuration: docs/conf.py
35
build:
46
os: ubuntu-22.04
57
tools:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ OpenEmbedded/Yocto distributions and layer stacks, such as:
4848

4949
This layer is officially approved as part of the `Yocto Project Compatible
5050
Layers Program`. You can find details of that on the official Yocto Project
51-
[website](https://www.yoctoproject.org/software-overview/layers/?searchTerm=meta-raspberrypi).
51+
[website](https://www.yoctoproject.org/development/yocto-project-compatible-layers/).
5252

5353
## Dependencies
5454

@@ -81,7 +81,7 @@ a section as follows:
8181
local_conf_header:
8282
rpi-specific: |
8383
ENABLE_I2C = "1"
84-
RPI_EXTRA_CONFIG = "dtoverlay=pi3-disable-bt"
84+
RPI_EXTRA_CONFIG = "dtoverlay=disable-bt"
8585
```
8686

8787
To configure the machine, you have to update the `machine` variable.

SECURITY.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
How to Report a Potential Vulnerability?
2+
========================================
3+
4+
If you would like to report a public issue (for example, one with a released
5+
CVE number), please report it via GitHub issues:
6+
7+
https://github.com/agherzan/meta-raspberrypi/issues/new/choose
8+
9+
If you are dealing with a not-yet released or urgent issue, please send a
10+
message to one of the maintainers listed in the [README.md](https://github.com/agherzan/meta-raspberrypi/blob/master/README.md). Include as many
11+
details as possible:
12+
- the layer or software module affected
13+
- the recipe and its version
14+
- any example code, if available
15+
16+
Branches maintained with security fixes
17+
---------------------------------------
18+
19+
See https://wiki.yoctoproject.org/wiki/Releases for the list of current
20+
releases. We only accept patches for the LTS releases and the master branch.

classes/sdcard_image-rpi.bbclass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ do_image_rpi_sdimg[depends] = " \
6060
do_image_rpi_sdimg[recrdeps] = "do_build"
6161

6262
# SD card image name
63-
SDIMG = "${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.rpi-sdimg"
63+
SDIMG = "${IMGDEPLOYDIR}/${IMAGE_NAME}.rpi-sdimg"
6464

6565
# Additional files and/or directories to be copied into the vfat partition from the IMAGE_ROOTFS.
6666
FATPAYLOAD ?= ""

conf/layer.conf

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ BBFILE_COLLECTIONS += "raspberrypi"
99
BBFILE_PATTERN_raspberrypi := "^${LAYERDIR}/"
1010
BBFILE_PRIORITY_raspberrypi = "9"
1111

12-
LAYERSERIES_COMPAT_raspberrypi = "nanbield"
12+
LAYERSERIES_COMPAT_raspberrypi = "styhead walnascar"
1313
LAYERDEPENDS_raspberrypi = "core"
1414

1515
# Additional license directories.
@@ -20,11 +20,6 @@ LICENSE_PATH += "${LAYERDIR}/files/custom-licenses"
2020
#
2121
# The .bbappend and .bb files are included if the respective layer
2222
# collection is available.
23-
BBFILES += "${@' '.join('${LAYERDIR}/dynamic-layers/%s/recipes*/*/*.bbappend' % layer \
24-
for layer in BBFILE_COLLECTIONS.split())}"
25-
BBFILES += "${@' '.join('${LAYERDIR}/dynamic-layers/%s/recipes*/*/*.bb' % layer \
26-
for layer in BBFILE_COLLECTIONS.split())}"
27-
2823
BBFILES_DYNAMIC += " \
2924
openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bb \
3025
openembedded-layer:${LAYERDIR}/dynamic-layers/openembedded-layer/*/*/*.bbappend \
@@ -34,6 +29,8 @@ BBFILES_DYNAMIC += " \
3429
qt5-layer:${LAYERDIR}/dynamic-layers/qt5-layer/*/*/*.bbappend \
3530
multimedia-layer:${LAYERDIR}/dynamic-layers/multimedia-layer/*/*/*.bb \
3631
multimedia-layer:${LAYERDIR}/dynamic-layers/multimedia-layer/*/*/*.bbappend \
32+
meta-python:${LAYERDIR}/dynamic-layers/meta-python/*/*/*.bb \
33+
meta-python:${LAYERDIR}/dynamic-layers/meta-python/*/*/*.bbappend \
3734
"
3835

3936
DEFAULT_TEST_SUITES:remove:rpi = "parselogs"

conf/machine/include/rpi-base.inc

Lines changed: 39 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,26 @@ RPI_KERNEL_DEVICETREE_OVERLAYS ?= " \
1818
overlays/overlay_map.dtb \
1919
overlays/at86rf233.dtbo \
2020
overlays/disable-bt.dtbo \
21+
overlays/disable-bt-pi5.dtbo \
2122
overlays/disable-wifi.dtbo \
23+
overlays/disable-wifi-pi5.dtbo \
2224
overlays/dwc2.dtbo \
2325
overlays/gpio-ir.dtbo \
2426
overlays/gpio-ir-tx.dtbo \
2527
overlays/gpio-key.dtbo \
2628
overlays/gpio-poweroff.dtbo \
2729
overlays/gpio-shutdown.dtbo \
2830
overlays/hifiberry-amp.dtbo \
31+
overlays/hifiberry-amp100.dtbo \
32+
overlays/hifiberry-amp3.dtbo \
33+
overlays/hifiberry-amp4pro.dtbo \
2934
overlays/hifiberry-dac.dtbo \
3035
overlays/hifiberry-dacplus.dtbo \
36+
overlays/hifiberry-dacplusadc.dtbo \
37+
overlays/hifiberry-dacplusadcpro.dtbo \
38+
overlays/hifiberry-dacplusdsp.dtbo \
39+
overlays/hifiberry-dacplushd.dtbo \
40+
overlays/hifiberry-digi-pro.dtbo \
3141
overlays/hifiberry-digi.dtbo \
3242
overlays/justboom-both.dtbo \
3343
overlays/justboom-dac.dtbo \
@@ -50,33 +60,46 @@ RPI_KERNEL_DEVICETREE_OVERLAYS ?= " \
5060
overlays/pps-gpio.dtbo \
5161
overlays/rpi-ft5406.dtbo \
5262
overlays/rpi-poe.dtbo \
63+
overlays/uart0.dtbo \
64+
overlays/uart0-pi5.dtbo \
65+
overlays/uart1.dtbo \
66+
overlays/uart1-pi5.dtbo \
67+
overlays/uart2.dtbo \
68+
overlays/uart2-pi5.dtbo \
69+
overlays/uart3.dtbo \
70+
overlays/uart3-pi5.dtbo \
71+
overlays/uart4.dtbo \
72+
overlays/uart4-pi5.dtbo \
73+
overlays/uart5.dtbo \
5374
overlays/vc4-fkms-v3d.dtbo \
5475
overlays/vc4-fkms-v3d-pi4.dtbo \
5576
overlays/vc4-kms-v3d.dtbo \
5677
overlays/vc4-kms-v3d-pi4.dtbo \
78+
overlays/vc4-kms-v3d-pi5.dtbo \
5779
overlays/vc4-kms-dsi-7inch.dtbo \
5880
overlays/w1-gpio.dtbo \
5981
overlays/w1-gpio-pullup.dtbo \
6082
overlays/wm8960-soundcard.dtbo \
83+
overlays/bcm2712d0.dtbo \
6184
"
6285

6386
RPI_KERNEL_DEVICETREE ?= " \
64-
bcm2708-rpi-zero.dtb \
65-
bcm2708-rpi-zero-w.dtb \
66-
bcm2708-rpi-b.dtb \
67-
bcm2708-rpi-b-rev1.dtb \
68-
bcm2708-rpi-b-plus.dtb \
69-
bcm2709-rpi-2-b.dtb \
70-
bcm2710-rpi-2-b.dtb \
71-
bcm2710-rpi-3-b.dtb \
72-
bcm2710-rpi-3-b-plus.dtb \
73-
bcm2710-rpi-zero-2.dtb \
74-
bcm2711-rpi-4-b.dtb \
75-
bcm2711-rpi-400.dtb \
76-
bcm2708-rpi-cm.dtb \
77-
bcm2710-rpi-cm3.dtb \
78-
bcm2711-rpi-cm4.dtb \
79-
bcm2711-rpi-cm4s.dtb \
87+
broadcom/bcm2708-rpi-zero.dtb \
88+
broadcom/bcm2708-rpi-zero-w.dtb \
89+
broadcom/bcm2708-rpi-b.dtb \
90+
broadcom/bcm2708-rpi-b-rev1.dtb \
91+
broadcom/bcm2708-rpi-b-plus.dtb \
92+
broadcom/bcm2709-rpi-2-b.dtb \
93+
broadcom/bcm2710-rpi-2-b.dtb \
94+
broadcom/bcm2710-rpi-3-b.dtb \
95+
broadcom/bcm2710-rpi-3-b-plus.dtb \
96+
broadcom/bcm2710-rpi-zero-2.dtb \
97+
broadcom/bcm2711-rpi-4-b.dtb \
98+
broadcom/bcm2711-rpi-400.dtb \
99+
broadcom/bcm2708-rpi-cm.dtb \
100+
broadcom/bcm2710-rpi-cm3.dtb \
101+
broadcom/bcm2711-rpi-cm4.dtb \
102+
broadcom/bcm2711-rpi-cm4s.dtb \
80103
"
81104

82105
KERNEL_DEVICETREE ??= " \

conf/machine/include/rpi-default-providers.inc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ PREFERRED_PROVIDER_virtual/libgles2 ?= "${@bb.utils.contains("MACHINE_FEATURES",
77
PREFERRED_PROVIDER_virtual/libgl ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "mesa-gl", d)}"
88
PREFERRED_PROVIDER_virtual/mesa ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "mesa-gl", d)}"
99
PREFERRED_PROVIDER_virtual/libgbm ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "mesa-gl", d)}"
10-
PREFERRED_PROVIDER_vlc ?= "rpidistro-vlc"
11-
PREFERRED_PROVIDER_ffmpeg ?= "rpidistro-ffmpeg"
12-
PREFERRED_PROVIDER_libav ?= "rpidistro-ffmpeg"
13-
PREFERRED_PROVIDER_libpostproc ?= "rpidistro-ffmpeg"
1410
PREFERRED_PROVIDER_jpeg ?= "jpeg"
1511

1612
PREFERRED_PROVIDER_virtual/libomxil ?= "userland"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# RaspberryPi BSP default versions
22

3-
PREFERRED_VERSION_linux-raspberrypi ??= "6.1.%"
3+
PREFERRED_VERSION_linux-raspberrypi ??= "6.6.%"
44
PREFERRED_VERSION_linux-raspberrypi-v7 ??= "${PREFERRED_VERSION_linux-raspberrypi}"

conf/machine/raspberrypi-armv8.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ RPI_KERNEL_DEVICETREE = " \
3232
broadcom/bcm2711-rpi-400.dtb \
3333
broadcom/bcm2711-rpi-cm4.dtb \
3434
broadcom/bcm2711-rpi-cm4s.dtb \
35+
broadcom/bcm2712-rpi-5-b.dtb \
36+
broadcom/bcm2712-rpi-cm5-cm5io.dtb \
37+
broadcom/bcm2712-rpi-cm5-cm4io.dtb \
38+
broadcom/bcm2712-rpi-cm5l-cm5io.dtb \
39+
broadcom/bcm2712-rpi-cm5l-cm4io.dtb \
3540
"
3641

3742
SDIMG_KERNELIMAGE ?= "kernel8.img"

0 commit comments

Comments
 (0)