aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2024-02-14Add Raspberry Pi 5kirkstoneLeon Anavi
Backport Raspberry Pi 5 support to branch kirkstone. This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-02-13docs: add info on how to set different CAN interrupt pinsDamiano Ferrari
Signed-off-by: Damiano Ferrari <damiano.ferrari@ferrarigrowtech.com>
2024-02-13rpi-config: Add CAN0_INTERRUPT_PIN and CAN1_INTERRUPT_PIN variableDamiano Ferrari
Current configuration hard-code the values of the CAN interrupt pins. This setting allows to change them. The default values are the same as before. Signed-off-by: Damiano Ferrari <damiano.ferrari@ferrarigrowtech.com>
2024-02-01linux-raspberrypi: stop setting powersave as the default CPU governorCarlos Alberto Lopez Perez
* The defconfigs from the RPi Kernel set `powersave` as the default CPU governor, which is a bad idea as that reduces performance by setting the CPU frequency to the minimum one. * In case of a Yocto build user-space is not configured by default to change the CPU governor, so `powersave` will remain the CPU governor and it will slow down everything. * I submitted a fix for those defconfigs to upstream here: https://github.com/raspberrypi/linux/pull/5666 However, we shouldn't wait until that is accepted and backported to all the stable branches (if ever is). * This patch unsets the selection of `powersave` as the default CPU governor. * Then the CPU governor that will be selected as default after this patch will be the Linux's default one that is either `ondemand` or `schedutil` depending on the Kernel version. Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
2024-01-09psplash: Make psplash wait for the framebuffer to be readyKhem Raj
Especially with systemd its seen that psplash-start service starts before /dev/fb0 is created by kernel which results in [FAILED] Failed to start Start psplash boot splash screen. this is quite frequent race now with kernel 6.1 Add device dependency on sys-devices-platform-gpu-graphics-fb0.device via a unit file drop-in Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-01-08linux-raspberrypi: Update 5.15 recipe to 5.15.92Leon Anavi
Update kernel to version 5.15.92 to fix Bluetooth and Wi-Fi issues on 64-bit images for Raspberry Pi Zero 2. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2023-09-29rpi-base: Fix wic image kernel dependencyJoshua Watt
wic images depend on the kernel device trees, and therefore should depend on virtual/kernel:do_deploy to make sure these are present in the deploy directory. Most of the time, this dependency is satisfied indirectly since a rootfs image will depend on the kernel, but add it explicitly for the cases where it is not. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> (cherry picked from commit 482d864b8f1af84915ed6a9641e80af4e49a1f63)
2023-08-03linux-raspberrypi: change kernel cfg of drm from y to m to fix the pwm issue ↵bigbearishappy
#1180 When I was trying to drive a lcd(ili9881) with pwm backlight control. I encountered with the problem in #1180. After I check the kernel config of both raspbian OS and yocto.I find the config of drm is different between them. Detail of difference: In raspbian OS, kernel conifg of drm is m while it's y in yocto. So I change the config of drm to m in yocto too.And the pwm works fine now. Signed-off-by: bigbearishappy <953308023@qq.com>
2023-05-31udev-rules-rpi: Use 99-com.rules directly from upstreamFlorin Sarbu
Rather than have an unsynchronized copy of this file, let's use this udev rule directly from upstream. Signed-off-by: Florin Sarbu <florin@balena.io>
2023-04-06machines: simplify MACHINEOVERRIDES definitionsZachary T Welch
Prepending new definitions should be preferred to assignment, as it is simpler and more conducive to defining new machine configurations that reuse these configurations. Signed-off-by: Zachary T Welch <zach@aquabyte.ai>
2022-09-10raspberrypi-firmware: Update to 20220830 snapshotVinicius Aquino
Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br> (cherry picked from commit 9ea5daf9fcfe7c5c95c68a6df552b817d2b6aced)
2022-09-05rpi-cmdline: do_compile: Use pure Python syntax to get `CMDLINE`Lluis Campos
Otherwise the shell snippet fails with `bad syntax` when `CMDLINE` contains special characters like `${...}` (useful to insert a U-Boot variable in `cmdline.txt`). Signed-off-by: Lluis Campos <lluis.campos@northern.tech> (cherry picked from commit c57b464b88769c1336695e48e1eb8f35e258b9ae)
2022-04-21rpi-base.inc: Add MCP3008 ADC overlayAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Jan <jan.claussen10@web.de>
2022-04-21docs: Bump copyright yearAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-04-21docs: Drop mention of deprecated imagesAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-04-21bluez-firmware-rpidistro: Add compatibility to oe-core/create-spdxDavide Gardenal
Add do_create_spdx dependency to fix error when LICENCE is not found Signed-off-by: Davide Gardenal <davide.gardenal@huawei.com>
2022-04-21u-boot: Remove the randundant patchMeng Li
This patch had been merged into u-boot upstream. Its commit is 29f7d05a347a("dm: core: Move ofdata_to_platdata() call earlier"). So, remove the randundant patch to avoid building error. Signed-off-by: Meng Li <Meng.Li@windriver.com>
2022-04-21ci: Use test builds with the test imageAndrei Gherzan
rpi-test-image is based on core-image-base but includes more packages that this layer provides. In this way we can have CI test more recipe updates. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-04-21packagegroup-rpi-test: Include more packagesAndrei Gherzan
Include more packages from this layer so we can test/CI the support easier. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-04-21rpi-hwup-image: Drop imageAndrei Gherzan
This was deprecated for a good while now so let's drop it. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-04-21rpi-basic-image: Drop imageAndrei Gherzan
This was deprecated for a good while now so let's drop it. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-04-21python3-adafruit-circuitpython-register: Upgrade to 1.9.8Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-04-21python3-adafruit-platformdetect: Upgrade to 3.22.1Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-04-21python3-adafruit-pureio: Uprade to 1.1.8Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-04-21rpio: Upgrade to 0.10.1Andrei Gherzan
Drop the 0001-include-sys-types.h-explicitly-for-getting-caddr_t-d.patch patch as it was fixed in this version[1]. This switches the source from pypi to git (github) as the new version wasn't published yet. Lastly, we use the LICENSE.txt file for LIC_FILES_CHKSUM so we don't have to deal with context lines in the README file. [1] https://github.com/metachris/RPIO/pull/41 Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-04-21python3-rtimu: Upgrade to 7.2.1Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-04-21raspi-gpio: Uprev revision to current HEAD of master branchAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-04-21linux-firmware-rpidistro: Update to 20210315-3+rpt4Andrei Gherzan
The 43438 WLAN firmware doesn't include the clm_blob anymore which now comes as a separate file: cyfmac43430-sdio.clm_blob. The 43455 WLAN firmware now comes with a minimal build too. We make sure that it is packaged and we dropped the associated README. In the future we might want to introduce a build configuration for switching between the two builds. For now we only deploy it on target and let users deal with the symlink accordinly. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-04-21pi-blaster: Uprev the recipeAndrei Gherzan
This updates the recipe to the head of the master branch. Upstream shifted the license section in the README file so this patch changes LIC_FILES_CHKSUM accordingly. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-04-21bcm2835: Update to 1.71Andrei Gherzan
This version is now released as GPLv3. It also adds an example that is not a simple binary anymore - it is provided as a tiny library and an associated tool (spiram/spiram_test). Restructure the compilation and installation of all examples to cater for this case. Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> m
2022-04-21linux-raspberrypi: Update 5.10 recipe to 5.10.110Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-04-21linux-raspberrypi: Update 5.15 recipe to 5.15.34Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-04-21raspberrypi-firmware: Update to 20220331Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-04-20python3-sense-hat: Use specific BSD licenseKhem Raj
Fixes WARNING: python3-sense-hat-2.2.0-r0 do_populate_lic: QA Issue: python3-sense-hat: No generic license file exists for: BSD in any provider [license-exists] Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-14docs: link to latest documentation of kasJan Vermaete
Version 1.0 of kas is not the latest anymore. Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
2022-04-11linux-raspberrypi: add UBOOT_ENTRYPOINT to match LOADADDRAJ Bagwell
This is so that uboot fit images have an entry point that matches the LOADADDR that everything is expecting. Signed-off-by: AJ Bagwell <anthony.bagwell@hivehome.com>
2022-04-04omxplayer: Use internal version of ffmpegKhem Raj
OE-Core's ffmpeg has moved to 5.x version whose headers are not directly compatible with what omxplayer expects anymore. Therefore use captured version of ffmpeg and point the header search paths accordingly. Add missing dependency on alsa-lib for libasound headers Fixes build with master/kirkstone Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-04picamera-libs: Adjust sourcedirKhem Raj
After switching the SRC_URI for firmware, this adjustment was needed to let this recipe find /opt/vc path in correct place Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-04userland: Update to latest as of 20220323Khem Raj
Fix build with clang Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-04extra-build-config: Add documentation for the ISOLATED_CPUS configuration ↵Andrew Penner
variable Signed-off-by: Andrew Penner <andrew.penner@protonmail.com>
2022-04-04rpi-cmdline: Add ability to specify CPUs to add to the isolcpus listAndrew Penner
Signed-off-by: Andrew Penner <andrew.penner@protonmail.com>
2022-04-02docs: Add information for RTC devicesAndrei Gherzan
The `rtc` machine feature is "considered" by default for all the machines we provide until now. This can confuse people who would want an RTC device attached to a RaspberryPi board[1]. Clarify this via documentation. [1] https://github.com/agherzan/meta-raspberrypi/issues/1010 Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-04-02docs: untabify the few tabs in the fileJan Vermaete
Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
2022-03-31armstubs: Upgrade to 20211101Khem Raj
- Switch to using git fetcher, avoid the QA issue ERROR: armstubs-20211101-r0 do_unpack: QA Issue: armstubs: SRC_URI uses unstable GitHub/GitLab archives, convert recipe to use git protocol [src-uri-bad] - Use shallow clone to reduce size of cloned repo Normal archive tarball raspberrypi-tools-13474ee775d0c5ec8a7da4fb0a9fa84187abfc87.tar.gz - 324M Shallow clone achive tarball gitshallow_github.com.raspberrypi.tools_13474ee-1_master.tar.gz - 189M Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-31raspberrypi-firmware: Update to match 5.15.32Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-31linux-raspberrypi_5.15.bb: Upgrade to 5.15.32Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-27u-boot: always set fdt_addr with firmware-provided FDT addressMatthias Klein
The Raspberry firmware prepares the FDT blob in memory at an address that depends on both the memory size and the blob size. For details see description in the patch itself. The patch is not yet upstream, but has already been submitted by the original author: https://lore.kernel.org/all/20210512123945.25649-1-m.salvini@koansoftware.com/ For me, the described problem occurs in conjunction with RAUC, which uses the following U-Boot script: https://github.com/rauc/meta-rauc-community/blob/master/meta-rauc-raspberrypi/recipes-bsp/rpi-u-boot-scr/files/boot.cmd.in As soon as I add an overlay the fdt_addr changes and the system does not boot anymore. Signed-off-by: Matthias Klein <matthias@extraklein.de>
2022-03-24linux-raspberrypi: Bump 5.15 recipe to 5.15.30Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
2022-03-17linux-raspberrypi: Update to 5.15.28Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-11python: Unbolt wheel packaging PIP_INSTALL_PACKAGE band-aidsKhem Raj
OE-Core has improved packaging the whl files therefore remove the band-aids. Signed-off-by: Khem Raj <raj.khem@gmail.com>