Commit Graph

712 Commits

Author SHA1 Message Date
Khem Raj
75efa69e75 linux-raspberrypi-4.4: Add the pitft22 overlay from adafruit
Upgrade to 4.4.6

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-28 16:35:04 +02:00
Khem Raj
38ab74bd3e linux-raspberrypi_4.4.bb: Update to 4.4.3
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-10 15:16:14 +01:00
Khem Raj
e9c8b2aa4d linux-raspberrypi: Upgrade 4.4.1 -> 4.4.2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-10 15:16:03 +01:00
Khem Raj
2c19e8882f linux-raspberrypi: Add recipe for 4.4 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-03-10 15:15:44 +01:00
Khem Raj
00962adc49 userland: Drop extern inline patches
Not needed since the issues have been fixed differently upstream

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-10 14:58:26 +01:00
Khem Raj
370e0f68e6 userland: Upgrade to latest
Drop upstreamed patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-10 14:57:48 +01:00
Khem Raj
f248d7cf8c gstreamer1.0-omx: Backports and fixes for smooth video playback
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-10 14:56:07 +01:00
Khem Raj
53e17683c5 weston: Specify egl and compositor options for rpi
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-10 14:55:47 +01:00
Khem Raj
27445a1e4c gstreamer1.0-omx: Add raspberry pi optimization patches and config options
Patches from Hong Li <honglh@gmail.com>

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-10 14:54:43 +01:00
Khem Raj
06709d784d userland: Fix build race with wayland support
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-10 14:54:02 +01:00
Khem Raj
da73efffe1 userland: Add wayland to deps if in DISTRO_FEATURES
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-10 14:53:49 +01:00
Khem Raj
34cb837929 userland: Define PROJECT_APIVER and rprovide libgles2 libgl
These are needed for pkgconfig to have correct version number which is
checked by many configure systems e.g. cogl to decide on support for
wayland-egl

rprovides are expected by cogl as well to define runtime deps on
libgles2 and libgl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-10 14:53:28 +01:00
Khem Raj
507ab2682b userland: Delete rpc flushing of thread in glEGLImageTargetTexture2DOES
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-03-10 14:53:03 +01:00
Khem Raj
4ed070fc0c eglinfo-x11,eglinfo-fb: Add EGLINFO_DEVICE via bbappends
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-10 14:51:44 +01:00
Khem Raj
b47e8f5599 rpi-gpio: Upgrade to 0.6.1 and fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-10 14:51:01 +01:00
Khem Raj
6fa040c769 weston: Enable rpi compositor backend
oe-core default configure options disables it

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-10 14:50:49 +01:00
Khem Raj
bfbe0ce3b4 userland: Add wayland support
backport and fix needed patches for supporting wayland-egl
use PACKAGECONFIG for wayland so we can add proper DEPENDS on wayland
Fix QA warnings about dev-so

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-10 14:49:21 +01:00
Khem Raj
4db634bcda userland: Fix build with clang compiler
ends up with some warning cleanups and extern inline semantics changes

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-10 14:49:10 +01:00
Khem Raj
32d0936570 userland: Upgrade to latest git master
Drop upstreamed patches
0002-fix-musl-build.patch was partially upstreamed
git'ify the remaining patches

Change license field to BSD 3 clause, since thats what
the licence it with BCM and RPI Copyrights

Licence changed from Broadcom to Raspberry Pi Ltd

see commit 0863709b9fb90ee1204b7fe52f69535830d3c111
Author: popcornmix <popcornmix@gmail.com>
Date:   Mon Feb 1 21:07:02 2016 +0000

    Update copyright

diff --git a/LICENCE b/LICENCE
index 2582681..dea4c26 100644
--- a/LICENCE
+++ b/LICENCE
@@ -1,4 +1,5 @@
 Copyright (c) 2012, Broadcom Europe Ltd
+Copyright (c) 2015, Raspberry Pi (Trading) Ltd
 All rights reserved.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-10 14:48:53 +01:00
Theodor Gherzan
519c387e3b rpi-base.inc: Add rpi3 device tree blob
Signed-off-by: Theodor Gherzan <theodor@resin.io>
2016-03-10 14:45:42 +01:00
Theodor Gherzan
12a8848127 raspberrypi3.conf: Create machine configuration for Raspberrypi 3
Signed-off-by: Theodor Gherzan <theodor@resin.io>
2016-03-10 14:45:12 +01:00
Theodor Gherzan
1601a3571c linux-firmware: Add brcmfmac43430 firmware
Signed-off-by: Theodor Gherzan <theodor@resin.io>
2016-03-10 14:44:44 +01:00
Theodor Gherzan
752a9a89e5 bcm2835-bootfiles: Update LICENCE md5 due to firmware revision update
Signed-off-by: Theodor Gherzan <theodor@resin.io>
2016-03-10 14:44:24 +01:00
Theodor Gherzan
5eaeb55161 firmware.inc: Update revision to include rpi3 support
Signed-off-by: Theodor Gherzan <theodor@resin.io>
2016-03-10 14:44:10 +01:00
Theodor Gherzan
15a23443c8 linux-raspberrypi: Update revision to include rpi3 support
Signed-off-by: Theodor Gherzan <theodor@resin.io>
2016-03-10 14:44:03 +01:00
Petter Mabäcker
a42a1706de pitft: Add PiTFT22 support
- Add support to build overlays for PiTFT22 in the kernel.
- Setup a basic configuration for the driver

The PiTFT22 support is optional and can be enabled by adding below in
local.conf:

MACHINE_FEATURES += "pitft pitft22"

This patch also includes restructuring of kernel patches per kernel version
specific directories.

[Support #70]

Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-03-01 21:56:56 +01:00
Jonathan Liu
249cb544e0 u-boot-rpi: update path to imagetool-uncompressed.py
Signed-off-by: Jonathan Liu <net147@gmail.com>
2016-03-01 15:04:04 +01:00
Jonathan Liu
807cff5e5b linux-raspberrypi: update path to mkknlimg
Signed-off-by: Jonathan Liu <net147@gmail.com>
2016-03-01 15:04:03 +01:00
Jonathan Liu
224d1c9925 rpi-mkimage: install to bindir instead of libexecdir
On fido and earlier branches, ${libexecdir} depends on ${BPN} so it
is not a good choice as ${libexecdir} is different depending on the
recipe name.

For example, rpi-mkimage would install mkknlimg to:
  [...]/sysroots/x86_64-linux/usr/lib/rpi-mkimage
but linux-raspberrypi would look for mkknlimg in the path:
  [...]/sysroots/x86_64-linux/usr/lib/linux-raspberrypi

To resolve this, we use ${bindir} instead as it doesn't depend on
${BPN} in fido and earlier branches as well as in the master branch.

Signed-off-by: Jonathan Liu <net147@gmail.com>
2016-03-01 15:04:02 +01:00
Petter Mabäcker
0d5aff5161 pitft: Add basic support for PiTFT
Add basic support for PiTFT display by using device-trees.

In order get it working below configurations must be active in
local.conf:

MACHINE_FEATURES += "pitft"
 - This will enable SPI bus and i2c device-trees, it will also setup
   framebuffer for console and x server on PiTFT.

[Support #70]

Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-03-01 14:38:03 +01:00
Petter Mabäcker
52671faf4f rpi-base.inc: Allow MACHINE_FEATURES appends
Ensure that it's possible to add MACHINE_FEATURES from places that will
be executed before rpi-base.inc (like e.g. local.conf), without having
them overrided.

Signed-off-by: Petter Mabäcker <petter@technux.se>
2016-03-01 14:25:54 +01:00
Petter Mabäcker
b331933938 rpi-config: I2C support
With newer kernels (>=3.18) that supports device-trees I2C
should be enabled with device-trees.

This is now support by adding:
ENABLE_I2C = "1"
in local.conf

This will enable the dtparams:
i2c1
i2c_arm

Signed-off-by: Petter Mabäcker <petter@technux.se>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-03-01 14:10:21 +01:00
Andrei Gherzan
6c6f6cf7b3 Add optional build configuration section
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-03-01 14:06:42 +01:00
Andrei Gherzan
8948772554 README: Add missing contents
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-03-01 13:24:39 +01:00
Petter Mabäcker
451a8de37c .gitignore: Ignore .swp files
Signed-off-by: Petter Mabäcker <petter@technux.se>
2016-02-29 22:25:35 +01:00
Andrei Gherzan
e9de6d816d linux-raspberrypi: Make sure we have initramfs image before running mkknlimg
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-02-28 12:48:20 +01:00
Stéphane Cerveau
9675f8f09a linux-raspberry.inc: add initramfs support
append initramfs creation to install RPi bootloader trailer

Signed-off-by: Stéphane Cerveau <voxtok@voxtok.com>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-02-28 12:48:20 +01:00
Khem Raj
4d42a6efec linux-raspberrypi: Upgrade 4.1 kernel to 4.1.17
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-02-28 12:48:20 +01:00
Khem Raj
68b18fa80e rpi-config: Upgrade to tip of tree to get GPU_MEM_1024
Document it in README

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-02-28 12:48:20 +01:00
Khem Raj
37e4913438 wiringPi: Fix build with musl
Include asm/ioctl.h for _IOC_SIZEBITS

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-02-28 12:48:20 +01:00
Khem Raj
c65b0b8c3f python-rtimu: Fix build with musl
ioctl(3) needs to include asm/ioctl.h for its signature

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-02-28 12:48:20 +01:00
Khem Raj
bcb26ed634 rpio: Include sys/types.h for caddr_t
Fixes build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-02-28 12:48:20 +01:00
Andrei Gherzan
9295c7fd71 omxplayer: Add patch to fix host-user-contaminated QA
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Jonathan Liu <net147@gmail.com>
2016-02-28 11:31:49 +01:00
Jonathan Liu
048008a935 u-boot-rpi: update path to imagetool-uncompressed.py
Signed-off-by: Jonathan Liu <net147@gmail.com>
2016-02-28 10:48:56 +01:00
Jonathan Liu
c25a43a3b4 linux-raspberrypi: update path to mkknlimg
Signed-off-by: Jonathan Liu <net147@gmail.com>
2016-02-28 10:48:55 +01:00
Jonathan Liu
736e1ba035 rpi-mkimage: install to ${libexecdir}
It doesn't make sense to install to ${libexecdir}/rpi-mkimage as it
changes the path on fido and earlier branches from:
  [...]/sysroots/x86_64-linux/usr/lib/rpi-mkimage
to:
  [...]/sysroots/x86_64-linux/usr/lib/rpi-mkimage/rpi-mkimage

Using ${libexecdir} instead of ${libexecdir}/rpi-mkimage preserves
the path for fido and earlier.

Signed-off-by: Jonathan Liu <net147@gmail.com>
2016-02-28 10:48:54 +01:00
Jonathan Liu
6726ffb4fe omxplayer: bump revision
Fixes compile errors with ffmpeg 3.0.

Signed-off-by: Jonathan Liu <net147@gmail.com>
2016-02-27 13:56:47 +01:00
Maciej Borzecki
053cb6ea0d linux-raspberrypi: use STAGING_LIBEXECDIR_NATIVE for rpi-mkimage tools
The rpi-mkimage tools are installed ${libexecdir}/rpi-mkimage within
native sysroot, where ${libexecdir} resolves to /usr/libexec. This caused
the build to fail due to recipe trying to access ${libdir}/mkimage. Fix
the paths to use an unambiguous STAGING_LIBEXECDIR_NATIVE so that a
proper location is used.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
2016-02-26 20:42:19 +01:00
Maciej Borzecki
1465bc8787 u-boot-rpi: use STAGING_LIBEXECDIR_NATIVE for rpi-mkimage tools
The rpi-mkimage tools are installed ${libexecdir}/rpi-mkimage within
native sysroot, where ${libexecdir} resolves to /usr/libexec. This caused
the build to fail due to recipe trying to access ${libdir}/mkimage. Fix
the paths to use an unambiguous STAGING_LIBEXECDIR_NATIVE so that a
proper location is used.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
2016-02-26 20:42:18 +01:00
Maciej Borzecki
6bd39a61b7 rpi-mkimage: install tools under {libexecdir}/rpi-mkimage
For consistency with other recipes that look for mkimage
tools (u-boot-rpi, linux-raspberrypi) under ${libexecdir}/rpi-mkimage,
make sure that the tools are installed at the proper location.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
2016-02-26 20:42:11 +01:00