summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* linux-raspberrypi: Keep framebuffer support when vc4graphics is enabledPaul Barker2017-10-091-1/+0
| | | | | | Framebuffer support may be required for some monitors and applications. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* rpi-config: Do not force HDMI mode for raspberrypi3-64Paul Barker2017-10-091-3/+0
| | | | | | | Forcing hdmi_drive=2 prevents the use of a DVI monitor and a HDMI-DVI converter cable. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi.inc: Define KBUILD_DEFCONFIG for rpi0 WiFiAndrei Gherzan2017-10-031-0/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* Revert "qtbase: Enable EGLFS support"Martin Jansa2017-10-021-3/+0
| | | | | | | | * this reverts commit 04b37dbdb79638b17a670280058400ffaf1b6ccb. * this makes qtbase and everything which depends on some qt* recipe to be effectivelly MACHINE_ARCH Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* qtbase: Enable EGLFS supportOtavio Salvador2017-09-271-0/+3
| | | | | Change-Id: Ib96bd995091f6838f7c09cf5daedbf60f18e1a2d Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* layer.conf: Add Dynamic Layer mechanismOtavio Salvador2017-09-271-0/+9
| | | | | | | | This allow for bbappend files to be enabled when specific layers are included. Change-Id: Iecbcf0de85a64aad71605b60ecd3d9a2586fae85 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* omxplayer: Explain inclusion of ffmpegPaul Barker2017-09-241-0/+9
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* omxplayer: Update Upstream-status tag on patchPaul Barker2017-09-241-1/+1
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* rpi-base.inc: Set dependencies for creating wic imagesPaul Barker2017-09-241-0/+4
| | | | | | | We need to ensure that the bootloader and firmware files are present in the deploy directory before creating wic images. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* sdcard_image-rpi: Use un-timestamped link to rootfs partition imagePaul Barker2017-09-241-1/+1
| | | | | | | | The timestamp in the rootfs partition image filename may not match the current timestamp if the do_image_rpi_sdimg step is repeated without repeating the previous do_image_ext3 (or similar) step. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* sdcard_image-rpi: Drop unnecessary sync commandsPaul Barker2017-09-241-3/+3
| | | | | | | | These commands are unnecessary and seem to mask failures to find the rootfs.ext3 file when re-running the do_image_rpi_sdimg stage without re-running the preceeding do_image_ext3 stage. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* Support using u-boot with Image format for raspberrypi3-64Paul Barker2017-09-247-23/+36
| | | | | | | | For raspberrypi3-64 we need to use the Image or Image.gz format with u-boot instead of the legacy uImage format. We also need to issue the 'booti' command to boot the kernel instead of 'bootm'. Signed-off-by: Paul Barker <pbarker@toganlabs.com>