AGL/meta-agl.git
6 years agoPrepare EE rc5 13/12913/1 4.99.5 eel/4.99.5 eel_4.99.5
Jan-Simon Möller [Fri, 22 Dec 2017 01:13:38 +0000 (02:13 +0100)]
Prepare EE rc5

Change-Id: I3157142b03456987c648af05b60f61641aab6afa
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
6 years agoMerge "Adding lua to Host SDK" into eel
Jan-Simon Moeller [Thu, 21 Dec 2017 20:48:15 +0000 (20:48 +0000)]
Merge "Adding lua to Host SDK" into eel

6 years agoMerge changes I6716197b,I07fe2d5a,Ia35a6007,I1457c89a,Iaaf3b308 into eel
Jan-Simon Moeller [Thu, 21 Dec 2017 08:46:01 +0000 (08:46 +0000)]
Merge changes I6716197b,I07fe2d5a,Ia35a6007,I1457c89a,Iaaf3b308 into eel

* changes:
  meta-agl-bsp/meta-rcar-gen3: Add u-boot-script-rcar-gen3 to ease boot
  meta-rcar-gen3: add si46xx radio tools for KF support
  ti-bt: add a systemd unit and enable
  meta-rcar-gen3: add WiLink8 tools for KF support
  templates: rcar3: add meta-rcar-gen3-adas for KF support

6 years agoAdding lua to Host SDK 55/12855/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 agometa-agl-bsp/meta-rcar-gen3: Add u-boot-script-rcar-gen3 to ease boot 77/12777/2
Tom Rini [Wed, 13 Dec 2017 23:18:29 +0000 (18:18 -0500)]
meta-agl-bsp/meta-rcar-gen3: Add u-boot-script-rcar-gen3 to ease boot

Introduce a boot.scr script to handle loading the kernel and device
tree, along with setting up the bootargs.

Change-Id: I6716197bc68c37e72d6203113f055fbc0d84ee37
Bug-AGL: SPEC-1175
Signed-off-by: Tom Rini <trini@konsulko.com>
6 years agometa-rcar-gen3: add si46xx radio tools for KF support 75/12775/3
Matt Porter [Tue, 12 Dec 2017 00:38:41 +0000 (19:38 -0500)]
meta-rcar-gen3: add si46xx radio tools for KF support

Add userspace flashing/init/operational tools and userspace
driver to support the si46xx radio on Kingfisher.

Bug-AGL: SPEC-1175

Change-Id: I07fe2d5a3e19e4c094e3238430a9287c9aa52aff
Signed-off-by: Matt Porter <mporter@konsulko.com>
6 years agoti-bt: add a systemd unit and enable 73/12773/3
Matt Porter [Wed, 13 Dec 2017 15:55:51 +0000 (10:55 -0500)]
ti-bt: add a systemd unit and enable

We need to provide a systemd unit for UIM to be started at boot.  We
also do not want the blacklist that Cogent has created, so delete that.

Bug-AGL: SPEC-1175
Change-Id: Ia35a6007722d4e42a7a76fe9d8d26b90b073f73b
Signed-off-by: Matt Porter <mporter@konsulko.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
6 years agometa-rcar-gen3: add WiLink8 tools for KF support 71/12771/3
Matt Porter [Thu, 7 Dec 2017 20:47:50 +0000 (15:47 -0500)]
meta-rcar-gen3: add WiLink8 tools for KF support

Add WiLink8 firmware and BT daemon to support Kingfisher.

Bug-AGL: SPEC-1175

Change-Id: I1457c89abfa3ba3d6afe25c1e158cbfee8e937ad
Signed-off-by: Matt Porter <mporter@konsulko.com>
6 years agotemplates: rcar3: add meta-rcar-gen3-adas for KF support 69/12769/3
Matt Porter [Thu, 7 Dec 2017 20:45:44 +0000 (15:45 -0500)]
templates: rcar3: add meta-rcar-gen3-adas for KF support

Bug-AGL: SPEC-1175

Change-Id: Iaaf3b308eae48be9df87e477c62ff391efa59b50
Signed-off-by: Matt Porter <mporter@konsulko.com>
6 years agopulseaudio: disable exit-idle-time in daemon.conf 65/12765/1
Matt Porter [Wed, 13 Dec 2017 23:04:28 +0000 (18:04 -0500)]
pulseaudio: disable exit-idle-time in daemon.conf

With bluetooth connected, pulseaudio is segfaulting during
idle shutdown. Implement a workaround to avoid idle shutdown
by disabling the exit idle timer that is on by default.

Bug-AGL: SPEC-1188

Change-Id: Ie5868ed2a89d275973a7aca2555a0216c67d090a
Signed-off-by: Matt Porter <mporter@konsulko.com>
6 years agoaf-binder & af-main: use AGL_DEFAULT_REVISION for eel 83/12683/4
José Bollo [Mon, 18 Dec 2017 14:58:05 +0000 (15:58 +0100)]
af-binder & af-main: use AGL_DEFAULT_REVISION for eel

This commit set to AGL_DEFAULT_REVISION for branch eel products.

At his time, it integrate the switch to the version 5.0.0-EE.

After this commit, the changes in binder and framework
should be tracked by the version info of the product.

Change-Id: I6ce40f472c9dc4961808a276f73605d57573dc55
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12683
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoAdding mkabl to support MRB platforms (non signed kernel) and detection/rejection... 69/12669/2
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/12669
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 ago4A: don't pull agl-audio-plugin when 4A is enabled 01/12601/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>
(cherry picked from commit 5746146e5a42821fb95d39af36b0e7e07c45b79d)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12601

6 years agoRemoving qtwebkit to be replaced by qtwebengine 95/12495/2
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/12495
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 agoEnabled general Intel bluetooth driver support instead of specific one. 11/12511/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/12511
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 27/12427/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/12427
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: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Reviewed-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Reviewed-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-by: Romain Forlot <romain.forlot@iot.bzh>
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 53/12453/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/12453
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 agoEel branch open for final merge window before v5.0.0 45/12445/2
Jan-Simon Möller [Mon, 11 Dec 2017 20:03:57 +0000 (21:03 +0100)]
Eel branch open for final merge window before v5.0.0

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

6 years agoPrepare Electric Eel rc4 release v4.99.4 11/12411/2 4.99.4 eel/4.99.4 eel_4.99.4
Jan-Simon Möller [Sun, 10 Dec 2017 21:29:29 +0000 (22:29 +0100)]
Prepare Electric Eel rc4 release v4.99.4

Change-Id: I35318a08aa96f4c152a91c55f1f5a56163a0615f
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12411
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-intel: Switch to using WIC images only 27/12327/7
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/12327
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 99/12399/2
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/12399
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 09/12409/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/12409
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 ~/Videos to initial media scan 97/12397/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/12397
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 agoFix wrong config.xml file used to build widget 81/12381/2
Romain Forlot [Fri, 8 Dec 2017 08:17:37 +0000 (09:17 +0100)]
Fix wrong config.xml file used to build widget

Bug-AGL: SPEC-1162

Change-Id: Ib5896de50a52b4828bd6784f2f1c5b9fae55fca9
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12381
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 57/12357/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/12357
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: Make weak ws-client by default (to be fixed) 49/12349/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: I64864996032510f9540a6d1710cbac6e90889658
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12349
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 agoXDG-IVI: Load by default id-agent in weston 11/12311/2
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/12311
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: move usbaudio.cfg to linux-agl.inc 81/12281/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/12281
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: Fix hangup on long messages 25/12225/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/12225
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>
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 agoFix permission label and write verbs call 31/12231/3
Romain Forlot [Thu, 30 Nov 2017 11:06:42 +0000 (12:06 +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: I3cf2cef32b55b2f796c154ff88aa23fdf1644a7d
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12231
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-netboot: enhance reference uboot config for R-Car Gen3 13/12213/3
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/12213
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 agoFix Linux Kernel fragment for netboot 17/12217/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/12217
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 01/12201/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/12201
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 agoUpdate eel branch defaults 81/12181/2
Jan-Simon Möller [Wed, 29 Nov 2017 10:15:19 +0000 (11:15 +0100)]
Update eel branch defaults

This change updates the gitreview and default.xml for the
Electric Eel branch.

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

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>
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>