Replace UBOOT_ARCH with oe.kernel.map_uboot_arch(d) because the
variable has been dropped and all OE-Core usages are now
independent of kernel-arch, following the change in oe-core with
git commit 7e8523f3c16efb29657effd732a88e939eb0cf84.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Replace & with AND in the LICENSE of the affected recipes.
Fixes:
WARNING: LICENSE is using an old syntax and should be upgraded
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Resolve license warnings regarding the old syntax by updating to
the new identifier LicenseRef-Firmware-cypress-rpidistro.
Fixes:
WARNING: bluez-firmware-rpidistro: LICENSE is using an old syntax
and should be upgraded to: "LicenseRef-Firmware-cypress-rpidistro"
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Replace Broadcom-RPi with the new syntax LicenseRef-Broadcom-RPi.
Fixes:
WARNING: LICENSE is using an old syntax and should be upgraded to:
"LicenseRef-Broadcom-RPi"
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Resolve license warnings regarding the old syntax by updating to
the new identifiers: LicenseRef-binary-redist-Cypress-rpidistro
and LicenseRef-Synaptics-rpidistro.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Switch the default linux-raspberrypi to 6.18.
Pin raspberrypi-armv7 to 6.12 for both linux-raspberrypi and
linux-raspberrypi-v7, since bcm2711_defconfig was dropped from
arch/arm/configs/ in 6.18 and 32-bit builds fail do_kernel_metadata.
arm64 machines stay on 6.18.
Signed-off-by: Ayoub Zaki <ayoub.zaki@embetrix.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Adds a recipe for the rpi-6.18.y branch of the raspberrypi/linux
tree alongside the existing 6.1, 6.6 and 6.12 recipes.
Note that 6.18 is not yet considered stable on Raspberry Pi OS:
upstream has not cut a stable_* tag against this series and users
are still reporting regressions on the Raspberry Pi forums. The
default kernel is therefore intentionally left at 6.12 in
conf/machine/include/rpi-default-versions.inc; opt in by setting
PREFERRED_VERSION_linux-raspberrypi to "6.18.%".
https://github.com/raspberrypi/linux/tree/rpi-6.18.y
Signed-off-by: Paolo Barbolini <paolo.barbolini@m4ss.net>
For upstream yocto mirrors the git protocol was disabled lately.
Appended 'protocol=https' in corresponding SRC_URIs to fixes following
error:
ERROR: ExpansionError during parsing [...]/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-dev.bb
bb.data_smart.ExpansionError: [...] \
ls-remote git://git.yoctoproject.org/yocto-kernel-cache failed with exit code 128, output:
fatal: unable to connect to git.yoctoproject.org:
git.yoctoproject.org[0: 104.18.0.115]: errno=Connection timed out
git.yoctoproject.org[1: 104.18.1.115]: errno=Connection timed out
git.yoctoproject.org[2: 2606:4700::6812:73]: errno=Network is unreachable
git.yoctoproject.org[3: 2606:4700::6812:173]: errno=Network is unreachable
The variable dependency chain for the failure is: fetcher_hashes_dummyfunc[vardepvalue]
ERROR: Parsing halted due to errors, see error messages above
Signed-off-by: Michael Weiß <michael.weiss@aisec.fraunhofer.de>
https://github.com/agherzan/meta-raspberrypi/pull/1584 was first change
specific for wrynose (other than CI change), drop whinlatter to avoid
someone accidentally using master branch with older weston-14 and
getting crashes.
Separate whinlatter branch was now created.
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
The init configuration is usually taken care of by setting INIT_MANAGER
and systemd is the default since:
https://git.openembedded.org/openembedded-core/commit/?id=0b4061c5d50261f826d0edb4b478d2d305274b7c
so none of this should be needed, hopefully it will fix CI runs which currently fail with:
https://github.com/agherzan/meta-raspberrypi/actions/runs/23234236947/job/67698405693
ERROR: Nothing PROVIDES 'systemd' (but /tmp/tmp.aSbUL7oQb7/openembedded-core/meta/recipes-core/psplash/psplash_git.bb DEPENDS on or otherwise requires it)
systemd was skipped: conflicting distro feature 'sysvinit' (in DISTRO_FEATURES)
NOTE: Runtime target 'psplash' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['psplash', 'systemd']
ERROR: Required build target 'rpi-test-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['rpi-test-image', 'psplash', 'systemd']
Summary: There was 1 WARNING message.
Summary: There were 2 ERROR messages, returning a non-zero exit code.
But I don't see where sysvinit would be getting into DISTRO_FEATURES here.
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Upgrade rpidistro-ffmpeg to the latest upstream, some changes were made
in the recipe to better match the OE recipe of the same version, x264
disabled by default due to cyclic dependency
Signed-off-by: Gijs Peskens <gijs.peskens@munisense.com>
Various backports (i.e.: taglib), casts, etc. to fix compilation on
Whinlatter against rpidistro-ffmpeg (upstream ffmpeg changes not
backported)
Signed-off-by: Gijs Peskens <gijs.peskens@munisense.com>
Specifying xorg to use the Raspberry Pi 5 GPU prevents
boot failures caused by the xorg load framebuffer module.
Signed-off-by: Xiaolei Wang <xiaolei.wang@windriver.com>
hat_map.dtb is required by the firmware to match HAT UUIDs from
EEPROM data to their corresponding device tree overlays during boot.
Without this file, HATs may fail to initialize properly even when their
overlay files are present.
Signed-off-by: Florian Wickert <FlorianWickert@gmail.com>
The Raspberry Pi Compute Module 5 IO Board does not include a
dedicated UART debug connector like the Raspberry Pi 5. Although
the CM5 itself has reserved space for a JST connector, it is not
populated. To enable UART on the 40-pin header of the CM 5 IO Board
we need to add dtoverlay=uart0 and dtparam=uart0_console to
config.txt.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Add a dedicated machine configuration for the Raspberry Pi Compute
Module 5 IO Board. Although it is closely aligned with Raspberry Pi
5, several peripherals differ. Providing a separate configuration
will enable targeted support and feature implementation for those
distinct peripherals.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
After the work done in commit 846c119, the poky repository is no longer
a dependency for this layer. This commit removes all references to
poky in the README.md file and updates the dependency list to include
the openembedded-core and meta-yocto layers instead.
Signed-off-by: Ricardo Ungerer <ungerer.ricardo@gmail.com>
The raspberry pi kernel has changed the plane IDs in their drm
driver[1], which causes weston to crash upon mouse movement.
This patch adapts the relevant variable sizes from 32-bit to
64-bit.
Since the kernel modification hasn't been upstreamed by rpi, this patch
is deemed to be inappropriate for upstreaming to weston.
Also, clean up this bbappend: the main recipe has switched to meson
long time ago, the autotools config options are obsolete, so remove them.
Beside that the "fbdev" PACKAGECONFIG doesn't exist anymore, so drop it
from the removal list.
[1]: https://github.com/raspberrypi/linux/commit/8181e682d6f4ef209845ec24f0a1eb37764d6731
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Add vc4-kms-dsi-ili9881-5inch.dtbo to RPI_KERNEL_DEVICETREE_OVERLAYS
for the 5" version of Raspberry Pi Touch Display 2.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Following the recent major breaking change with the introduction of
bitbake-setup because of which the Poky repository master branch is
no longer being updated, the Poky git repository has to be replaced
by bitbake and openembedded-core. This fixes the GitHub workflow
with branch master of meta-raspberrypi for yocto-check-layer test.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Following the recent major breaking change with the introduction of
bitbake-setup because of which the Poky repository master branch is
no longer being updated, the Poky git repository has to be replaced
by bitbake, openembedded-core and meta-yocto which provides layers
meta-poky and meta-yocto-bsp. This fixes the GitHub workflows with
branch master of meta-raspberrypi and allows running auto checks.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Add rpi-backlight.dtbo to RPI_KERNEL_DEVICETREE_OVERLAYS. This is
a devicetree overlay for mailbox-driven Raspberry Pi DSI Display
backlight controller.
This work was sponsored by GOVCERT.LU.
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Move the raspberrypi PACKAGECONFIG to meta-oe (at least partially),
as the libcamera recipe needs to know when is it built for an rpi due
to a new build dependency. Also, make the PACKAGECONFIG append device
specific. Otherwise the behavior of the bbappend should not change
by this patch.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Quite a few things have changed lately, eaiser to browse the release
page: https://github.com/raspberrypi/rpicam-apps/releases
The main reason for the update it improved build-compatibiltiy with
tensorflow-lite: it doesn't need cmake/pkg-config file anymore to
find the library, so it should be easier to integrate it with
meta-tensorflow.
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Add w1-gpio-pi5.dtbo to RPI_KERNEL_DEVICETREE_OVERLAYS to resolve
the following issue noticed in vclog --msg on Raspberry Pi 5 when
ENABLE_W1 is set to 1:
dtdebug: mapped overlay 'w1-gpio' to 'w1-gpio-pi5'
dtdebug: Failed to open overlay file 'overlays/w1-gpio-pi5.dtbo'
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>