AGL/meta-agl.git
7 years agoSet rootfs size based on real size of rootfs image 49/7349/4
Anton Gerasimov [Wed, 30 Nov 2016 14:07:18 +0000 (15:07 +0100)]
Set rootfs size based on real size of rootfs image

ROOTFS_SIZE is recomputed for each image type based on total size of
rootfs directory. If rootfs directory gets smaller between creation of
rootfs image and SD image, it fill result in corrupted SD image.
It should not happen in theory, but it happens occasionally for a reason
I could not identify.

Change-Id: I1c888c179fdcec32c3cacbbce7b2d34ec70bbb17
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
7 years agoAdd wl-shell-emulator.so to weston.ini to porter and QEMU as well. 35/7335/2
Anton Gerasimov [Tue, 29 Nov 2016 10:51:54 +0000 (11:51 +0100)]
Add wl-shell-emulator.so to weston.ini to porter and QEMU as well.

CES2017 demo depends on it.

Change-Id: I9a01d106175fcfaba74195c9c6efe6e8f2bda4a5
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
7 years agoweston-raspberrypi.ini: Fix Weston configurations 31/7331/1
Leon Anavi [Mon, 28 Nov 2016 17:37:35 +0000 (19:37 +0200)]
weston-raspberrypi.ini: Fix Weston configurations

Fix Weston configurations for Raspberry Pi 2/3
and run it in IVI shell. Following these changes
start_ALS2016_ivi-shell.sh works again.

Bug-AGL: SPEC-268

Change-Id: Ief75dfc078a42aba65161783b2a7beef23115e33
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
7 years agoEnabling HW acceleration with libvaapi on Intel by default 21/7321/2
Dominig ar Foll (Intel Open Source) [Fri, 25 Nov 2016 17:43:01 +0000 (18:43 +0100)]
Enabling HW acceleration with libvaapi on Intel by default

Change-Id: I4efd1d2b8d4b6a6c82c68b572bcd5c9fa7a15ad1
Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net>
7 years agopackagegroup-ivi-common-core-multimedia: add pulseaudio bluetooth modules 19/7319/2
Stephane Desneux [Fri, 25 Nov 2016 15:59:09 +0000 (16:59 +0100)]
packagegroup-ivi-common-core-multimedia: add pulseaudio bluetooth modules

When bluetooth is set in DISTRO_FEATURES, we need some bluetooth specific modules
for pulseaudio.

The list of packages is a part of OE's package group 'packagegroup-tools-bluetooth' which
also contains extra bluetooth tools we don't want to install in the core AGL image.

Bug-AGL: SPEC-293

Change-Id: I47abe11c136ce6a8fd9d58759bbf9ea1a506fd82
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
7 years agoUse IVI-shell instead of desktop-shell as default in weston.ini 07/7307/4
Bocklage, Jens [Thu, 24 Nov 2016 13:54:59 +0000 (14:54 +0100)]
Use IVI-shell instead of desktop-shell as default in weston.ini

Using IVI-shell as default for following platforms:
 - QEMU
 - Renesas
 - Raspberry Pi

The IVI-shell is needed to run the CES 2017 demo.

Signed-off-by: Bocklage, Jens <Jens_Bocklage@mentor.com>
7 years agoConvert feature.inc to feature.dep 99/7299/1
Jan-Simon Möller [Thu, 24 Nov 2016 17:43:06 +0000 (18:43 +0100)]
Convert feature.inc to feature.dep

This converts the included features used for CI purposes to use the
dependency format introduced.

Change-Id: I405af9ffbd6954d0e78b5f738e762a80687337d7
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoFix file extension from *.bb to *.bbappend 93/7293/2
Kotaro Hashimoto [Thu, 24 Nov 2016 06:54:10 +0000 (15:54 +0900)]
Fix file extension from *.bb to *.bbappend

linux-linaro-qcomlt%.bb was wrong file extension.
I modify this file extension from *.bb to *.bbappend.

Change-Id: Ib44d0496025d88faf7a34310cc3d208db668ca5a
Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
7 years agoconf-notes.txt: Add image agl-demo-platform-html5 89/7289/2
Leon Anavi [Wed, 23 Nov 2016 14:45:12 +0000 (16:45 +0200)]
conf-notes.txt: Add image agl-demo-platform-html5

Add agl-demo-platform-html5 to the list of AGL
images.

Bug-AGL: SPEC-331

Change-Id: I70f79bfa0b95e8e95f2a4023f91b185814123104
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
7 years agometa-rcar-gen3: autoload mmp modules 87/7287/1
Yannick Gicquel [Wed, 23 Nov 2016 08:36:26 +0000 (09:36 +0100)]
meta-rcar-gen3: autoload mmp modules

Add KERNEL_MODULES_AUTOLOAD directive some to multimedia package drivers.
Thus after bootup, multimedia framework is ready to use hw acceleration IP.

Change-Id: I43a92fdf2dff1f546e5a532b13203efd4a6b829c
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
7 years agodra7xx-evm: weston: add changes for AGL home screen 41/7241/2
Karthik Ramanan [Fri, 18 Nov 2016 07:47:53 +0000 (13:17 +0530)]
dra7xx-evm: weston: add changes for AGL home screen

This patch set contains three sets of changes:
 * Recipes and patches from meta-arago for weston bringup
 * Additional patches to support ivi-shell for dra7xx-evm
 * Configuration settings for applications/AGL home screen

Change-Id: I925c1babdf2e825c0f68ec1d57107469f3abef09
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agometa-agl-bsp: More CES 2017 demo hardware support for TI Vayu 71/7271/2
Scott Murray [Mon, 21 Nov 2016 17:30:27 +0000 (19:30 +0200)]
meta-agl-bsp: More CES 2017 demo hardware support for TI Vayu

Tweaked the rtl_sdr.cfg fragment for linux-ti-staging to add CONFIG_I2C_MUX,
as it is required by the RTL28xx driver Kconfig in newer kernels.  As well,
added another fragment to linux-ti-staging to enable USB Bluetooth HCI
devices so that USB Bluetooth adapters will work on Vayu.

Change-Id: Ifd40f25e2159066fea4707a7915ba9b6dee52e0c
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
7 years agometa-rcar-gen3: add template with hw acceleration 67/7267/1
Yannick Gicquel [Mon, 21 Nov 2016 13:12:21 +0000 (14:12 +0100)]
meta-rcar-gen3: add template with hw acceleration

this introduce gen3 support with egl & multimedia acceleration.

Change-Id: Id816c6ae85e2877a1af9203ef893e1db12db5afc
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
7 years agodra7xx-evm: u-boot: Fix SRCREV + mmc stability fix 43/7243/2
Karthik Ramanan [Fri, 18 Nov 2016 07:53:25 +0000 (13:23 +0530)]
dra7xx-evm: u-boot: Fix SRCREV + mmc stability fix

The latest u-boot has included some patches that
is causing an instability with certain MMC cards
This patch fixes the SRCREV to a known commit and
includes a stability fix for the MMC

Change-Id: I7ba99d36bd713d81409d528e8067e012415b33f0
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agoREADME-AGL.md: remove the description about v4l2sink. 45/7245/2
Harunobu Kurokawa [Fri, 18 Nov 2016 08:19:11 +0000 (17:19 +0900)]
README-AGL.md: remove the description about v4l2sink.

AGL support only using weston, then AGL cannot support v4l2sink.
README-AGL.md describe about v4l2, so remove it.

Change-Id: I4f670166fb18be0be88ecd32bdda5691a48f4d07
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
7 years agometa-rcar-gen3: optee-os: build fixup 39/7239/1
Yannick Gicquel [Thu, 17 Nov 2016 15:36:09 +0000 (16:36 +0100)]
meta-rcar-gen3: optee-os: build fixup

Change-Id: I47dcf04e05ec61eebff20a171df78584c7de70a1
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
7 years agoweston.sh: Set XDG_RUNTIME_DIR to /run/user/0 09/7209/2
Leon Anavi [Wed, 16 Nov 2016 19:51:58 +0000 (21:51 +0200)]
weston.sh: Set XDG_RUNTIME_DIR to /run/user/0

Set XDG_RUNTIME_DIR for Raspberry Pi in weston.sh
to /run/user/0.

Bug-AGL: SPEC-310

Change-Id: I283ee98ae17a54aa3e6a4c8574ab9debe1b21fbb
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
7 years agodra7xx-evm: u-boot: Add custom uenv.txt 33/7233/1
Karthik Ramanan [Thu, 17 Nov 2016 09:10:29 +0000 (14:40 +0530)]
dra7xx-evm: u-boot: Add custom uenv.txt

dra7xx-evm supports multiple LCD panels, to boot the board
successfully, the uenv.txt has to specify the correct dtb
file. This patch adds the default dtb and specifies one of
the LCD panels in it.

NOTE:
It could happen that the panel that you have is a different
panel, in that case you would have to manually edit the same.

Change-Id: I0fdbe0ce48ca0654604a5808de684558308582c5
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agometa-rcar-gen3: gles: support for AGL toolchain 05/7205/2
Yannick Gicquel [Wed, 16 Nov 2016 14:31:01 +0000 (15:31 +0100)]
meta-rcar-gen3: gles: support for AGL toolchain

As TARGET_VENDOR is defined in AGL, the toolchain has a
different name.
The gles recipe contains hardcoded toolchain name, this
add support to custom one.

Change-Id: Ie4e768d0570c6a07f92067e39079e6e063d59451
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
7 years agoAdd support for CES 2017 demo hardware 97/7197/4
Scott Murray [Tue, 15 Nov 2016 17:27:02 +0000 (12:27 -0500)]
Add support for CES 2017 demo hardware

Add kernel config fragments to enable support for the TP-Link TL-W722N
USB Wifi adapter on both Turbot and Porter, and RTL2832U DVB USB adapter
on Porter.

v2 (jsmoeller): Adapt linux-yocto bits and add rpi3 + vayu
    - moving linux-yocto appends catches all the linux-yocto boards
    - adding the fragments to the other boards likewise
    - yet todo: sabre, wandboard
v3 (jsmoeller): remove leftover file://

Change-Id: Ic2c3255d9383ccfe8b24d034ef43779d120c5ee1
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAdd feature shortcuts matching ci system 95/7195/2
Jan-Simon Möller [Mon, 14 Nov 2016 08:35:45 +0000 (09:35 +0100)]
Add feature shortcuts matching ci system

These features (shortcuts) do activate the feature set for:
 - the changeset builds (agl-ci-change-features)
 - the snapshot builds (agl-ci-snapshot-features)

Change-Id: I4972f61b070836fedef8e06d32deaf07b8978dfb
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agodra7xx-evm: ti-ipc: get rid of local patches 07/7207/1
Karthik Ramanan [Wed, 16 Nov 2016 15:19:20 +0000 (20:49 +0530)]
dra7xx-evm: ti-ipc: get rid of local patches

The patch that was submitted to meta-agl has been upstreamed.
Remove and reuse from meta-ti.

Change-Id: I269b40fc29913bc192a4d0417b5f6c1af4458d81
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agoREADME-AGL.md: Update links to AGL wiki 91/7191/2
Leon Anavi [Mon, 14 Nov 2016 15:21:52 +0000 (17:21 +0200)]
README-AGL.md: Update links to AGL wiki

Update links to AGL wiki for the getting started
guidelines for QEMU, Renesas Porter board and
Raspberry Pi 2/3.

Change-Id: I39a557d790951232195b369c1b29550a37495ed4
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
7 years agoAdd newlines at end of fragment 87/7187/2
Jan-Simon Möller [Mon, 14 Nov 2016 08:35:45 +0000 (09:35 +0100)]
Add newlines at end of fragment

These are required for proper parsing.

Change-Id: I8ade2d0f96ad73f954cd4fd9908c47088def4d8a
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agotemplates: add R-Car M3 starter kit (w/o gfx) 57/7157/2
Yannick Gicquel [Thu, 10 Nov 2016 15:12:02 +0000 (16:12 +0100)]
templates: add R-Car M3 starter kit (w/o gfx)

Introduce a new template for "m3ulcb" reference design.
This machine is intended to be used in CI process, and does _not_
activate Hw acceleration for graphics or multimedia.

Change-Id: Ia780dee9a4d75133dfe7f98f09d3e876723d05f6
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
7 years agometa-agl-bsp: meta-rcar-gen3: initial integration 55/7155/2
Yannick Gicquel [Thu, 10 Nov 2016 15:04:19 +0000 (16:04 +0100)]
meta-agl-bsp: meta-rcar-gen3: initial integration

Note: optee-os recipe is disable for the moment.

Change-Id: I8881fcc3c794b1cbb479b8e7d61bb86688f78bf9
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
7 years agometa-agl-bsp: backport: gstreamer1.0 v1.4.5 recipes 53/7153/3
Yannick Gicquel [Thu, 10 Nov 2016 13:55:11 +0000 (14:55 +0100)]
meta-agl-bsp: backport: gstreamer1.0 v1.4.5 recipes

This is a backport from Jethro as meta-rcar-gen3 append on following:

- gstreamer1.0-libav_1.4.5
- gstreamer1.0-omx_1.2.0
- gstreamer1.0-plugins-bad_1.4.5
- gstreamer1.0-plugins-good_1.4.5

v2 (jsmoeller): Move into meta-rcar-gen3 subfolder as it only affects that layer.

Change-Id: Iefc9a2c10e76c172f1cb1f8d3babf3544828310e
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agometa-agl-bsp: backport: mesa v10.6.3 recipe 51/7151/3
Yannick Gicquel [Thu, 10 Nov 2016 13:40:14 +0000 (14:40 +0100)]
meta-agl-bsp: backport: mesa v10.6.3 recipe

This is a backport from Jethro as meta-rcar-gen3 append on this package.

v2 (jsmoeller): Move underneath meta-rcar-gen3 as it only affects that layer.

Change-Id: I1c9f94346da919530c359b471429fad9b1b2c661
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agometa-agl-bsp: backport: linuxptp v1.4 recipe 49/7149/3
Yannick Gicquel [Thu, 10 Nov 2016 13:38:48 +0000 (14:38 +0100)]
meta-agl-bsp: backport: linuxptp v1.4 recipe

This is a backport from Jethro as meta-rcar-gen3 append on this package.

v2 (jsmoeller): move to meta-rcar-gen3 subfolder as it only affects that layer

Change-Id: Ic5755342beae2b02a6072d40fc7e8d41596d5b2b
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoAdd firmware for wifi on rpi3 83/7183/1
Jan-Simon Möller [Sun, 13 Nov 2016 20:16:05 +0000 (21:16 +0100)]
Add firmware for wifi on rpi3

This changeset add the firmware files for the wifi to the image.

Change-Id: I3557a50acc3eb80add605fdbdc32fa4af3a747bb
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agodra7xx-evm: switch to different kernel 69/7169/3
Karthik Ramanan [Fri, 11 Nov 2016 14:24:45 +0000 (19:54 +0530)]
dra7xx-evm: switch to different kernel

Also renamed the append file to make it kernel specific.
This kernel will enable more automotive specific usecases
like radio and other adapter boards that will be required
for AGL.

Change-Id: I2259724061f8b47f79fa43a5b65d43c8e025fd3a
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agodra7xx-evm: switch to new u-boot 71/7171/4
Karthik Ramanan [Fri, 11 Nov 2016 14:26:40 +0000 (19:56 +0530)]
dra7xx-evm: switch to new u-boot

This u-boot version will enable specific usecases for
AGL and in general to support additional peripheral
boards

Change-Id: Id08dd74e299a2fc7a28df88c4417e94c06a19293
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agodra7xx-evm: Fix the kernel provider 73/7173/3
Karthik Ramanan [Fri, 11 Nov 2016 14:28:20 +0000 (19:58 +0530)]
dra7xx-evm: Fix the kernel provider

Change-Id: I8f0c1188e268b938c51b1c1eb0272ce6a9f2951d
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agodra7xx-evm: add cmem to enable radio functionality 75/7175/3
Karthik Ramanan [Fri, 11 Nov 2016 14:28:50 +0000 (19:58 +0530)]
dra7xx-evm: add cmem to enable radio functionality

Change-Id: I3c788409f2b8c40abf3ddba48deae999f4a30954
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agodra7xx-evm: add platform specific GStreamer plugins 67/7167/3
Karthik Ramanan [Fri, 11 Nov 2016 08:22:46 +0000 (13:52 +0530)]
dra7xx-evm: add platform specific GStreamer plugins

This patch add the GStreamer plugins for hardware acclerated
multimedia and video post processing functionality.

Change-Id: I4ebed2e183f46f1d7cf1fb47ccec37dc64a026b6
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agodra7xx-evm: platform specific additions for gst-bad 65/7165/3
Karthik Ramanan [Fri, 11 Nov 2016 08:20:02 +0000 (13:50 +0530)]
dra7xx-evm: platform specific additions for gst-bad

This patch introduces certain allocators and sinks that will
use the platform specific components and provide the base
functionality for the GStreamer accelerator plugins.

Change-Id: Iad16f61eefb8c71933efb9109652aed008939203
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agodra7xx-evm: add support for multimedia acceleration 63/7163/3
Karthik Ramanan [Fri, 11 Nov 2016 08:12:19 +0000 (13:42 +0530)]
dra7xx-evm: add support for multimedia acceleration

TI Jacinto 6 has hardware multimedia acceleration capability.
This patch introduces the firmware and IPC components that
are needed to control the hardware accelerators.

Change-Id: I795c820f9bb87dd77ad227ce7c80f879dd935e54
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
7 years agoFix Weston crash on touchscreen input 77/7177/3
Dennis Field [Fri, 11 Nov 2016 16:10:04 +0000 (11:10 -0500)]
Fix Weston crash on touchscreen input

Check for touch->focus before using it, as some touchscreens will generate
out-of-screen coordinates and cause touch->focus to be NULL. (e.g. Raspberry Pi
display, some displays after weston-calibrator)

Bug-AGL: SPEC-309

Upstream-Status: Backport [https://cgit.freedesktop.org/wayland/weston/commit/src/input.c?id=2c40d1d30eabe46706822a8b5c94579aeba58e84]

Change-Id: I01b5cf7fd95275290544dffba2771619b1488dff
Signed-off-by: Dennis Field <dennisf@radiosound.com>
8 years agoAdd ota draft for ota image 79/7179/1
Jan-Simon Möller [Sat, 12 Nov 2016 09:54:46 +0000 (10:54 +0100)]
Add ota draft for ota image

Change-Id: I953bca77105e5470362baa97e4e5ae0061b4d2ae
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoweston: Set XDG_RUNTIME_DIR for fsl-arm 29/7129/4
Dennis Field [Wed, 9 Nov 2016 20:55:05 +0000 (15:55 -0500)]
weston: Set XDG_RUNTIME_DIR for fsl-arm

Without this environment variable, Weston fails to start on Wandboard

Bug-AGL: SPEC-318

Change-Id: I42696f45d9a9b78dfeea905d3c5066845056894e
Signed-off-by: Dennis Field <dennisf@radiosound.com>
8 years agometa-agl-bsp/meta-renesas: weston.ini for Reneses 47/7147/3
Leon Anavi [Thu, 10 Nov 2016 14:49:21 +0000 (16:49 +0200)]
meta-agl-bsp/meta-renesas: weston.ini for Reneses

Add weston.ini with preconfigured but commented
out screen resolutions in the output section.
Weston 1.9 with DRM backend on Renesas Porter
board is known to be picky about monitors and
screen resolutions. This way the developer can
quickly switch to another configuration if the
default fails on the current monitor. This patch
should be considered as a temporary work around
until there is a generic solution.

Bug-AGL: SPEC-298

Change-Id: I772945a083ef4cab240c49e03c5f0cf1172a6ab2
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agooic: Rebase on iotivity maintenance branch for aarch64 59/7159/2
Philippe Coval [Thu, 10 Nov 2016 18:04:18 +0000 (19:04 +0100)]
oic: Rebase on iotivity maintenance branch for aarch64

To pick:

    yocto: Add aarch64 for DragonBoard-410c
    Reviewed-on: https://gerrit.iotivity.org/gerrit/14185
    Forwarded, to meta-oic maintainer

Even if meta-oic is not a BSP,
 meta-agl-bsp  will include this recipe's fix
 everywhere meta-oic is used (ie: meta-agl-demo).

Bug-AGL: SPEC-158

Change-Id: Ic2cb1b7ff757118d1b535d91649c361831be5f60
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
8 years agodra7xx-evm: add support for graphics acceleration 37/7137/2
Karthik Ramanan [Thu, 10 Nov 2016 11:21:08 +0000 (16:51 +0530)]
dra7xx-evm: add support for graphics acceleration

TI Jacinto 6 has a 3D GPU that can used to accelerate the graphics
processing requests. This patch replaces the default graphics
drivers and user space libraries only for the dra7xx-evm MACHINE

Change-Id: I1a53594f0fa4dc8fabd16f9ce2c765dd32b9e142
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
8 years agoFTBS: himeno - remove from packagegroup until fixed 17/7117/2
Jan-Simon Möller [Wed, 9 Nov 2016 11:01:18 +0000 (12:01 +0100)]
FTBS: himeno - remove from packagegroup until fixed

Change-Id: I62ddb3b512862301f8ff94fcec3fa9d7bbd50a93
Bug-AGL: SPEC-316
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoAllow .bb files in meta-agl-bsp/meta-layername 19/7119/1
Jan-Simon Möller [Wed, 9 Nov 2016 11:36:34 +0000 (12:36 +0100)]
Allow .bb files in meta-agl-bsp/meta-layername

This change allows hosting full recipes in the bsp adaptation layers
if needed.

Required by meta-ti until recipes are moved to meta-ti proper.

Change-Id: I91a050405f2be314c0eb988ba932dae88d4e624d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoallow dependency between agl feature 59/6959/5
Ronan [Tue, 1 Nov 2016 13:24:33 +0000 (14:24 +0100)]
allow dependency between agl feature

  * you can add included.inc file for each feature
  * if features is include into an other feature,
    they are print during the --help command

  #source meta-agl/scripts/aglsetup.sh -h
   ...
  Available features:
   [meta-agl]
       agl-all-features :( agl-demo  agl-appfw-smack  agl-devel  agl-netboot  agl-sota )
       agl-archiver
       agl-devel
       agl-isafw
       agl-netboot
   [meta-agl-devel]
       agl-renesas-kernel
   [meta-agl-extra]
       agl-appfw-smack
       agl-demo :( agl-appfw-smack agl-devel)

Change-Id: I4a72abd48f70a9262203acba84fac24d9dd4dce0
Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
8 years agoFix packagegroup as hvacplugin was moved to meta-agl-demo 81/7081/1
Jan-Simon Möller [Tue, 8 Nov 2016 11:25:05 +0000 (12:25 +0100)]
Fix packagegroup as hvacplugin was moved to meta-agl-demo

This updates the packagegroup after changeset 6797
(git commit 81e54e7ff9f51b4c3f4d66e748e92959e28351fe)
which moves hvacplugin to meta-agl-demo.

Change-Id: I420bc101cde668713830347e07cca5ed0c41bdb3
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoAdd u-boot image class when sota feature is enabled 01/7001/1
Anton Gerasimov [Fri, 4 Nov 2016 11:08:46 +0000 (12:08 +0100)]
Add u-boot image class when sota feature is enabled

Change-Id: I7ad6fc95f4252424ded09bc1d6d5ab18bf6733fd
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
8 years agoGenerate OTA-enabled live image when building with agl-sota 73/6973/2
Anton Gerasimov [Wed, 2 Nov 2016 11:07:22 +0000 (12:07 +0100)]
Generate OTA-enabled live image when building with agl-sota

Bug-AGL: SPEC-307

Change-Id: I5ac3c3dad370545a33ce81071a4a15cdb261fa7a
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
8 years agoBugfix: conditional append instead of appending to override 91/6991/1
Anton Gerasimov [Wed, 2 Nov 2016 16:59:45 +0000 (17:59 +0100)]
Bugfix: conditional append instead of appending to override

Change-Id: I337876d9d5311618efd3e5a627724801de0acd6c
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
8 years agoAutoload uEnv.txt when agl-sota is enabled 79/6979/1
Anton Gerasimov [Wed, 2 Nov 2016 14:24:51 +0000 (15:24 +0100)]
Autoload uEnv.txt when agl-sota is enabled

Bug-AGL: SPEC-307

Change-Id: Ide9d4ba013c65cd8162d005006ffe59b0dacddcd
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
8 years agoMove RPi specific bbappends to meta-agl-bsp 55/6955/2
Anton Gerasimov [Mon, 31 Oct 2016 17:09:20 +0000 (18:09 +0100)]
Move RPi specific bbappends to meta-agl-bsp

Bug-AGL: SPEC-254

Change-Id: I1904b7e9ec09d5e9f5acc7a3d4671da9e2dccbb3
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
8 years agoUse kernel_configure_variable in append for rpi 41/6941/3
Jan-Simon Möller [Fri, 28 Oct 2016 17:07:32 +0000 (19:07 +0200)]
Use kernel_configure_variable in append for rpi

This changeset simplifies the configuration of the rpi kernel
by using kernel_configure_variable in do_configure_append.
Due to an upstream bug, we need to repeat the final configuration call.

We also enable BLK_DEV_RAM, BLK_DEV_NBD and SMACK.

For this we also define an OVERRIDE for netboot.

v2: add conditional appends for netboot, sota, smack by using overrides.

Change-Id: I2a4a8fae6989246d715fc2fc71bb4c251f423bdb
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoMove machine-dependent sota configuration to machine templates 33/6933/3
Anton Gerasimov [Fri, 28 Oct 2016 10:45:15 +0000 (12:45 +0200)]
Move machine-dependent sota configuration to machine templates

Change-Id: Icb03b2163d7e36a54f27bee78570240c5d337107
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
8 years agoremove powervr service from generic weston service 25/6925/1
Ronan [Fri, 28 Oct 2016 08:32:23 +0000 (10:32 +0200)]
remove powervr service from generic weston service

 * rc.pvr.service is renesas porter board specific
   and should not be present into generic weston service

Change-Id: Id866dd57607d105260e0595bf297ec1b9da72047
Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
8 years agoEnable smack, ramdisk and nbd in linux-staging-ti kernel 05/6905/2
Jan-Simon Möller [Thu, 27 Oct 2016 09:16:01 +0000 (11:16 +0200)]
Enable smack, ramdisk and nbd in linux-staging-ti kernel

This changeset enables the necessary features for AGL in the linux-ti-staging kernel
by using configuration fragments. These are additive to the configuration matrix
done by linux-ti-staging itself (per board).
Apply likewise for other needed options.

Change-Id: Iebd212ca81f1c6a7f65f1f413f2021aa11f8190e
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agomove Bug-AGL fix from a bb to bbappend file. 03/6903/2
Ronan [Wed, 26 Oct 2016 14:46:24 +0000 (16:46 +0200)]
move Bug-AGL fix from a bb to bbappend file.

 * move Fix on weston "Launch without input devices" from a backport recipes,
   (weston 1.9.0) to a clean bbappend.

Change-Id: I8dab2928c3e291969548107e22fd8b29cabffc6b
Signed-off-by: Ronan <ronan.lemartret@iot.bzh>
8 years agoGeneralize EULA functions and apply to imx6qsabrelite 99/6899/1
Jan-Simon Möller [Wed, 26 Oct 2016 10:20:45 +0000 (12:20 +0200)]
Generalize EULA functions and apply to imx6qsabrelite

This change generalizes the *_setup_EULA*.sh scripts to work with custom layouts.
The 50_setup.sh of the machine template just needs to call
find_and_ack_eula <layerfolder> [<EULA_FILENAME_relative_to_layerfolder>]

The EULA_FILENAME is optional.

Also an optional EULA_FLAG_NAME can be exported which will be used
for the layer.conf.
If no EULA_FLAG_NAME is set, we'll default to the current
ACCEPT_EULA_$MACHINE.

Change-Id: I03a4551e1cf088dce0b13aa5e38f606d67e0fb29
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoAdd sabrelite template 83/6883/2
Jan-Simon Möller [Tue, 25 Oct 2016 12:41:47 +0000 (14:41 +0200)]
Add sabrelite template

This changeset adds the imx6qsabrelite board to the mix.
It will be used in snapshot builds and tests in the lava lab
provided by Andrew Murray / Witekio .

Change-Id: Iefc120beeaa14454779ae08c4cd0ff226ce64e73
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoAdd archiver and isafw as features 77/6877/1
Jan-Simon Möller [Tue, 25 Oct 2016 11:04:20 +0000 (13:04 +0200)]
Add archiver and isafw as features

This commit adds two new features agl-archiver which
includes and configures the source archiver (snapshot builds)
and agl-isafw which includes and enables the isafw.

Proposed by Stéphane.

Change-Id: I1b38f08ce6f2e936f284d44510c512bee105751f
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoweston: Launch even without input devices 71/6871/2
Leon Anavi [Mon, 24 Oct 2016 12:24:57 +0000 (15:24 +0300)]
weston: Launch even without input devices

Launch Weston even if there are no input devices
such a keyboard or a mouse.

Bug-AGL: SPEC-297

Change-Id: I3187b310b1024ef77d4696a06b325bface5de2b3
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agoAdding support for systemd-boot (or ex-gummyboot) on top of grub 63/6863/4
Dominig ar Foll [Sun, 23 Oct 2016 16:04:53 +0000 (18:04 +0200)]
Adding support for systemd-boot (or ex-gummyboot) on top of grub

Change-Id: I3e3306ec9c8b2cd898beb779bbbade235a83901e
Signed-off-by: Dominig ar Foll <dominig.arfoll@fridu.net>
8 years agoMake weston variables machine-specific 61/6861/2
Jan-Simon Möller [Fri, 21 Oct 2016 15:12:36 +0000 (17:12 +0200)]
Make weston variables machine-specific

These variables need to be conditional to qemu* (intel-corei7??) and
should not pollute other targets.

Use OVERRIDES here to avoid cut-n-paste.

Change-Id: I6eec3de2da0143c0a3ee40beaf73ba77acfe0a3d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoagl-audio-plugin: move sources to AGL staging repository 37/6837/1
Yannick Gicquel [Thu, 20 Oct 2016 12:23:11 +0000 (14:23 +0200)]
agl-audio-plugin: move sources to AGL staging repository

Change-Id: Ic7f55de6b1cdaa5cb2daa627905ee7e35f847dfb
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
8 years agoFix u-boot bbappend for vayu board 19/6819/1
Jan-Simon Möller [Wed, 19 Oct 2016 18:59:21 +0000 (20:59 +0200)]
Fix u-boot bbappend for vayu board

Change-Id: Ic6d76c389b6eadb2d31f91593a927baefb1cd819
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agorecipes-automotive: move hvacplugin package to meta-agl-demo 97/6797/2
Stephane Desneux [Tue, 18 Oct 2016 16:46:56 +0000 (16:46 +0000)]
recipes-automotive: move hvacplugin package to meta-agl-demo

hvacplugin is used only for demos using legacy AMBd

Change-Id: Ifc3e6523b6f5a1a45e1d29c5a7b45fc5690f3d36
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
8 years agoAdd shortcut to enable all features 03/6803/2
Jan-Simon Möller [Tue, 18 Oct 2016 20:50:48 +0000 (22:50 +0200)]
Add shortcut to enable all features

This change introduces an  agl-all-features  flag.
It is basically a feature that will enable a list of
'known-good' features from an included file.

It is meant to serve two purposes:
- simplify automation scripts
- ease-of-use for users building the whole set of features

Change-Id: Ia962d6ec8a6c6345fb27e303cabbf805e729a8ca
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoFix bug of himeno recipe 77/6777/3
NuoHan Qiao [Fri, 14 Oct 2016 08:45:06 +0000 (16:45 +0800)]
Fix bug of himeno recipe

The Makefile hardcods gcc as compiler, then it will be
compiled into wrong format. SO remove it.

Change-Id: I3ab4271d26b4e8cdd2b38aa05421a3dde002297c
Signed-off-by: NuoHan Qiao <qiaonuohan@cn.fujitsu.com>
8 years agoRename meta-yocto to meta-poky as done in upstream 05/6805/2
Jan-Simon Möller [Tue, 18 Oct 2016 20:52:15 +0000 (22:52 +0200)]
Rename meta-yocto to meta-poky as done in upstream

Upstream renamed meta-yocto to meta-poky.
Thus rename it in our bblayers.conf.sample file, too.

Change-Id: I8d88592ef6e4ca8d673cef4592a21de0326d2807
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoFix aglsetup always succeeded regardless of whether errors or not 07/6807/2
Tadao Tanikawa [Tue, 18 Oct 2016 23:01:53 +0000 (01:01 +0200)]
Fix aglsetup always succeeded regardless of whether errors or not

The aglsetup is always succeeded regardless of whether
got errors while executing sub scripts or not.

This is caused by following script.
  call_func 2>&1 | tee xxxx.log

The result of this line always becomes 0 (succeeded) by
result of command 'tee'.

The '$PIPESTATUS[]' should be used for this case.

Change-Id: I67bf0dbc86331ec7858bd8edb4739a5e7729275b
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
8 years ago50_local.conf.inc: Create rpi-sdimg for agl-sota 23/6723/1
Leon Anavi [Sat, 8 Oct 2016 00:03:47 +0000 (03:03 +0300)]
50_local.conf.inc: Create rpi-sdimg for agl-sota

Ensure that rpi-sdimg is created for Raspberry Pi
2 and 3 if feature agl-sota is enabled.

Bug-AGL: SPEC-254

Change-Id: I03ccf0851bdefdbd4e279b979163c225d2be9500
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agoFix freetype recipe to build ft2demos again 21/6721/3
Jan-Simon Möller [Thu, 6 Oct 2016 22:11:35 +0000 (00:11 +0200)]
Fix freetype recipe to build ft2demos again

This changeset fixes SPEC-261 [1]

The recipe relies on ${B} = ${S} and
ft2demos needs to find the right libtool.

Therefore we remove the hardcoded LIBTOOL in the makefile.
LIBTOOL is already set and imported through config.mk

v2: replaced sed with patch

[1] https://jira.automotivelinux.org/browse/SPEC-261

Change-Id: I25f472a1774b0e7922828271117e96bf254e4b59
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years ago50_local.conf.inc: Fix agl-sota feature for rpi2 19/6719/1
Leon Anavi [Thu, 6 Oct 2016 13:47:31 +0000 (16:47 +0300)]
50_local.conf.inc: Fix agl-sota feature for rpi2

Use "+=" instead of "=" for setting IMAGE_CLASSES
in Raspberry Pi 2 template for local.conf to
prevent failure while building images with
enabled agl-sota feature. The same fix has been
already applied to the Raspberry Pi 3 template.
Unfortunately, although with this fix the build
passes successfully, rpi-sdimg image is not
created.

Change-Id: I9a6e3e4742b0226d962b295b43bbc467d3f0fc77
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agoUpdate recipe for LTP to 20160920 from 20160510 13/6713/1
Kotaro Hashimoto [Thu, 6 Oct 2016 01:38:34 +0000 (10:38 +0900)]
Update recipe for LTP to 20160920 from 20160510

Update recipe for LTP as bbappend.
The LTP version is changed to 20160920 from 20160510.

Change-Id: Ic4ab308910aaafa37ee52504d419646512609351
Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
8 years agoadding mkefi-agl.sh create boot devices from AGL images for UEFI boot 05/6705/3
Dominig ar Foll [Wed, 5 Oct 2016 09:27:34 +0000 (11:27 +0200)]
adding mkefi-agl.sh create boot devices from AGL images for UEFI boot

Change-Id: I0e89fc869c048d6bd1b49904a683f645ca51ebec
Signed-off-by: Dominig ar Foll <dominig.arfoll@fridu.net>
8 years ago50_local.conf.inc: Fix agl-sota feature for rpi3 09/6709/1
Leon Anavi [Wed, 5 Oct 2016 16:03:00 +0000 (19:03 +0300)]
50_local.conf.inc: Fix agl-sota feature for rpi3

Use "+=" instead of "=" for setting IMAGE_CLASSES
in Raspberry Pi 3 template for local.conf to
prevent failure while building images with
enabled agl-sota feature.

Bug-AGL: SPEC-254

Change-Id: I5384376908b7ceac1e03a4afff7b9d617e8a379b
Suggested-by: Anton Gerasimov <anton@advancedtelematic.com>
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agopackagegroup: agl-audio-plugin ported to pulseaudio-8.0 99/6699/2
Yannick Gicquel [Mon, 3 Oct 2016 15:05:57 +0000 (17:05 +0200)]
packagegroup: agl-audio-plugin ported to pulseaudio-8.0

Change-Id: Ia987b1e5fa8f16faaf6b3b9e69524a793c935cf3
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
8 years agoEnable the DRM backend for Weston on QEMU-x86/x86-64 83/6683/3
Tadao Tanikawa [Mon, 3 Oct 2016 12:18:52 +0000 (21:18 +0900)]
Enable the DRM backend for Weston on QEMU-x86/x86-64

The DRM backend is the native Weston backend for systems that
support the Linux kernel DRM, kernel mode setting(KMS), and evdev
input devices.

This patch set the DRM backend as default and also enable bochs
display vga interface for qemu std vga.

To use the DRM backend for Weston, the option "-vga std" should be
set into qemuparams for runqemu script, like below:

    qemuparams="-vga std"

Change-Id: I04591999a0a3f7205e42585150e8f50e7414f9ac
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
8 years agoagl-audio-plugin: update for pulse 8.0 97/6697/2
Yannick Gicquel [Mon, 3 Oct 2016 15:00:36 +0000 (17:00 +0200)]
agl-audio-plugin: update for pulse 8.0

Change-Id: I72b8d8c7e31205e40665ff63be1c31c085da1816
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
8 years agoRemove backport for useradd classes 93/6693/2
Jan-Simon Möller [Mon, 3 Oct 2016 22:09:14 +0000 (00:09 +0200)]
Remove backport for useradd classes

The krogoth branch has the fix backported now.

Change-Id: I8f6ad125ef4614b02cd8f10c5c29eec0fd2fd53c
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agopulseaudio: add volumeramp patchset 95/6695/1
Yannick Gicquel [Mon, 3 Oct 2016 14:57:59 +0000 (16:57 +0200)]
pulseaudio: add volumeramp patchset

Those patchs are a rebased version of patchset:
https://lists.freedesktop.org/archives/pulseaudio-discuss/2016-August/026797.html

Change-Id: I367686217a2af409c46c2aab0be62c01a058d2f1
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
8 years agoconf/layer.conf: Update meta-agl-bsp priority 51/6651/2
Leon Anavi [Wed, 28 Sep 2016 13:26:54 +0000 (16:26 +0300)]
conf/layer.conf: Update meta-agl-bsp priority

Increase the priority of Yocto/OE layer
meta-agl-bsp to 10 because meta-raspberrypi has
priority 9.

Bug-AGL: SPEC-254

Change-Id: Ibd020b432b2865c5bb00fb2d7a56840a2c1e2cef
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agowandboard/50_bblayers.conf.inc: Fix typo 55/6655/2
Leon Anavi [Wed, 28 Sep 2016 15:11:07 +0000 (18:11 +0300)]
wandboard/50_bblayers.conf.inc: Fix typo

Fix typo by replacing "meta-fsm-arm-extra" with
"meta-fsm-arm-extra".

Bug-AGL: SPEC-256

Change-Id: I7fdb84dc92d19a1d585bae6660accf106b5c4512
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agoAdd bbappend file for available glmark2 on wayland 47/6647/2
Yuta Doi [Wed, 28 Sep 2016 07:39:28 +0000 (16:39 +0900)]
Add bbappend file for available glmark2 on wayland

Add bbappend file of glmark2 for using it on wayland.
If you want to use glmark2, please see the following step:
  1. Add IMAGE_INSTALL_append in conf/local.conf
     >      IMAGE_INSTALL_append = " \
     >          glmark2 \
     >      "

  2. Bitbake image such as agl-demo-platform.

  3. Power up the board with created image in step 2.

  4. [on board] Modify /etc/xdg/weston/weston.ini
                for switching ivi-shell to desktop-shell
     >      [core]
     >      shell=ivi-shell.so
              ↓
     >      [core]
     >      shell=desktop-shell.so

  5. [on board] Restart weston.service
     >      # systemctl restart weston.service

  6. [on board] Execute glmark2
     >      # glmark2-es2-wayland

Change-Id: I8c6c839f4a1e0099b118f33fe3aa824a6c922e8b
Signed-off-by: Yuta Doi <yuta-d@witz-inc.co.jp>
8 years agoExtend glob on meta-agl-bsp to support more boards. 45/6645/2
Jan-Simon Möller [Tue, 27 Sep 2016 13:26:46 +0000 (15:26 +0200)]
Extend glob on meta-agl-bsp to support more boards.

rpi and fsl* use a BBFILE_COLLECTIONS value w/o meta.
Extend the statement to include these cases.

Change-Id: I2d01bd30b40a01df298b1842944596f588f77ae9
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agomesa_%.bbappend: Remove dependency from libomxil 39/6639/1
Leon Anavi [Mon, 26 Sep 2016 09:54:56 +0000 (12:54 +0300)]
mesa_%.bbappend: Remove dependency from libomxil

Remove proprietary components such as libomxil
which require setting
LICENSE_FLAGS_WHITELIST = "commercial".

Bug-AGL: SPEC-254

Change-Id: I93afadcaf70de8c0af23466efa7a4e3ef45d20b6
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agoKeep IMAGE_INSTALL_appends_porter concentrated in local.conf 31/6631/2
Jan-Simon Möller [Mon, 26 Sep 2016 02:24:01 +0000 (04:24 +0200)]
Keep IMAGE_INSTALL_appends_porter concentrated in local.conf

This saves an extra bbappend file which is dangling when we do try to build for porter-nogfx.

Change-Id: I519670f61da21ea7cd0bf40090d36934a83a56d6
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoFix layer name in template for rpi 29/6629/1
Jan-Simon Möller [Mon, 26 Sep 2016 02:16:29 +0000 (04:16 +0200)]
Fix layer name in template for rpi

The layer name was wrong in the bblacers.conf.inc - fixed.

Change-Id: I97cc7ba0de0c144180da070c0187259b2fac03e4
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoUpdate rpi templates after recipe update 07/6607/3
Jan-Simon Möller [Fri, 23 Sep 2016 18:22:54 +0000 (20:22 +0200)]
Update rpi templates after recipe update

This integrates the changes mentioned in the wiki
https://wiki.automotivelinux.org/agl-distro/agl-raspberrypi?rev=1474470047

so we can simplify it to a simple '-m raspberrypi2' or '-m raspberrypi3'.

The license whitelist is commented-out for now.

Change-Id: I77a5bd97c9b671c3a4da78482ca70f68e08e4877
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoFix meta-netboot build on Minnowboard Max after migration to Krogoth 01/6601/3
Stephane Desneux [Fri, 23 Sep 2016 15:21:57 +0000 (15:21 +0000)]
Fix meta-netboot build on Minnowboard Max after migration to Krogoth

The live images use now INITRD_IMAGE_LIVE and INITRD_LIVE variables to
specify the name for the initramfs image to build and add to hdd image.

Change-Id: I5593e0cb978db8e9cecb283804c9c6e65a34a57f
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
8 years agoweston: Set XDG_RUNTIME_DIR for Raspberry Pi 91/6591/2
Leon Anavi [Thu, 22 Sep 2016 13:29:09 +0000 (16:29 +0300)]
weston: Set XDG_RUNTIME_DIR for Raspberry Pi

Set environment variable XDG_RUNTIME_DIR and fix
Weston on Raspberry Pi 2/3 through script
/etc/profile.d/weston.sh.

Change-Id: Ie561623641f287e1ec911a5813c2cff225af4977
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agoweston: Use drm-backend.so for Raspberry Pi 89/6589/2
Leon Anavi [Thu, 22 Sep 2016 13:23:55 +0000 (16:23 +0300)]
weston: Use drm-backend.so for Raspberry Pi

Replace weston.ini configration for Raspberry Pi
and use drm-backend.so as a backend for Weston.

Change-Id: I8acedd63fc0a124e4f369609270094c76b7e7f88
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agometa-raspberrypi: AGL support for Raspberry Pi 87/6587/2
Leon Anavi [Thu, 22 Sep 2016 12:00:46 +0000 (15:00 +0300)]
meta-raspberrypi: AGL support for Raspberry Pi

Yocto/OE layer that extends the recipes for mesa
and the supported Linux kernel for Raspberry Pi
for successful build of AGL with Wayland, Weston
and Qt. It is based on the existing ports of
Tizen and GENIVI Development Platform for
Raspberry Pi.

Change-Id: Icfed9e888c2abaf26c14ab402d0a90215862afbd
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
8 years agoUpdate useradd overlays in meta-agl 25/6625/2
Jan-Simon Möller [Sat, 24 Sep 2016 14:23:42 +0000 (16:23 +0200)]
Update  useradd overlays in meta-agl

It turns out there is an escaping fix in yocto master
not yet backported to krogoth.

https://bugzilla.yoctoproject.org/show_bug.cgi?id=10062

Change-Id: Ia08fa024b3b5372e2fb792c4d0ab1a053e1f5745
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoagl-devel: add less and lsof 73/6573/1
Yannick Gicquel [Wed, 21 Sep 2016 08:35:12 +0000 (10:35 +0200)]
agl-devel: add less and lsof

Those tools can be useful while debugging on target.

Change-Id: I6015985356c4c3d70866316ef3f9d4a70af717ab
Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
8 years agoSet INITRAMFS_IMAGE instead of appending to it 55/6555/1
Anton Gerasimov [Wed, 14 Sep 2016 10:11:37 +0000 (12:11 +0200)]
Set INITRAMFS_IMAGE instead of appending to it

Bug-AGL: SPEC-250

Change-Id: I76fbc1d8674807c247bb4aaadd70d71a13097491
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
8 years agoFix issue that pulseaudio freezes when pausing audio 39/6339/3
Tadao Tanikawa [Wed, 10 Aug 2016 11:55:25 +0000 (20:55 +0900)]
Fix issue that pulseaudio freezes when pausing audio

This patch is ported from Debian/Ubuntu.

When using glibc-2.21 or later on linux kernel < 3.14.3,
this issue should be reproduced.

Original patch is here:
https://sources.debian.net/patches/glibc/2.22-5/arm/local-arm-futex.diff/

AGL needs this patch because the version of kernel for
porter board is 3.10 (later kernel is not supported).

This patch and recipe is a provisional until upstream
(poky) would be fixed.

Thanks Isogai-san to find and test this patch.

v2: changed bbappend to use SRC_URI_append_arm
    and used glibc_2.2%.bbappend as wildcard for glibc version
    (jsmoeller)

Change-Id: I4a2a0ad8fe3927000b6826e0b1bcd214cf8c92b6
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agoaglsetup.sh: handle machines/features from any layer 51/6551/1
Stephane Desneux [Fri, 9 Sep 2016 13:53:37 +0000 (13:53 +0000)]
aglsetup.sh: handle machines/features from any layer

This patch allows the setup script called by scripts/aglsetup.sh to
search for available machines and features in all repositories located
in the meta directory (the directory where meta-agl has been cloned).

In particular, this now allows to specify a machine or a feature located
in meta-agl-devel.

Important note: duplicate machines or features in different layers
are detected and forbidden (script fails with error) to avoid any ambiguity.

Change-Id: If55105a05889ca95da856d65986a86f4ef5f4b2c
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
8 years agoChanges for building with YP 2.1.1 'krogoth' 35/6535/2
Jan-Simon Möller [Thu, 1 Sep 2016 21:22:37 +0000 (23:22 +0200)]
Changes for building with YP 2.1.1 'krogoth'

    Notable changes:
    - Update poky-agl.conf for YP 2.1 krogoth
    - change mesa bbappend to mesa_11  - TODO: check need for gallium, or replace with DRM see SPEC-237
    - remote linux-yocto_3.14  as it is no longer shipped with YP 2.1
    - rtl-sdr got a fix included for its packageconfig file
    - update 0001-disable-when-booting-over-nfs.patch
    - update checksums for ft2demo  - TODO: check installation of test binaries
    - automotive-message-broker needed a workaround in the recipe  -  TODO: fix package and recipe
    - wayland-ivi-extension fix for use of autotools _AND_ cmake at the same time: only use cmake
    - port pulseaudio_6.0.bbappend to pulseaudio_8.0.bbappend  -  TODO: check patches and forward-port
    - agl-audio-plugin is currently disabled until ported to pulseaudio 8.0
    - gstreamer1.0_1.2.3 is only used by meta-renesas, thus move it there
    - update dlt-daemon to 2.15

    TODO:
    - check values in poky-agl.conf
    - check mesa for needed bbappends on other boards (tested qemux86 and qemux86_64)
    - check pulsaudio bbappend and forward-port patches (patches disabled!)
    - check agl-audio-plugin and forward-port (build disabled!)
    - check freetype bbappend wrt. installation path of test binaries
    - check automotive-message-broker wrt installation routines for libraries (QA failure)
    - check wayland-ivi-extension build and capabilities

Change-Id: I553e03cc37348cba2fc4a022820157c78bb184d3
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
8 years agometa-netboot: add 256MB of extra space in generated rootfs 19/6519/2
Stephane Desneux [Thu, 1 Sep 2016 07:16:26 +0000 (07:16 +0000)]
meta-netboot: add 256MB of extra space in generated rootfs

By default, only 16MB are added but this is not sufficient for
most test cases: for example, installing an application with its
data bigger than 16MB is impossible.

Change-Id: Ife6d7f09ea5acaadff5b54aaad15a31e26a35d31
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>