summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* rpi-basic-image: Refactor to avoid double deprecation warningspbarker/nextPaul Barker2018-02-261-2/+7
| | | | | | | | If rpi-basic-image is based on rpi-hwup-image, both deprecation warnings are printed which may be confusing. Therefore let's just copy over the relevant bits of rpi-hwup-image for now. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Change default version to 4.14.yPaul Barker2018-02-261-1/+1
| | | | | | | This matches the change made in the upstream firmware repository earlier in February. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Add recipe for v4.14.yPaul Barker2018-02-261-0/+6
| | | | | | It's alive! (a.k.a. upstream have stopped rebasing this branch) Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* firmware: Update to recent commitPaul Barker2018-02-261-5/+5
| | | | | | | | | | | | There hasn't been a tagged version of the firmware lately, but there have been several bugfixes listed in the commit history and we're about to move to v4.14.y as the default kernel so let's get up-to-date. The actual commit used is the most recent change to the firmware files as of 2018-02-26, the most recent commits which only change the kernel image and other files we don't use are ignored. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi-dev: Update to v4.15.yPaul Barker2018-02-261-2/+2
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Update to v4.9.80Paul Barker2018-02-261-2/+2
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* rpi-*-image: Deprecate old image namesPaul Barker2018-02-263-2/+10
| | | | | | | | | | | | | | | As discussed on the issue tracker, it's confusing for meta-raspberrypi to have its own set of image names filling the same jobs as the core images. Therefore we are marking these images as deprecated and will be removing them in the future. The recommended replacement images are as follows: rpi-hwup-image -> core-image-minimal rpi-basic-image -> core-image-base The image 'rpi-test-image' will be kept and is not marked as deprecated, it is still useful for testing. It it updated to be based on 'core-image-base'. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* rpio: Use pypi.bbclassPaul Barker2018-02-261-5/+3
| | | | | | This should resolve recent issues with the non-https URL in SRC_URI. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* Fix do_image_rpi_sdimg/do_image_wic dependenciesPaul Barker2018-02-262-0/+4
| | | | | | | | | | | | | | | | | | | | | The dependency resolution code in bitbake has recently been optimized and this seems to have slightly changed the behaviour of do_image_rpi_sdimg and do_image_wic. We ensure that the main build artifacts are present by depending on the relevant do_deploy and do_populate_sysroot tasks. However, we need to ensure that other build tasks for these dependencies have also been executed before we try to create our image. This can be achieved by adding a recursive dependency on do_build, so that the do_build tasks of all recipes in the dependency chain of do_image_rpi_sdimg/do_image_wic are executed before the image function itself is executed. The original issue seen here was that 'recipedata' files were not copied to 'tmp/deploy/licenses' as do_populate_lic for each dependency had not been ran before the image creation function. The write_deploy_manifest function from license.bbclass (listed in IMAGE_POSTPROCESS_COMMAND) therefore failed. Adding the recursive dependency on do_build fixes this issue, ensuring do_populate_lic runs before do_image_rpi_sdimg/do_image_wic. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* u-boot: Update RPi Zero W defconfig to support DTB.Drew Moseley2018-02-142-0/+47
| | | | | | | | | | | | This makes the defconfig more consistent with the RPi 3 and CONFIG_OF_EMBED is needed to get the RPi firmware provided DTB to function. Recently removed by: a50e19695f2cc655ef6248b77c8244519dbb468c u-boot: drop upstreamed patches in v2018.01 however this change missed the cutoff for v2018.01 Signed-off-by: Drew Moseley <drew.moseley@northern.tech>
* linux-firmware: fix addition of NVRAM file to image (fixes #184)Hugo Hromic2018-02-051-1/+1
| | | | Signed-off-by: Hugo Hromic <hhromic@gmail.com>
* userland: Update to latest masterJeff Wannamaker2018-02-0217-51/+197
| | | | | | | | | | Add patch to allow multiple wayland clients per process userland has limit of one wayland client per process and thereby allow compositors to launch multiple wayland client apps Signed-off-by: Jeff Wannamaker <jeff_wannamaker@cable.comcast.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* omxplayer: make samba support configureableMartin Jansa2018-02-011-1/+8
| | | | | | | | * samba depends on libpam and it might be useful to disable support for it in DISTROs without pam in DISTRO_FEATURES * disable it by default Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: use oe.utils.conditional instead of deprecated base_conditionalMartin Jansa2018-02-011-3/+3
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* linux-raspberrypi: fix build with devtoolMartin Kelly2018-01-311-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, building linux-raspberrypi with "devtool build" breaks because ${B}.config doesn't yet exist when do_configure_prepend runs. Fix this by taking some logic from kernel.bbclass do_configure to populate ${B}.config before do_configure_prepend. The full explanation for why this is necessary is fairly complex: - In devtool builds, externalsrc.bbclass gets inherited and sets a list of SRCTREECOVEREDTASKS, which don't get run because they affect the source tree and, when using devtool, we want the developer's changes to be the single source of truth. kernel-yocto.bbclass adds do_kernel_configme to SRCTREECOVEREDTASKS, so it doesn't run in a devtool build., In a normal non-devtool build, do_kernel_configme creates ${B}.config. - Normally (e.g. in linux-yocto), it would be OK that do_kernel_configme doesn't run, because the first few lines of do_configure in kernel.bbclass populate ${B}.config from either ${S}.config (if it exists) for custom developer changes, or otherwise from ${WORDIR}/defconfig. - In linux-raspberrypi, we add do_configure_prepend, which tweaks ${B}.config. Since this runs *before* the kernel.bbclass do_configure, ${B}.config doesn't yet exist and we hit an error. Thus we need to move the logic from do_configure up to before our do_configure_prepend. Because we are copying only a portion of do_configure and not the whole thing, there is no clean way to do it using OE functionality, so we just copy-and-paste. Signed-off-by: Martin Kelly <mkelly@xevo.com>
* linux-raspberrypi: remove custom oldconfig commandMartin Kelly2018-01-311-2/+0
| | | | | | | | This command is done (with more correct flags) in kernel.bbclass's kernel_do_configure. Since we inherit that and prepend to it, we don't need to run it ourselves, as we end up just running it twice. Signed-off-by: Martin Kelly <mkelly@xevo.com>
* rpi-config: fix config variables with the same initial name being overwrittenHugo Hromic2018-01-291-10/+10
|
* bluez5: Use serial device alias for BT deviceAndrei Gherzan2018-01-262-1/+5
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* rpi-base.inc: Include udev-rules-rpi in MACHINE_EXTRA_RRECOMMENDSAndrei Gherzan2018-01-261-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* bluez5: Update BCM43430A1 firmware from RaspbianAndrei Gherzan2018-01-231-0/+0
| | | | | | [Issue #174] Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* linux-raspberrypi: Update 4.9 recipe to 4.9.77Andrei Gherzan2018-01-231-2/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* u-boot: drop upstreamed patches in v2018.01Andrea Galbusera2018-01-223-192/+0
| | | | | | These are now in upstream, so they are no longer required here. Signed-off-by: Andrea Galbusera <gizero@gmail.com>
* linux-firmware: make rpi fw specific to rpiMartin Kelly2018-01-221-20/+20
| | | | | | | | | | | Currently, we are installing the rpi custom txt and fw files whenever the meta-raspberrypi layer is included in bblayers.conf. This breaks other machines that need to use the bcm43430 drivers but with alternate txt or fw files. Install these files only when "rpi" is in MACHINEOVERRIDES. Signed-off-by: Martin Kelly <mkelly@xevo.com>
* rpi-base.inc: use $KERNEL_PACKAGE_NAME for the kernel package nameRicardo Salveti2018-01-111-1/+1
| | | | | | | | | | The kernel class is now using $KERNEL_PACKAGE_NAME to set the default kernel package name in order to allow alternate kernel flavors. This fixes the following bitbake warning: Variable key RDEPENDS_${KERNEL_PACKAGE_NAME}-base (${KERNEL_PACKAGE_NAME}-image) replaces original key RDEPENDS_kernel-base (). Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
* rpi-config: allow VC4DTBO override on raspberrypi3-64Ricardo Salveti2018-01-111-1/+1
| | | | | | Allow user to replace VC4DTBO (e.g. vc4-kms-v3d) on raspberrypi3-64. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
* u-boot: Update RPi Zero W defconfig to support DTB.Drew Moseley2018-01-112-0/+43
| | | | | | | | | | | | | This makes the defconfig more consistent with the RPi 3 and CONFIG_OF_EMBED is needed to get the RPi firmware provided DTB to function. Signed-off-by: Drew Moseley <drew.moseley@northern.tech> Added patch status information in patch header, and re-word of commit message Signed-off-by: Mirza Krak <mirza.krak@endian.se>
* raspberrypi0-wifi: update UBOOT_MACHINE variableMirza Krak2018-01-111-1/+1
| | | | | | The rpi0-wifi has an machine/board specific defconfig instead of the generic one Signed-off-by: Mirza Krak <mirza.krak@endian.se>
* u-boot: add support for Raspberry Pi Zero WMirza Krak2018-01-112-0/+149
| | | | | | | It is all ready supported upstream and this will apply a backported patch until next U-boot release. Signed-off-by: Mirza Krak <mirza.krak@endian.se>
* docs: Do not force alabaster themePaul Barker2017-12-181-1/+1
| | | | | | | | | | Sphinx will use the 'alabaster' theme by default when building locally. However, Read the Docs will use their own theme by default which suits their site better. By not specifying html_theme we allow both targets to use the appropriate default theme. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* userland: Use commit date as PVPaul Barker2017-12-181-2/+4
| | | | | | | This gives us a package version which can be reliably expected to move forwards not backwards. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* rpi-config: Add RPI_EXTRA_CONFIG optionPaul Barker2017-12-182-0/+19
| | | | | | | The variable RPI_EXTRA_CONFIG can be set in local.conf to append text to the Raspberry Pi config.txt file as described in the documentation. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* readme: Update quick linksPaul Barker2017-12-181-1/+2
| | | | | | | | * As we now use GitHub for development we should point users at this repo. * Layer documentation is now published on Read the Docs. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Update dev version to 4.14.yPaul Barker2017-12-042-32/+2
| | | | | | The patch to add dtbo rules to the arm64 Makefile is no longer needed. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Don't install empty firmware directoryPaul Barker2017-12-041-4/+0
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Update to 4.9.65Paul Barker2017-12-041-2/+2
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* raspberrypi0-wifi, raspberrypi3: drop unused KERNEL_DEFCONFIG variablesMartin Jansa2017-11-272-2/+0
| | | | | | | | | | | | | * KERNEL_DEFCONFIG variable isn't used anywhere since this commit: https://github.com/agherzan/meta-raspberrypi/commit/88478c38744e6a57361b438095fee1d808690a00 * it was replaced with KBUILD_DEFCONFIG: recipes-kernel/linux/linux-raspberrypi.inc:KBUILD_DEFCONFIG_raspberrypi0-wifi ?= "bcmrpi_defconfig" recipes-kernel/linux/linux-raspberrypi.inc:KBUILD_DEFCONFIG_raspberrypi ?= "bcmrpi_defconfig" recipes-kernel/linux/linux-raspberrypi.inc:KBUILD_DEFCONFIG_raspberrypi2 ?= "bcm2709_defconfig" recipes-kernel/linux/linux-raspberrypi.inc:KBUILD_DEFCONFIG_raspberrypi3 ?= "bcm2709_defconfig" recipes-kernel/linux/linux-raspberrypi.inc:KBUILD_DEFCONFIG_raspberrypi3-64 ?= "bcmrpi3_defconfig" Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* rpi-base.inc: Fix KERNEL_IMAGETYPE assignmentPaul Barker2017-11-272-2/+4
| | | | | | | | | | We can't just override KERNEL_IMAGETYPE in machine-specific conf files without breaking the implementation of RPI_USE_U_BOOT. Instead we need to define a new KERNEL_IMAGETYPE_DIRECT variable which will control the value when u-boot is not in use. This new variable may then be overridden as needed without breaking our u-boot support. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* userland: Update to latest revisionKhem Raj2017-11-1516-63/+62
| | | | | | Forward port patches as needed Signed-off-by: Khem Raj <raj.khem@gmail.com>
* raspberrypi3-64: set default kernel to ImageLoys Ollivier2017-11-102-1/+3
| | | | | | | | | | | | Fixes: 50fd319205d8 for raspberrypi3-64. Fixes: #153 For raspberrypi3-64 set default kernel image to "Image". "zImage" are not supported by arm64 platforms. And ".gz" images are not handled by bootloader yet. Signed-off-by: Loys Ollivier <lollivier@baylibre.com>
* firmware.inc: Update to 20171029Andrei Gherzan2017-11-081-4/+3
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* rpi-base.inc: KERNEL_IMAGETYPE default to zImageAndrei Gherzan2017-11-081-1/+1
| | | | | | | | | | We used to have this as the default but there was a bug at some point in the firmware which didn't work with compressed kernel images. We switched to Image and never changed it back even though that bug is long history. In this way we will stop carrying 15M of a kernel image. 4M looks much better. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* pi-blaster: An .inc file looks too much for this small recipeAndrei Gherzan2017-11-082-22/+21
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* linux-raspberrypi: Update 4.9 recipe to 4.9.59Andrei Gherzan2017-11-081-2/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* x264: Disable asm for raspberrypi0-wifiAndrei Gherzan2017-11-081-0/+1
| | | | | | | | | | | | | This used to work in the past because this machine was based on raspberrypi one. Now that they are separate, we need a configuration for it too otherwise: | common/arm/quant-a.S: Assembler messages: | common/arm/quant-a.S:362: Error: selected processor does not support `rbit r1,r1' in ARM mode | common/arm/quant-a.S:363: Error: selected processor does not support `rbit r1,r1' in ARM mode Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* userland: RPROVIDES is missing libeglFrancesco Giancane2017-10-281-1/+1
| | | | | | | | | | | userland package is the Raspberry Pi provider for the openGL stack. If selected, it shall provide the gles2 and egl stacks in conjunction with mesa-gl. libegl was missing in the RPROVIDES variable, thus some run-time dependencies were not met when using userland as provider. Signed-off-by: Francesco Giancane <francescogiancane8@gmail.com>
* bluez5: Replace /lib with ${nonarch_base_libdir}Michael Gloff2017-10-271-3/+3
| | | | | | | Use standard /lib variable name and avoid QA errors when usermerge DISTRO_FEATURE is enabled. Signed-off-by: Michael Gloff <mgloff@hotmail.com>
* linux-raspberrypi: Replace /lib with ${nonarch_base_libdir}Michael Gloff2017-10-271-1/+1
| | | | | | | Use standard /lib variable name and avoid QA errors when usermerge DISTRO_FEATURE is enabled. Signed-off-by: Michael Gloff <mgloff@hotmail.com>
* linux-firmware: Replace /lib with ${nonarch_base_libdir}Michael Gloff2017-10-271-4/+4
| | | | | | | Use standard /lib variable name and avoid QA errors when usermerge DISTRO_FEATURE is enabled. Signed-off-by: Michael Gloff <mgloff@hotmail.com>
* weston: remove rpi-backend configuration switchFrancesco Giancane2017-10-201-2/+0
| | | | | | | | | | | | | | | | | rpi-backend.so was an attempt to create a specialized weston backend to be used on raspberry pi like platforms. At the moment, this backend's support has been dropped in favor of using the standard drm backend, as the vc4 driver is now mainline in mesa and in kernel (for kernel support). As a result, weston on raspberry pi does not require the rpi-backend.so anymore, nor it is buildable (weston's configure complains about unrecognized configuration switch). This patch enables weston to natively run on the DRM backend. Signed-off-by: Francesco Giancane <francescogiancane8@gmail.com>
* docs: Drop comment on broken raspberrypi3-64 HDMI outputPaul Barker2017-10-121-6/+0
| | | | | | Graphical output on raspberrypi3-64 should now be fixed. Signed-off-by: Paul Barker <pbarker@toganlabs.com>