aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2020-04-18raspberrypi-firmware: update to current HEADPierre-Jean Texier
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-04-16linux-raspberrypi_5.4.bb: Update to latestKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-15rpi-base.inc: Add kernel modules to all imagesLeon Anavi
Add kernel modules, including i2c-dev and i2c-bcm2708, to variable MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS. This way kernel modules will be present in all images based on packagegroup-core-boot, including the core-image-minimal image. Otherwise, if modules, are in variable MACHINE_EXTRA_RRECOMMENDS they will be added only in images based on packagegroup-base, which does not include the core-image-minimal or core-image-full-cmdline images. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2020-04-15raspberrypi3: Switch to vc4-fkms-v3d.Drew Moseley
This seems to be required to have a functional DSI display. Signed-off-by: Drew Moseley <drew.moseley@northern.tech>
2020-04-15linux-raspberrypi_5.4.bb: Backport the patch to use CHECK macro instead of ↵Khem Raj
RET_IF Revert couple of regressions for selftest Fixes | /usr/src/debug/kernel-selftest/1.0-r0/kernel-selftest-1.0/tools/testing/selftests/bpf/test_select_reuseport.c:671: undefined reference to `RET_IF' Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-08linux-raspberrypi_5.4.bb: Enable powersave options in kconfigKhem Raj
Will let system hibernate and suspend, its initial setup, there is more work needed to get it going fully without problems in userspace, which will follow Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-08linux-raspberrypi_5.4.bb: Update to latest and fix build with binutils 2.34Khem Raj
perf fails to build without bfd patch still, therefore apply it to 5.4 as well. Update to latest on 5.4 branch Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-08linux-raspberrypi: Add recipes for kernel 5.4Khem Raj
5.4 is slated to be next hop for linux-raspberrypi, here add the recipes, default is still 4.19, we can switch that later Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-08rpi-base: Drop old dtbo namesKhem Raj
pi3-disable-bt is renamed to disable-bt and pi3-miniuart-bt is renamed to miniuart-bt in 2014, now with 5.4 these are not recognised anymore and miniuart-bt and disable-bt are already part of RPI_KERNEL_DEVICETREE_OVERLAYS Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-03userland: Fix build with gcc10Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-03userland: Update to 20200316 snapshotKhem Raj
- Refresh patches - userland now needs to create symlinks for egl.pc,glesv2.pc and vg.pc when vc4 is not used Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-03qtbase: Drop xkb packageconfigKhem Raj
meta-qt5 master has dropped it too Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-03rpi-u-boot-scr: Set u-boot-default-script as providerFabio Berton
Add u-boot-default-script to the PROVIDES variable to make easier to replace boot script in another layer just by changing PREFERRED_PROVIDER_u-boot-default-script variable. Set rpi-u-boot-scr as the default provider for meta-raspberrypi. Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-04-03docs/extra-build-config.md: Auto-load I2C modulesLeon Anavi
Add instructions how to auto-load I2C kernel modules with KERNEL_MODULE_AUTOLOAD when I2C is enabled. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2020-03-31qtbase: Append userland to rdeps iff vc4graphics is not enabledKhem Raj
This avoids adding unnessary dependency at runtime on userland graphics package when vc4 driver is used Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-31rpi-base.conf: add disable-bt.dtbo and miniuart-bt.dtbo overlays.Orne Brocaar
Closes #602. Signed-off-by: Orne Brocaar <info@brocaar.com>
2020-03-30README.md: add status badge for raspberrypi4Pierre-Jean Texier
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-03-27linux-raspberrypi: bump to Linux version 4.19.113Pierre-Jean Texier
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-03-27raspberrypi-firmware: update to current HEADPierre-Jean Texier
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-03-20linux-raspberrypi: Get PMU fixes on top of 4.19.108Khem Raj
This fixes Issue #593 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-17oeqa: Add rpi specific kernel dmesg parserKhem Raj
These errors are harmless on rpi3/rpi4 [1] [1] https://github.com/raspberrypi/linux/issues/3195 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-16linux-raspberrypi: Fix building selftest/bpfKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-16layer.conf: add dunfell to compat layerPierre-Jean Texier
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-03-12mesa: Fix patch fuzzKhem Raj
Fixes ERROR: mesa-2_20.0.1-r0 do_patch: Fuzz detected: Applying patch 0001-dri2-query-dma-buf-modifiers.patch patching file src/gallium/state_trackers/dri/dri2.c Hunk #1 succeeded at 1366 with fuzz 1 (offset -2 lines). Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-10mesa: querying dma_buf modifiers for specific formatsrkhan467
mesa wl_drm protocol is the backend for wayland server side which requires the dmabuf modifiers for some DRM formats on specific devices like RPI. Currently there is no support of giving any dmabuf modifiers on wl_drm protocol. This dma_buf modifiers allows EGL implementations to add extra attributes to drm_fourcc format. Upstream-Status: Pending Signed-off-by: Balaji Velmurugan <balaji.velmurugan@ltts.com>
2020-03-10gstreamer: Fix the compilation issue in meta multimedia imageMadhavan Krishnan
When we tried to build the meta-multimedia-image, we faced the compilation issue with faad component. Since faad component has commercial license, we could not able to build with multimedia image. So we have modified the faad component to be included when commercial licenese is supported. Signed-off-by: Madhavan Krishnan <madhavan.krishnan@linaro.org>
2020-03-08raspberrypi-firmware: update to current HEADPierre-Jean Texier
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-03-08linux-raspberrypi: bump to Linux version 4.19.108Pierre-Jean Texier
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-02-25linux-raspberrypi: fix perf build with latest binutilsMartin Jansa
* fixes: | LINK /OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/perf/1.0-r9/perf-1.0/perf | /OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/perf/1.0-r9/perf-1.0/libperf.a(libperf-in.o):srcline.c:function find_address_in_section: error: undefined reference to 'bfd_get_section_flags' | /OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/perf/1.0-r9/perf-1.0/libperf.a(libperf-in.o):srcline.c:function find_address_in_section: error: undefined reference to 'bfd_get_section_vma' | /OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/perf/1.0-r9/perf-1.0/libperf.a(libperf-in.o):srcline.c:function find_address_in_section: error: undefined reference to 'bfd_get_section_size' | collect2: error: ld returned 1 exit status | make[2]: *** [Makefile.perf:519: /OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/perf/1.0-r9/perf-1.0/perf] Error 1 | make[1]: *** [Makefile.perf:206: sub-make] Error 2 | make: *** [Makefile:70: all] Error 2 | make: Leaving directory '/OE/build/oe-core/tmp-glibc/work/raspberrypi4-oe-linux-gnueabi/perf/1.0-r9/perf-1.0/tools/perf' | WARNING: exit code 1 from a shell command. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-02-24raspberrypi-firmware: update to current HEADPierre-Jean Texier
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-02-21linux-raspberrypi: bump to Linux version 4.19.105Pierre-Jean Texier
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-02-08linux-raspberrypi: bump to Linux version 4.19.102Pierre-Jean Texier
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-02-08gstreamer1.0-plugins-base: Adjust for meson conversionKhem Raj
OE-core now uses meson to build gstreamer Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-08raspberrypi-firmware: bump to version 20200205Pierre-Jean Texier
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-01-30packagegroup-rpi-test: use MACHINE_ARCHMartin Jansa
* fixes this error reported by sstate-diff-machines.sh: === Comparing signatures for task do_package_write_ipk.sigdata between raspberrypi2 and raspberrypi3 === | ERROR: packagegroup-rpi-test different signature for task do_package_write_ipk.sigdata between raspberrypi2 and raspberrypi3 | NOTE: Starting bitbake server... | Hash for dependent task packagegroups/packagegroup-rpi-test.bb:do_package changed from 90d4d6b4f44b5c02560c4fd3a1d6143d7c79e75a110db351c99d393a58b5cf26 to 32d7a96f98179695ff0dce057a8501a6920ce7f053a47c3bd6bd50613bd2618b | Unable to find matching sigdata for /OE/build/luneos-master/webos-ports/meta-raspberrypi/recipes-core/packagegroups/packagegroup-rpi-test.bb:do_package with hashes 90d4d6b4f44b5c02560c4fd3a1d6143d7c79e75a110db351c99d393a58b5cf26 or 32d7a96f98179695ff0dce057a8501a| 6920ce7f053a47c3bd6bd50613bd2618b | * MACHINE_EXTRA_RRECOMMENDS in RRECOMMENDS_${PN} is MACHINE specific, e.g. between raspberrypi2 and raspberrypi3: tmp-glibc/sstate-diff/1580322520/raspberrypi2/all-webos-linux/packagegroup-rpi-test/1.0-r0.do_package.sigdata.90d4d6b4f44b5c02560c4fd3a1d6143d7c79e75a110db351c99d393a58b5cf26 tmp-glibc/sstate-diff/1580322520/raspberrypi3/all-webos-linux/packagegroup-rpi-test/1.0-r0.do_package.sigdata.32d7a96f98179695ff0dce057a8501a6920ce7f053a47c3bd6bd50613bd2618b bitbake-diffsigs tmp-glibc/sstate-diff/1580322520/raspberrypi*/*/packagegroup-rpi-test*/*do_package.sig* | NOTE: Starting bitbake server... basehash changed from ee2d20ddb4aa98ffefe5c4c56ba2e59833ba94ed3a4523d3e52683209626aa23 to ca3df8d8ef86b298f57c41ffba278dd0330ffb00e7e25943c272c8b3c57a6dc3 Variable MACHINE_EXTRA_RRECOMMENDS value changed: " kernel-modules udev-rules-rpi {+ linux-firmware-rpidistro-bcm43430 linux-firmware-rpidistro-bcm43455 bluez-firmware-rpidistro-bcm43430a1-hcd bluez-firmware-rpidistro-bcm4345c0-hcd +}" Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-30packagegroup-rpi-test: include bigbuckbunny in RRECOMMENDS_${PN} only with ↵Martin Jansa
meta-multimedia * resolves: ERROR: Nothing RPROVIDES 'bigbuckbunny-480p' (but meta-raspberrypi/recipes-core/packagegroups/packagegroup-rpi-test.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'bigbuckbunny-480p' is unbuildable, removing... Missing or unbuildable dependency chain was: ['bigbuckbunny-480p'] ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'packagegroup-rpi-test', 'bigbuckbunny-480p'] when building without meta-multimedia layer included Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-28omxplayer: respect virtual/libomxilMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-24linux-raspberrypi: bump to Linux version 4.19.97Pierre-Jean Texier
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-01-24rpi-base.inc: use wic.bz2 for all rpi machines by defaultPierre-Jean Texier
This change moves the default image for all rpi machines. We moved from rpi-sdimg to wic.bz2. Also enable wic.bmap image generation. From the documentation in [1], Bmaptool is a generic tool for creating the block map (bmap) for a file and copying files using the block map. The idea is that large files, like raw system image files, can be copied or flashed a lot faster and more reliably with bmaptool than with traditional tools, like "dd" or "cp". Example: $: sudo bmaptool copy <image-name>.wic.xz /dev/<your-block-device> [1] - https://github.com/intel/bmap-tools Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-01-24rpio: Use python3 during buildKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-24gstreamer1.0-omx: let virtual/libomxil dependency to pull userlandMartin Jansa
* and adjust VIRTUAL-RUNTIME_libomxil to pull runtime provider for libomxil Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-24gstreamer1.0-plugins-base: adapt to gstreamer1.0 now using mesonMartin Jansa
* depends on oe-core changes which adds dispmanx PACKAGECONFIG to gstreamer1.0-plugins-base Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-24userland: add pkg-config for openmaxil and add virtual/libomxil to PROVIDESMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2020-01-22kas-poky-rpi: add kas filePierre-Jean Texier
The kas tool provides an easy mechanism to setup bitbake based projects. As explained in [1] the key features provided by kas are: - clone and checkout bitbake layers - create default bitbake settings (machine, arch, ...) - launch minimal build environment, reducing risk of host contamination - initiate bitbake build process So, let's create a minimal example in this layer to build an image with a small effort. This seems interesting for new users of the meta-raspberrypi. For example: $: sudo pip3 install kas $: mkdir rpi $: cd rpi $: git clone https://github.com/agherzan/meta-raspberrypi.git $: kas build meta-raspberrypi/kas-poky-rpi.yml and that's all ! To adjust the construction with specific options (I2C, SPI, ...), simply add a section as follows: local_conf_header: rpi-specific: | ENABLE_I2C = "1" RPI_EXTRA_CONFIG = "dtoverlay=pi3-disable-bt" To configure the machine, the user have to update the 'machine' variable. And the same for the 'distro'. [1] - https://kas.readthedocs.io/en/1.0/userguide.html Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2020-01-20README: Add documentation badgePaul Barker
Signed-off-by: Paul Barker <pbarker@konsulko.com>
2020-01-14Add support for PiTFT 2.8" with capacitive touchErik Botö
Add support for the Adafruit PiTFT Plus 320x240 2.8" TFT with Capacitive Touchscreen, using the same patterns used for the other versions of the PiTFT screens. Signed-off-by: Erik Botö <erik.boto@gmail.com>
2020-01-14armstubs: Define the new symbols use in MakefileAndrei Gherzan
The tools repository renamed the CC, LD etc symbols to CC7, LD7 etc. See: https://github.com/raspberrypi/tools/commit/b0c869bc929587a7e1d20a98e2dc828a24ca396a Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2020-01-14raspberrypi-tools: Update to current HEADAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2020-01-14pi-bluetooth: Fix signature failuresAndrei Gherzan
After bc7b654feecceee46bb11800b69994640d03b0ad, we made this package depend on a package that is not allarch while this is. Let's drop it for this package as well to avoid these sstate signature issues. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2020-01-13gstreamer1.0-plugins-base: respect opengl DISTRO_FEATURES when vc4graphics ↵Martin Jansa
is in MACHINE_FEATURES No virtual/egl provider is available in the default setup with vc4graphics enabled and neither opengl nor vulkan in DISTRO_FEATURES: $ bitbake -e virtual/egl | tee env.egl ERROR: Nothing PROVIDES 'virtual/egl' vc-graphics-hardfp PROVIDES virtual/egl but was skipped: PREFERRED_PROVIDER_virtual/libgles2 set to mesa, not vc-graphics-hardfp vc-graphics PROVIDES virtual/egl but was skipped: PREFERRED_PROVIDER_virtual/libgles2 set to mesa, not vc-graphics $ bitbake -e userland 2>&1 | tee env.userland ERROR: Nothing RPROVIDES 'libegl-mesa' (but /jenkins/mjansa/build-ros/ros2-dashing-warrior/meta-raspberrypi/recipes-graphics/userland/userland_git.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'libegl-mesa' is unbuildable, removing... Missing or unbuildable dependency chain was: ['libegl-mesa'] ERROR: Required build target 'userland' has no buildable providers. Missing or unbuildable dependency chain was: ['userland', 'libegl-mesa'] $ bitbake -e mesa 2>&1 | tee env.mesa ERROR: Nothing PROVIDES 'mesa' mesa was skipped: one of 'vulkan opengl' needs to be in DISTRO_FEATURES $ bitbake -e vc-graphics-hardfp 2>&1 | tee env.vc-graphics-hardfp ERROR: Nothing PROVIDES 'vc-graphics-hardfp' vc-graphics-hardfp was skipped: PREFERRED_PROVIDER_virtual/libgles2 set to mesa, not vc-graphics-hardfp There is unbuildable dependency on virtual/egl from gstreamer1.0-plugins-base because: 1) gstreamer1.0-plugins-base depends on virtual/egl because of "egl" PACKAGECONFIG 2) "egl" PACKAGECONFIG is enabled by meta-raspberrypi/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend PACKAGECONFIG_GL_rpi = "egl gles2" without respecting the "opengl" in DISTRO_FEATURES like the recipe in oe-core does openembedded-core/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.14.4.bb: PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl', '', d)}" 3) virtual/egl is provided either by: - userland (only without vc4graphics in MACHINE_FEATURES): meta-raspberrypi/recipes-graphics/userland/userland_git.bb:PROVIDES += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "virtual/libgles2 virtual/egl", d)}" - mesa (selected with vc4graphics in MACHINE_FEATURES) meta-raspberrypi/conf/machine/include/rpi-default-providers.inc:PREFERRED_PROVIDER_virtual/egl ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "userland", d)}" - vc-graphics(-hardfp) meta-raspberrypirecipes-graphics/vc-graphics/vc-graphics.inc:PROVIDES = "virtual/libgles2 virtual/egl" 4) vc-graphics(-hardfp) recipe are skipped in default setup, because with vc4graphics being in MACHINE_FEATURES by default since: https://github.com/agherzan/meta-raspberrypi/commit/690bdca57422447e49d4ef43862bf675e9acc28f the PREFERRED_PROVIDER_virtual/libgles2 is set to mesa in: conf/machine/include/rpi-default-providers.inc:PREFERRED_PROVIDER_virtual/libgles2 ?= "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "mesa", "userland", d)}" resulting in skipping the other virtual/libgles2 providers: vc-graphics-hardfp PROVIDES virtual/egl but was skipped: PREFERRED_PROVIDER_virtual/libgles2 set to mesa, not vc-graphics-hardfp vc-graphics PROVIDES virtual/egl but was skipped: PREFERRED_PROVIDER_virtual/libgles2 set to mesa, not vc-graphics 5) mesa is skipped when neither opengl nor vulkan are in DISTRO_FEATURES 6) userland doesn't provide virtual/egl because we have the default vc4graphics meta-raspberrypi/recipes-graphics/userland/userland_git.bb:PROVIDES += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "virtual/libgles2 virtual/egl", d)}" and it cannot be built anyway, because with the default vc4graphics it depends on libegl-mesa: meta-raspberrypi/recipes-graphics/userland/userland_git.bb:RDEPENDS_${PN} += "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "libegl-mesa", "", d)}" and libegl-mesa is provided only by mesa recipe from oe-core which in turn requires either "opengl" or "vulkan" to be in DISTRO_FEATURES This causes a lot of unresolved dependencies in default setup with vc4graphics but without opengl. - with Yocto 2.6 Thud and older it worked, because vc4graphics wasn't enabled by default before: https://github.com/agherzan/meta-raspberrypi/commit/690bdca57422447e49d4ef43862bf675e9acc28f To build gstreamer1.0-plugins-base with egl PACKAGECONFIG enabled you have 2 options: A) Just add "opengl" to DISTRO_FEATURES and use the default vc4graphics with mesa providing virtual/egl B) Use DISABLE_VC4GRAPHICS added in https://github.com/agherzan/meta-raspberrypi/commit/96c8459c9363cc6bf463aedf4d24f92a1ee7d6ba to explicitly disable vc4graphics and use userland to provide virtual/egl Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>