AGL/meta-agl.git
6 years agoPrepare for eel rc3 release 49/12149/2 4.99.3 eel/4.99.3 eel_4.99.3
Jan-Simon Möller [Sun, 26 Nov 2017 21:23:09 +0000 (22:23 +0100)]
Prepare for eel rc3 release

Change-Id: I0adcb275bca01ef7e32d6c0d6fdfabdf078e0bfc
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12149
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

6 years agoaglsetup: exit with error if fragment script fails 11/12111/2
Stephane Desneux [Thu, 23 Nov 2017 13:57:50 +0000 (14:57 +0100)]
aglsetup: exit with error if fragment script fails

Bug-AGL: SPEC-1002

Change-Id: I93407ca24c67b6b7c4e9aa09325fbf78d01f1c64
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12111
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoRemove obsolete examples 17/12017/2
José Bollo [Thu, 16 Nov 2017 08:26:32 +0000 (09:26 +0100)]
Remove obsolete examples

At this time, many demo examples are available
to demonstrate use of AGL framework.

Keeping these obsoletes examples introduces confusion.
Maintaining these examples is possible but not done
from what I see.

In conclusion, removing it is much cleaner.

Change-Id: I29a68eabf48a72d4a681de9b641da72f647ffbac
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12017
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoAdd sota support for Renesas R-Car M3 91/12091/4
Anton Gerasimov [Wed, 22 Nov 2017 11:01:42 +0000 (12:01 +0100)]
Add sota support for Renesas R-Car M3

Everything for R-Car M3 support is in place, just DISTRO_FEATURES 'sota'
was missing.

Change-Id: Ib22ee4ace894ff5426ba4f06c7ec8bd208cb4e5f
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12091
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoafm-main: use AGL_BRANCH for naming package 89/12089/2
José Bollo [Wed, 22 Nov 2017 10:55:59 +0000 (11:55 +0100)]
afm-main: use AGL_BRANCH for naming package

Change-Id: I7ac64017cf21a0a29d6fa60ab12ab260589a1d50
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12089
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoaf-binder-devtools: Align to use app-framework-binder repo 59/12059/4
José Bollo [Mon, 20 Nov 2017 17:08:29 +0000 (18:08 +0100)]
af-binder-devtools: Align to use app-framework-binder repo

The development tools of af-binder are better provided by
af-binder itself in the repository app-framework-binder.
This is better for support and evolution.

Bug-AGL: SPEC-941

Change-Id: Ib283c36bc6194f793fd61c7844191e3187fe3bed
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12059
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoRework Linux Kernel fragment applications 63/12063/3
Tom Rini [Fri, 3 Nov 2017 19:29:15 +0000 (15:29 -0400)]
Rework Linux Kernel fragment applications

- All kernel recipes must inherit linux-agl.inc
- All kernel recipes for a given version (e.g. 4.9) should include
  linux-VER-agl.inc in order to avoid duplication (such as the SMACK
  label patch or security fixes)
- We enforce having merge_config.sh be invoked at the end, in order to
  make sure fragments will be applied.
- Add a new fragment for Raspberry Pi to ensure the Pi Touchscreen is
  still enabled.

With all of the above, we fix a number of minor issues as well, such as
platforms manually enabling NBD/RAMDISK for netboot as the previous
logic was not working in all cases.

Bug-AGL: SPEC-946
Change-Id: Ic688e899df5861d83712af12d8e1c6c3c9643300
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12063
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: José Bollo <jobol@nonadev.net>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoMove genskel to af-binder-tools recipes 33/12033/6
Jan-Simon Möller [Fri, 17 Nov 2017 05:23:32 +0000 (06:23 +0100)]
Move genskel to af-binder-tools recipes

This change fixes SPEC-941 and the HAL build by providing the needed
afb-genskel for build by recipe and as part of the SDK.

v2: move to af-binder folder and align naming to af-binder-devtools
    add nativesdk-af-binder-devtools to packagegroup nativesdk-packagegroup-sdk-host
    add af-binder-devtools-native to packagegroup packagegroup-agl-app-framework

v3: move af-binder-devtools-native to aglwgt as DEPENDS as there is no -native package
    to add to the packagegroup-agl-app-framework

Bug-AGL: SPEC-941

Change-Id: Iae3c8d958000623b1c84db896307032f5033477d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12033
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

6 years agoaf-binder: Fix autolock in protocol 41/12041/3
José Bollo [Fri, 17 Nov 2017 16:25:29 +0000 (17:25 +0100)]
af-binder: Fix autolock in protocol

A lock happened when a binding made a synchronous call
in an event callback.

Bug-AGL: SPEC-1091

Change-Id: I33793ff6755c339308a418fbd93b43227ca1cec2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12041
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agomxml: disable SECURITY_CFLAGS 99/11999/2
Scott Murray [Thu, 16 Nov 2017 03:09:11 +0000 (22:09 -0500)]
mxml: disable SECURITY_CFLAGS

The mxml shared library was failing to link on x86-64, disable the
SECURITY_CFLAGS on it for now until we can contact upstream and get
the underlying issue addressed.

Change-Id: I53578544222294119f4141ccc4dfa28d2737983b
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11999
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoFix: wrong config.xml used to build widget 61/11961/2
Romain Forlot [Tue, 14 Nov 2017 15:47:18 +0000 (15:47 +0000)]
Fix: wrong config.xml used to build widget

Change-Id: I3c5936c4c9b1f8de58ea912482e7b5d8ddc5eedd
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11961
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoRemove unused and/or obsolete default binding from image 03/11903/2
José Bollo [Mon, 13 Nov 2017 14:38:35 +0000 (15:38 +0100)]
Remove unused and/or obsolete default binding from image

Remove the systematic bindings:
* af-binder-binding-afb-dbus-binding because not used
* af-binder-binding-authlogin because obsolete and not used

Change-Id: I351128c44a4f375cff22ff0a1f631d0a5dfa58b1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11903
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoAdd Logicool G29 steering wheel kernel config 19/11919/2
Yuichi Kusakabe [Tue, 14 Nov 2017 03:51:11 +0000 (12:51 +0900)]
Add Logicool G29 steering wheel kernel config

AGL simple CAN simulator use Logicool G29 steering wheel, shift knob and pedal.
https://gaming.logicool.co.jp/ja-jp/product/g29-driving-force

Change-Id: I4b6ed6a5e1592c6aa4075d7d3e89ec90c006f7dd
Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11919
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoaf-binder: Improve monitoring of events 01/11901/2
José Bollo [Mon, 13 Nov 2017 14:34:40 +0000 (15:34 +0100)]
af-binder: Improve monitoring of events

Fix an issue when monitoring events created by local bindings.

Change-Id: If8c4513cacf2c33eccdcd4a9a58178d91095cc41
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11901
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoaf-binder: Bug fixes and improvements 73/11873/2
José Bollo [Sat, 11 Nov 2017 23:58:55 +0000 (00:58 +0100)]
af-binder: Bug fixes and improvements

- fix lock error
- fix default token
- improved management of sessions

Change-Id: I9e7518f091da7ceeb1c66a90873a24f82de2dabf
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11873
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoBump poky-agl.conf post release 79/11779/2
Jan-Simon Möller [Thu, 9 Nov 2017 11:41:57 +0000 (12:41 +0100)]
Bump poky-agl.conf post release

Change-Id: Ib87b6ba6cccd56bb85b3c2086fc10227beaeffbc
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11779
Reviewed-by: Thomas Rini <trini@konsulko.com>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

6 years agometa-agl-bsp: kernel: remove linux-boundary defconfig from meta-freescale-layer. 49/11749/2
Mihail Grigorov [Tue, 7 Nov 2017 16:11:55 +0000 (18:11 +0200)]
meta-agl-bsp: kernel: remove linux-boundary defconfig from meta-freescale-layer.

Its do not needed anymore here, because we started to using meta-boundary layer

Bug-AGL: SPEC-905

Change-Id: I179ac8747fe24293be89d3138f54589511ed2b63
Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11749
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Thomas Rini <trini@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoRevert "Fix FTBS on newer pyro versions due to duplicate userids" 29/11729/3 4.99.2 eel/4.99.2 eel_4.99.2
Jan-Simon Moeller [Tue, 7 Nov 2017 09:49:08 +0000 (09:49 +0000)]
Revert "Fix FTBS on newer pyro versions due to duplicate userids"

This reverts commit 14a6db75ed0fad7fd55ad3ee239a4b92abfb8754.

Change-Id: I130bcb057ab8e59f7e5dd14256cb6623aee24798
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11729
Reviewed-by: ronan Le Martret <ronan.lemartret@iot.bzh>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

6 years agoRemove duplicate user/group definition 05/11705/6
Ronan Le Martret [Tue, 7 Nov 2017 09:01:14 +0000 (10:01 +0100)]
Remove duplicate user/group definition

 * Fix build error
 * user must be define only once
 * user have default group "users:100"

 * Note: At the first Pyro release, the option "--user-group" was
  always true (it was an untrack issue) for useradd yocto function.
  "user_group = uaargs.user_group is None or uaargs.user_group is True"
  and so force to create a group with the same name as the user.
  (Because we use a group name and not a gid).
  So at first create a custom group for each user solve the issue,
  but it's not the good solution.

    ** This issue was Fix upstream in:
        Poky:7ca04fef1b324b7fc6e8c5bbddcd41617cc5e5c6

Bug-AGL: SPEC-1053

Change-Id: Idfe5f07216741f1cfffdbcc4711d08f66f73bd79
Signed-off-by: Ronan Le Martret <ronan@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11705
Reviewed-by: ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoFix FTBS on newer pyro versions due to duplicate userids 15/11715/2
Jan-Simon Möller [Mon, 6 Nov 2017 22:26:23 +0000 (23:26 +0100)]
Fix FTBS on newer pyro versions due to duplicate userids

This change removes the agl-users package from the
packagegroup-agl-core-security.bbappend .
The reason is that for SOTA we have to use predefined userids
to stay consistent across builds.
Newer pyro releases are more picky about duplicate userids
from static files and those being created on-the-fly.

For now we remove the dynamic variant by removing
agl-users from the packagegroup.

Change-Id: I54034361eec344b8130754fadf8c48207321797a
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11715
Reviewed-by: Thomas Rini <trini@konsulko.com>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
6 years agoPrepare Electric Eel RC2 release 91/11691/3
Jan-Simon Möller [Sun, 5 Nov 2017 15:17:18 +0000 (16:17 +0100)]
Prepare Electric Eel RC2 release

Change-Id: I5e286abc387fa15883ff288093cd5bc91b495ec0
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11691

6 years agoAllow SRCREV handling through poky-agl.conf 85/11685/2
Jan-Simon Möller [Sun, 5 Nov 2017 11:54:08 +0000 (12:54 +0100)]
Allow SRCREV handling through poky-agl.conf

This change simplifies the SRCREV handling by using
- AGL_APP_REVISION and AGL_DEFAULT_REVISION
in recipes.
Also the AGL_BRANCH can be used to switch to release branches.

Bug-AGL: SPEC-864

Change-Id: I9384c85d4f7434416d87359f88c482887ac2ead8
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11685
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

6 years agoaf-binder: Bug fixes 77/11677/3
José Bollo [Fri, 3 Nov 2017 12:33:17 +0000 (13:33 +0100)]
af-binder: Bug fixes

* fix a bug in handling of event loop that consummed
  100% CPU and reached assertion failures

* fix a file descriptor leak in handling API sockets
  on server side

* ensure non interleaved log messages

* fix lack of 'noconcurrency' flag in creation of
  dynamic apis

Also allows javascript client to set their "callId"
explicitely.

Change-Id: I28b4f9c2543e3d184b55fc63e0a1c46752450be3
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11677
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agolightmediascanner: add ~/Music to initial media scan 67/11667/4
Matt Ranostay [Fri, 3 Nov 2017 02:48:41 +0000 (04:48 +0200)]
lightmediascanner: add ~/Music to initial media scan

Index users ~/Music directory on initial systemd service
startup.

Bug-AGL: SPEC-1029
Change-Id: Iae20eaaa33fa3c6c13eeb57d1694eef9cfa8866d
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11667
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agometa-agl-bsp: templates: update of nitrogen6x machine template 67/11567/2
Mihail Grigorov [Thu, 26 Oct 2017 14:23:40 +0000 (17:23 +0300)]
meta-agl-bsp: templates: update of nitrogen6x machine template

Bug-AGL: SPEC-905

Change-Id: I959a9f8d085b0fb247998790191c3dcf2e4e34fa
Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11567
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Matt Porter <mporter@konsulko.com>
6 years agoimx6qsabrelite starts to using 'meta-boundary' layer 69/11569/2
Mihail Grigorov [Thu, 26 Oct 2017 15:02:56 +0000 (18:02 +0300)]
imx6qsabrelite starts to using 'meta-boundary' layer

a) Adding 'meta-boundary' to bblayers.conf.
b) Prevent of build errors from missing bb files (firefox, chromium),
   with help of BBMASK variable.

Bug-AGL: SPEC-905

Change-Id: Id0b823d4f0e8977206dbd22684e0d2cf9e88465f
Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11569
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Matt Porter <mporter@konsulko.com>
6 years agometa-agl-bsp: imx6qsabrelite: Switch to WIC image 71/11571/2
Mihail Grigorov [Thu, 26 Oct 2017 11:22:47 +0000 (14:22 +0300)]
meta-agl-bsp: imx6qsabrelite: Switch to WIC image

To produce a bootable WIC image, we needs to make some
changes in 6x_bootscript for compatibility with WIC and
SDCARD images.
Because in case of WIC, we have one partition, and the kernel
files are located in /boot directory.
In case of SDCARD image, kernel files are in root directory of
first partition.

Bug-AGL: SPEC-899

Change-Id: Ie4b26a703cc468ff8c8405e957aacc2973ee289a
Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11571
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Matt Porter <mporter@konsulko.com>
6 years agopython-wand: Add patch to ensure our built ImageMagick is used 87/11587/2
Tom Rini [Wed, 25 Oct 2017 12:13:04 +0000 (08:13 -0400)]
python-wand: Add patch to ensure our built ImageMagick is used

It can be slightly tricky to build a copy of python-wand that will also
function.  A problem is that without additional logic (MAGICK_HOME), the
python code will not look outside of system paths for a copy of the
imagemagick library.  However, even with this path added to the search
list, the code will still try a 'naked' load of the library it wants.
This can result in a visible failure if you have a new enough
imagemagic-6 installed (such as 6.9.7) as the date string checking logic
will fail.  Work around these problems by setting MAGICK_HOME globally
to the correct location and patch the api code to look for the form of
imagemagick that we build first, rather than last, so that we are going
to first search for what we know we built.

Bug-AGL: SPEC-984
Backport: https://lists.linaro.org/pipermail/openembedded/2017-October/000102.html
Change-Id: I9f0e3e64ab4601845e4f336aa81ce7c3d01ff7b7
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11587
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agometa-agl-bsp/meta-rcar-gen3: Import imagemagick_6.9.2.bb 85/11585/2
Tom Rini [Tue, 24 Oct 2017 14:38:42 +0000 (10:38 -0400)]
meta-agl-bsp/meta-rcar-gen3: Import imagemagick_6.9.2.bb

In order for python-wand to function, it must have ImageMagick 6.9.2
available.  Import this recipe from meta-linaro.

Bug-AGL: SPEC-984
Backport: https://git.linaro.org/openembedded/meta-linaro.git/commit/?h=pyro&id=74dacb34c13d1c85fe4627a890b9c04940f9ffeb
Change-Id: I6ddda052213d41ce3de115a4a3e5cf65afeaf5ee
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11585
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoAdd joystick.cfg for usb joystick and steering-wheel kernel configure 75/11575/2
zheng_wenlong [Fri, 27 Oct 2017 04:55:01 +0000 (13:55 +0900)]
Add joystick.cfg for usb joystick and steering-wheel kernel configure

    Add joystick.cfg into meta-agl-bsp/recipes-kernel,
    Then include this cfg in each board bbappend.

    Related commit:
        https://gerrit.automotivelinux.org/gerrit/#/c/10463/

Change-Id: Ie484cc8017e7198cefa0d8e7476032c325a8348d
Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11575
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Thomas Rini <trini@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoUpdate low-can service 97/11297/3
Romain Forlot [Fri, 13 Oct 2017 17:20:19 +0000 (17:20 +0000)]
Update low-can service

Updated docs
Write on CAN bus fixed
New verbs that list supported CAN signals and retrieve current value of
a signal
Updated app-template submodules

Change-Id: Ibac813266bdc1cac832daaeb93b26d4088e21764
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11297
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoaf-binder: Extend maxlength of websocket messages 91/11491/2
José Bollo [Mon, 23 Oct 2017 12:31:10 +0000 (14:31 +0200)]
af-binder: Extend maxlength of websocket messages

The default maxlength of 65000 bytes is too limited.
This commit extends the maxlength to 1048500 bytes.

Also includes minor improvements and fixes.

Bug-AGL: SPEC-981

Change-Id: Ic891ae90bbdd5ec94310bfc3aea1fb30f6e80077
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11491
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoInvert make/autobuild order 59/11359/4
Romain Forlot [Tue, 17 Oct 2017 10:34:28 +0000 (10:34 +0000)]
Invert make/autobuild order

because make all create a package dir then 'make package' doesn't fails
so autobuild isn't executed. Invert the order keep compability and give
priority to the autobuild script.

Needed for gerrit review: 11297 about low-can service update

Change-Id: I54e1da827ec7254afbab7de5498421914832f460
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11359
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoR-Car Gen3: Add WIC support 91/11391/3
Tom Rini [Thu, 19 Oct 2017 20:51:23 +0000 (16:51 -0400)]
R-Car Gen3: Add WIC support

Add a new wks file for the R-Car Gen3 platforms.  Given that U-Boot is
on-device and not updated by us, we just need to make a single partition
that contains the rootfs.  This  matches the existing instructions.  We
need to include kernel-devicetree into the resulting image so that we
have the device tree there to be loaded in.

Bug-AGL: SPEC-899
Change-Id: Iad55ef0ed49e7a53846fa36393e71d16cd5e423d
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11391
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
6 years agoweston-ini-conf: Rework to use fragments to construct weston.ini 75/11375/5
Tom Rini [Wed, 18 Oct 2017 13:38:05 +0000 (09:38 -0400)]
weston-ini-conf: Rework to use fragments to construct weston.ini

Switch to constructing the weston.ini from fragments of files instead of
variables and variable flags.  This allows for much easier tracking of
signatures by leveraging existing mechanisms.  Update the Readme to
explain how to do the various operations with fragments as well.  Note
that for QEMU we do not need to pass -show-cursor as it's already
provided and we do want to change the VGA driver to one that reliably
provides DRM support.

For the HDMI connected screens, rather than name them by vendor name
them first for connection and then required transformation for correct
orientation.

For board-specific options, move them to the board directories.

When we need to change existing cfg options, rather than replace them
the proper location to do this in is the do_configure function.

Bug-AGL: SPEC-964
Change-Id: I2cceb4fd64f51eb2ab1d47419b77153cf02d7c12
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11375
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoFix build issue due to missing dependency in linpack 65/11365/3
Jan-Simon Möller [Tue, 17 Oct 2017 22:00:46 +0000 (00:00 +0200)]
Fix build issue due to missing dependency in linpack

This changeset fixes a FTBS in the linpack recipe.

tmp/work/aarch64-agl-linux/linpack/1.0-r0/temp/run.do_configure.6243: rsync: not found

Bug-AGL: SPEC-969

Change-Id: I90bb157ef21b974fea86f8dafcaa81a27c341c55
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11365
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

6 years agoBackport fix for image class dependencies 51/11351/2
Jan-Simon Möller [Mon, 16 Oct 2017 19:34:53 +0000 (21:34 +0200)]
Backport fix for image class dependencies

This ports http://lists.openembedded.org/pipermail/openembedded-core/2017-September/142760.html
to our local image.bbclass overlay.

We see frequent issues during do_image_complete especially on the release build jobs like:
https://build.automotivelinux.org/job/release-jjb-eel-snapshot/7/MACHINE=intel-corei7-64,label=agl-test-slave/console

The race window shows particularly well when there is *no* parallelism.
PARALLEL_MAKE = "-j1"
BB_NUMBER_THREADS = "1"

Also the efi bootloader packages in meta-intel seem to particularly trigger this condition
which is caused by a race-condition in the yocto image generation functions and the license file handling.

Bug-AGL: SPEC-643

Change-Id: I2464216b054f360647b7aec461320aa769fde65e
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11351
Reviewed-by: Thomas Rini <trini@konsulko.com>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

6 years agometa-agl-bsp: Make more and better use of WIC images 61/11161/11
Tom Rini [Fri, 6 Oct 2017 17:37:14 +0000 (13:37 -0400)]
meta-agl-bsp: Make more and better use of WIC images

- When we are using a WIC image, we should compress it (xz), provide a
  sha256sum of the compressed image and provide a bmap file for the
  uncompressed image.
- Ensure that in these targets we are listing WIC as the
  AGL_EXTRA_IMAGE_FSTYPES to be used.
- Based on the Beaglebone example, add WIC support for dra7xx-evm.  The
  only change from Beaglebone is that we must also include uEnv.txt as
  this is what controls the DTB for the correct LCD.

Bug-AGL: SPEC-899
Change-Id: I3f310a2eb268a4aaa0d791dfaa68d7fee350e150
Tested-by: Matt Porter <mporter@konsulko.com> (dra7xx-evm)
Tested-by: Tom Rini <trini@konsulko.com> (Intel)
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11161
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoBSPs: Do not use := for AGL_DEFAULT_IMAGE_FSTYPES 29/11229/8
Tom Rini [Wed, 11 Oct 2017 12:51:28 +0000 (08:51 -0400)]
BSPs: Do not use := for AGL_DEFAULT_IMAGE_FSTYPES

An OpenEmbedded best practice would be to use '=' here to allow users to
append to it later on.

Bug-AGL: SPEC-899
Change-Id: I5a664df7c5eb8d71f0ab6d0723292f3a187fe752
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11229
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agometa-agl-bsp: Re-merge image-vm/image.bbclass overlays 53/11153/11
Tom Rini [Thu, 5 Oct 2017 20:51:54 +0000 (16:51 -0400)]
meta-agl-bsp: Re-merge image-vm/image.bbclass overlays

As part of the pyro merge we need to continue to overlay these classes
in order to support vmdk.xz.  While upstream has some of the underlying
required changes, we had dropped 'vmdk' as a standalone image type and
now have 'wic.vmdk' there.  This was too invasive for pyro however.
This in turn means that we carry vmdk.xz support here.

Another part of this is that in some places we were checking only for
the string vmdk but also need to check for the string vmdk.xz as well.
Update these locations to use bb.utils.contains_any so that we can catch
both easily.

Bug-AGL: SPEC-899, SPEC-775, SPEC-776
Change-Id: I0cc3c06d59c97c0a76819209e313bc6f5495cc31
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11153
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agometa-agl-bsp: Enable WIC support for Raspberry Pi 2/3 07/11207/9
Tom Rini [Tue, 10 Oct 2017 15:23:40 +0000 (11:23 -0400)]
meta-agl-bsp: Enable WIC support for Raspberry Pi 2/3

In order to have WIC images be fully functional for both u-boot and
non-u-boot we need to bring in more logic in determining what files will
get mapped to what location.  This is not found in meta-raspberrypi/pyro
but is found in their master branch.  These changes bring us in sync
with meta-raspberrypi/conf/machine/include/rpi-base.inc as of their
revision c26e9d3df54293a88fba047a29b335f52b01120e for Pi 2 and Pi 3.  We
do not attempt to bring in the additional logic they have to handle
Pi 3-64 and U-Boot at this time as that is more invasive and not
required for our use cases.

Bug-AGL: SPEC-409
Change-Id: I642735a9be3daad96c0c1376cd6341b0697ffc09
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11207
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoAdd feature for enabling the YP ptest capabilities 27/11327/2
Jan-Simon Möller [Sat, 14 Oct 2017 16:35:05 +0000 (18:35 +0200)]
Add feature for enabling the YP ptest capabilities

This change adds a feature 'agl-ptest' that can be used to enable the addition
of the 'ptest' packages to the final image.
See the YP documentation about ptest:
- https://wiki.yoctoproject.org/wiki/Ptest
- http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#testing-packages-with-ptest

TLDR: enable feature +
      build image +
      boot image +
      login +
      call 'ptest-runner' +
      go get some coffee, go for a walk or run it just overnight

Bug-AGL: SPEC-911

Change-Id: Ifbe7b4144a9e1071295da58e26e8a8bd2260cd88
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11327
Reviewed-by: Thomas Rini <trini@konsulko.com>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

6 years agoweston: Set require-input to false in weston.ini 01/11301/4
Leon Anavi [Fri, 13 Oct 2017 20:00:50 +0000 (23:00 +0300)]
weston: Set require-input to false in weston.ini

Revert the previous fix for launching Weston 2.0
without input devices and achieve the same result
by setting the directive require-input to false
in the configuration file weston.ini. This is a
new feature which has been introduced in Weston
since version 2.0.

Bug-AGL: SPEC-936

Change-Id: I65ccc0d9942d86420cd801f571ccbefe58812796
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11301
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: José Bollo <jobol@nonadev.net>
Reviewed-by: Thomas Rini <trini@konsulko.com>
Reviewed-by: Matt Porter <mporter@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

6 years agometa-agl-bsp: imx6: Add EGL support for iMX6 in Weston 2.0 05/11305/2
Mihail Grigorov [Fri, 13 Oct 2017 08:24:56 +0000 (11:24 +0300)]
meta-agl-bsp: imx6: Add EGL support for iMX6 in Weston 2.0

In Weston 2.0, the EGL support was dropped from the fbdev-backend,
as that was not the correct way to initialize EGL. However, the
vendor support patches in Weston 1.11 still require that functionality.
Restore the EGL support in the fbdev-backend, until the issue is
resolved, by either adding a standalone backend, or switching to etnaviv.

Bug-AGL: SPEC-905

Change-Id: I9fc00e35c2eefee07998053e1fccec6265ac3b9e
Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com>
Signed-off-by: Georgi Vlaev <georgi.vlaev@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11305
Reviewed-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Thomas Rini <trini@konsulko.com>
Reviewed-by: Matt Porter <mporter@konsulko.com>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agometa-agl-bsp: imx6: Update the imx6sabreauto machine template 09/11309/2
Mihail Grigorov [Fri, 13 Oct 2017 09:51:39 +0000 (12:51 +0300)]
meta-agl-bsp: imx6: Update the imx6sabreauto machine template

* Chnage the Weston provider to Weston 2.0

Bug-AGL: SPEC-905

Change-Id: I164285dfb63491f2164d667fc51f64b66e5cee27
Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com>
Signed-off-by: Georgi Vlaev <georgi.vlaev@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11309
Reviewed-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Thomas Rini <trini@konsulko.com>
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: Matt Porter <mporter@konsulko.com>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agometa-agl-bsp: imx6: Update the imx6qsabrelite machine template 07/11307/2
Mihail Grigorov [Fri, 13 Oct 2017 07:40:09 +0000 (10:40 +0300)]
meta-agl-bsp: imx6: Update the imx6qsabrelite machine template

* Add include/agl_imx6qsabrelite.inc
* Change the FSL layer from meta-fsl-* to meta-freescale-*
* Rename 50_bblayers.conf.inc to 40_bblayers.conf.inc

Bug-AGL: SPEC-905

Change-Id: I29563fa7bc25240018383fba2b30e2171366282a
Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com>
Signed-off-by: Georgi Vlaev <georgi.vlaev@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11307
Reviewed-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Thomas Rini <trini@konsulko.com>
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agometa-agl-bsp: imx6: Add new defconfig for the linux-boundary kernel 11/11311/2
Mihail Grigorov [Fri, 13 Oct 2017 07:52:44 +0000 (10:52 +0300)]
meta-agl-bsp: imx6: Add new defconfig for the linux-boundary kernel

The default configuration for the linux-boundary kernel uses AppArmor,
but we want to use Smack.

* Switch from using AppArmor to Smack
* Enable CONFIG_HID_MULTITOUCH

Bug-AGL: SPEC-905

Change-Id: Idfcad0ea4c242c30df97407a31661e02df710b2e
Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com>
Signed-off-by: Georgi Vlaev <georgi.vlaev@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11311
Reviewed-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Thomas Rini <trini@konsulko.com>
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: Matt Porter <mporter@konsulko.com>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoaf-binder: upgrade to 4.99-EERC1 99/11299/2
José Bollo [Wed, 11 Oct 2017 08:06:12 +0000 (10:06 +0200)]
af-binder: upgrade to 4.99-EERC1

This includes:

 - Correcting license reference to align with code
 - Internal refactorings
 - Dynamic bindings API and pure dynamic bindings (still to document)
 - new request functions: afb_req_get_application_id, afb_req_get_uid
 - C++ interface
 - libafbwsc featuring direct ws API
 - Bugs and typo fixes

Change-Id: I75a387524f0745ed23311fe43a43000240bb6f09
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11299
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoRemove rc1 locks merge window open for rc2 23/11323/2
Jan-Simon Möller [Sat, 14 Oct 2017 08:41:44 +0000 (10:41 +0200)]
Remove rc1 locks merge window open for rc2

Change-Id: I4fd65b5c932992b7b2247e81af6c1f33567d4813
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11323
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

6 years agoLock down of SRCREVS matching EE RC1 03/11303/2 4.99.1 eel/4.99.1 eel_4.99.1
Jan-Simon Möller [Fri, 13 Oct 2017 20:24:47 +0000 (22:24 +0200)]
Lock down of SRCREVS matching EE RC1

This change locks down any use of SRCREV to the version of EE RC1 .

Change-Id: I09a3e6b5c1fe2a37cf03a5db7bd7cb31386e8eb8
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11303
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

6 years agoRevert "app-framework/conf: Remove PACKAGECONFIG of shadow" 87/11287/3
José Bollo [Fri, 13 Oct 2017 09:57:48 +0000 (11:57 +0200)]
Revert "app-framework/conf: Remove PACKAGECONFIG of shadow"

This reverts commit 48de89fbf1c66370d15c87b9dcab5371f180e5a4.

Bug-AGL: SPEC-475

Change-Id: I28cd41391d207b59d74d2ff661e5981b9947c715
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11287
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoweston-ini-conf: Make this track variables correctly for signatures 55/11255/3
Tom Rini [Thu, 12 Oct 2017 13:20:19 +0000 (09:20 -0400)]
weston-ini-conf: Make this track variables correctly for signatures

bitbake does not know to track values that are found and used via
getVarFlags() without them being otherwise refernced and tracked in ways
that are otherwise caught.  Further given that we use multiple levels of
varflags here we need to be explicit in their tracking.  Add all
variables that we use to varflags where they are added to the metadata.

Bug-AGL: SPEC-939
Change-Id: I32cf16c4354d733e086c6ea9a845934beff94715
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11255
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoweston-ini-conf: require eGALAX screen 33/11233/3
Martin Kelly [Wed, 11 Oct 2017 18:39:16 +0000 (11:39 -0700)]
weston-ini-conf: require eGALAX screen

After commit f970319c6d4a2ecf6044ab3b2ef8f0d5f5c3471c, the
intel-corei7-64 and joule builds are broken because they're defaulting
to the eGALAX screen, which isn't in the require list in screen.inc.

Fix this by adding eGALAX to screen.inc.

Change-Id: I8d87c1defa586a0bfe1b2d266ec4a8c61f5c5654
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11233
Reviewed-by: Thomas Rini <trini@konsulko.com>
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoapp-framework/conf: Remove PACKAGECONFIG of shadow 21/11221/2
José Bollo [Wed, 11 Oct 2017 07:35:08 +0000 (09:35 +0200)]
app-framework/conf: Remove PACKAGECONFIG of shadow

Setting of 'attr' isn't needed since AGL switched to
version "pyro" of poky.

Bug-AGL: SPEC-475

Change-Id: Ifcc1d62c5f0ef4472b2bd43680f31bc09c44191d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11221
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agopsplash: add animation and last message from systemd 97/11197/2
José Bollo [Thu, 14 Sep 2017 15:16:13 +0000 (17:16 +0200)]
psplash: add animation and last message from systemd

An animated splash screen is cool.

Change-Id: I39c2404513aa6edd287df8555d46fe09e79f4408
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11197
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoSupport CANUSB device 49/10749/5
Romain Forlot [Thu, 5 Oct 2017 09:31:30 +0000 (11:31 +0200)]
Support CANUSB device

http://www.can232.com/?page_id=16

Change-Id: I0f65143a366c723937451bfbd8ed40402805136e
Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com>
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10749
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Thomas Rini <trini@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoadding eGalax screen support for demo 81/11181/2
Dominig ar Foll (Intel Open Source) [Mon, 9 Oct 2017 12:24:48 +0000 (14:24 +0200)]
adding eGalax screen support for demo

Change-Id: I4e483052a88faebf21a50515b275326628731930
Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11181
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agolinux-intel: Pull in common configuration fragments 29/11129/3
Scott Murray [Wed, 4 Oct 2017 20:48:55 +0000 (16:48 -0400)]
linux-intel: Pull in common configuration fragments

Rework things so that the common kernel configuration fragment
additions are in a new include file, linux-agl.inc, and both the
existing linux-yocto_%.bbappend and the new linux-intel_%.bbappend
in meta-intel pull it in to pick up them up.  This avoids hitting
other linux-* recipes, and allows the possibility of using the
include file in kernel recipe bbappends for other BSPs.

Change-Id: I8f4f67c444c47b6a978d95fab660d478d5f764c1
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11129
Reviewed-by: Thomas Rini <trini@konsulko.com>
Reviewed-by: Dominig ar Foll <dominig.arfoll@fridu.net>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoChange DISTRO_VERSION for EE rc1 99/11199/2
Jan-Simon Möller [Tue, 10 Oct 2017 09:47:07 +0000 (11:47 +0200)]
Change DISTRO_VERSION for EE rc1

This change adapts the DISTRO_VERSION for Electric Eel RC1.

Change-Id: I44389dcc08537b0b2ab985a8500f5d36d13fcbde
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11199
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

6 years agoweston: Launch even without input devices 03/11203/2
Leon Anavi [Tue, 10 Oct 2017 14:32:57 +0000 (17:32 +0300)]
weston: Launch even without input devices

Fix the recurring bug and launch Weston 2.0 even
if there are no input devices such a keyboard
or a mouse.

Bug-AGL: SPEC-936

Change-Id: I9c92ce7762626fd5df40224b53317c1239a4bd6f
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11203
Reviewed-by: Thomas Rini <trini@konsulko.com>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agometa-intel: Include and deploy a startup.nsh file 01/11101/3
Tom Rini [Tue, 3 Oct 2017 22:12:08 +0000 (18:12 -0400)]
meta-intel: Include and deploy a startup.nsh file

On EFI systems we need to include a startup.nsh file that EFI will load
and run, in the case of not having the device we're booting from be
defined in the boot order.  We have the kernel provide this as it is
independent of boot loader.

Bug-AGL: SPEC-898
Change-Id: Ifdf615e78012e2dbcbd87ee97e4c9d9a19ea01fc
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11101
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoenable vmware drm drivers 69/11169/2
Martin Kelly [Fri, 6 Oct 2017 23:59:25 +0000 (16:59 -0700)]
enable vmware drm drivers

This speeds up VMWare graphics performance. Previously, I recall this
not working, but I tested again and it's working fine as long as it's
compiled builtin and not as a module.

Change-Id: I2efe9e5c776e74ebf92a2ff80651dee37d0c48da
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11169
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agosystemd: backport serialization change from v234 35/11135/3
Scott Murray [Thu, 5 Oct 2017 13:39:05 +0000 (09:39 -0400)]
systemd: backport serialization change from v234

Bisecting between systemd v232 and v234 to find the source of
the improvement in behavior of the serial tty lead to commit
e266c068b5597e18b2299f9c9d3ee6cf04198c41.  Backport the change
to hopefully fix the failures.  This backport can be removed on
the uprev to rocko.

Bug-AGL: SPEC-544

Change-Id: I5e3bbd21447bd8a0df98ce2d2ff26c74c4bf1048
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11135
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agodra7xx-evm: fix build by including linux-dtb.inc 49/11149/2
Matt Porter [Thu, 5 Oct 2017 18:26:42 +0000 (21:26 +0300)]
dra7xx-evm: fix build by including linux-dtb.inc

meta-ti does not maintain a pyro branch. As such we are
relying on building with the master branch. This broke
due to commit 391bfb8c3002bbf5ba6a51d689a7f2ba511c6682
which removes support for linux-dtb.inc from the
linux-ti-staging recipe due to an oe-core change on
master. Add linux-dtb.inc to the bbappend to fix.

Bug-AGL: SPEC-932

Change-Id: I3fb6799a5fe4a083159b600a81764d67e5b22771
Signed-off-by: Matt Porter <mporter@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11149
Reviewed-by: Thomas Rini <trini@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agocleaning kernel config warnings under pyro 25/11025/3
Dominig ar Foll (Intel Open Source) [Mon, 25 Sep 2017 11:34:24 +0000 (13:34 +0200)]
cleaning kernel config warnings under pyro

Change-Id: Ica910a7ac3115df1247e60c25ee4cd53f331af47
Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11025
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoadding a symlink to keep compatibility with linux-yocto 79/10979/2
Dominig ar Foll (Intel Open Source) [Mon, 18 Sep 2017 10:42:40 +0000 (12:42 +0200)]
adding a symlink to keep compatibility with linux-yocto

Change-Id: Id81cb1fe7a949850aef1b4178883c853d0e07aa1
Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10979
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agorecipes-connectvity: bluez5: resolve CVE-2017-1000250 87/10987/3
Matt Ranostay [Tue, 19 Sep 2017 21:02:38 +0000 (00:02 +0300)]
recipes-connectvity: bluez5: resolve CVE-2017-1000250

Add patchset that fixes BlueBorne CVE in the Bluez library for
older versions of Bluez 5.

Backport: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-connectivity/bluez5?id=9376bbc8a04ced3c0973805e6cb2529b6db03076
Bug-AGL: SPEC-902
Change-Id: I33fa9a1cc0867cec9586bc0f3ed9b2bb092ff6de
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10987
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
6 years agometa-agl-bsp: meta-ti: Rework Weston patches for 2.0 19/11019/2
Tom Rini [Fri, 22 Sep 2017 21:28:03 +0000 (17:28 -0400)]
meta-agl-bsp: meta-ti: Rework Weston patches for 2.0

We can drop the changes for the compositor to support RGB565 as this is now
upstream.  The other compositor patch is no longer relevant.  The soc
performance patch needs additional work to link but is also not required for
overall functionality so leave that broken.  For the rest of the patches we
just need to make minor changes about the location of the source files now as
the code has reorganized since the patches were written.

Bug-AGL: SPEC-908

Change-Id: I7034219510821b8f720328318e3e560783cf16d6
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11019
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agometa-agl: gpsd: enable udev GPS device detection 49/10649/7
Matt Ranostay [Thu, 17 Aug 2017 03:41:58 +0000 (06:41 +0300)]
meta-agl: gpsd: enable udev GPS device detection

enable the systemd device detection for GPS devices which
autoenables it within the gpsd.socket

Bug-AGL: SPEC-831
Change-Id: Ifec05c61c7802d0a246ac2c7c609de4ecd56b94d
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10649
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoAdd uvc.cfg for usb video class kernel configure 93/10893/3
zheng_wenlong [Thu, 14 Sep 2017 08:43:18 +0000 (17:43 +0900)]
Add uvc.cfg for usb video class kernel configure

    Add uvc.cfg into meta-agl-bsp/recipes-kernel,
    Then include this cfg in each board bbappend.
    See: https://gerrit.automotivelinux.org/gerrit/#/c/10803/

Change-Id: I5faebefef3560a27496103e1ad4a1ca70377a1ba
Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10893
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agonavigation: add geoclue package 69/10769/5
Matt Ranostay [Wed, 30 Aug 2017 18:19:07 +0000 (21:19 +0300)]
navigation: add geoclue package

Add geoclue package to the packagegroup agl-ivi-navi-lbs
forward port dependency fix to recipe, and add dbus policy
to allow client access.

Bug-AGL: SPEC-852
Change-Id: Ib4d5bf22bdfebd162355d3d91850c7ebb6cd3154
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10769
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoautogen-native: backport autogen-native POSIX_SHELL fix 31/10931/2
Matt Ranostay [Sat, 16 Sep 2017 21:22:00 +0000 (00:22 +0300)]
autogen-native: backport autogen-native POSIX_SHELL fix

fix autogen-native: /bin/sh: bad interpreter: Permission denied
/bin/sh: ../autoopts/tpl/texi2mdoc: /tmp/yocto-autobuilder/yocto-autobuilder/
yocto-worker/res-custom-pyro-multi-: bad interpreter: Permission denied

POSIX_SHELL as shebang doesn't work when it is longer than
BINPRM_BUF_SIZE which is 128 usually. So use "/bin/sh".

Backport: https://bugzilla.yoctoproject.org/show_bug.cgi?id=11965
Backport: https://github.com/RobertBerger/poky/commit/92a17c9074538a38d3d11c063be624f6c62a6352
Bug-AGL: SPEC-892
Change-Id: I12d08e8a89373390b5798ab6ed8d0ff88d0c03c7
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10931
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoFix rpm metadata clash due to change of rpm backend 27/10927/2
Jan-Simon Möller [Sat, 16 Sep 2017 15:32:30 +0000 (17:32 +0200)]
Fix rpm metadata clash due to change of rpm backend

The rpm backend used in pyro changed behaviour and if multiple packages 'own' a directory
the installation will fail. Inject a flag to mitigate this and avoid the break.
Conflicting packages libgbm-dev and ti-sgx-ddk-um-dev on /usr/lib/pkgconfig .

Change-Id: I52439d94c230a9314a543e00edd247f29d10e113
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10927
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

6 years agoCreate virtual-gles-user-module recipes 17/10917/2
Ronan Le Martret [Fri, 15 Sep 2017 16:54:35 +0000 (18:54 +0200)]
Create virtual-gles-user-module recipes

 * fix recipe-sysroot build dependency

Change-Id: I59285efd0894592d23c9114e08dc923e168f03db
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10917
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoRemove weston.bin pkg from gen3 machine conf 07/10907/3
Ronan Le Martret [Fri, 15 Sep 2017 07:55:39 +0000 (09:55 +0200)]
Remove weston.bin pkg from gen3 machine conf

 * weston.bin should be add only with pkg-group
   or image recipes.
 * No weston on m3ulcb-nogfx

Change-Id: Iaa62cbf3a07714a5c9dad014b72feb00927b1e71
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10907
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
6 years agoFix clash in metadata of nativesdk-cmake and nativesdk-qtbase-tools 25/10925/2
Jan-Simon Möller [Fri, 15 Sep 2017 22:25:03 +0000 (00:25 +0200)]
Fix clash in metadata of nativesdk-cmake and nativesdk-qtbase-tools

This is related to the change from rpm5 to rpm4 in pyro and a slightly different behaviour when treating directories
during the packaging. Result is that both packages claim to 'own' the directory environment-setup.d .
The packager 'dnf' then reports the collision and aborts when constructing the SDK.

This is a temporary fix until the issue is resolved upstream
Reference: https://bugzilla.yoctoproject.org/show_bug.cgi?id=12093

Change-Id: I7be94e02251a8bd55a656d986654085039026bb5
Bug-AGL: SPEC-888
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10925

6 years agoApp-FW: Update namings and bug fixes 63/10763/6
José Bollo [Fri, 1 Sep 2017 17:33:20 +0000 (19:33 +0200)]
App-FW: Update namings and bug fixes

af-main:
========
 - set the version to 4.1
 - make names of binder revelant for ps and journal: afbd-APPID
 - reduce the default verbosity to WARNING
 - when AGL_DEVEL
   - set default token to HELLO
   - include --monitoring
   - set the verbosity to NOTICE
 - fix subpath of libraries to 'lib' always
 - fix --no-httpd option

af-binder:
==========
 - set the version to 4.1
 - verbosity distinguishes WARNING and NOTICE
 - enforce use of AFB_ prefixed verbose macros
 - report verbose message in monitoring
 - check that API of --ws-server exists
 - atomically dump the stack on signals
 - fix starve bug (MAJOR)
 - fix @t bug on random token (CRITICAL: SPEC-854)
 - fix subcall bugs (MAJOR)
 - fix possible SIGSEGV in dlopen (MAJOR: SPEC-662)
 - fix memory leak when upgrading protocol

Bug-AGL: SPEC-854
Bug-AGL: SPEC-662

Change-Id: Ifb7aee5e72c5f9d738c11b9b24e7e07b128e80fc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10763
Reviewed-by: José Bollo <jobol@nonadev.net>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agorealigning Joule on kernel 4.9 97/10897/2
Dominig ar Foll (Intel Open Source) [Thu, 14 Sep 2017 13:23:56 +0000 (15:23 +0200)]
realigning Joule on kernel 4.9

Change-Id: Ie376f6dbbc31fe59fd55655eec9be8f989a8a5e1
Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10897
Reviewed-by: José Bollo <jobol@nonadev.net>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoFix post install script dependency 83/10883/7
Ronan Le Martret [Wed, 13 Sep 2017 15:58:51 +0000 (17:58 +0200)]
Fix post install script dependency

 * Since yocto pyro we need to declare PACKAGE_WRITE_DEPS, dependency
   for post install script
   http://www.yoctoproject.org/docs/2.3/mega-manual/mega-manual.html#var-PACKAGE_WRITE_DEPS

 * we alsa need to explicit exit 1 if post script failed

Bug-AGL: SPEC-646
Bug-AGL: SPEC-825

Change-Id: Ic15f8af884895fecacceb9886de5bebe591a2be0
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10883
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Thomas Rini <trini@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoUpdate rcar gen3 to BSP 2.23 11/10911/4
Ronan Le Martret [Mon, 11 Sep 2017 21:00:52 +0000 (23:00 +0200)]
Update rcar gen3 to BSP 2.23

 * WARNING: The URL to download the Renesas BSP driver are change for v2.23
 https://www.renesas.com/en-us/solutions/automotive/rcar-demoboard-2.html
 (needed for WESTON 2.0)

Bug-AGL: SPEC-890

Change-Id: Ia5c788383331cae01cf8517468c326f6368050ea
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10911
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoFix ovmf parallel build issue 87/10887/2
Jan-Simon Möller [Wed, 13 Sep 2017 18:12:27 +0000 (20:12 +0200)]
Fix ovmf parallel build issue

References:
https://www.yoctoproject.org/irc/%23yocto.2017-04-04.log.html
https://www.yoctoproject.org/irc/%23yocto.2017-09-13.log.html

Upstream status: not merged

Change-Id: If5643daef4c115a48f348ef3922edd5c97cd524a
Bug-AGL: SPEC-873
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10887

6 years agoFix build of harfbuzz 85/10885/2
Jan-Simon Möller [Wed, 13 Sep 2017 16:48:49 +0000 (18:48 +0200)]
Fix build of harfbuzz
Reference: https://www.mail-archive.com/yocto@yoctoproject.org/msg36472.html

Change-Id: Ifc0f353218091f8b160d5f12186a8d4ca7a1f38a
Bug-AGL: SPEC-872
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10885

6 years agoFix lacked vspm kernel module for R-Car H3 and M3 31/10831/3
Harunobu Kurokawa [Fri, 8 Sep 2017 11:42:51 +0000 (20:42 +0900)]
Fix lacked vspm kernel module for R-Car H3 and M3

Missing the vspm kernel driver module sometime it may be
not installed to rootfs.

Change-Id: I76af517be7f26dec85dc4eceff77c22f02ebdba9
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10831
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoFix u-boot deploy 15/10815/3
Ronan Le Martret [Wed, 6 Sep 2017 13:54:46 +0000 (15:54 +0200)]
Fix u-boot deploy

Change-Id: I18281683aa6df6ee6f5c639e4564cc272cae838d
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10815
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoRevert "[rcar-gen3] Fix webp bbappend" 13/10813/3
Stephane Desneux [Mon, 21 Aug 2017 10:12:18 +0000 (10:12 +0000)]
Revert "[rcar-gen3] Fix webp bbappend"

Bug-AGL: SPEC-646

This reverts commit 53e399c375b0b7ce4a90ae8f05789e2e127eb773.

Change-Id: I751e3ccfe211c7bffad6b3db3950b18b7c142cf6
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10813
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoRemove af-main dependency on generator dev tool. 61/10761/2
Romain Forlot [Fri, 1 Sep 2017 16:18:36 +0000 (16:18 +0000)]
Remove af-main dependency on generator dev tool.

App Framework isn't needed for that...

Change-Id: Iafc60295ba234f63b8b5195ac36cb6de2c93e1e9
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10761
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agosmall improvment and correction in mkefi-agl.sh script 67/10767/2
Dominig ar Foll (Intel Open Source) [Mon, 4 Sep 2017 16:47:50 +0000 (18:47 +0200)]
small improvment and correction in mkefi-agl.sh script

Change-Id: I5d191ba33b4a1a561daeff89f17dd62ce329d079
Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10767
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoRevert "Forward port local-arm-futex patch to poky morty HEAD" 43/10843/3
Jan-Simon Moeller [Fri, 8 Sep 2017 17:02:49 +0000 (17:02 +0000)]
Revert "Forward port local-arm-futex patch to poky morty HEAD"

Pyro does not contain the extra patch to remove
 # undef __ASSUME_REQUEUE_PI

Thus we add it back by reverting this morty-specific change.

This reverts commit 3d32b328ebece6019b118c83f56150b5c6947cd5.

Bug-AGL: SPEC-853

Change-Id: I66e7a3ef524a6923444915b0135ec6a79942ec5c
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10843

6 years agoUpgrade to pyro 57/10457/17
Changhyeok Bae [Wed, 31 May 2017 02:39:38 +0000 (02:39 +0000)]
Upgrade to pyro

u-boot: v2017.01

dlt-daemon: Remove gzipnative inheritance
- gzipnative.bbclass is removed in pyro branch.
- See ab0f46400c113c0d893be872727a67739d5e794d in poky.

gpm: Remove bbappend file
- upstream(meta-openembedded) is using git(v1.99.7) and this is not
  required anymore.

gnutls: Remove bbappend file
- The patch is already applied in upstream.

agl-image-minimal: Remove ROOTFS_PKGMANAGE_BOOTSTRAP
- ROOTFS_PKGMANAGE_BOOTSTRAP is removed in upstream.
- Please see 529244ee212fe14019e35a5f163fab705ddbf141 in poky.

freetype: Change hash value for v2.7.1 binary

shadow: Remove shadow_%.bbappend
- It's already applied upstream poky.

Remove nativesdk-packagegroup-sdk-host.bbappend
- It's already applied in upstream poky.

faac: Remove bbappend file
- It's already applied meta-openembedded upstream.

pulseaudio: Change bbappend naming
- Upstream yocto provides pulseaudio v10.0.

weston: re-create patch to apply new version (v2.0.0)
- Remove 0001-compositor-drm.c-Launch-without-input-devices.patch
  because it's already applied in new version.

mesa: Remove 12.0.3 recipe and fix build error for qemux86-64
- Yocto upstream supports 17.0.2 and v12.0.3 is not required anymore in
  raspberrypi
- Error:
  | configure: error: --enable-gallium-llvm selected but llvm-config is
  not found

wayland-ivi-extension: Upgrade to latest master version
- Due to weston upgrade, wayland-ivi-extension should be upgraded.

packagegroup-ivi-common-core-multimedia: Remove alsa-lib
- alsa-lib has empty package and it's not required anymore.

Add agl-driver and agl-passenger in group and passwd
- Parsing Error:
  agl-users: groupname agl-passenger does not have a static ID defined.

poky-agl.conf: Change gstreamer default version to v1.10.x
- Yocto upstream moves gstreamer to v1.10.4.

af-main: Fix build error
- Error:
  file /usr/local conflicts between attempted installs of
  af-main-1.0-r0.corei7_64 and base-files-3.0.14-r89.qemux86_64

intel-corei7-64: Change gstreamer-vaapi-1.0 name
- gstreamer-vaapi-1.0 is moved to oe-core and its name is changed to
  gstreamer1.0-vaapi.

linux-raspberrypi: Drop 4.4 bbappend
- The upstream meta-raspberrypi doesn't support v4.4 anymore.
- CVE patches are not required anymore.

glibc: Remove bbappend
- The bug-20116 is already applied in 2.25

cynara,security-manager: Fix build error
- cynara: Replace bb.data to d
- security-manager: Temporarily use 'no' in APPLY variable

u-boot-ota: Add SRC_URI
- In pyro, SRC_URI and S is moved from .inc to .bb

linux-yocto: Remove 4.8 and 4.4 bbappend
- Yocto 2.3 (Pyro) doesn't support v4.8 kernel anymore.
- CVE patches in meta-agl-bsp are already applied in Yocto 2.3.

tcf-agent: Remove bbappend file
- This change is merged to upstream poky (pyro)

bluez5: Remove recipe and add .bbappend
- Yocto 2.3 (Pyro) already has same version.
- bluetooth.conf file is added in .bbappend

python-pycrypto: Remove recipe
- meta-openembedded (Pyro) already has same version.

meta-agl-bsp/classes/image.bbclass: Arrange for pyro
- image.bbclass is taken from poky/meta/classes/image.bbclass and only
  changed IMAGE_TYPE_vm variable.

libsoup: Fix native build error temporarily

v2 (jsmoeller):
meta-agl-bsp/meta-ti:
- workaround patches in meta-ti/recipes-arago/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
- fix old python code in meta-ti/recipes-arago/ipumm-fw/ipumm-fw_3.00.13.00.bb
- workaround patches in meta-ti/recipes-arago/weston/weston_%.bbappend
- make specific to dra7xx-evm:
 -- meta-ti/recipes-bsp/alsa-state/alsa-state.bbappend
 -- meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend
 -- rename meta-ti/recipes-multimedia/pulseaudio/pulseaudio/dra7xx-evm-set-default-sink-source.patch
 -- rename meta-ti/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
TODO/FIXME's in:
- meta-agl-bsp/meta-ti/recipes-arago/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
- meta-agl-bsp/meta-ti/recipes-arago/weston/weston_%.bbappend
- meta-agl-bsp/meta-ti/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend
- meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend

Bug-AGL: SPEC-646

Change-Id: I4162ae887d3334e9102575e3724483aa25f4bd9c
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10457

6 years agoForward port local-arm-futex patch to poky morty HEAD 91/10791/2
Jan-Simon Möller [Wed, 6 Sep 2017 08:19:36 +0000 (10:19 +0200)]
Forward port local-arm-futex patch to poky morty HEAD

The latest yocto update added new patches and our patchset needs
a small adaptation.

Bug-AGL: SPEC-853

Change-Id: I79b928543f9dfe151788a365b8f1f0921399e08d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10791
Reviewed-by: José Bollo <jobol@nonadev.net>
6 years agoRevert "Fix for CVE-2017-1000366 in glibc" 31/10731/3
Jan-Simon Moeller [Thu, 31 Aug 2017 01:39:12 +0000 (01:39 +0000)]
Revert "Fix for CVE-2017-1000366 in glibc"

9 weeks later we can remove our forward-port.

This reverts commit 462bcd1521094624bddad4c336007b18117a3846.

Change-Id: I46d6d5f39c66fd03efcbbcf855a39eda2bdad196
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10731
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
6 years agometa-app-framework: bump binder to 170aef2 09/10709/4
Stephane Desneux [Sat, 26 Aug 2017 14:48:13 +0000 (16:48 +0200)]
meta-app-framework: bump binder to 170aef2

Major changes:
* monitoring: add option --monitoring and enable UI
* afb-config: rework on option --random-token
* afb-config: Add short -p option for --port
* Add option --no-ldpaths to avoid default ldpaths
* Add option --weak-ldpaths (for weak loading path)
* Bug fixes

Change-Id: Ieb02ff71ad0157b3bc754e7a163c860caedf72b5
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10709
Reviewed-by: José Bollo <jobol@nonadev.net>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoUpdate the RCar M3 inc file to add agl-egvirt feature 97/10597/2
Michele Paolino [Thu, 10 Aug 2017 08:53:14 +0000 (10:53 +0200)]
Update the RCar M3 inc file to add agl-egvirt feature

"agl-egvirt" added to the Renesas RCar M3's MACHINE_FEATURES in order
to enable AGL virtualization extensions.

Depends on change: 10547
Bug-AGL: SPEC-718

Change-Id: I708a7fb958abd76cb1af095842b78fe2f6a64dc9
Signed-off-by: Michele Paolino <m.paolino@virtualopensystems.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10597
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agolinux: kernel: add USB serial support and ACM class 81/10681/2
Matt Ranostay [Tue, 22 Aug 2017 20:18:06 +0000 (23:18 +0300)]
linux: kernel: add USB serial support and ACM class

To allow for USB GPS devices the USB serial + ACM class need to
be enabled in the kernel.

Change-Id: I1b23b7d47bc49a3a61d5df5d964110023f91d481
Bug-AGL: SPEC-831
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10681
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Matt Porter <mporter@konsulko.com>
Reviewed-by: José Bollo <jobol@nonadev.net>
Reviewed-by: Martin Kelly <mkelly@xevo.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoDo not use cpio.gz for initramfs as smack does not work 11/10711/3
Jan-Simon Möller [Mon, 28 Aug 2017 20:50:19 +0000 (22:50 +0200)]
Do not use cpio.gz for initramfs as smack does not work

This changeset removes the wrong hardcoded INITRAMFS_FSTYPES on 3 boards.
It was moved over from the previous defaults prior to the change
to the AGL-wide default FSTYPES.

The correct image to use is ext4.gz (which is a default in poky-agl.conf) -
thus we can just remove these in the board includes.

Therefore the intel targets need to define INITRD_LIVE.

Bug-AGL: SPEC-836

Change-Id: If45f67d2bbd02331f1aea848e3230ce1e190c50d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10711
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Dominig ar Foll <dominig.arfoll@fridu.net>
6 years agoaf-binder: bug fix and feature improvements 09/10609/3
José Bollo [Thu, 10 Aug 2017 11:08:16 +0000 (13:08 +0200)]
af-binder: bug fix and feature improvements

fixes:
 - webkit connection on websockets (SPEC-821)
 - over allocation of sessions
 - send error reply for unreplied requests
 - unprefix event name
 - infinite loop when events overrun counter
 - better handling of NULL

improvements:
 - added trace facility of monitor builtin API
 - dump of stack on SIGABRT
 - facility afb_req_subcall_req
 - reduced verbosity
 - debugging enhanced: allow break after wait and call to 'personality'
 - documentation

Bug-AGL: SPEC-821

Change-Id: I90f16aca97613616e7f2fb4bb85c052ae16c0cde
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10609
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Romain Forlot <romain.forlot@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoaf-main: Fix 2 bugs 03/10603/2
José Bollo [Mon, 7 Aug 2017 16:52:37 +0000 (18:52 +0200)]
af-main: Fix 2 bugs

Allow packaging of companion programs
-------------------------------------

Allow to set executable permission on
files of the widget. Then the files can be run by
using their relative path within the widget.

Bug-AGL: SPEC-384
Bug-AGL: SPEC-785

Allows content in subdirectory "htdocs"
---------------------------------------

Fix the bug SPEC-808. The content of pure or hybrid HTML
widget had to be in the subdirectory "htdocs" but the attribute
"src" of the tag <content> shouldn't include the prefix "htdocs/".
It caused installation to fail because it was checking that the
file existed but in the root directory.

This commit fixes the paradox by also trying to search the
content in the subdirectory "htdocs". This is a temporary fix.

Bug-AGL: SPEC-808

Change-Id: I512e47d35c135329ef99e3617909ba6fe78eaca7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10603
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agopackagegroup: navigation: add gpsd package 47/10647/2
Matt Ranostay [Wed, 16 Aug 2017 20:11:54 +0000 (23:11 +0300)]
packagegroup: navigation: add gpsd package

Add gpsd package to the agl-ivi-navi-lbs packagegroup to allow
access to the gps binding.

Bug-AGL: SPEC-831
Change-Id: I8b5821849ea293d2a295884a8aa36543916607b4
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10647
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Martin Kelly <mkelly@xevo.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agometa-agl: Init SDL feature 25/10625/5
Phong Tran [Sat, 12 Aug 2017 09:32:27 +0000 (11:32 +0200)]
meta-agl: Init SDL feature

Add new meta layer meta-agl-sdl for SmartDeviceLink feature.

Tested build ok with:
source meta-agl/scripts/aglsetup.sh -m raspberrypi3 agl-demo agl-netboot agl-appfw-smack agl-sdl

The SmartDeviceLink packages are selected by "agl-sdl" in DISTRO_FEATURES.

Bug-AGL: SPEC-805

Change-Id: I416d8418c0ef4fe4de5e5ce084e7b9075e64f85f
Signed-off-by: Phong Tran <tranmanphong@gmail.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10625
Reviewed-by: Jeremiah Foster <jeremiah.foster@pelagicore.com>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Martin Kelly <mkelly@xevo.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoAdd template file holding index of variables available to the user 27/10027/3
Jan-Simon Möller [Tue, 4 Jul 2017 10:30:38 +0000 (12:30 +0200)]
Add template file holding index of variables available to the user

This change add a template file which is appended at the very end so the user sees the available
variables and can modify its settings in a guided way.

Change-Id: I459e853300790e5fce050d6b58d0b07dfd761613
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10027
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>