summaryrefslogtreecommitdiffstats
path: root/recipes-bsp
Commit message (Collapse)AuthorAgeFilesLines
* Add support for PiTFT 2.8" with capacitive touchErik Botö2020-01-141-0/+6
| | | | | | | | Add support for the Adafruit PiTFT Plus 320x240 2.8" TFT with Capacitive Touchscreen, using the same patterns used for the other versions of the PiTFT screens. Signed-off-by: Erik Botö <erik.boto@gmail.com>
* armstubs: Define the new symbols use in MakefileAndrei Gherzan2020-01-141-0/+4
| | | | | | | | The tools repository renamed the CC, LD etc symbols to CC7, LD7 etc. See: https://github.com/raspberrypi/tools/commit/b0c869bc929587a7e1d20a98e2dc828a24ca396a Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi-tools: Update to current HEADAndrei Gherzan2020-01-141-3/+3
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi-firmware: Update to current HEADAndrei Gherzan2019-12-202-5/+5
| | | | | | | | | | | | This RaspberryPi firmware update includes a change in the license file as well[1]. This change is for supporting customisation program. [1] https://github.com/raspberrypi/firmware/commit/dd9e9ebb5d5306e91acb135db890cf18f3a5eea2 As a result of this change, we update the hash in the bcm2835-bootfiles recipe as well. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi-tools: Update to current HEADAndrei Gherzan2019-11-081-3/+3
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi-firmware: Update to current HEADAndrei Gherzan2019-11-081-4/+4
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* bcm2835-bootfiles: Clarify license conditionsPaul Barker2019-10-241-1/+1
| | | | | | | We define a new 'Broadcom-RPi' license and include the full text in our custom-licenses directory. Signed-off-by: Paul Barker <paul@betafive.co.uk>
* armstubs: License is BSD-3-ClausePaul Barker2019-10-241-1/+1
| | | | | | | | All source files in the armstubs directory have a 3-clause BSD license. The Makefile doesn't appear to use any files from outside this directory during the build. Signed-off-by: Paul Barker <paul@betafive.co.uk>
* linux-raspberrypi=4.19.80 bcm2835-bootfiles=20191021Martin Jansa2019-10-241-4/+4
| | | | | | | | | * Upgrade the kernel to latest with corresponding firmware. * This VC4 firmware is compatible with network boot described here: https://github.com/raspberrypi/rpi-eeprom/blob/master/firmware/raspberry_pi4_network_boot_beta.md Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* u-boot: drop patches for RPi4 merged upstream.Patrick Vacek2019-10-2310-511/+0
| | | | Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
* bcm2835-bootfiles: tighten up dep on rpi-configChris Laplante2019-10-091-0/+2
| | | | | | | | | | Intuitively, bcm2835-bootfiles:do_deploy should depend on rpi-config:do_deploy. This indirectly resolves a missing dep between rpi-config:do_deploy and do_image_rpi_sdimg (on an image recipe inheriting from sdcard_image-rpi.bbclass). This manifested as changes to rpi-config (e.g. setting or unsetting ENABLE_* variables) not triggering a rebuild of the SD card image. Signed-off-by: Chris Laplante <mostthingsweb@gmail.com>
* u-boot-fw-utils: apply the same rpi4 patches as for u-boot recipeMartin Jansa2019-09-093-12/+16
| | | | | | | | | | | | | | | | * otherwise u-boot-fw-utils build for rpi4 fails with: scripts/kconfig/conf --defconfig=arch/../configs/rpi_4_defconfig Kconfig *** *** Can't find default configuration "arch/../configs/rpi_4_defconfig"! *** scripts/kconfig/Makefile:128: recipe for target 'rpi_4_defconfig' failed * cannot include/require u-boot_2019.07.bbappend directly in u-boot-fw-utils_2019.07.bbappend, because then it fails with: "u-boot_2019.01.bbappend: not a BitBake file" Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* raspberrypi-firmware: upgrade to latest to fix vc4-fkmsMartin Jansa2019-08-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * with 4.19.66 kernel the vc4-fkms no longer works, because it doesn't get any usable modes from firmware * this behavior was introduced probably in one of following changes: https://github.com/raspberrypi/firmware/commit/38e81f25e639d19fc0ce6e67fd39998c340a15d5 https://github.com/raspberrypi/linux/pull/3082 https://github.com/raspberrypi/linux/pull/3110 https://github.com/raspberrypi/firmware/commit/66bafab005569e3eb92ec54cd3efeee3da338738 * without this fix: root@rpijama:~# cat /proc/device-tree/soc/firmwarekms@7e600000/status okay root@rpijama:~# modeprint vc4 Starting test Resources count_connectors : 1 count_encoders : 1 count_crtcs : 1 count_fbs : 0 Connector: HDMI-A-1 id : 51 encoder id : 0 conn : connected size : 0x0 (mm) count_modes : 0 count_props : 9 props : 1 2 5 6 52 53 54 55 56 count_encoders : 1 encoders : 50 Encoder: TMDS id :50 crtc_id :0 type :2 possible_crtcs :0x1 possible_clones :0x0 Crtc id : 49 x : 0 y : 0 width : 0 height : 0 mode : 0xfec884 gamma size : 0 Ok * with this fix: martin@jama ~ $ sshc root@rpijama Warning: Permanently added 'rpijama,192.168.169.37' (ECDSA) to the list of known hosts. root@rpijama:~# modeprint vc4 Starting test Resources count_connectors : 1 count_encoders : 1 count_crtcs : 1 count_fbs : 0 Connector: HDMI-A-1 id : 51 encoder id : 50 conn : connected size : 1600x900 (mm) count_modes : 22 count_props : 9 props : 1 2 5 6 52 53 54 55 56 count_encoders : 1 encoders : 50 Mode: "1920x1080" 1920x1080 60 Mode: "1920x1080" 1920x1080 60 Mode: "1920x1080" 1920x1080 50 Mode: "1920x1080" 1920x1080 30 Mode: "1920x1080" 1920x1080 30 Mode: "1920x1080" 1920x1080 25 Mode: "1920x1080" 1920x1080 24 Mode: "1920x1080" 1920x1080 24 Mode: "1280x1024" 1280x1024 60 Mode: "1360x768" 1360x768 60 Mode: "1152x864" 1152x864 60 Mode: "1280x720" 1280x720 60 Mode: "1280x720" 1280x720 60 Mode: "1280x720" 1280x720 50 Mode: "1024x768" 1024x768 60 Mode: "800x600" 800x600 60 Mode: "720x576" 720x576 50 Mode: "720x480" 720x480 60 Mode: "720x480" 720x480 60 Mode: "640x480" 640x480 60 Mode: "640x480" 640x480 60 Mode: "720x400" 720x400 70 Encoder: TMDS id :50 crtc_id :49 type :2 possible_crtcs :0x1 possible_clones :0x0 Crtc id : 49 x : 0 y : 0 width : 1920 height : 1080 mode : 0x1fcde54 gamma size : 0 Ok * tested on raspberrypi3 B weston works fine qtbase-examples tested with: /usr/share/examples/opengl/cube/cube -platform eglfs * the same issue is now in warrior, after someone tests on raspberrypi4 it would be good to backport this to warrior as well Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* raspberrypi-firmware.inc: Update to 20190718Andrei Gherzan2019-08-151-4/+4
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* armstubs: Error out when ARMSTUBS is not definedAndrei Gherzan2019-07-191-0/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-config: Check for armstub based on machine featureAndrei Gherzan2019-07-191-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* u-boot: Update patches for RPi4Andrei Gherzan2019-07-1915-861/+258
| | | | | | | | | | | | After a review in upstream, some of the patches were modified. Most notable changes: 1. use directly the dtb passed by the firmware and make sure uboot doesn't tweak memory/reg 2. remove known unimplemented support (usb, eth etc.) 3. drop patches that are not needed anymore with the new firmware update (for example 0012-bcm283x-mbox-Correctly-wait-for-space-to-send.patch) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* u-boot: Replace custom fork by patchesAndrei Gherzan2019-07-1813-4/+1110
| | | | | | | | The upstream branch might suffer rebases due to effort of pushing the patches upstream. To avoid issues, let's have here the patches we need for RPi 4 support. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-config: Check some config values against "1"Carton2019-07-181-5/+5
| | | | | | | | | | | | | | | | When we read the docs, we have the feelings that theses variables are boolean ones. So I was setting, for example in my distro.conf file the variable ' ENABLE_I2C = "1" ' to enable I2C. Then I wanted to disable it by simply setting 'ENABLE_I2C' to "0" but it wasn't working. So I noticed that, for example, ' ENABLE_UART ' was checked with ' = "1" ' condition and some other "boolean" was checked against ' -n ' like for ENABLE_I2C. This commit tries to have an uniform behavior for all variables that are shown in the doc under the format ' VARIABLE = "1" ' to enable them and the reader can think they are kind of 'boolean' values. Signed-off-by: Joël Carron <joel.carron@eeproperty.ch>
* raspberrypi-firmware: Update to 20190709Andrei Gherzan2019-07-161-4/+4
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* u-boot: Use a temporary fork for RPi4 supportAndrei Gherzan2019-07-161-0/+4
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* raspberrypi-tools: Update to remove Makefile patchAndrei Gherzan2019-07-043-37/+3
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* rpi-config: Handle ARMSTUBAndrei Gherzan2019-07-041-0/+11
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* armstubs: Add support for compiling ARM stubsAndrei Gherzan2019-07-043-0/+74
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* firmware: Rename firmware inc file to raspberrypi-firmware.incAndrei Gherzan2019-07-042-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* firmware: Update to 20190620Andrei Gherzan2019-06-301-4/+4
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* firmware: Update 20190220 -> 20190517Khem Raj2019-05-291-4/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* firmware: Update to latest as of 20190220Khem Raj2019-02-241-5/+4
| | | | | | Needed for 4.19 kernel Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rpi-config: used printf to escape properlymemox_52019-02-151-1/+1
| | | | | | | Used printf command because on some systems bash doesn't escape sequences consistently. Signed-off-by: memox5 <memox_5@yahoo.com>
* firmware.inc: Update to 20190212Zahari Petkov2019-02-141-4/+4
| | | | Signed-off-by: Zahari Petkov <zahari@balena.io>
* firmware.inc: Update to 20181211Pepijn de Vos2018-12-151-4/+4
| | | | | | This fixes raspberrypi/firmware#1051 Signed-off-by: Pepijn de Vos <pepijndevos@gmail.com>
* Add Pican2 supportFabien Lahoudere2018-12-121-0/+6
| | | | | | | | | | | 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>
* firmware.inc: Update to 20180924Andrei Gherzan2018-11-081-4/+4
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* machines: Drop VC4_CMA_SIZEKhem Raj2018-11-071-1/+1
| | | | | | setting cma is not required with latest vc4 driver Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rpi-config: Use vc4-kms-v3d for raspberrypi3-64 as wellKhem Raj2018-10-041-1/+0
| | | | | | | | | | | | vc4-fkms-v3d needs dispmanx, its DRM VC4 V3D driver on top of the dispmanx display stack, this does not work with 4.14 kernel and since we always use vc4graphics on 64bit, just keep using vc4-kms-v3d dtbo which should enable right graphics Tested with core-image-sato, running glxgears with 55.5fps in raspberrypi3-64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* firmware: Update to 20180817Andrei Gherzan2018-09-111-4/+5
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
* firmware: Update to 20180619 releaseKhem Raj2018-07-071-4/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-raspberrypi: use generic licenses in ${COMMON_LICENSE_DIR} from PokyHugo Hromic2018-06-272-2/+2
| | | | | | Keep consistency with current practices. Signed-off-by: Hugo Hromic <hhromic@gmail.com>
* meta-raspberrypi: use `_%` suffix instead of specific versions for bbappendsHugo Hromic2018-06-271-0/+0
| | | | | | Keep naming consistency and ensure they are still applied when the upstream recipes are updated. Signed-off-by: Hugo Hromic <hhromic@gmail.com>
* formfactor: use `rpi` instead of `raspberrypi` to apply to all rpi machinesHugo Hromic2018-06-271-0/+0
| | | | Signed-off-by: Hugo Hromic <hhromic@gmail.com>
* rpi-config: load at86rf233 overlayAnton Gerasimov2018-06-041-0/+6
| | | | | | Controlled with ENABLED_AT86RF variable Signed-off-by: Anton Gerasimov <tossel@gmail.com>
* rpi-config: remove explicit device tree selection for raspberrypi3-64Peter A. Bigot2018-05-141-4/+0
| | | | | | The current firmware doesn't need this. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
* firmware: Update to 20180417Peter A. Bigot2018-05-091-4/+4
| | | | | | | | stable #4 RaspberryPi 3B+ support Signed-off-by: Peter A. Bigot <pab@pabigot.com>
* u-boot: Remove upstreamed U-Boot rpi0w defconfig patchJonathan Haigh2018-05-092-47/+0
| | | | | | | | | | | [Issue #239] -- https://github.com/agherzan/meta-raspberrypi/issues/239 The patch 0002-rpi_0_w-Add-configs-consistent-with-RpI3.patch has been applied to the upstream U-Boot repo and is now in the release that openembedded-core uses so remove it from meta-raspberrypi's U-Boot bbappend. Signed-off-by: Jonathan Haigh <jonathan.haigh@arm.com>
* config_git.bb: Remove extra spaceEduardo Abinader2018-05-071-1/+1
| | | | Signed-off-by: Eduardo Abinader <eduardoabinader@gmail.com>
* rpi-config: add helper to enable dwc2 peripheral supportPeter A. Bigot2018-05-051-0/+6
| | | | | | | | Document and add support to easily enable USB gadget mode. Also fix a spelling error. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
* Don't use RDEPENDS in recipes which don't create packagesPaul Barker2018-04-232-2/+2
| | | | | | | | RDEPENDS is fairly meaningless for recipes which don't create a package to be installed into the rootfs. Instead we should be using DEPENDS to guarantee correct ordering of build tasks. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* Drop unnecessary dependencies and tasksPaul Barker2018-04-233-5/+12
| | | | | | | | | | | | | | We have a few recipes which only deploy files that go into the boot partition and do not create packages to be installed into the rootfs. These recipes don't need to run the usual packaging tasks so we can drop them to speed up the build a little. We also have a bunch of recipes that don't need the usual toolchain as they just copy files or invoke native commands like `mkimage`. So to speed up the build a little more we can set INHIBIT_DEFAULT_DEPS to avoid an unnecessary dependency on the toolchain. Signed-off-by: Paul Barker <pbarker@toganlabs.com>
* rpi-config: support more commonly used config variables and update documentationHugo Hromic2018-04-201-2/+43
| | | | | | | | | | | Added support for and documented the following new extra build options: * gpu_freq overclocking option * disable boot rainbow splash screen * configure the boot delay after GPU firmware loading * configure common HDMI and composite video options Signed-off-by: Hugo Hromic <hhromic@gmail.com>
* firmware: Update to 20180313Andrei Gherzan2018-03-281-5/+4
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.com>