summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* docs: Remove reference to deprecated imagespbarker/docsPaul Barker2018-03-232-8/+6
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* gstreamer1.0-omx: refresh and clean-up patchesHugo Hromic2018-03-2311-296/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes: WARNING: gstreamer1.0-omx-1.12.4-r0 do_patch: Some of the context lines in patches were ignored. This can lead to incorrectly applied patches. The context lines in the patches can be updated with devtool: devtool modify <recipe> devtool finish --force-patch-refresh <recipe> <layer_path> Then the updated patches and the source tree (in devtool's workspace) should be reviewed to make sure the patches apply in the correct place and don't introduce duplicate lines (which can, and does happen when some of the context is ignored). Further information: http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450 Details: Applying patch 0001-config-files-path.patch patching file config/bellagio/gstomx.conf Hunk #1 succeeded at 1 with fuzz 2. Hunk #2 succeeded at 9 with fuzz 2. patching file config/rpi/gstomx.conf Hunk #8 succeeded at 63 with fuzz 2. Hunk #10 succeeded at 82 with fuzz 2. Hunk #11 succeeded at 92 with fuzz 2. Now at patch 0001-config-files-path.patch deleted obsolete `gstreamer1.0-omx` directory with duplicated patches that are also in `gstreamer1.0-omx-1.12`. made file naming for `gstreamer1.0-omx_%.bbappend` consistent with the rest of the layer recipes. Signed-off-by: Hugo Hromic <hhromic@gmail.com>
* Merge pull request #202 from kraj/kraj/masterPaul Barker2018-03-184-248/+223
|\ | | | | Upgrade to 4.14 kernel
| * userland: Add wayland support for libbrcmEGLKhem Raj2018-03-081-240/+213
| | | | | | | | | | | | | | | | | | | | | | | | | | These renames are recently added https://github.com/raspberrypi/userland/commit/dd98890106c3c6145f640c4cfb825be937282a93 Some packages e.g. libSDL2 has started using the new names and are resulting in undefined symbols e.g. | /mnt/a/oe/build/tmp/work/cortexa7t2hf-neon-vfpv4-bec-linux-gnueabi/libsdl2-mixer/2.0.2-r0/recipe-sysroot/usr/lib/libb rcmEGL.so: undefined reference to `wl_resource_post_error' Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * firmware: Use snapshots from master againKhem Raj2018-03-081-5/+7
| | | | | | | | | | | | | | This time use the snapshot archives to avoid repo clone size issues Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * userland: Update to master as of 20180219Khem Raj2018-03-081-2/+2
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * linux-raspberrypi-4.14: Update past 4.14.22Khem Raj2018-03-081-1/+1
|/ | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gstreamer1.0-omx: remove unused patchesMaxin B. John2018-03-082-62/+0
| | | | | | | | Remove the following unused patches: 1. 0002-Don-t-try-to-acquire-buffer-when-src-pad-isn-t-activ.patch 2. 0003-fix-decoder-flushing.patch Signed-off-by: Maxin B. John <maxin.john@intel.com>
* bluez5: brcm43438: update device dependencyPeter A. Bigot2018-03-071-1/+1
| | | | | | | | A previous patch changed the BT serial device to the alias, but did not update the device dependency resulting in the service failing to start on boot. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
* rpi-base.inc: set default wic kickstart filePeter A. Bigot2018-03-071-0/+1
| | | | | | | While wic is not a standard image, adding it to IMAGE_FSTYPES in local.conf will fail unless a WKS_FILE is provided. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
* sdimage-raspberrypi.wks: find /boot partition on mmcblk0Peter A. Bigot2018-03-071-2/+2
| | | | | | | | | | | | Recently wic was modified to no longer exclude /boot from partitions added to fstab. The --on parameter in many kickstart specifications insufficiently resolved the MMC device, resulting in attempts to mount /dev/mmcblkp1 as boot when the device should be /dev/mmcblk0p1. With systemd the mount failure is an error and the system drops into emergency mode. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
* rpi-basic-image: Refactor to avoid double deprecation warningsPaul Barker2018-02-281-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-281-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-281-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-281-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-281-2/+2
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* linux-raspberrypi: Update to v4.9.80Paul Barker2018-02-281-2/+2
| | | | Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* rpi-*-image: Deprecate old image namesPaul Barker2018-02-283-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-281-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-282-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>