aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp
AgeCommit message (Collapse)Author
2019-07-19armstubs: Error out when ARMSTUBS is not definedAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-19rpi-config: Check for armstub based on machine featureAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-19u-boot: Update patches for RPi4Andrei Gherzan
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>
2019-07-18u-boot: Replace custom fork by patchesAndrei Gherzan
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>
2019-07-18rpi-config: Check some config values against "1"Carton
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>
2019-07-16raspberrypi-firmware: Update to 20190709Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-16u-boot: Use a temporary fork for RPi4 supportAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-04raspberrypi-tools: Update to remove Makefile patchAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-04rpi-config: Handle ARMSTUBAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-04armstubs: Add support for compiling ARM stubsAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-07-04firmware: Rename firmware inc file to raspberrypi-firmware.incAndrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-06-30firmware: Update to 20190620Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2019-05-29firmware: Update 20190220 -> 20190517Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-24firmware: Update to latest as of 20190220Khem Raj
Needed for 4.19 kernel Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-15rpi-config: used printf to escape properlymemox_5
Used printf command because on some systems bash doesn't escape sequences consistently. Signed-off-by: memox5 <memox_5@yahoo.com>
2019-02-14firmware.inc: Update to 20190212Zahari Petkov
Signed-off-by: Zahari Petkov <zahari@balena.io>
2018-12-15firmware.inc: Update to 20181211Pepijn de Vos
This fixes raspberrypi/firmware#1051 Signed-off-by: Pepijn de Vos <pepijndevos@gmail.com>
2018-12-12Add Pican2 supportFabien Lahoudere
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>
2018-11-08firmware.inc: Update to 20180924Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2018-11-07machines: Drop VC4_CMA_SIZEKhem Raj
setting cma is not required with latest vc4 driver Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-04rpi-config: Use vc4-kms-v3d for raspberrypi3-64 as wellKhem Raj
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>
2018-09-11firmware: Update to 20180817Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2018-07-07firmware: Update to 20180619 releaseKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-27meta-raspberrypi: use generic licenses in ${COMMON_LICENSE_DIR} from PokyHugo Hromic
Keep consistency with current practices. Signed-off-by: Hugo Hromic <hhromic@gmail.com>
2018-06-27meta-raspberrypi: use `_%` suffix instead of specific versions for bbappendsHugo Hromic
Keep naming consistency and ensure they are still applied when the upstream recipes are updated. Signed-off-by: Hugo Hromic <hhromic@gmail.com>
2018-06-27formfactor: use `rpi` instead of `raspberrypi` to apply to all rpi machinesHugo Hromic
Signed-off-by: Hugo Hromic <hhromic@gmail.com>
2018-06-04rpi-config: load at86rf233 overlayAnton Gerasimov
Controlled with ENABLED_AT86RF variable Signed-off-by: Anton Gerasimov <tossel@gmail.com>
2018-05-14rpi-config: remove explicit device tree selection for raspberrypi3-64Peter A. Bigot
The current firmware doesn't need this. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2018-05-09firmware: Update to 20180417Peter A. Bigot
stable #4 RaspberryPi 3B+ support Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2018-05-09u-boot: Remove upstreamed U-Boot rpi0w defconfig patchJonathan Haigh
[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>
2018-05-07config_git.bb: Remove extra spaceEduardo Abinader
Signed-off-by: Eduardo Abinader <eduardoabinader@gmail.com>
2018-05-05rpi-config: add helper to enable dwc2 peripheral supportPeter A. Bigot
Document and add support to easily enable USB gadget mode. Also fix a spelling error. Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2018-04-23Don't use RDEPENDS in recipes which don't create packagesPaul Barker
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>
2018-04-23Drop unnecessary dependencies and tasksPaul Barker
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>
2018-04-20rpi-config: support more commonly used config variables and update documentationHugo Hromic
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>
2018-03-28firmware: Update to 20180313Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2018-03-08firmware: Use snapshots from master againKhem Raj
This time use the snapshot archives to avoid repo clone size issues Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-02-28firmware: Update to recent commitPaul Barker
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>
2018-02-14u-boot: Update RPi Zero W defconfig to support DTB.Drew Moseley
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>
2018-01-29rpi-config: fix config variables with the same initial name being overwrittenHugo Hromic
2018-01-22u-boot: drop upstreamed patches in v2018.01Andrea Galbusera
These are now in upstream, so they are no longer required here. Signed-off-by: Andrea Galbusera <gizero@gmail.com>
2018-01-11rpi-config: allow VC4DTBO override on raspberrypi3-64Ricardo Salveti
Allow user to replace VC4DTBO (e.g. vc4-kms-v3d) on raspberrypi3-64. Signed-off-by: Ricardo Salveti <ricardo@opensourcefoundries.com>
2018-01-11u-boot: Update RPi Zero W defconfig to support DTB.Drew Moseley
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>
2018-01-11u-boot: add support for Raspberry Pi Zero WMirza Krak
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>
2017-12-18rpi-config: Add RPI_EXTRA_CONFIG optionPaul Barker
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>
2017-11-08firmware.inc: Update to 20171029Andrei Gherzan
Signed-off-by: Andrei Gherzan <andrei@gherzan.com>
2017-10-09rpi-config: Do not force HDMI mode for raspberrypi3-64Paul Barker
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>
2017-09-24Support using u-boot with Image format for raspberrypi3-64Paul Barker
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>
2017-09-20raspberrypi3-64: Use vc4-fkms-v3d overlay for rpi64Khem Raj
Use correct overlay for enabled vc4 accelaration This enable 3D accelaration over dispmanx on vc4/rpi64 Enable audio over HDMI Disable overscan to avoid graphics glitches Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-09-18u-boot: drop now upstreamed patchesAndrea Galbusera
oe-core now provides v2017.09 of u-boot which already merged both patches introduced by commit 94e2929f746f7e49a7870f7ea889dcbed05296c7 so we can drop them from meta-raspberrypi. Signed-off-by: Andrea Galbusera <gizero@gmail.com>