aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-07-15python3-adafruit-*: fix branch parametergatesgarthMartin Jansa
* master branch was renamed to main Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-06-07layer.conf: Remove older releases from LAYERSERIES_COMPATMartin Jansa
* since https://github.com/agherzan/meta-raspberrypi/commit/36c3c2e7ca09806da460328767565bbf872a6ad8 which renamed gstreamer1.0-omx_1.14%.bbappend to gstreamer1.0-omx_1.16%.bbappend it didn't parse with zeus and older * with zeus it parses OK, but I believe people who use meta-raspberrypi from dunfell branch in zeus builds should rather ask for backports they are missing in zeus branch Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-06-07linux-raspberrypi-dev: use static SRCREV when not selected with ↵Martin Jansa
PREFERRED_PROVIDER_virtual/kernel * the anonymous python function was supposed to prevent AUTOREV being parsed when not selected, but that doesn't work, use the same trick with static SRCREV as linux-yocto-dev is using: https://git.openembedded.org/openembedded-core/commit/?id=5e8cf6e568ab90365894478a272b5c28dc941031 * Use LINUX_RPI_KMETA_BRANCH yocto-5.10 instead of master, because that's where static SRCREV_meta is contained. * fixes "git ls-remote git://git.yoctoproject.org/yocto-kernel-cache" being called to resolve AUTOREV in SRCPV even when PREFERRED_PROVIDER_virtual/kernel is set to linux-raspberrypi not linux-raspberrypi-dev. * I've noticed this in a build which was stuck in parsing for 15 minutes before the connection timeout: Loaded 0 entries from dependency cache. Parsing recipes...ERROR: ExpansionError during parsing /jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-dev.bb Traceback (most recent call last): File "/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/bitbake/lib/bb/fetch2/__init__.py", line 1172, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at 0x7f8422a6ef60>, d=<bb.data_smart.DataSmart object at 0x7f8422b25a20>, name='meta'): if srcrev == "AUTOINC": > srcrev = ud.method.latest_revision(ud, d, name) File "/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/bitbake/lib/bb/fetch2/__init__.py", line 1581, in Git.latest_revision(ud=<bb.fetch2.FetchData object at 0x7f8422a6ef60>, d=<bb.data_smart.DataSmart object at 0x7f8422b25a20>, name='meta'): except KeyError: > revs[key] = rev = self._latest_revision(ud, d, name) return rev File "/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/bitbake/lib/bb/fetch2/git.py", line 694, in Git._latest_revision(ud=<bb.fetch2.FetchData object at 0x7f8422a6ef60>, d=<bb.data_smart.DataSmart object at 0x7f8422b25a20>, name='meta'): """ > output = self._lsremote(ud, d, "") # Tags of the form ^{} may not work, need to fallback to other form File "/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/bitbake/lib/bb/fetch2/git.py", line 683, in Git._lsremote(ud=<bb.fetch2.FetchData object at 0x7f8422a6ef60>, d=<bb.data_smart.DataSmart object at 0x7f8422b25a20>, search=''): bb.fetch2.check_network_access(d, cmd, repourl) > output = runfetchcmd(cmd, d, True) if not output: File "/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/bitbake/lib/bb/fetch2/__init__.py", line 889, in runfetchcmd(cmd='export PSEUDO_DISABLED=1; export PATH="/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/meta-webosose/meta-webos/scripts:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/openembedded-core/scripts:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin/arm-webos-linux-gnueabi:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot/usr/bin/crossscripts:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/sbin:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/sbin:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/bin:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/bitbake/bin:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/hosttools"; export HOME="/home/jenkins"; git -c core.fsyncobjectfiles=0 ls-remote git://git.yoctoproject.org/yocto-kernel-cache ', d=<bb.data_smart.DataSmart object at 0x7f8422b58e80>, quiet=True, cleanup=[], log=None, workdir=None): > raise FetchError(error_message) bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/meta-webosose/meta-webos/scripts:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/openembedded-core/scripts:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin/arm-webos-linux-gnueabi:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot/usr/bin/crossscripts:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/sbin:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/sbin:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/work/raspberrypi4-webos-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/bin:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/bitbake/bin:/jenkins/home/workspace/jansa/webos-foxy-honister/webos-foxy-honister/tmp-glibc/hosttools"; export HOME="/home/jenkins"; git -c core.fsyncobjectfiles=0 ls-remote git://git.yoctoproject.org/yocto-kernel-cache failed with exit code 128, output: fatal: read error: Connection timed out * it's easily reproducible locally by adding git.yoctoproject.org to /etc/hosts (e.g. in this case 127.0.1.1), then it refuses the connection immediately instead of getting stuck waiting for timeout: oe-core$ bitbake -k linux-raspberrypi Loading cache: 100% | | ETA: --:--:-- Loaded 0 entries from dependency cache. ERROR: ExpansionError during parsing /OE/build/oe-core/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi-dev.bb | ETA: 0:00:14 Traceback (most recent call last): File "/OE/bitbake/lib/bb/fetch2/__init__.py", line 1172, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at 0x7ff35e059430>, d=<bb.data_smart.DataSmart object at 0x7ff35dfd7760>, name='meta'): if srcrev == "AUTOINC": > srcrev = ud.method.latest_revision(ud, d, name) File "/OE/bitbake/lib/bb/fetch2/__init__.py", line 1581, in Git.latest_revision(ud=<bb.fetch2.FetchData object at 0x7ff35e059430>, d=<bb.data_smart.DataSmart object at 0x7ff35dfd7760>, name='meta'): except KeyError: > revs[key] = rev = self._latest_revision(ud, d, name) return rev File "/OE/bitbake/lib/bb/fetch2/git.py", line 694, in Git._latest_revision(ud=<bb.fetch2.FetchData object at 0x7ff35e059430>, d=<bb.data_smart.DataSmart object at 0x7ff35dfd7760>, name='meta'): """ > output = self._lsremote(ud, d, "") # Tags of the form ^{} may not work, need to fallback to other form File "/OE/bitbake/lib/bb/fetch2/git.py", line 683, in Git._lsremote(ud=<bb.fetch2.FetchData object at 0x7ff35e059430>, d=<bb.data_smart.DataSmart object at 0x7ff35dfd7760>, search=''): bb.fetch2.check_network_access(d, cmd, repourl) > output = runfetchcmd(cmd, d, True) if not output: File "/OE/bitbake/lib/bb/fetch2/__init__.py", line 889, in runfetchcmd(cmd='export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/OE/build/oe-core/openembedded-core/scripts:/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi:/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot/usr/bin/crossscripts:/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/sbin:/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin:/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/sbin:/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/bin:/OE/build/oe-core/bitbake/bin:/OE/build/oe-core/tmp-glibc/hosttools"; export HOME="/home/martin"; git -c core.fsyncobjectfiles=0 ls-remote git://git.yoctoproject.org/yocto-kernel-cache ', d=<bb.data_smart.DataSmart object at 0x7ff35dfb4fa0>, quiet=True, cleanup=[], log=None, workdir=None): > raise FetchError(error_message) bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export PATH="/OE/build/oe-core/openembedded-core/scripts:/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi:/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot/usr/bin/crossscripts:/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/sbin:/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/usr/bin:/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/sbin:/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/linux-raspberrypi-dev/1_fetcheravoidrecurse-fetcheravoidrecurse/recipe-sysroot-native/bin:/OE/build/oe-core/bitbake/bin:/OE/build/oe-core/tmp-glibc/hosttools"; export HOME="/home/martin"; git -c core.fsyncobjectfiles=0 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: 127.0.1.1]: errno=Connection refused Summary: There was 1 ERROR message shown, returning a non-zero exit code. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-06-07linux-raspberrypi-dev: drop protocol=git and add LINUX_RPI_KMETA_BRANCHMartin Jansa
* update SRC_URI format to use the same as linux-raspberrypi_5.10.bb and linux-raspberrypi_5.4.bb by dropping protocol=git and using LINUX_RPI_KMETA_BRANCH * protocol=git was dropped from other linux-raspberrypi recipes in: commit 0381ac4d08abdb3dda815e6594536ac774baad8d Author: Timm Eversmeyer <saeugetier@googlemail.com> Date: Wed Sep 11 07:08:50 2019 +0200 raspberrypi-linux: removed protocoll setting from SRC_URI Default protocoll for git will be used. Default setting is in the most case https. Signed-off-by: Timm Eversmeyer saeugetier@gmail.com Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-06-07linux-raspberrypi: allow to change the yocto-kernel-cache branch with ↵Martin Jansa
LINUX_RPI_KMETA_BRANCH Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-06-07layer.conf: Define LAYERDEPENDSAndrei Gherzan
We should currently only depend on core - everything should be handled through dynamic layers. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2021-03-16rpi-base: Add missing overlay_map.dtb and vc4-kms-v3d-pi4.dtboMike Looijmans
overlay_map.dtb arranges that when config.txt requests "vc4-kms-v3d" the rpi4 will actually load "vc4-kms-v3d-pi4" and fixups like that. It is present on the official distros, and must be put into the overlays subdirectory in the boot partition. For a detailed description of the overlay_map.dts file see: https://www.raspberrypi.org/documentation/configuration/device-tree.md#part2.2.10 vc4-kms-v3d-pi4 is required for the arm based kms driver on the rpi4. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> (cherry picked from commit fdf02accfe3f68d11fa178d72eb377f9ca96411c) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16linux-raspberrypi: Upgrade to 5.10.17Mike Looijmans
This fixes, amongst others, issues with I2C controller interrupts on the RPI4 that prevented a touch panel from functioning. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> (cherry picked from commit ef04a3a523e6cd935968f34f338501fd915c506c) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16raspberrypi-firmware: Update to 2021-02-25Mike Looijmans
This version is compatible with the 5.10.17 kernel https://github.com/raspberrypi/firmware/commit/5985247fb75681985547641d66196c77499f26b9 Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> (cherry picked from commit 0b4a73ebad2d0d81632df7c68e5f57bbd1f6004d) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16sdcard_image-rpi.bbclass: shorten the default BOOTDD_VOLUME_IDMartin Jansa
* raspberrypi4-64 is 15 characters and with dosfstools-4.2 it breaks rootfs.rpi-sdimg with: mkfs.vfat: Label can be no longer than 11 characters mkfs.fat 4.2 (2021-01-31) * introduced in: https://github.com/dosfstools/dosfstools/commit/c598354 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> (cherry picked from commit 853ccd744073fcc03a732c99b817fe1bd5b23327) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16overlays: Add "vc4-kms-dsi-7inch.dtbo"Mike Looijmans
In theory, this would allow one to use the official 7-inch touchscreen in combination with the (non-firmware) kms driver by adding the following lines to config.txt: ignore_lcd=1 dtoverlay=vc4-kms-v3d dtoverlay=vc4-kms-dsi-7inch Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> (cherry picked from commit 68976061c5c130ce68430a59c23afb8044975d41) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16python3-adafruit-blinka: Delete microcontroller/bcm283x for non arm32 machinesKhem Raj
It has prebuilt binary libgpiod_pulsein for rpi machines and these binary is 32bit therefore we can not include it for 64bit machines even if they are rpi based unless they have multilib enabled. This patch makes it visible only on 32bit rpi Fixes QA errors like ERROR: QA Issue: Architecture did not match (ARM, expected AArch64) in /usr/lib/python3.9/site-packages/adafruit_blinka/microcontroller/bcm283x/pulseio/.debug/libgpiod_pulsein [arch] Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 5e543bd817a3eac27b4414d45cda2e570f144fc0) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16python3-adafruit-blinka: Make rpi-gpio dependency conditionalKhem Raj
https://github.com/agherzan/meta-raspberrypi/pull/815 introduced python3-adafruit-blinka and this recipe has added rdep on rpi-gpio, however rpi-gpio is rpi specific package, and therefore should only be added when building rpi based platforms, this makes the layer work in a multi-bsp setup work Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 0a83508fac9397fe570415622164f56b32715ced) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16python3-adafruit-pureio: add recipeChris Laplante
Signed-off-by: Chris Laplante <mostthingsweb@gmail.com> (cherry picked from commit f80b8d2dff9545fff81653904aed455267cc5cdd) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16python3-adafruit-platformdetect: add recipeChris Laplante
Signed-off-by: Chris Laplante <mostthingsweb@gmail.com> (cherry picked from commit 0d0c563aa13ecffebce228476deebcef851da84f) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16python3-adafruit-circuitpython-register: add recipeChris Laplante
Signed-off-by: Chris Laplante <mostthingsweb@gmail.com> (cherry picked from commit ca7049451114cc16f9adcdf18418146a0eb4edfc) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16python3-adafruit-circuitpython-pca9685: add recipeChris Laplante
Signed-off-by: Chris Laplante <mostthingsweb@gmail.com> (cherry picked from commit 76656d27bbca2e5633a34c2279cd022abde4eb15) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16python3-adafruit-circuitpython-motorkit: add recipeChris Laplante
Signed-off-by: Chris Laplante <mostthingsweb@gmail.com> (cherry picked from commit 0a58422984da99bf0d733ef360f4f12d4f8f0616) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16python3-adafruit-circuitpython-motor: add recipeChris Laplante
Signed-off-by: Chris Laplante <mostthingsweb@gmail.com> (cherry picked from commit b29eb27c5b7f0d5c3f446fd1b22f9a246e93efc6) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16python3-adafruit-circuitpython-busdevice: add recipeChris Laplante
Signed-off-by: Chris Laplante <mostthingsweb@gmail.com> (cherry picked from commit 823220e64840c0979070f9224c3f453b22eeee78) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16python3-adafruit-blinka: add recipeChris Laplante
Signed-off-by: Chris Laplante <mostthingsweb@gmail.com> (cherry picked from commit c8f7eae1b8b99c0c10ce3f57c2689946a85c8ae7) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16sdcard_image-rpi.bbclass: increase default boot partition size from 40MiB to ↵Martin Jansa
48MiB * 5.10 kernel got a bit bigger especially for aarch64: 5.10: 22M deploy/images/raspberrypi4-64/Image-raspberrypi4-64.bin 5.10: 7.0M deploy/images/raspberrypi4/uImage-raspberrypi4.bin 5.4: 16M deploy/images/raspberrypi4-64/Image-raspberrypi4-64.bin 5.4: 6.2M deploy/images/raspberrypi4/uImage-raspberrypi4.bin * and the space in fat boot partition was already tight: Filesystem Size Used Avail Use% Mounted on /dev/mmcblk0p1 40M 38M 1.7M 96% / * increase the size to compensate for it, otherwise do_image_rpi_sdimg now fails with: Creating filesystem with Boot partition 40960 KiB and RootFS 1822720 KiB 0+0 records in 0+0 records out 0 bytes copied, 0.000100992 s, 0.0 kB/s Model: (file) Disk foo.rootfs.rpi-sdimg: 1913MB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size Type File system Flags 1 4194kB 46.1MB 41.9MB primary boot, lba 2 46.1MB 1913MB 1866MB primary mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows mkfs.fat 4.1 (2017-01-24) Copying bootcode.bin Copying cmdline.txt Copying config.txt Copying fixup.dat Copying fixup4.dat Copying fixup4cd.dat Copying fixup4db.dat Copying fixup4x.dat Copying fixup_cd.dat Copying fixup_db.dat Copying fixup_x.dat Copying rpi-bootfiles-20210205.stamp Copying start.elf Copying start4.elf Copying start4cd.elf Copying start4db.elf Copying start4x.elf Copying start_cd.elf Copying start_db.elf Copying start_x.elf Copying bcm2711-rpi-4-b.dtb Copying at86rf233.dtbo Copying disable-bt.dtbo Copying dwc2.dtbo Copying gpio-ir.dtbo Copying gpio-ir-tx.dtbo Copying gpio-key.dtbo Copying hifiberry-amp.dtbo Copying hifiberry-dac.dtbo Copying hifiberry-dacplus.dtbo Copying hifiberry-digi.dtbo Copying justboom-both.dtbo Copying justboom-dac.dtbo Copying justboom-digi.dtbo Copying i2c-rtc.dtbo Copying imx219.dtbo Copying iqaudio-dac.dtbo Copying iqaudio-dacplus.dtbo Copying mcp2515-can0.dtbo Copying mcp2515-can1.dtbo Copying miniuart-bt.dtbo Copying pitft22.dtbo Copying pitft28-capacitive.dtbo Copying pitft28-resistive.dtbo Copying pitft35-resistive.dtbo Copying pps-gpio.dtbo Copying rpi-ft5406.dtbo Copying rpi-poe.dtbo Copying vc4-fkms-v3d.dtbo Copying vc4-kms-v3d.dtbo Copying w1-gpio.dtbo Copying w1-gpio-pullup.dtbo Copying kernel8.img Copying boot.scr Copying Image Disk full ERROR: mcopy cannot copy /OE/build/luneos-hardknott/webos-ports/tmp-glibc/deploy/images/raspberrypi4-64/Image into boot.img WARNING: exit code 1 from a shell command. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> (cherry picked from commit 10d21b802242509a780be46234f8311c1a14dd94) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16rpi-cmdline: remove unnecessary spaces from cmdline.txtBartłomiej Burdukiewicz
With current recipe formatting CMDLINE variable contains many unnecessary white spaces. This patch allow to drop unnecessary spaces at the moment of writing them to cmdline.txt. This will improve readability of cmdline.txt, /proc/cmdline and dmesg output. Signed-off-by: Bartłomiej Burdukiewicz <bartlomiej.burdukiewicz@gmail.com> (cherry picked from commit f5fe02c30cc82e3f47c36de76d7b73d2482018bf) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16overlays: add missing device overlaysAaron Shaw
add overlays for pi zero, bcm2710 based rpi2 and rpi b rev 1 Change-type: patch Signed-off-by: Aaron Shaw <aaron@balena.io> (cherry picked from commit 509ff8c73229bf483c67299ae12f7b352e348b81) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16overlays: add overlays for pi 400 and cm4Aaron Shaw
add overlays for pi 400 and cm4 Change-type: patch Signed-off-by: Aaron Shaw <aaron@balena.io> (cherry picked from commit 0c85f0150629e1f5eaf86289f2542744e38b5413) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16overlays: add overlay to allow 64 bit usage with CM3Aaron Shaw
add overlay to allow 64 bit usage with CM3 Change-type: patch Signed-off-by: Aaron Shaw <aaron@balena.io> (cherry picked from commit fc11c5d95c72f92c617b6f766cb66ec74e682f5a) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16raspberrypi-firmware.inc: upgrade to latest for 5.10.13 kernelMartin Jansa
https://github.com/raspberrypi/firmware/commit/7d91570f20378afc9414107dccdad70705a8a342 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> (cherry picked from commit b52d47c048c524d1a0ccb3c6ee99141561668b93) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16rpi-default-versions: Switch default kernel to 5.10Martin Jansa
* 5.10.11 is now considered stable: https://github.com/raspberrypi/firmware/blob/stable/extra/uname_string7 https://github.com/raspberrypi/firmware/commit/8572bb50bf24a9ffef949ced69776e66559f4afe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> (cherry picked from commit b947ce21485db27ec0b421dab9e0f8bf2b9228a0) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16linux-raspberrypi: update LIC_FILES_CHKSUM in .inc file and drop from 5.10 ↵Martin Jansa
and dev recipe * COPYING was changed only 4 times (last time in 5.6 with: https://github.com/torvalds/linux/commit/74835c7db0322 ) so hopefully it will last for a while Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> (cherry picked from commit 7565931e23429fa8e241da1f271d6a30c90c700e) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16linux-raspberrypi: add recipe for 5.10 versionMartin Jansa
* 5.10.11 is now considered stable: https://github.com/raspberrypi/firmware/blob/stable/extra/uname_string7 https://github.com/raspberrypi/firmware/commit/8572bb50bf24a9ffef949ced69776e66559f4afe Gatesgarth specific: - Use KERNEL_EXTRA_ARG instead of KERNEL_DTC_FLAGS Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> (cherry picked from commit dd163e0856dbc035456e4e9f675e4383e6cb2437) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16[documentation]Add USB host support in documentationAurelian Zanoschi
Signed-off-by: Aurelian Zanoschi <aurelian17@gmail.com> (cherry picked from commit 48d081265d06d14090f3b22c44f712a603116fba) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16rpi-config: Add support for CM4 host USBAurelian Zanoschi
By default in case of CM4 IO board, the USB ports (header + built-in) are disabled. In order to enable them the DWC2 mode needs to be set to host. Signed-off-by: Aurelian Zanoschi <aurelian17@gmail.com> (cherry picked from commit 71938572843428cb881948e8151742d8493ee89e) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16linux-raspberrypi: Superfluous 'inherit kernel'Jonas Vautherin
'recipes-kernel/linux/linux-yocto.inc' already inherits 'kernel'. This commit removes the superfluous one in 'linux-raspberrypi.inc'. Signed-off-by: Jonas Vautherin <jonas.vautherin@protonmail.ch> (cherry picked from commit 56ab9265570892d1357dd29cb92c04d4a0ce6d75) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16linux-raspberrypi: Uprev yocto-kernel-cachePaul Barker
Signed-off-by: Paul Barker <pbarker@konsulko.com> (cherry picked from commit 5570f2f55dc8104b1f88806a4889086f2b7b46f4) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16linux-raspberrypi: Uprev to v5.4.83Paul Barker
Signed-off-by: Paul Barker <pbarker@konsulko.com> (cherry picked from commit b1d38437f5ef1571c1b0017ab113c4fd0737ba5c) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16raspberrypi4-64: No need to force arm_64bit=1Paul Barker
This workaround is no longer needed with recent firmware. Signed-off-by: Paul Barker <pbarker@konsulko.com> (cherry picked from commit 2a9c3bb5510e4ae46f53bc38b2e9e6c260a4ebc8) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16conf: Use unified u-boot config for 64-bit targetsPaul Barker
The rpi_arm64 configuration supports both Raspberry Pi 3 & 4 in 64-bit mode. Switching to this config is a small step towards supporting a unified build for these targets. Signed-off-by: Paul Barker <pbarker@konsulko.com> (cherry picked from commit a4a8ce9af45b8d5aec184cf7bcc57ac856552090) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16overlays: add justboom overlaysAaron Shaw
add justboom overlays Change-type: patch Signed-off-by: Aaron Shaw <shawaj@gmail.com> (cherry picked from commit 9165aa52b601e50c5cd58aa73c1ed329eb031fcb) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16overlays: reorder in alphabetical orderAaron Shaw
reorder list to be in alphabetical order Change-type: patch Signed-off-by: Aaron Shaw <aaron@balena.io> (cherry picked from commit 1c6673262729f60035b6d34b1fa11fc5cbf64710) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16linux-raspberrypi: Enable use of 'RPI_EXTRA_CONFIG += ...' in local.confMatt Spencer
Before this patch, use of RPI_EXTRA_CONFIG += in a local.conf would overwrite the needed 'arm_64bit=1' defined in the core recipes. The net result would be a system that did not boot. This patch fixes the assignment of 'arm_64bit=1' even if RPI_EXTRA_CONFIG has been set elsewhere. Signed-off-by: matthew@thespencers.me.uk (cherry picked from commit 881e603ca240576f63ecaf9ca0f6370e8c3dd549) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16rpi-config: use CONFIG shell variableMartin Jansa
* instead of repeating //config.txt so many times, to make it a bit less error prone (as shown in previous commit) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> (cherry picked from commit 17eb1a2f00b6d15c073e318181ab0d34b1b5c965) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16rpi-config: fix do_deployMartin Jansa
* in https://github.com/agherzan/meta-raspberrypi/pull/678 this line was acidentally changed from "${BOOTFILES_DIR_NAME}" to "bcm2835-bootfiles", causing do_deploy to fail finding config.txt Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> (cherry picked from commit 5c9309de874a42291d19f8e03169ea00eab4a655) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16rpi-config: Relocated "start_x=1" in config.txtSCVready
It seems like "start_x=1" needs to be earlier in the file to work properly on the Rapberry Pi 4 B. Fixes: #670 Signed-off-by: SCVready <alejandro.solozabal@outlook.com> (cherry picked from commit 74deec51ded5b22b31b69b30537a6e9ed0997aea) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16machine: use weak default for kernel and KERNEL_DEVICETREE settingsChristopher Clark
To allow other layers to easily provide a default kernel preference to use with the Raspberry Pi MACHINEs, switch to use the ??= assignment operator for setting the default kernel and the device tree value in this layer. This change is motivated by enabling Xen support in meta-virtualization to use the raspberrypi4-64 MACHINE definition from this layer with the Yocto Linux kernels. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> (cherry picked from commit e0b4b8c5df410040e8cef7fbe257f1b9c1513355) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16linux-raspberry: Drop 64-bit specific do_compile_append()Ovidiu Panait
The functionality provided by this compile append is already present in kernel-devicetree.bbclass since oe-core commit: https://github.com/openembedded/openembedded-core/commit/74619de02774 The md5sums of the generated dtbs for raspberrypi3-64 and raspberrypi4-64 do not change with this patch applied. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> (cherry picked from commit a7cc636d4ef0ed7ddabf5785463dbb5c79633b1e) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16initramfs-image-bundle: Add MTD_UBIKhem Raj
CONFIG_UBIFS_FS is used as 'm' in defconfig and depends on MTD and MTD_UBI which is also 'm', inorder for it to include in kernel proper, set MTD_UBI=y and MTD=y as well. Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 3e2a8534a6f00d66860a9fab4c59b3117ebda43a) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16README.md: Mention build server sponsorAndrei Gherzan
balena.io has been sponsoring the project with a build server for a while now. It's only fair for us to mention this somewhere in our README. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> (cherry picked from commit 3fe1f79ea2592213163f0f62a7c8fb1cb071850b) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16raspidmx: Disable for all non-rpi hostsKhem Raj
Currently its only disabled when vc4graphics is in use but this recipe actually needs userland and therefore can not be used for non-rpi machines as well. Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 361f42e346e59f3a3fafcfa4ab7c948969d5abf4) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16raspidmx: addTrevor Woerner
Add a recipe to build a set of dispmanx examples. Signed-off-by: Trevor Woerner <twoerner@gmail.com> (cherry picked from commit e4f5c32925fec90ff688e51197cb052fe12af82e) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2021-03-16userland: fix invalid packageconfigTrevor Woerner
Fix the "allapps" PACKAGECONFIG to avoid the QA warning/error: userland-20201027-r0 do_configure: QA Issue: userland: invalid PACKAGECONFIG: allapps [invalid-packageconfig] Signed-off-by: Trevor Woerner <twoerner@gmail.com> (cherry picked from commit 4b89f636992b822d13ac748a9f959fbedd962fd4) Signed-off-by: Ricardo Salveti <ricardo@foundries.io>