summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* rpi-config: Relocated "start_x=1" in config.txtSCVready2021-01-121-2/+5
| | | | | | | 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>
* machine: use weak default for kernel and KERNEL_DEVICETREE settingsChristopher Clark2021-01-122-2/+2
| | | | | | | | | | | | | 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>
* linux-raspberry: Drop 64-bit specific do_compile_append()Ovidiu Panait2020-12-241-7/+0
| | | | | | | | | | | 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>
* initramfs-image-bundle: Add MTD_UBIKhem Raj2020-12-181-0/+2
| | | | | | | | 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>
* README.md: Mention build server sponsorAndrei Gherzan2020-12-182-0/+4
| | | | | | | | 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>
* raspidmx: Disable for all non-rpi hostsKhem Raj2020-12-141-0/+1
| | | | | | | | 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>
* raspidmx: addTrevor Woerner2020-12-138-0/+720
| | | | | | Add a recipe to build a set of dispmanx examples. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
* userland: fix invalid packageconfigTrevor Woerner2020-12-111-2/+1
| | | | | | | | 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>
* linux-firmware-rpidistro: Added firmware for BCM43456Aaron Shaw2020-12-091-3/+16
| | | | | | The new Raspberry Pi 400 (and perhaps the CM4 as well) use the BCM43456 chip from Broadcom/Synaptics. This adds the necessary firmware. Signed-off-by: Aaron Shaw <aaron@balena.io>
* libglu: Fix build with userland graphicsKhem Raj2020-12-041-0/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Fix weston build with userland graphicsKhem Raj2020-12-042-0/+39
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-firmware-rpidistro: Missing link to firmware causes wifi not working ↵Tobias Off2020-12-031-0/+1
| | | | | | | | | on raspberrypi zero w The link the brcmfmac is looking for was not created by the recipe for the raspberrypi zero w, so the wifi was not working for this board. Adding link creation in the recipe solved the issue. Signed-off-by: Tobias Off <sebastianoff@web.de>
* mesa-gl: Enable swrast dri backend for rpi/userlandKhem Raj2020-12-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | After mesa switched build system to meson, the logic to generate dri related artifacts changed too, which means when no dri backend is enabled then dri drivers and corresponding headers dont get generated and hence we end up with missing pkgconfig files e.g. dri.pc which usually will come from full mesa3d package, but in rpi when userland is used we only build GL pieces of mesa. This patch therefore enables swrast dri backend when using userland, which gives us the needed header and .pc files to build packages like Xorg server, since EGL driver will come from userland, the dri backend would be unused and hence should not be effective at runtime. Addresses issue report with https://github.com/agherzan/meta-raspberrypi/pull/773 there is no need to check for graphics stack since mesa-gl is only used with userland graphics Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Trevor Woerner <twoerner@gmail.com>
* userland: add knob for ALL_APPSTrevor Woerner2020-11-303-0/+62
| | | | | | | The userland sources include a bunch of sample applications. Add an "allapps" PACKAGECONFIG to allow the user to build the additional optional applications. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
* gstreamer1.0-plugins-base: drop custom cppflagsJose Quaresma2020-11-301-3/+0
| | | | | | This is not need any more to build with gstreamer 1.18 Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
* linux-raspberrypi-dev: Update for testing v5.10.yPaul Barker2020-11-271-7/+15
| | | | | | | | Linux 5.10 series will be the next LTS kernel so it's likely to be the new stable branch for linux-raspberrypi within a couple of months. Let's get set up to test it now. Signed-off-by: Paul Barker <pbarker@konsulko.com>
* linux-raspberrypi: Merge v5.4 recipe & inc filePaul Barker2020-11-272-20/+15
| | | | | | | | There is no need for a separate inc file for the v5.4 kernel recipe. Variable assignments are simplified where possible after merging. Signed-off-by: Paul Barker <pbarker@konsulko.com>
* linux-raspberrypi: Drop unused rpi-kernel-misc config fragmentPaul Barker2020-11-273-3/+0
| | | | | | | This config fragment was unconditionally disabled for the v5.4 kernel so it can be dropped. Signed-off-by: Paul Barker <pbarker@konsulko.com>
* linux-raspberrypi: Remove obsolete kernel versionsPaul Barker2020-11-278-205/+0
| | | | Signed-off-by: Paul Barker <pbarker@konsulko.com>
* rpi-bootfiles: Rename recipe to avoid ambiguityPaul Barker2020-11-273-5/+2
| | | | | | | The name `bootfiles` is too generic, we should use `rpi-bootfiles` instead. Signed-off-by: Paul Barker <pbarker@konsulko.com>
* bootfiles: Use BOOTFILES_DIR_NAME variablePaul Barker2020-11-271-6/+6
| | | | | | | | | This variable is set in rpi-base.inc and referenced by other recipes which need to know the location of the bootfiles. If this is overridden for any reason we need to ensure that the bootfiles recipe deploys to the correct path. Signed-off-by: Paul Barker <pbarker@konsulko.com>
* rpi-cmdline: Move cmdline.txt generation to a separate recipePaul Barker2020-11-273-30/+51
| | | | | | | | | | | | | | | Instead of generating cmdline.txt in the kernel recipe, it is generated in a standalone recipe and pulled in as a dependency of the bootfiles recipe. This simplifies the process of using a linux-yocto, linux-mainline or similiar kernel recipe instead of linux-raspberrypi. In the rpi-cmdline recipe the command line is built from fragments which can all be easily overridden. The variables `SERIAL` and `CMA` are renamed to `CMDLINE_SERIAL` and `CMDLINE_CMA` for consistency. The cmdline.txt file is created in the do_compile step to allow further customisation via do_compile_append if needed. Signed-off-by: Paul Barker <pbarker@konsulko.com>
* sdcard_image-rpi: Drop redundant dependency on rpi-config:do_deployPaul Barker2020-11-271-1/+0
| | | | | | | | The bootfiles:do_deploy task already depends on rpi-config:do_deploy so we do not explicitly need to list the dependency again in the sdcard_image-rpi class. Signed-off-by: Paul Barker <pbarker@konsulko.com>
* linux-raspberrypi: Convert dynamic config patching to config fragmentsPaul Barker2020-11-273-76/+14
| | | | | | | | | | This allows us to drop all of the custom config patching in linux-raspberrypi.inc. It also allows the kernel config to be checked during the build for any discrepancies between the selected config options and the resulting .config file - this identified that `CONFIG_DRM_VC4` depends on `CONFIG_SND` and `CONFIG_SND_SOC`. Signed-off-by: Paul Barker <pbarker@konsulko.com>
* rpi-u-boot-scr: drop hard-coded 'arm'Ming Liu2020-11-271-2/+2
| | | | | | | Let's inherit kernel-arch and use ${UBOOT_ARCH} to replace the hard-coded 'arm'. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* packagegroup-rpi-test: Add python3-sense-hat in a meta-python specific bbappendKhem Raj2020-11-252-1/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* armstubs: Always use gcc compilerKhem Raj2020-11-251-0/+2
| | | | | | | | | | | | it uses assembly files .S which needs to be processed with gcc alone until they are made portable use gcc Fixes | armstub7.S:175:2: error: instruction requires: thumb | cbz r6, 9f @ Skip this section if we are core 0 | ^ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* raspberrypi-tools: Update to latest on masterKhem Raj2020-11-251-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* userland: Upgrade to latest as of 20201027Khem Raj2020-11-2522-124/+55
| | | | | | refresh patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
* raspberrypi-firmware: Update to latest to take 5.4.79 prebuiltsKhem Raj2020-11-251-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi_5.4.bb: Update to 5.4.79Khem Raj2020-11-251-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: Add hardknott (3.3) to acceptable releasesKhem Raj2020-11-251-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-sense-hat: Move to dynamic-layersKhem Raj2020-11-251-0/+0
| | | | | | | | Only active when meta-python is in layermix, this recipe rdeps on python3-pillow, which comes from meta-python, until that moves to oe-core lets hide this recipe unless meta-python is used Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-sense-hat: Switch to using pillow instead of imaging moduleJan-Simon Moeller2020-11-251-1/+1
| | | | | | | while meta-python does rprovide python3-imaging via python3-pillow, its better to not rely on that bridge, since this might disappear in future Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "gstreamer1.0-plugins-good: add package config knob to enable ↵Martin Jansa2020-11-192-38/+0
| | | | | | | | | rpicamsrc plugin" This reverts commit 0ecec6a1f9a7eca0d58acd26f51b47898a950fde. The patch as well as PACKAGECONFIG were merged to oe-core recipe in: https://git.openembedded.org/openembedded-core/commit/?id=fe828754467db0a09bbc5d6fd54bf6245bd0a747
* gstreamer1.0-plugins-good: enable rpicamsrc pluginJose Quaresma2020-11-171-0/+2
| | | | | | | enable the plugin when vc4graphics is not on machine features as it needs userland. Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
* gstreamer1.0-plugins-good: add package config knob to enable rpicamsrc pluginJose Quaresma2020-11-172-0/+37
| | | | Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
* linux-raspberrypi: Do not use += with appendKhem Raj2020-11-141-1/+1
| | | | | | | append operator and += when used together results in undefined behaviour in bitbake Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcamera: Enabled camera overlays define basedMadhavan Krishnan2020-11-144-1/+23
| | | | | | | | | | | | | Added imx219.dtbo file in the overlays, and added dtoverlay in /boot/config.txt define based. To enable Sony Raspberry pi camera imx219 sensor, need to set the variable RASPBERRYPI_CAMERA_V2 as 1. In future, we can add any camera overlays here to support and use them with libcamera. Signed-off-by: Madhavan Krishnan <madhavan.krishnan@linaro.org>
* layer.conf: Remove older releases from LAYERSERIES_COMPATMartin Jansa2020-11-031-1/+1
| | | | | | | | | | | * with gstreamer1.0-omx_1.18%.bbappend it won't even parse with dunfell and older * and 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 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* gstreamer1.0-omx: rename bbappend to match new 1.18.0 version from oe-coreMartin Jansa2020-11-036-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* userland: Apply format-overflow warning patch for gcc aloneKhem Raj2020-10-211-0/+3
| | | | | | | This warning is gcc specific and causes build failures when building with clang, lets therefore remove it when build is using clang compiler Signed-off-by: Khem Raj <raj.khem@gmail.com>
* u-boot: Fix booting raspberrypi CM3 moduleMarek Belisko2020-10-212-0/+54
| | | | | | | | | With stock u-boot v2020.01 which we use from poky CM3 module won't boot. We need to apply this patch in order to have platform again working. Add it only for cm3 to not break anything else. Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
* linux-raspberrypi: Fix build regression from last updateKhem Raj2020-10-202-69/+0
| | | | | | | | | | | This patch is now backported into 5.4 stable commit bc79abf4afea97d5ce682aa2bd1095fb74400916 so it should have been deleted, otherwise its causing build/patch failures now as expected Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi: bump to Linux version 5.4.72Eino Juhani Oltedal2020-10-201-2/+2
| | | | | | Fixes: "Bleeding Tooth" Bluetooth Vulnerability. Signed-off-by: Eino Juhani Oltedal <einoju@gmail.com>
* layer.conf: Add gatesgarth to LAYERSERIES_COMPATKhem Raj2020-10-151-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi: Only deploy cmdline.txt for the main kernelAlex Gonzalez2020-10-121-6/+8
| | | | | | | When multiple kernels are being built, not all of them can deploy the same file. Signed-off-by: Alex Gonzalez <alexg@balena.io>
* python3-rtimu: don't use trailing slash in SMartin Jansa2020-10-111-1/+1
| | | | | | | | * see oe-core base.bbclass changes from: https://lists.openembedded.org/g/openembedded-core/message/143159 https://lists.openembedded.org/g/openembedded-core/message/143161 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* linux-raspberrypi-5.4: bump SRCREV to fix raspberrypi3-64 buildsMartin Jansa2020-10-091-1/+1
| | | | | | | * fixes: https://github.com/raspberrypi/linux/issues/3885 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rpi-default-settings: Replace default parselogs with parselogs_rpiKhem Raj2020-10-091-0/+6
| | | | | | | | rpi kernel spits out additional errors in kernel logs which should be ignored, there is no easy way to extend parselogs testcase other than inheriting it into another testcase and use that testcase instead Signed-off-by: Khem Raj <raj.khem@gmail.com>