Commit Graph

647 Commits

Author SHA1 Message Date
Khem Raj
f7af12910f userland: Update to tip of tree
Drop the patch which is upstreamed slightly differently
use VMCS_INSTALL_PREFIX to /usr via EXTRA_OECMAKE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-05-19 17:14:04 +02:00
Khem Raj
9912d38e97 linux-raspberrypi_4.4.bb: Upgrade to 4.4.8
Fixes for gcc6
Drop upstreamed patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-05-05 13:20:26 +02:00
Andreas Müller
060927314d replace base_contains by bb.utils.contains
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2016-05-05 12:51:29 +02:00
Jonathan Liu
cd338c26e2 sdcard_image-rpi.bbclass: Fix do_image_rpi_sdimg tashhash mismatch
IMAGE_CMD_rpi-sdimg() uses the IMAGEDATESTAMP variable, so the taskhash
of the function keeps changing. This results in a taskhash mismatch
error.

Fix this by excluding the IMAGEDATESTAMP variable from the checksum.

Change-Id: Ie6f30ad29e279d5312ec655ac4a3bf246c8a04de
Signed-off-by: Jonathan Liu <net147@gmail.com>
2016-05-04 15:52:15 +02:00
Andrei Gherzan
dedd75f08f README: Switch from redmine to github issues
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-04-25 10:10:05 +02:00
Andrei Gherzan
c4ddf87db2 rpi-base.inc: Include pi3-miniuart-bt-overlay.dtb
This is used to switch BT from ttyUSB0 to ttyS0 (miniUART).

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-04-25 09:05:09 +02:00
Andrei Gherzan
953dc5a406 linux-raspberrypi_4.1: Update to v4.1.21
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-04-22 16:41:33 +02:00
toolmmy
1317a894fa bluez5: Add bluez5 support for brcm43438 on raspberrypi3.
This patch adds the bluetooth support for the brcm43438 module on the raspberrypi3 by
deploying the modules firmware and changing the targeting firmware path. In addition
the brcm43438.service adds the automatically attaching (hciattach) for systemd environments.
The following steps can be used to manually configure the brcm43438:

root@raspberrypi3:~# hciattach /dev/ttyAMA0 bcm43xx-3wire
bcm43xx_init
Flash firmware /lib/firmware/brcm/BCM43430A1.hcd
Set Controller UART speed to 3000000 bit/s
Device setup complete
root@raspberrypi3:~# hciconfig
hci0:   Type: BR/EDR  Bus: UART
        BD Address: B8:27:EB:6C:85:BE  ACL MTU: 1021:8  SCO MTU: 64:1
        DOWN
        RX bytes:983 acl:0 sco:0 events:33 errors:0
        TX bytes:887 acl:0 sco:0 commands:33 errors:0

root@raspberrypi3:~# /usr/lib/bluez5/bluetooth/bluetoothd -e -n -E
root@raspberrypi3:~# bluetoothctl
[NEW] Controller B8:27:EB:6C:85:BE raspberrypi3 [default]
[bluetooth]# power on
[CHG] Controller B8:27:EB:6C:85:BE Class: 0x400000
Changing power on succeeded
[CHG] Controller B8:27:EB:6C:85:BE Powered: yes
[bluetooth]# scan on
Discovery started
[CHG] Controller B8:27:EB:6C:85:BE Discovering: yes
[NEW] Device 00:1C:05:FF:F9:F8 Nonin3230_501585326

NOTE: SERIAL_CONSOLE must configured to ttyS0 instead of ttyAMA0 (used by the brcm43438). See pending patch from Martin Bergek

Signed-off-by: Tom Doehring <toolmmy@gmail.com>
2016-04-22 16:41:33 +02:00
Andrei Gherzan
6cdb2becac packagegroup-rpi-test: Add packages to be able to test WiFi/Bluetooth
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-04-22 16:41:33 +02:00
Andrei Gherzan
37c2366724 linux-raspberrypi: Set baudrate and use serial0 for kgdboc
The driver for 8250 defaults to 9600. We setup it on 115200 to be consistent
with getty configuration.

The firmware can do its magic with kgdboc too as it searches and replaces
=serial0 and =serial1. So, use serial0 for kgdboc too.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-04-22 16:39:52 +02:00
Andrei Gherzan
4a2cefab66 linux-raspberrypi: Bump to v4.4.7
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-04-22 11:00:41 +02:00
Theodor Gherzan
47440c32a4 README: Document new variable configuration
Signed-off-by: Theodor Gherzan <theodor@resin.io>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-04-22 10:59:44 +02:00
Theodor Gherzan
3fe96d9212 linux-raspberrypi: Make use of serial aliases
The firmware will parse cmdline and replace serial aliases with the
actual serial console port.

Signed-off-by: Theodor Gherzan <theodor@resin.io>
2016-04-21 22:25:53 +02:00
Theodor Gherzan
c57a7295d7 rpi-config: Add UART enabler
Signed-off-by: Theodor Gherzan <theodor@resin.io>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-04-21 22:25:41 +02:00
Theodor Gherzan
d997e2da17 firmware.inc: Update firmware to include various serial fixes
Signed-off-by: Theodor Gherzan <theodor@resin.io>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-04-21 22:11:26 +02:00
Trevor Woerner
e2603e56d6 raspberrypi*.conf: Serial console definition split
The latest raspberrypi3 puts its console on ttyS0 instead of ttyAMA0 (like all
the preceding boards). Therefore pull this definition out of the common
include file and add it separately for each MACHINE.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2016-04-21 21:16:56 +02:00
Jonathan Liu
3696c0ef66 omxplayer: Bump revision
Fixes linking error due to missing vchostif library dependency.
Rebased patches and removed patches already merged upstream.

Signed-off-by: Jonathan Liu <net147@gmail.com>
2016-04-21 19:12:38 +02:00
Tom Doehring
bfc46bdd55 userland: Fix passing of wayland-native to cmake while configuring
While having 'wayland' set DISTRO_FEATURES 'wayland-native' is handled as a cmake parameter which breaks the do_configure:

$ cat /data/builds/rpi3-sandbox/tmp/work/raspberrypi2-poky-linux-gnueab i/userland/git-r5/temp/run.do_configure
 cmake \
          ${OECMAKE_SITEFILE} \
          [...]
          -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-as-needed'                  wayland-native \
          -Wno-dev

$ CMake Error: The source directory "/data/builds/rpi3-sandbox/tmp/work/raspberrypi2-poky-linux-gnueabi/userland/git-r5/build/wayland-native" does not exist.
| Specify --help for usage, or press the help button on the CMake GUI.

Assuming that wayland-native should only be defined as a DEPENDS package this patch moves it to the correct PACKAGECONFIG position.

Signed-off-by: Tom Doehring <toolmmy@gmail.com>
Signed-off-by: toolmmy <toolmmy@gmail.com>
2016-04-20 22:57:56 +02:00
Khem Raj
3645b27848 userland: Make vchostif as shared library
This helps in using this library when building
with PIE binaries

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-04-13 05:16:57 +02:00
Khem Raj
f1b7034077 userland: Fix a build regression in builds not using wayland
Update userland to latest

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-04-13 05:16:26 +02:00
Andrei Gherzan
4f8930b9d0 userland: In case of wayland configuration build needs wayland-native
Building wayland support requires availability of wayland-scanner to avoid
build errors like:

| /bin/sh:
| /home/andrei/work/yocto/build-rpi-master/tmp/sysroots/x86_64-linux/usr/bin/wayland-scanner:
| No such file or directory

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-04-13 05:12:13 +02:00
Andrei Gherzan
d493717509 README: Mention all the supported machines
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-04-13 05:08:23 +02:00
toolmmy
9b6cdaf826 linux-firmware: Rework of brcmfmac43430 firmware handling
The current version of the recipe produces the following warnings while createing an image:

WARNING: The license listed Firmware-broadcom_brcm80211 was not in the licenses collected for recipe linux-firmwa
re
WARNING: [log_check] td-core-image: found a warning message in the logfile (keyword 'WARNING:'):
[log_check] WARNING: The license listed Firmware-broadcom_brcm80211 was not in the licenses collected for recipe
linux-firmware

This commit contains a rework of the brcm80211 firmware handling and deploys the firmware and the LICENSE files that fixes the warning messages.

Signed-off-by: Tom Doehring <toolmmy@gmail.com>
2016-04-13 04:32:03 +02:00
Alan Stice
54ecd3402d linux-raspberrypi: Rename linux.inc to linux-rpi.inc Rename linux.inc to prevent it from impacting other machines
Signed-off-by: Alan Stice <alan@alanstice.com>
2016-04-13 04:17:22 +02:00
Petter Mabäcker
e9e4b1bbd2 linux-raspberrypi: Drop support for 3.14
General policy is to support three kernel versions; latest stable + two
longterm versions. These are currently 4.4, 4.1, and 3.18.

Signed-off-by: Petter Mabäcker <petter@technux.se>
2016-04-13 03:18:41 +02:00
Petter Mabäcker
e447357ec4 .gitignore: Ignore some additional files
Signed-off-by: Petter Mabäcker <petter@technux.se>
2016-04-13 03:18:38 +02:00
Petter Mabäcker
3bd9b1bce4 rpi-base.inc: Add overlay for rpi-ft5406
rpi-ft5406 is an enabler for Official Raspberry Pi 7 inch
touchscreen support.

Signed-off-by: Petter Mabäcker <petter@technux.se>
2016-04-13 03:18:21 +02:00
Petter Mabäcker
197266a2aa rpi-base.inc: Remove deprecated MACHINE_FEATURES
Signed-off-by: Petter Mabäcker <petter@technux.se>
2016-04-13 03:17:56 +02:00
Petter Mabäcker
9797874a23 pitft: Add support for pitft28r
The support for PiTFT 28 inch resistive touchscreen is optional
and can be enabled by adding below in local.conf:

MACHINE_FEATURES += "pitft pitft28r"

While at it also fix a minor typo in README.

Signed-off-by: Petter Mabäcker <petter@technux.se>
2016-04-13 03:16:02 +02:00
Khem Raj
84af6e7de3 userland: Fix tearing effect seen with wayland compositors
Introduce EGL flush in few more places

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-04-01 13:27:59 +02:00
Khem Raj
8f425f1b9e firmware: Update to 20160326
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-04-01 13:22:37 +02:00
Khem Raj
e82417d33b userland: Implement dispmanx_wrap_buffer
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-28 16:37:43 +02:00
Khem Raj
d28692dc9e userland: Upgrade to latest
Regenerate patches on top of given SRCREV Add return code errors fix to get it
working with clang.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-28 16:37:29 +02:00
Khem Raj
f6473c36a5 eglinfo-x11: Disable --as-needed
--as-needed exposes a dependency problem where libegl needs some symbols
from libgles2 but the order that waf uses on linker cmdline for these
libs is reversed so we end up with link time failures e.g.

libEGL.so: undefined reference to `glxx_client_GetRenderbufferParameteriv'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-28 16:36:06 +02:00
Khem Raj
8f285bb8f3 sdcard_image: Depend on do_deploy for kernel
SD image is expecting dtb files to be deployed in deploy area, this step
however is done when do_deploy of kernel is finished and we need to pin that in
dependency list, otherwise there are build race conditions during builds
especially visible when building with initramfs enabled.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2016-03-28 16:35:50 +02:00
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