summaryrefslogtreecommitdiffstats
path: root/conf
Commit message (Collapse)AuthorAgeFilesLines
* raspberrypi4: Use vc4-fkms-v3dag/rpi4Andrei Gherzan2019-06-281-0/+1
| | | | | | | | Currently, we use vc4-kms-v3d as the default overlay for VC4 but this seems to break vc4 at runtime on RPi4. Change this to vc4-fkms-v3d for now as this is the default Raspbian ons as well. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-base.inc: Include the "fake" KMS dtboAndrei Gherzan2019-06-281-0/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi4.conf: Add initial machine 32 bit configurationAndrei Gherzan2019-06-281-0/+17
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-base: Rename the rpi0w dtbAndrei Gherzan2019-06-281-1/+1
| | | | | | | | | | This change is following the rename in the kernel: commit 6f91b5dbfdb62a434571a73f2dc15181963e3bea Author: Phil Elwell <phil@raspberrypi.org> Date: Tue May 28 16:36:04 2019 +0100 Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi3.conf: Clarify machine modeAndrei Gherzan2019-06-271-2/+2
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-base.inc: Include rpi4 dtbAndrei Gherzan2019-06-271-0/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-default-versions: Switch defaults to 4.19Khem Raj2019-05-291-1/+1
| | | | | | | 4.19 is now declared stable, see https://github.com/raspberrypi/linux/issues/2931#issuecomment-494016355 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-raspberrypi: Switch default back to 4.14.yPaul Barker2019-04-241-1/+1
| | | | | | | | | | The 4.19.y kernel is not yet considered stable upstream as discussed in the following GitHub issues: https://github.com/agherzan/meta-raspberrypi/issues/410 https://github.com/raspberrypi/linux/issues/2931 Signed-off-by: Paul Barker <paul@betafive.co.uk>
* layer.conf: Add warrior to compatible release seriesKhem Raj2019-04-051-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* machines: Switch default kernel to 4.19Khem Raj2019-02-241-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* dtbo: Remove lirc-rpi overlayKhem Raj2019-02-241-1/+0
| | | | | | kernel 4.19 does not have this overlay Signed-off-by: Khem Raj <raj.khem@gmail.com>
* raspberrypi-cm3.conf: Define it as a stand alone machineAndrei Gherzan2019-02-191-2/+8
| | | | | | | | | As well, define the correct configuration for this machine. Tested this with and without u-boot on CM3 (with internal storage) and CM3+ without internal storage. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi3-64.conf: Use more appropriate tuneKhem Raj2019-02-071-1/+1
| | | | | | | | rpi3 is based on cortex-a53 implementation which is armv8+crc+simd now that OE-Core has the appropriate tunes, switch to using the new tune file, bonus, is that chromium will be more optimized now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: Fix typo for openembedded-layer dynamic layer additionKhem Raj2018-12-201-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rpi-default-providers.inc: use virtual/libgbm instead of libgbmMing Liu2018-12-181-1/+1
| | | | | | This is to be consistent with the latest OE. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* Add Pican2 supportFabien Lahoudere2018-12-121-0/+1
| | | | | | | | | | | In order to make Pican 2 work, we : - add mcp2515.dto to the overlay list - add a variable to enable it in local.conf - create a udev rule to mount interface http://skpang.co.uk/catalog/pican2-canbus-board-for-raspberry-pi-23-p-1475.html Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.com>
* Add meta-oe to dynamic-layersKhem Raj2018-12-121-0/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-firmware: replace machine override with new recipesPeter A. Bigot2018-11-233-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | Raspberry Pi hardware requires firmware that supersedes or is not present in the standard linux-firmware distribution. These files are maintained in the RPi-Distro project on github. Several attempts have been made to reconcile conflicts between what's in linux-firmware and what the hardware needs. The existing approach is functional but not maintainable since it combines material from three repositories into a single package that claims to be linux-firmware. Remove the appends that change the content of linux-firmware for rpi hardware. Add two new recipes that follow the RPi-Distro repositories: * firmware-nonfree which forked from linux-firmware and replaces content is provided as linux-firmware-rpidistro; * bluez-firmware which forked from (very old) bluez and adds content is provided as bluez-firmware-rpidistro. The packages are named to make clear that these come from RPi-Distro, rather than generic sources. Licensing attempts to record the state of licensing as documented in RPi-Distro. Resolves: #298 Signed-off-by: Peter A. Bigot <pab@pabigot.com>
* conf/layer.conf: Use BBFILES_DYNAMIC to handle dynamic-layersKhem Raj2018-11-191-0/+5
| | | | | | | | | BBFILES_DYNAMIC can be used to activate content only when given layers are present. For now just add qt5 layer to the BBFILES_DYNAMIC list Signed-off-by: Khem Raj <raj.khem@gmail.com>
* machines: Drop VC4_CMA_SIZEKhem Raj2018-11-076-6/+0
| | | | | | setting cma is not required with latest vc4 driver Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rpi-base.inc: Add gpio-key to the device tree overlaysOtavio Salvador2018-10-311-0/+1
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* rpi-base.inc: Sort device tree overlaysOtavio Salvador2018-10-311-5/+5
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* layer.conf: Add thud to compatible layer seriesKhem Raj2018-09-261-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rpi-base.inc: Build rpi-poe dtb overlayAndrei Gherzan2018-09-111-0/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* machines: use new format for SERIAL_CONSOLESHugo Hromic2018-08-166-6/+6
| | | | | | | | | | | | | | From the documentation: SERIAL_CONSOLES - Provide a value that specifies the baud rate followed by the TTY device name separated by a semicolon. Use spaces to separate multiple devices Fixes build error of `systemd-serialgetty` after recent commit 8218bec. See: <https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-SERIAL_CONSOLES> Signed-off-by: Hugo Hromic <hhromic@gmail.com>
* machines: Replace obsolete SERIAL_CONSOLE with SERIAL_CONSOLESKhem Raj2018-08-166-6/+6
| | | | | | Fix #302 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* raspberrypi3-64.conf: Define only the dtb files that are available for arch64Andrei Gherzan2018-07-261-23/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* rpi-base.inc: Split overlays and dtbs from KERNEL_DEVICETREEAndrei Gherzan2018-07-261-10/+17
| | | | | | | This is helpful for example in the cases where the kernel doesn't provide all the dtbs in arm64 as in arm. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* rpi-base.inc: update IMAGE_BOOT_FILES for change in oe-coreJonathan Haigh2018-07-201-10/+5
| | | | | | | | | | | | [Issue #285] -- https://github.com/agherzan/meta-raspberrypi/issues/285 The openembedded-core commit 1860d9d3c62e2e94cd68a809385873ffd8270b6d changed the names of DTB files in the deploy directory - they are no longer prefixed with "${KERNEL_IMAGETYPE}-". Update make_dtb_boot_files (which generates entries in IMAGE_BOOT_FILES) to take this change into account. Signed-off-by: Jonathan Haigh <jonathan.haigh@arm.com>
* raspberrypi3-64.conf: Include cm3 dtbAndrei Gherzan2018-07-161-0/+1
| | | | | | | Add the CM3 dtb in the boot partition so we can boot this board as well with this machine. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* raspberrypi-cm3.conf: Inherit raspberrypi3 not raspberrypi2Andrei Gherzan2018-07-161-2/+2
| | | | | | The CM3 module is based Raspberry Pi 3 not 2. Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* rpi-base.inc: install at86rf233 overlayAnton Gerasimov2018-06-042-0/+2
| | | | | | Controlled with ENABLE_AT86RF variable Signed-off-by: Anton Gerasimov <tossel@gmail.com>
* raspberrypi3-64.conf: add 3B+ device treePeter A. Bigot2018-05-141-0/+1
| | | | | | Closes #253 Signed-off-by: Peter A. Bigot <pab@pabigot.com>
* linux-firmware: restore and merge bluez-firmwarePeter A. Bigot2018-05-143-3/+16
| | | | | | | | | | | | The attempt to Raspbian updated firmware blobs in packages separate from linux-firmware introduced unresolvable conflicts with the standard linux-firmware roll-up package. Revert to using an augmented linux-firmware recipe that overrides and adds firmware from two Raspbian repositories that have up-to-date images. Closes #244 Signed-off-by: Peter A. Bigot <pab@pabigot.com>
* rpi-base.inc: add dwc2 overlayPeter A. Bigot2018-05-051-0/+1
| | | | | | | | | | | | This along with some module and connman magic allows a RaspberryPi Zero Wireless to tether to a host over USB. dtoverlay=dwc2,dr_mode=peripheral modprobe g_ether connman enable gadget connman tether gadget on Signed-off-by: Peter A. Bigot <pab@pabigot.com>
* layer.conf: add LAYERSERIES_COMPATMartin Jansa2018-04-061-0/+2
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* raspberrypi0-wifi.conf: Use linux-firmware-raspbian packageAndrei Gherzan2018-03-291-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* rpi-base.inc: Add Raspberry Pi 3B+ dtbAndrei Gherzan2018-03-291-0/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* raspberrypi3-64.conf: Use linux-firmware-raspbian packages and add bcm43455Andrei Gherzan2018-03-291-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* raspberrypi3.conf: Use linux-firmware-raspbian packages and add bcm43455Andrei Gherzan2018-03-291-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.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>
* 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>
* Fix do_image_rpi_sdimg/do_image_wic dependenciesPaul Barker2018-02-281-0/+2
| | | | | | | | | | | | | | | | | | | | | 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>
* rpi-base.inc: Include udev-rules-rpi in MACHINE_EXTRA_RRECOMMENDSAndrei Gherzan2018-01-261-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.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>
* 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>
* 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>
* 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>
* 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>