AGL/meta-agl.git
6 years agowayland-fits: Remove the bbappend
Changhyeok Bae [Wed, 13 Dec 2017 10:51:34 +0000 (10:51 +0000)]
wayland-fits: Remove the bbappend

the recipe is removed in meta-openembedded.

(meta-openembedded rev: b7f480cc4c533106442ecfe3266d73dd5a6973e8)

Bug-AGL: SPEC-1181

Change-Id: I478cceec019bf6ee837b0935f4a15d7a16c801de
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
6 years agoautogen-native: Remove the bbappend
Changhyeok Bae [Wed, 13 Dec 2017 10:46:39 +0000 (10:46 +0000)]
autogen-native: Remove the bbappend

autogen-native recipe is removed in openembedded-core

(From Poky rev: 44da0d9467f4fbd6b10f8fb85e79755b3c7a14cd)
(From OE-Core rev: 765fec2f363aeb0540970c57217a2ea1aab8e088)

Bug-AGL: SPEC-1181

Change-Id: Ia09bd61b0a3eb27b95534b59202f333b582c8a1c
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
6 years agoharfbuzz: Rename .bbappend to match new version from meta-openembedded
Changhyeok Bae [Wed, 13 Dec 2017 10:43:39 +0000 (10:43 +0000)]
harfbuzz: Rename .bbappend to match new version from meta-openembedded

Bug-AGL: SPEC-1181

Change-Id: I8ddf3f2b8a56fa5ba80081eaa4e31a124be18246
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
6 years agobblayers.conf: Remove meta-ruby and meta-efl layer
Changhyeok Bae [Wed, 13 Dec 2017 10:36:16 +0000 (10:36 +0000)]
bblayers.conf: Remove meta-ruby and meta-efl layer

meta-ruby and meta-efl layers are removed in meta-openembedded.

Bug-AGL: SPEC-1181

Change-Id: I6ac787e540b4d007e6e88d204338f17a2a29abb7
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
6 years agolightmediascanner: Add recipe
Changhyeok Bae [Wed, 13 Dec 2017 10:29:11 +0000 (10:29 +0000)]
lightmediascanner: Add recipe

the recipe is removed in meta-openembedded because meta-efl layer is
removed in meta-openembedded layer.

Bug-AGL: SPEC-1181

Change-Id: I59fafe3499344b8fcb4fe9bb1c82373ea6155253
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
6 years agoagl-appfw-smack.inc: remove IMAGE_DEPENDS
Changhyeok Bae [Wed, 13 Dec 2017 10:20:36 +0000 (10:20 +0000)]
agl-appfw-smack.inc: remove IMAGE_DEPENDS

IMAGE_DEPENDS is removed in oe-core.

(Poky rev: f93d58378fb4095a18c1403de03ca0e13ce465cd)
(OE-Core rev: c5f33d466122e53be910fa448af60ef3937eb828)

Bug-AGL: SPEC-1181

Change-Id: Id2605ac13b80f8096261f186c3d28eb1d165e2c4
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
6 years agoMerge "i.MX6: u-boot: Update patch for u-boot-script-boundary"
Jan-Simon Moeller [Tue, 16 Jan 2018 12:02:21 +0000 (12:02 +0000)]
Merge "i.MX6: u-boot: Update patch for u-boot-script-boundary"

6 years agoMerge "i.MX6: weston: Fix for missing flags"
Jan-Simon Moeller [Tue, 16 Jan 2018 11:49:22 +0000 (11:49 +0000)]
Merge "i.MX6: weston: Fix for missing flags"

6 years agoMerge "af-binder: Add C++ feature to genskel"
Jan-Simon Moeller [Tue, 16 Jan 2018 11:49:04 +0000 (11:49 +0000)]
Merge "af-binder: Add C++ feature to genskel"

6 years agoi.MX6: u-boot: Update patch for u-boot-script-boundary 63/13163/2
Mihail Grigorov [Wed, 10 Jan 2018 09:12:40 +0000 (11:12 +0200)]
i.MX6: u-boot: Update patch for u-boot-script-boundary

Now u-boot should switch in HD resolution

Change-Id: I4451746dc9a364af3460339c0a54f364e0606491
Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com>
6 years agoFix user-config.service is started everytime when app launching 07/13207/1
Tadao Tanikawa [Thu, 11 Jan 2018 13:27:29 +0000 (13:27 +0000)]
Fix user-config.service is started everytime when app launching

Due to miss an option in service configuration of
user-config.service, it is started everytime when application
has been launched.

If the user touches app icon or shortcut many times at very
short intervals, user-config.service would invoked too many
time for very short time, then systemd reject execution and
make an error.

This causes an issues in UI. E.g. missing touch event,
collapse of synchronization of HomeScreen's UI view.

Bug-AGL: SPEC-1246

Change-Id: Ia6c7ecac2f880e61c290d6e3ad27d363e228d5f9
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
6 years agoaf-binder: Add C++ feature to genskel 03/12903/6
José Bollo [Thu, 21 Dec 2017 16:10:41 +0000 (17:10 +0100)]
af-binder: Add C++ feature to genskel

Two evolutions:

 - the development tool afb-genskel accept now the options
   --cpp or -x to produce an output for C++ bindings

 - improved termination on exception (SIGINT, ...) that coulded
   drive to infinite loop when error was reached (SIGSEGV).

Bug-AGL: SPEC-1217

Change-Id: Iec22ffc7d9f99ccfdd20c2f9005968ab98d20a9b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
6 years agoChange distro config post release 71/13171/1
Jan-Simon Möller [Wed, 10 Jan 2018 18:53:29 +0000 (19:53 +0100)]
Change distro config post release

This changeset prepares the next cycle towards FF

Change-Id: I6051297b47c076d0fa79c153e7d5528f20a30740
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
6 years agoi.MX6: weston: Fix for missing flags 61/13161/1
Mihail Grigorov [Tue, 9 Jan 2018 11:20:26 +0000 (13:20 +0200)]
i.MX6: weston: Fix for missing flags

The missed flags causes a stop of transformation

SPEC-1192
Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com>
Change-Id: I601d2f35d2f73055187db827cc7687a25e4d4ece

6 years agotemplates/machine: remove unused test dirs 37/13137/1
Kevin Hilman [Thu, 4 Jan 2018 22:56:06 +0000 (22:56 +0000)]
templates/machine: remove unused test dirs

The "test" dir of the machine templates is no longer used by the
Jenkins job builder tools (ci-management).  Remove them.

Change-Id: Ice2ee89d7fba4f5cce763f71e4a4b206fa04b98c
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
6 years agoDisable window decoration and ensure fullscreen 95/13095/2
Romain Forlot [Tue, 2 Jan 2018 17:48:57 +0000 (18:48 +0100)]
Disable window decoration and ensure fullscreen

Change-Id: I2c9aad08d58b0da1fb6f362b95472f4a653fd9a3
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoMerge "low-level-can-service: bump to new version"
Jan-Simon Moeller [Tue, 2 Jan 2018 10:43:06 +0000 (10:43 +0000)]
Merge "low-level-can-service: bump to new version"

6 years agolow-level-can-service: bump to new version 63/12963/3
Romain Forlot [Fri, 22 Dec 2017 17:45:12 +0000 (18:45 +0100)]
low-level-can-service: bump to new version

docs: bump version to 5.0-EE
Code enhancements mem leaks and uninitialized byte
Initialize struct to avoid unexpected behavior

Change-Id: I9ef66fb18568e43478cb9c4f733c6ad81a38644f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoMerge "weston-ini-conf: Disable kingfisher's 2nd and 3rd output"
Jan-Simon Moeller [Wed, 27 Dec 2017 13:14:44 +0000 (13:14 +0000)]
Merge "weston-ini-conf: Disable kingfisher's 2nd and 3rd output"

6 years agoweston-ini-conf: Disable kingfisher's 2nd and 3rd output 47/12947/1
Harunobu Kurokawa [Fri, 22 Dec 2017 13:18:01 +0000 (22:18 +0900)]
weston-ini-conf: Disable kingfisher's 2nd and 3rd output

Kingfisher has tree display output, currently AGL use
only one output from micro HDMI.

Change-Id: Ife61da4bfd2127a49c50247c26d8a7693960d439
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
6 years agoadding copying of microcode.cpio if present 15/12915/1
Dominig ar Foll Intel Open Source [Fri, 22 Dec 2017 01:20:42 +0000 (02:20 +0100)]
adding copying of microcode.cpio if present

Change-Id: Ia1903d6e5906f3353ba1ad1f9c259865bf507330
Signed-off-by: Dominig ar Foll Intel Open Source <dominig.arfoll@fridu.net>
6 years agoAdding lua to Host SDK 53/12853/2
Romain Forlot [Wed, 20 Dec 2017 23:10:34 +0000 (00:10 +0100)]
Adding lua to Host SDK

Bug-AGL: SPEC-1215

Change-Id: I32cb7e3aeb8e4decafb3bf4b76b4ee7e39b10226
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
6 years agoAdding mkabl to support MRB platforms (non signed kernel) and detection/rejection... 63/12663/3
Dominig ar Foll Intel Open Source [Mon, 18 Dec 2017 08:49:40 +0000 (09:49 +0100)]
Adding mkabl to support MRB platforms (non signed kernel) and detection/rejection of configiguration with initrd=microcode.cpio

Change-Id: Iff7cbd34fb8abd0f0860fe183018a2d9a133614e
Signed-off-by: Dominig ar Foll Intel Open Source <dominig.arfoll@fridu.net>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12663
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 SCHED_DEBUG and PROC_EVENT config fragment 03/12403/3
Frode Isaksen [Fri, 8 Dec 2017 15:32:03 +0000 (15:32 +0000)]
Add SCHED_DEBUG and PROC_EVENT config fragment

Needed by blsched user space big.LITTLE scheduler.

Change-Id: I7920c6b7796064636756edd7f62a0dd765e54508
Signed-off-by: Frode Isaksen <fisaksen@baylibre.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12403
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 agoRemoving qtwebkit to be replaced by qtwebengine 89/12289/3
Romain Forlot [Fri, 1 Dec 2017 11:24:46 +0000 (12:24 +0100)]
Removing qtwebkit to be replaced by qtwebengine

Bug-AGL: SPEC-1159

Change-Id: Ieecc7cc51015dd0b7ce689e90f43fcd17b3eb62d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12289
Reviewed-by: José Bollo <jose.bollo@iot.bzh>
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>
Reviewed-by: ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
6 years agoaf-main: Fix a meaningless link 29/12429/2
José Bollo [Mon, 11 Dec 2017 10:09:49 +0000 (11:09 +0100)]
af-main: Fix a meaningless link

The removed line remained from some previous abandonned work.

Change-Id: Ic4a56ed5aeae43a516f78711eb1aa684cbbe97e1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12429
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 agoEnabled general Intel bluetooth driver support instead of specific one. 21/12421/3
Kien Dinh [Mon, 11 Dec 2017 06:21:37 +0000 (15:21 +0900)]
Enabled general Intel bluetooth driver support instead of specific one.
ibt-11-5 is the specific firmware for Joule. The image for IA should be able
to include multiple firmware, including this one.

For having the firmware in the image, please include linux-firmware-ibt by
IMAGE_INSTALL_append = ' linux-firmware-ibt'

Change-Id: I4451dbbf54145df784b763dd3ef924d8a7ac8863
Signed-off-by: Kien Dinh <kien.t.dinh@intel.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12421
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: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoA larger value is set as default-id-offset 67/12467/2
Tadao Tanikawa [Mon, 11 Dec 2017 10:45:22 +0000 (10:45 +0000)]
A larger value is set as default-id-offset

A lager value of default-id-offset would help debug of
AGL DEMO especially for WindowManager/HomeScreen.

Change-Id: I452985a27f69f24c3879f2aea83bb6fe647f29d1
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12467
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: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agometa-intel: Ensure we pass the microcode as initrd in wic images 51/12451/2
Tom Rini [Tue, 12 Dec 2017 02:02:54 +0000 (21:02 -0500)]
meta-intel: Ensure we pass the microcode as initrd in wic images

We need to ensure that the microcode is passed to the kernel as an
initrd to allow for application of required updates.

Bug-AGL: SPEC-1173
Change-Id: I37a2ca401df9a9c17cf2d3a60151af639a3aba28
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12451
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 agoivi-controller: add resize setting suit to surface size 43/12343/4
Wataru Mizuno [Wed, 6 Dec 2017 12:57:23 +0000 (21:57 +0900)]
ivi-controller: add resize setting suit to surface size

The ivi-controller resizes surface size like desktop usecase.

When window manager switchs the half size window to full size,
resize was not working correctly.
This patch fixs this issue by changing surface source region at
the same timing of destination region is changed.

This patch is not necessary later version of wayland-ivi-extension
2.0 since this resize function has already been implemented by
appropriate manner.

Change-Id: Ib028bbc7d77b92ddfafa680b6247224012d630f3
Signed-off-by: Wataru Mizuno <wmizuno@jp.adit-jv.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12343
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 agoadding support for .wic .wic.xz as source for image 63/12263/2
Dominig ar Foll Intel Open Source [Fri, 1 Dec 2017 09:40:31 +0000 (10:40 +0100)]
adding support for .wic .wic.xz as source for image

Change-Id: I94c09c6105ac06a37cedc04c777dd1372015a02d
Signed-off-by: Dominig ar Foll Intel Open Source <dominig.arfoll@fridu.net>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12263
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: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agometa-intel: Switch to using WIC images only 59/12159/4
Tom Rini [Mon, 27 Nov 2017 13:13:50 +0000 (08:13 -0500)]
meta-intel: Switch to using WIC images only

The hddimg format has a hard-stop at 4GB sized images.  We can trigger
this rather easily at this point under agl-demo-platform-crosssdk.  WIC
images do not have any such limitation, so we remove hddimg from the
list of built images.  The main impact of this is that whereas before we
would modify the default kernel command line via APPEND in the conf file
we would now modify it via the wks file we create for each platform and
that mkefi-agl.sh is now redundant.  These wks files are based on the
systemd one but also reflect the design of mkefi-agl.sh in that they
drop the swap partition.  Much of the APPEND commentary is moved to the
wks file and we remove some irrelevant comments as well.

Bug-AGL: SPEC-963
Change-Id: If667e1f946e4b9793b63f6d7f572d56d73e35767
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12159
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>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

6 years agolightmediascanner: add ~/Videos to initial media scan 73/12373/2
Matt Ranostay [Thu, 7 Dec 2017 23:56:22 +0000 (15:56 -0800)]
lightmediascanner: add ~/Videos to initial media scan

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

Bug-AGL: SPEC-1169
Change-Id: I536c85fa811153e980acc489db128dd02251e00d
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12373
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 ago4A: don't pull agl-audio-plugin when 4A is enabled 45/12245/2
Stephane Desneux [Thu, 30 Nov 2017 17:43:15 +0000 (18:43 +0100)]
4A: don't pull agl-audio-plugin when 4A is enabled

When agl-audio-4a-framework feature is enabled at aglsetup time, 4A audio
is enabled and legacy agl-audio-plugin used with GENIVI AudioManager must
not be pulled in images.

Change-Id: I23ff0ced9eff184718b47219e80f1f51db8b9fb8
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12245
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 agolinux-renesas_%.bbappend: Fix ath9k_htc.cfg and rtl_sdr.cfg 97/12297/2
Leon Anavi [Fri, 1 Dec 2017 17:06:00 +0000 (19:06 +0200)]
linux-renesas_%.bbappend: Fix ath9k_htc.cfg and rtl_sdr.cfg

Files ath9k_htc.cfg and rtl_sdr.cfg are provided
by linux-agl.inc. As of the moment there is no need
linux-renesas_%.bbappend also to provide them and
furthermore this patches fixes the kernel build.

Bug-AGL: SPEC-1152

Change-Id: I29ddac799469e0a3107037bb11918c228d10b5db
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12297
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: Make weak ws-client by default (to be fixed) 23/12323/2
José Bollo [Tue, 5 Dec 2017 16:45:43 +0000 (17:45 +0100)]
af-binder: Make weak ws-client by default (to be fixed)

The case of unicens service that can be here or not creates
problem to the binding 4a when the service is not here.
This commits makes the requirement of ws-client
socket optional. This unblocks the situation but need to
be fixed later, for example, by introducing an explicit
weak requirement.

Bug-AGL: SPEC-1151

Change-Id: If935974eb5eeef1238e835ab4b0a46011bfb51b4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12323
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>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoFix wrong config.xml file used to build widget 17/12317/3
Romain Forlot [Tue, 5 Dec 2017 09:09:59 +0000 (10:09 +0100)]
Fix wrong config.xml file used to build widget

Bug-AGL: SPEC-1162

Change-Id: I9e2bf8ba801f36ee0f5ef168346d98201b44633f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12317
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoXDG-IVI: Load by default id-agent in weston 73/12273/4
Romain Forlot [Fri, 1 Dec 2017 13:44:30 +0000 (14:44 +0100)]
XDG-IVI: Load by default id-agent in weston

Bug-AGL: SPEC-1096

Change-Id: Iecfede123503410e1fdfa509a724cbcaf643d92b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12273
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: Nobuhiko Tanibata <nobuhiko_tanibata@denso.co.jp>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoaf-binder: Fix hangup on long messages 93/12193/5
José Bollo [Wed, 29 Nov 2017 17:26:44 +0000 (18:26 +0100)]
af-binder: Fix hangup on long messages

Fixes:

 - Handle correctly the sending of very long
messages.

Improvements:

 - Better handling of sd_event loop

 - Allows settings of afb-daemon options by
   environment:
     AFB_TRACEREQ, AFB_TRACEDITF, AFB_TRACESVC,
     AFB_TRACEEVT, AFB_LDPATHS

Bug-AGL: SPEC-1091

Change-Id: I1bf8d52bf3ab8f1c73a524c0030b388570d08da8
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12193
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 agoFix permission label and write verbs call 33/12233/2
Romain Forlot [Thu, 30 Nov 2017 11:05:34 +0000 (12:05 +0100)]
Fix permission label and write verbs call

- Fails write request if CAN signal not writable
- Fix permission label
- Correctly reconstituting entire CAN frame
- Deprecate cmake variables not useful
    Mechanism to build 3rdparty external libs isn't unique
    and should not be handled by app-templates
- Handle space in project path

Bug-AGL: SPEC-966

Change-Id: Icbd4a1b56c87d2b4f1a529c7436fc5ca4af12db3
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12233
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-bsp: move usbaudio.cfg to linux-agl.inc 53/12253/2
Matt Porter [Thu, 30 Nov 2017 23:01:56 +0000 (18:01 -0500)]
meta-agl-bsp: move usbaudio.cfg to linux-agl.inc

USB audio should be enabled for all AGL BSPs. Move the
usbaudio.cfg from the Renesas BSP bbappend (it's actually
not even used there as the fragment is not being appended)
to linux-agl.inc and append it.

Bug-AGL: SPEC-1148

Change-Id: I219d0d0355a4d57f883086631e07f3d191be2975
Signed-off-by: Matt Porter <mporter@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12253
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: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agometa-netboot: enhance reference uboot config for R-Car Gen3 45/11745/4
Stephane Desneux [Tue, 7 Nov 2017 17:44:34 +0000 (18:44 +0100)]
meta-netboot: enhance reference uboot config for R-Car Gen3

The provided config now allows to switch from netboot to sdcard
boot at runtime by changing a uboot variable.

Change-Id: I778f46f65ca007dbdd5ae070e946c04b7277ddeb
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11745
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 agoFix Linux Kernel fragment for netboot 15/12215/2
Kotaro Hashimoto [Thu, 30 Nov 2017 02:10:09 +0000 (11:10 +0900)]
Fix Linux Kernel fragment for netboot

Previous change caused issue of missing nbd.cfg at bitbaking for non-netboot environment.
This patch fix netboot setting.
(*)https://gerrit.automotivelinux.org/gerrit/#/c/12063/

Change-Id: I61a9e2ac9aecc98b6a379c4587a025710aaebfbb
Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12215
Reviewed-by: Thomas Rini <trini@konsulko.com>
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 agometa-agl-bsp/meta-rcar-gen3: Add default asound.state file 99/12199/2
Tom Rini [Wed, 29 Nov 2017 17:59:11 +0000 (12:59 -0500)]
meta-agl-bsp/meta-rcar-gen3: Add default asound.state file

The m3/h3 platforms have certain mixer settings that must be enabled and
levels set before anything will be heard.  Provide a default that sets
this to a comfortable default along with other volumes.

Bug-AGL: SPEC-792
Change-Id: I1b983b75fd580ae39495a47058bb568b7f75a479
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12199
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 agoaf-main: Handle users from the system scope 39/12139/5
José Bollo [Thu, 12 Oct 2017 21:10:07 +0000 (23:10 +0200)]
af-main: Handle users from the system scope

To simplify the management of users while keeping
systemd as launcher, this evolution anchors the
framework in the system level.

This also introduce a new version of afm-system-daemon
that is 100% a binding of the binder and that
consequently offers natively a websocket API.

Change-Id: I1bbb48d0c01d0f6fd3c8dfca90febbe8147cf204
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12139
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>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoagl-users: Use UID for HOME directories and logins 37/12137/5
José Bollo [Thu, 12 Oct 2017 20:54:23 +0000 (22:54 +0200)]
agl-users: Use UID for HOME directories and logins

While dealing with systemd as a launcher, it appeared
a limitation. If the template argument of units is used
to designate the user it can not be different that the
UID as a number because systemd enforce XDG_RUNTIME_DIR
to be /run/user/<UID>.

Thus using UID is the way to go to use template mechanic
of systemd and use systemd as launcher. This is of
importance because we don't expect systemd user to have
full capabilities. Instead the framework will continue
to leverage systemd launching mechanism but at a system
level, with full capabilities but wil only allow user
applications to deal with systemd --user. This impose to
use UID as template parameters.

The problem is then to set the user directory to the
correct value knowing only the UID and using only
possibilities of units. The only way is to have user
home directories of the form /SOMETHING/<UID>  (where
SOMETHING is merely "home").

This can be achieved either by setting a symbolic link
(hard link tto directories are forbidden) or by simply
using the scheme /home/UID in all cases.

At the end, users within AGL will not receive nick names
but will  receive allocated UID. So, at the end, it is
not a problem to use the regular naming scheme /home/UID,
a scheme that will probably never be seen except by tools
or experts.

This patch implement this choice.

Change-Id: I225958fa627894cb966f52a06ebd8a914058d429
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12137
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>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agomxml: remove SECURITY_CFLAGS override 71/12171/2
Stephane Desneux [Tue, 28 Nov 2017 21:41:59 +0000 (21:41 +0000)]
mxml: remove SECURITY_CFLAGS override

mxml is not neeeded anymore as a dependency of agl-service-unicens
so the override on SECURITY_CLAGS can be removed

Bug-AGL: SPEC-1108

Change-Id: I704fdeed2db07a159a1cd32ebcf6ae93d8702a2b
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12171
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: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: José Bollo <jobol@nonadev.net>
Reviewed-by: Romain Forlot <romain.forlot@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoMerge window for EE rc4 is open 61/12161/2
Jan-Simon Möller [Mon, 27 Nov 2017 17:56:29 +0000 (18:56 +0100)]
Merge window for EE rc4 is open

Change-Id: I11fdb68861c74532fa2cd1014195f1585330d981
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12161
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 agoAdded XDG compatibility to ivi-shell 91/11991/11
Romain Forlot [Wed, 15 Nov 2017 16:33:16 +0000 (16:33 +0000)]
Added XDG compatibility to ivi-shell

Backported M.Teyfel patch from wayland-devel mailing list:
https://lists.freedesktop.org/archives/wayland-devel/2017-November/035700.html

Upgrade wayland-ivi-extension to v2.0.2 but keep
using 1.1x for now with PREFERRED_VERSION until HMI could use the new
version.

Added Emre Ucan simple-id-agent to review.

Bug-AGL: SPEC-1096

Change-Id: I74c4ae0bf0bf822e27dcbb193dc9f7a13d3e270d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11991
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Nobuhiko Tanibata <nobuhiko_tanibata@denso.co.jp>
Reviewed-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
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>