aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
10 daysrpi-eeprom: Update to support raspberrypi5 machineHEADmasterMax Stepanov
- Upgraded rpi-eeprom to latest release - Updated recipe to support pi4 and pi5 machines Signed-off-by: Max Stepanov <mast@imast.ru>
2024-03-28rpi-base: Add hifiberry-dacplusadc overlayjdavidsson
Add support for HiFiBerry DAC+ ADC. Signed-off-by: jdavidsson <johan.et.davidsson@gmail.com>
2024-03-27raspberrypi-firmware: Revert to debian archiveKhem Raj
This file is now used to fetch binary blobs used by picamera and vc library recipes, which are only compatible with 32bit userspace Perhaps we need to sunset these recipe as some point and repace with alternatives like picamera2 which is built on top of libcamera and works on both 32bit and 64 bit rpi-bootfiles is fetching from latest firmware. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-27rpi-bootfiles: Resort to github APIs for tarballsKhem Raj
The firmware repo is huge ( 36G ) to clone is onerous using shallow clone tarballs require them to be pre-populated at some mirror which we don't have. Third option is to let github provide the tarball, there is concern that tarballs might change the compression etc and thus checksum would change that is something github would communicate to users in advance [1] Therefore this is the best solution for us right now. Also upgrade to latest while here and drop PR settings [1] https://docs.github.com/en/repositories/working-with-files/using-files/downloading-source-code-archives#stability-of-source-code-archives Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-27linux-raspberrypi_6.6: Bump to 6.6.22Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-19userland: fix installed-vs-shipped in multilib buildsMartin Jansa
Be aware that whole userland repo is marked as ancient and deprecated: https://github.com/raspberrypi/userland/commit/96a7334ae9d5fc9db7ac92e59852377df63f1848 and explicitly says: "If you are using code from here you should rethink your solution." But even if your build is using vc4graphics in MACHINE_FEATURES to avoid most of userland, this issue with multilib was preventing do_install:append to actually remove those libraries provided by lib32-mesa when building lib32-userland (e.g. to provide virtual/libomxil or as dependency of raspidmx or runtime dependency of omxplayer). Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
2024-03-18rpi-default-versions: Switch default kernel to 6.6Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-18rpi-base: Add missing broadcom/ prefix to find DTB filesKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-18raspberrypi-firmware: Fetch using git URIKhem Raj
This brings the matching binary blobs to latest kernel Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-18linux-firmware-rpidistro: Upgrade to bookworm/20230625-2+rpt2Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-18bluez-firmware-rpidistro: Upgrade to 1.2-9+rpt3 releaseKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-18linux-raspberrypi: Add recipe for 6.6 LTS kernelKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-05rpi-base: Added missing HiFiBerryMichał Kluska
Added support for missing HiFiBerry AMP100, AMP3, AMP4 Pro, DAC+ ADC Pro, DAC+ DSP, DAC+ HD, Digi Pro. Signed-off-by: Michał Kluska <kluska.mk@gmail.com>
2024-02-23sdimage-raspberrypi.wks: increase /boot partition minimal size from 20 to 100Martin Jansa
* current aarch64 kernel image alone is 24MB: 24M tmp-glibc/deploy/images/raspberrypi4-64/Image-raspberrypi4-64-1-6.1.77+git0+43d1723dbe_77fc1fbcb5-r0.1-20110405230000.bin and with rpi-bootfiles it takes around 46MB (e.g. this is from kirkstone raspberrypi4-64 build): 2.0K boot.scr 2.0K cmdline.txt 4.0K fixup4cd.dat 4.0K fixup_cd.dat 4.0K uEnv.txt 6.0K fixup4.dat 8.0K fixup.dat 10K fixup4db.dat 10K fixup4x.dat 10K fixup_db.dat 10K fixup_x.dat 16K uboot.env 36K config.txt 52K bcm2711-rpi-4-b.dtb 52K bcm2711-rpi-400.dtb 52K bcm2711-rpi-cm4.dtb 52K bootcode.bin 126K overlays 558K kernel8.img 786K start4cd.elf 786K start_cd.elf 2.2M start4.elf 2.9M start.elf 2.9M start4x.elf 3.6M start4db.elf 3.6M start_x.elf 4.6M start_db.elf 23M Image * it is increased automatically to fit the content: tmp-glibc/deploy/images/raspberrypi4-64 $ sfdisk -l core-image-minimal-raspberrypi4-64.rootfs--1.0-r0-20110405230000.wic Disk core-image-minimal-raspberrypi4-64.rootfs--1.0-r0-20110405230000.wic: 241.2 MiB, 252915712 bytes, 493976 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x076c4a2a Device Boot Start End Sectors Size Id Type core-image-minimal-raspberrypi4-64.rootfs--1.0-r0-20110405230000.wic1 * 8192 157815 149624 73.1M c W95 FAT32 (LBA) core-image-minimal-raspberrypi4-64.rootfs--1.0-r0-20110405230000.wic2 163840 493975 330136 161.2M 83 Linux but if you want to update the kernel in place or add some additional files later, it might not be big enough, increase the minimal size from 20M to 100M * reminder (as I forgot about it before): "--size" is just minimum https://docs.yoctoproject.org/ref-manual/kickstart.html says: --size: The minimum partition size. Specify as an integer value optionally followed by one of the units “k” / “K” for kibibyte, “M” for mebibyte and “G” for gibibyte. The default unit if none is given is “M”. You do not need this option if you use --source. --fixed-size: The exact partition size. Specify as an integer value optionally followed by one of the units “k” / “K” for kibibyte, “M” for mebibyte and “G” for gibibyte. The default unit if none is given is “M”. Cannot be specify together with --size. An error occurs when assembling the disk image if the partition data is larger than --fixed-size. Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
2024-02-22sdcard_image-rpi.bbclass: include ${IMAGE_NAME_SUFFIX} directly in both ↵Martin Jansa
${IMAGE_NAME} and ${IMAGE_LINK_NAME} * Adjust to https://git.openembedded.org/openembedded-core/commit/?id=26d97acc71379ab6702fa54a23b6542a3f51779c * ${IMAGE_NAME}${IMAGE_NAME_SUFFIX} is almost always used together already and when they aren't it's usually because of hardcoded '.rootfs' suffix * it's a bit strange, because ${IMAGE_NAME_SUFFIX} is applied after the version from ${IMAGE_VERSION_SUFFIX}, if we move it to ${IMAGE_LINK_NAME} then it will be applied before the version and ${IMAGE_LINK_NAME} will be just the version-less symlink to latest built version. * it's not added to INITRAMFS_IMAGE_NAME as it assumes that all images used as initramfs will set IMAGE_NAME_SUFFIX to empty. Many already do as shown bellow, but you might need to extend this list in your layer. * without this fix, build with: IMAGE_FSTYPES:rpi = "rpi-sdimg.gz" will fail due to duplicated .rootfs suffix as shown in: http://errors.yoctoproject.org/Errors/Details/754267/ 130023424 bytes (130 MB, 124 MiB) copied, 0.0706353 s, 1.8 GB/s gzip: skipping: core-image-minimal-raspberrypi4-64.rootfs-20240222111049.rpi-sdimg does not exist WARNING: TOPDIR/tmp-glibc/work/raspberrypi4_64-oe-linux/core-image-minimal/1.0/temp/run.do_image_rpi_sdimg.1238835:263 exit 1 from 'gzip -f -9 -n -c --rsyncable core-image-minimal-raspberrypi4-64.rootfs-20240222111049.rpi-sdimg > core-image-minimal-raspberrypi4-64.rootfs-20240222111049.rpi-sdimg.gz' OE raspberrypi4-64@ /OE/build/oe-core/tmp-glibc/work/raspberrypi4_64-oe-linux/core-image-minimal/1.0/deploy-core-image-minimal-image-complete $ ll total 305612 drwxr-xr-x 2 martin martin 4096 Feb 22 12:12 ./ drwxr-xr-x 17 martin martin 4096 Feb 22 12:12 ../ -rw-r--r-- 1 martin martin 130023424 Feb 22 12:12 core-image-minimal-raspberrypi4-64.rootfs-20240222111049.ext3 -rw-r--r-- 1 martin martin 3535 Feb 22 12:12 core-image-minimal-raspberrypi4-64.rootfs-20240222111049.manifest -rw-r--r-- 1 martin martin 184549376 Feb 22 12:12 core-image-minimal-raspberrypi4-64.rootfs-20240222111049.rootfs.rpi-sdimg -rw-r--r-- 1 martin martin 0 Feb 22 12:12 core-image-minimal-raspberrypi4-64.rootfs-20240222111049.rpi-sdimg.gz -rw-r--r-- 1 martin martin 361441 Feb 22 12:12 core-image-minimal-raspberrypi4-64.rootfs-20240222111049.spdx.tar.zst -rw-r--r-- 1 martin martin 271541 Feb 22 12:12 core-image-minimal-raspberrypi4-64.rootfs-20240222111049.testdata.json -rw-r--r-- 1 martin martin 50331648 Feb 22 12:12 core-image-minimal-raspberrypi4-64.rootfs-20240222111049.vfat lrwxrwxrwx 1 martin martin 61 Feb 22 12:12 core-image-minimal-raspberrypi4-64.rootfs.ext3 -> core-image-minimal-raspberrypi4-64.rootfs-20240222111049.ext3 lrwxrwxrwx 1 martin martin 65 Feb 22 12:12 core-image-minimal-raspberrypi4-64.rootfs.manifest -> core-image-minimal-raspberrypi4-64.rootfs-20240222111049.manifest lrwxrwxrwx 1 martin martin 69 Feb 22 12:12 core-image-minimal-raspberrypi4-64.rootfs.spdx.tar.zst -> core-image-minimal-raspberrypi4-64.rootfs-20240222111049.spdx.tar.zst lrwxrwxrwx 1 martin martin 70 Feb 22 12:12 core-image-minimal-raspberrypi4-64.rootfs.testdata.json -> core-image-minimal-raspberrypi4-64.rootfs-20240222111049.testdata.json lrwxrwxrwx 1 martin martin 61 Feb 22 12:12 core-image-minimal-raspberrypi4-64.rootfs.vfat -> core-image-minimal-raspberrypi4-64.rootfs-20240222111049.vfat Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
2024-02-22python3-sense-hat: Drop PYTHON_PNKhem Raj
Starting OE core commit b566b1e32c7993d1ab7795562f648e52ce186a70, we no longer need PYTHON_PN for any abstraction of python2 vs python3. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-20rpi-eeprom_git: v.2024.01.05-2712 Update recipe to latest rpi-eeprom repoMatthew Draws
This follows the current latest release of rpi-eeprom: https://github.com/raspberrypi/rpi-eeprom Signed-off-by: Matthew Draws <draws.matthew@gmail.com>
2024-02-20rpidistro-ffmpeg: Fix old override syntaxKevin Hao
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
2024-02-19layer.conf: Update for the scarthgap release seriesKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-19linux-raspberrypi: Upgrade to 6.1.77Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-13rpi-base: Add missing hifiberry overlayPascal Huerst
There is anoter hifiberry hat, for which there is currently no overlay added to the build, so let's add it: hifiberry-dacplusadcpro.dtbo Signed-off-by: Pascal Huerst <pascal.huerst@gmail.com>
2024-02-01libcamera-apps: fix build with libcamera-0.2.0Martin Jansa
* it's failing to build since the upgrade in: https://git.openembedded.org/meta-openembedded/commit/?id=711c6fbce39df685225bca081c5f42bae2de658b * fixes ../git/core/libcamera_app.cpp: In member function 'void LibcameraApp::ConfigureViewfinder()': ../git/core/libcamera_app.cpp:327:25: error: 'class libcamera::CameraConfiguration' has no member named 'transform' 327 | configuration_->transform = options_->transform; | ^~~~~~~~~ * be aware that the repository and libraries were removed in 1.4.0 version with: https://github.com/raspberrypi/rpicam-apps/commit/0ca9f41fea587458b5b447c2b079328056452252 but I'll leave that change to someone actually using this, I was just fixing the build issue found in world builds * tweak FILES to package library symlink without "lib" prefix to fix: ERROR: libcamera-apps-1.4.2+git-r0 do_package: QA Issue: libcamera-apps: Files/directories were installed but not shipped in any package: /usr/lib/rpicam_app.so Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. libcamera-apps: 1 installed and not shipped files. [installed-vs-shipped] Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
2024-02-01linux-raspberrypi_6.1.bb: Upgrade to 6.1.74Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-26docs: add info on how to set different CAN interrupt pinsDamiano Ferrari
Signed-off-by: Damiano Ferrari <damiano.ferrari@ferrarigrowtech.com>
2024-01-26rpi-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-01-25conf/machine/raspberrypi5.conf: Use "Image"Leon Anavi
"zImage" not supported on arm64 so set KERNEL_IMAGETYPE_DIRECT to "Image" for Raspberry Pi 5 and avoid the following errors: | make: *** No rule to make target 'zImage'. Stop. | ERROR: oe_runmake failed This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-01-25conf/machine/raspberrypi5.conf: ttyAMA10Leon Anavi
Set SERIAL_CONSOLES to ttyAMA10. This fixes login on the UART no matter if systemd is used. This work was sponsored by GOVCERT.LU. Suggested-by: Gael PORTAY <gael.portay@rtone.fr> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-01-25conf/machine/raspberrypi5.conf: kernel_2712.imgLeon Anavi
Set SDIMG_KERNELIMAGE to kernel_2712.img instead of kernel8.img. Raspberry Pi 5 firmware defaults to loading kernel_2712.img because this image contains optimisations specific to Raspberry Pi 5 (e.g. 16K page-size). For more details: https://www.raspberrypi.com/documentation/computers/config_txt.html#kernel This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-01-25linux-raspberrypi.inc: bcm2712_defconfig for rpi5Leon Anavi
Use bcm2711_defconfig instead of bcm2712_defconfig for Raspberry Pi 5 as per the instructions in the documentation: https://www.raspberrypi.com/documentation/computers/linux_kernel.html#kernel-configuration This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-01-25rpi-config: Reduce config.txt sizeLeon Anavi
Remove some comments to reduce config.txt file size to avoid file corruption and make sure Raspberry Pi 5 will boot successfully. The issue with large config.txt has been reported to related projects: https://github.com/raspberrypi/firmware/issues/1848 https://github.com/Evilpaul/RPi-config/issues/9 This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-01-25u-boot_%.bbappend: Skip for Raspberry Pi 5Leon Anavi
Temporary avoid Raspberry Pi 5 machines because U-Boot has not been ported to it yet. This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-01-25rpi-base.inc: Add vc4-kms-v3d-pi5.dtboLeon Anavi
Add overlays/vc4-kms-v3d-pi5.dtbo to use vc4-kms-v3d driver on Raspberry Pi 5. This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2024-01-25Add Raspberry Pi 5Florin Sarbu
Signed-off-by: Florin Sarbu <florin@balena.io>
2024-01-08bcm2835: update 1.71 -> 1.73Leon Anavi
Update to version 1.73: - Fixed some inconsistent indenting in bcm2835.c that triggers warnings for some people. - Added Timeout checks to bcm2835_i2c_write() in case of IO problems. New reason code BCM2835_I2C_REASON_ERROR_TIMEOUT added. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2023-12-13rpi-cmdline, rpi-u-boot-src: Support USB bootHarunobu Kurokawa
The Raspberry Pi 4 board can boot the image from USB memory. But current meta-raspberrypi supports only SD boot. This commit allows switching SD boot to other device. For example, if you want to use USB boot, please define the following parameters in your conf/local.conf file. CMDLINE_ROOT_PARTITION = "/dev/sda2" BOOT_MEDIA = "usb" v4: Update extra-build-config.md to explain more detail for new variable. v3: Changed variable name to "BOOT_MEDIA" (was "BOOT_DEVTIPE"). v2: Set existing microSD parameter as default. User can overwrite some parameters. Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2023-12-05docs: fix syntax for overriding fs type for initramfs imagenanbieldLorenzo Arena
Signed-off-by: Lorenzo Arena <arena.lor@gmail.com>
2023-11-24rpi-config: reintroduce start_xLeon Anavi
Add a patch to reintroduce configuration start_x. This patch has been submitted to the upstream of of the RPi-config GitHub repo: https://github.com/Evilpaul/RPi-config/pull/8 This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2023-11-24rpidistro-vlc: add new patch po-Fix-typos-in-ocVincent Davis Jr
Fixes compilation issue that occur with the latest in OE-core. Signed-off-by: Vincent Davis Jr <vince@underview.tech>
2023-11-17rpi-config: Upgrade to tip of treeLeon Anavi
Upgrade to the latest version of the repository with includes the following improvements of the template for config.txt: - update revision and date stamp - additon of dtoverlay - general updates This work was sponsored by GOVCERT.LU. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2023-11-15rpi-eeprom: Update to 2023.10.18-2712Matthew Draws
This follows the current latest release of rpi-eeprom: https://github.com/raspberrypi/rpi-eeprom This also removes a patch that is already in upstream. https://github.com/raspberrypi/rpi-eeprom/blob/5ec5c003bacc73847aadad712aa1fbdace8f1c4e/rpi-eeprom-update#L122 https://github.com/raspberrypi/rpi-eeprom/commit/55ca589 Signed-off-by: Matthew Draws <draws.matthew@gmail.com>
2023-11-14linux-raspberrypi_6.1.bb: Update to 6.1.61 releaseKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-10-27rpi-base: Adds EXTRA_IMAGEDEPENDS to fix the image task do_populate_lic_deployJose Quaresma
This fix is needed to bring the complete dependency chain in order to guarantee the recursive runtime dependencies [1] of do_populate_lic_deploy in do_populate_lic will run as expected. [1] openembedded-core/meta/classes-recipe/license_image.bbclass:do_populate_lic_deploy[recrdeptask] += "do_populate_lic do_deploy" Fix the following image build issues: | ERROR: lmp-base-console-image-1.0-r0 do_populate_lic_deploy: Couldn't find license information for dependency rpi-config Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
2023-10-25linux-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>
2023-10-24linux-raspberrypi/linux-raspberrypi-v7: drop 5.10 versionJose Quaresma
The overlays/imx708.dtbo is not supported and backport [1] the dtbo is not accepted so drop this kernel version. [1] https://github.com/raspberrypi/linux/pull/5452 Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
2023-10-24docs: Fix ReadTheDocs builds.os requirementAndrei Gherzan
This fixes: The configuration key "build.os" is required to build your documentation. Read more at https://docs.readthedocs.io/en/stable/config-file/v2.html#build-os Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2023-09-27rpi-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>
2023-09-22layer.conf: update LAYERSERIES_COMPAT for nanbieldMartin Jansa
* oe-core switched to nanbield in: https://git.openembedded.org/openembedded-core/commit/?id=f212cb12a0db9c9de5afd3cc89b1331d386e55f6 Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
2023-09-22raspberrypi-firmware: Update to 20230509~busterKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-22bluez-firmware-rpidistro: Update to 1.2-4+rpt10Khem Raj
Drop a backport already in 1.2-4+rpt10 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-22linux-firmware-rpidistro: Update to 20230210-5_bpo11+1Khem Raj
Symlinks are no longer needed as they already exist in the new raspbian firmware tarball Signed-off-by: Khem Raj <raj.khem@gmail.com>