AGL/meta-agl.git
6 years agoBump DISTRO_VERSION for DD rc2 09/9809/2
Jan-Simon Möller [Mon, 26 Jun 2017 11:52:43 +0000 (13:52 +0200)]
Bump DISTRO_VERSION for DD rc2

This changeset modifies the distro configuration to reflect DD rc2 .

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

6 years agoAdd .gitreview for dab
Jan-Simon Möller [Sat, 24 Jun 2017 17:47:07 +0000 (19:47 +0200)]
Add .gitreview for dab

Change-Id: I8cf41e7ae82339d867efc40c6ea167220d02c02a
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
6 years agoaf-main: ensure socket activation 93/9793/2
José Bollo [Fri, 23 Jun 2017 21:03:29 +0000 (23:03 +0200)]
af-main: ensure socket activation

When installing a widget, the sockets.target
has to be restarted. This commit does it.

AGL-Bug: SPEC-670

Change-Id: I7200749716c57778d165971a5abea27493ce0628
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9793
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-main: Fix service and their socket activation 87/9787/2
José Bollo [Fri, 23 Jun 2017 12:12:40 +0000 (14:12 +0200)]
af-main: Fix service and their socket activation

The method to create shared services using websockets
was buggy. This patch correct it. It creates the directories
'sockets.target.wants' were the socket activations units
will be linked. It also makes correct reload and improves
the used paths.

Also fixes a masty infinite loop (spec-663).

AGL-Bug: SPEC-670
AGL-Bug: SPEC-663

Change-Id: I39d93f669498354a1c2f96bd735c0318a2f0e93a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9787
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Romain Forlot <romain.forlot@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoagl_raspberrypi*.inc: Set KERNEL_IMAGETYPE to Image 27/9727/5
Leon Anavi [Tue, 13 Jun 2017 17:19:37 +0000 (20:19 +0300)]
agl_raspberrypi*.inc: Set KERNEL_IMAGETYPE to Image

Set KERNEL_IMAGETYPE to Image to ensure correct
generation of kernel7.img and successful booting
of AGL on Raspberry Pi 3 and 2 with output from
the serial console.

v2 (jsmoeller): Also adapt
   templates/machine/raspberrypi3/test/hwtest.short.environment

v3 (jsmoeller): disable CI hwtests as rpi firmware is used

Bug-AGL: SPEC-649
Bug-AGL: SPEC-650

Change-Id: If4335ffed7047fd2fbbf4bbd2dff54322cd0bf07
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9727
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
6 years agometa-agl-netboot: increase IMAGE_ROOTFS_EXTRA_SPACE 79/9779/2
Stephane Desneux [Tue, 20 Jun 2017 15:07:53 +0000 (17:07 +0200)]
meta-agl-netboot: increase IMAGE_ROOTFS_EXTRA_SPACE

More room is needed when installing debug packages or
big components like Chromium.

Also, IMAGE_ROOTFS_EXTRA_SPACE was overridden by another unidentified
configuration file or recipe: the setting is now forced. Consequently,
the extra space must be reduced specifically for initrd.

Change-Id: Id9b7659197c0840c04bce048a7bb1d96c77f3cc9
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9779
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 agosupport MACHINE=raspberrypi3-64 67/9767/3
Kevin Hilman [Mon, 19 Jun 2017 23:16:27 +0000 (23:16 +0000)]
support MACHINE=raspberrypi3-64

The meta-raspberrypi layer already supports raspberrypi3-64, where
it will build a 64-bit kernel.

Add templates so that "aglsetup.sh -m raspberrypi3-64" works.

Note that 64-bit kernel build is only supported in the v4.9 branch of
the rpi kernel, and that the kernel image type is "Image" instead of Image.

Change-Id: Iee728191dc38521be607787d5736d21372f1dff5
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9767
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 agoRemove sdcard_image-rpi-gdp.bbclass 65/9765/2
Leon Anavi [Mon, 19 Jun 2017 15:03:48 +0000 (18:03 +0300)]
Remove sdcard_image-rpi-gdp.bbclass

Remove class sdcard_image-rpi-gdp. Historically it
was added during the initial porting of AGL to
Raspberry Pi and it had been taken from GENIVI
Development Platform. It is not needed anymore.

Bug-AGL: SPEC-409

Change-Id: I3f78b5fd92b08962c4a1fe07753627ae81da23ec
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9765
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 hibernation image area 97/9697/2
Yuichi Kusakabe [Sat, 10 Jun 2017 10:34:35 +0000 (19:34 +0900)]
Add hibernation image area

This patch set add DDR hibernation image area.
0x40000000 <-> 0x77FFFFFF : kernel
0x78000000 <-> 0x7FFFFFFF : hibernation image area

and Enable swsusp DMA support(sdhi DMA support).

Change-Id: Ia3011d4979f38f0d1cbc5f9f1964e8fa07a7fc20
Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9697
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 agoSet idle-time to 0 in weston.service. 93/9693/2
Harunobu Kurokawa [Sat, 10 Jun 2017 08:30:21 +0000 (17:30 +0900)]
Set idle-time to 0 in weston.service.

As described weston.ini.man, "idle-time" should be set 0 if user
want not to enable screen saver.

A value of 0 disables the timeout.

Change-Id: I17cff212a5231be05008ac1a5acc23d86bb9be51
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9693
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: remove automounting 01/9601/4
Matt Ranostay [Wed, 31 May 2017 19:51:16 +0000 (19:51 +0000)]
systemd: remove automounting

Switching to more robust script to manage media
insertation, and removal.

Change-Id: I5ca2a9bef6178184002316155693473ac68537ac
Bug-AGL: SPEC-634
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9601
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: change scan path 05/9605/4
Matt Ranostay [Sat, 3 Jun 2017 07:41:52 +0000 (07:41 +0000)]
lightmediascanner: change scan path

Since udisks + devmon mounts in /media for security reasons we need to
scan that path.

Change-Id: I6d53a76128af579f0c14064756d7b4ec935356cf
Bug-AGL: SPEC-634
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9605
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 agoraspberrypi2: change GPU_MEM to 255 41/9741/3
Leon Anavi [Thu, 15 Jun 2017 11:05:52 +0000 (14:05 +0300)]
raspberrypi2: change GPU_MEM to 255

Scale back GPU to 256MB for successful booting on
Raspberry Pi 2. The same change has been already
applied to the configurations for Raspberry Pi 3
as part of the work on SPEC-410 and SPEC-469.

Bug-AGL: SPEC-616

Change-Id: Iafa83209d9e3b04609d820e3492ddb6266864f92
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9741
Reviewed-by: Thomas Rini <tom.rini@gmail.com>
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoAdd hibernation image area 99/9699/2
Yuichi Kusakabe [Sat, 10 Jun 2017 10:55:26 +0000 (19:55 +0900)]
Add hibernation image area

This patch set add DDR hibernation image area.
0x40000000 <-> 0x77FFFFFF : kernel
0x78000000 <-> 0x7FFFFFFF : hibernation image area

and Fix Black blink correction of display.

Change-Id: I286b5291cb2eed22334a95132ba4a137eff298ca
Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9699
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 agoFramework: fix and upgrade 25/9725/2
Stephane Desneux [Tue, 13 Jun 2017 15:21:07 +0000 (15:21 +0000)]
Framework: fix and upgrade

App-framework-main:
- Fix lack of error message on mustach issue
- fix binding version to 1
- Fix service name within socket units

App-framework-binder:
- Removes reference to NULL in includes
- Add comment for bindings v2
- Fix issue in using systemd socket activation
- Moves tic-tac-toe sample to V2
- Refactor of the documentation

Change-Id: I16361ef29634edc3cead0492caea1a49b4a61d3e
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9725
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 agoREADME.renesas-gen3: add uboot env to setup ethernet 23/9723/2
Stephane Desneux [Tue, 13 Jun 2017 13:28:50 +0000 (13:28 +0000)]
README.renesas-gen3: add uboot env to setup ethernet

Change-Id: I2f399257708bc7b44e9961ce9cebfbc55eaee899
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9723
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 for memory corruption during hibernate 01/9701/2
Yuichi Kusakabe [Sat, 10 Jun 2017 12:19:15 +0000 (21:19 +0900)]
Fix for memory corruption during hibernate

Change-Id: I4ee4ff339e34feb460e5faadfe3b3b937f881e56
Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9701
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 agoEnable SOTA for supported architectures 57/9657/2
Anton Gerasimov [Thu, 8 Jun 2017 16:30:32 +0000 (18:30 +0200)]
Enable SOTA for supported architectures

SOTA was temporarily disabled becaused it caused build errors

Change-Id: I57f1704c3cacf08cda6cb6a0fa4ec1fe0df305f3
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9657
Reviewed-by: Martin Kelly <mkelly@xevo.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: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoenabling https for wget in busybox 55/9655/2
Dominig ar Foll (Intel Open Source) [Thu, 8 Jun 2017 16:38:14 +0000 (18:38 +0200)]
enabling https for wget in busybox

Change-Id: I4d7093285d6c4aa3b17e78019b1e0d3a9b5de2d3
Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9655
Reviewed-by: Martin Kelly <mkelly@xevo.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 agoFramework: Fix and upgrade 09/9609/4
José Bollo [Tue, 6 Jun 2017 08:50:36 +0000 (10:50 +0200)]
Framework: Fix and upgrade

App-framework-main:

 - Deinstallation of units
 - Fix lack of message when setting exec bit

App-framework-binder:

 - Binding V2 proposal finalized
 - Human readable option for afb-client-demo
 - Cleanup and improvement of API
 - Logging by request
 - Relax authorization for self
 - New hooking/tracing features (options --tracesvc and --traceevt)
 - Fix of many bugs

AGL-Bug: SPEC-644
AGL-Bug: SPEC-645

Change-Id: Id980ebda486105044f9685ba50639a81766a7d72
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9609
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 agotcf-agent: kill with USR2 in systemd stop 97/9597/2
Martin Kelly [Wed, 31 May 2017 11:28:00 +0000 (20:28 +0900)]
tcf-agent: kill with USR2 in systemd stop

tcf-agent ignores SIGTERM, so upstream uses USR2 instead. This issue was noticed
by Jan Kiszka and Brian Avery around the same time:

https://patchwork.openembedded.org/patch/139546/
https://patchwork.openembedded.org/patch/139560/

However, these patches fixed only the init scripts, not the systemd service
file. This patch fixes the systemd file.

Change-Id: Id59fab32ae78213efe98a646dce2eec0881720f6
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9597
Reviewed-by: José Bollo <jobol@nonadev.net>
Reviewed-by: Changhyeok Bae <changhyeok.bae@gmail.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>

6 years agoagl-login-manager,agl-desktop-config: Move layer to meta-agl 87/9587/5
Changhyeok Bae [Wed, 31 May 2017 07:11:31 +0000 (07:11 +0000)]
agl-login-manager,agl-desktop-config: Move layer to meta-agl

agl-ivi-image is using agl-login-manager and agl-desktop-config.
However, those aren't included in meta-agl layer.
So agl-ivi-image isn't built only with meta-agl layer.

Bug-AGL: SPEC-625

Change-Id: Ied4bbec9c72d2f7cac5b01c2465fe395c2e5497c
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9587
Reviewed-by: Martin Kelly <mkelly@xevo.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 agoAdd support for cflags for pi0/1 93/9593/3
Jan-Simon Möller [Wed, 31 May 2017 23:34:32 +0000 (01:34 +0200)]
Add support for cflags for pi0/1

Change-Id: I36f09230305ce19905b80f90beae7021f301bddf
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9593
Reviewed-by: Martin Kelly <mkelly@xevo.com>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
6 years agorygel: disable user systemd service 57/9557/3
Matt Ranostay [Tue, 30 May 2017 22:37:47 +0000 (01:37 +0300)]
rygel: disable user systemd service

Due to Rygel sending SSDP traffic disable the rygel.service
until an user enables it.

Change-Id: I9b2c203433a0d21d981267b2364527a8736a731c
Bug-AGL: SPEC-613
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9557
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 agolibmicrohttp: update to version 0.9.55 43/9543/2
José Bollo [Mon, 29 May 2017 09:16:50 +0000 (11:16 +0200)]
libmicrohttp: update to version 0.9.55

Bug-AGL: SPEC-632

Change-Id: I89486ee190c56c399f5abbde9825082de84e9d82
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9543
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 agolightmediascanner: remove udev workaround 33/9533/2
Matt Ranostay [Sat, 27 May 2017 01:17:56 +0000 (04:17 +0300)]
lightmediascanner: remove udev workaround

Now that DBUS events on monitored mounted directories works
the workaround can be removed.

Change-Id: Ia4ac369a47aefc33f0aa9276a31841d0a64cd2da
Bug-AGL: SPEC-628
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9533
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoAdd override for DISTRO_CODENAME 19/9519/2 3.99.1 dab/3.99.1 dab_3.99.1
Jan-Simon Möller [Thu, 25 May 2017 16:25:16 +0000 (18:25 +0200)]
Add override for DISTRO_CODENAME

This is used for recipe pinning.

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

7 years agoAdd u-boot Hibernation code for porter board. 49/9449/4
Yuichi Kusakabe [Sun, 21 May 2017 15:11:15 +0000 (00:11 +0900)]
Add u-boot Hibernation code for porter board.

This patch set is a support to Hibernation for a porter board.
I've commit with Hibernation Off patch, because it depends strongly on user land.
If you can use Hibernation, Please add local.conf agl-porter-hibernate.
OVERRIDES .= ":agl-porter-hibernate"
DISTRO_FEATURES_append = " agl-porter-hibernate"

Change-Id: I3f0560074b710c27f49a73ca871038246d222b73
Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9449
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>
7 years agoAdd kernel Hibernation code for porter board. 51/9451/5
Yuichi Kusakabe [Sun, 21 May 2017 15:15:23 +0000 (00:15 +0900)]
Add kernel Hibernation code for porter board.

This patch set is a support to Hibernation for a porter board.
I've commit with Hibernation Off patch, because it depends strongly on user land.
If you can use Hibernation, Please add local.conf agl-porter-hibernate.
OVERRIDES .= ":agl-porter-hibernate"
DISTRO_FEATURES_append = " agl-porter-hibernate"

Change-Id: Ic64c9494a4bbd2518ef1aa334325b96eb7a9479e
Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9451
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>
7 years agoAdd s3ctl Hibernation code for porter board. 47/9447/3
Yuichi Kusakabe [Sun, 21 May 2017 14:54:46 +0000 (23:54 +0900)]
Add s3ctl Hibernation code for porter board.

This patch set is a support to Hibernation for a porter board.
I've commit with Hibernation Off patch, because it depends strongly on user land.
If you can use Hibernation, Please add local.conf agl-porter-hibernate.
OVERRIDES .= ":agl-porter-hibernate"
DISTRO_FEATURES_append = " agl-porter-hibernate"

Change-Id: I06dfe57abf8ff8c79151e4f15432b5445a7811e2
Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9447
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>
7 years agoAdd gles Hibernation code for porter board. 53/9453/3
Yuichi Kusakabe [Sun, 21 May 2017 15:18:20 +0000 (00:18 +0900)]
Add gles Hibernation code for porter board.

This patch set is a support to Hibernation for a porter board.
I've commit with Hibernation Off patch, because it depends strongly on user land.
If you can use Hibernation, Please add local.conf agl-porter-hibernate.
OVERRIDES .= ":agl-porter-hibernate"
DISTRO_FEATURES_append = " agl-porter-hibernate"

Change-Id: I6cde0492c28ec9ed67c377d22a29bda9c1b4746e
Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9453
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>
7 years agoagl-image-weston: fix weston regression 95/9495/3
Martin Kelly [Tue, 23 May 2017 18:59:38 +0000 (11:59 -0700)]
agl-image-weston: fix weston regression

After 6ca247d (which changed how weston services work) services using
weston in agl-image-weston no longer start, saying "Display not found".
With this patch, they work again.

Change-Id: I7441ce2ece079db8f46a41b2ad3997951d5e18ba
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9495
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>
7 years agopulseaudio: fix service/socket unit installation 97/9497/5
Scott Murray [Tue, 23 May 2017 20:33:02 +0000 (16:33 -0400)]
pulseaudio: fix service/socket unit installation

It's not obvious how the base pulseaudio package was being pulled
in before to pick up the pulseaudio.{service,socket} symlinks in
/home/root/.config, but it's definitely not being installed now,
breaking PulseAudio usage in all applications.  Move the symlinks to
the pulseaudio-server package which is definitely always installed,
and also contains the target files for the symlinks.  Additionally,
move the symlinks to /usr/lib/systemd/user to prepare for the eventual
running of all applications as non-root and be compliant with
SPEC-505.

Bug-AGL: SPEC-612

Change-Id: Ic8e283e6ee32e3b532e93344445b239ed8d3e896
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9497
Reviewed-by: Matt Porter <mporter@konsulko.com>
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoSecurity-manager: update of global user name 03/9503/3
José Bollo [Wed, 24 May 2017 09:14:27 +0000 (11:14 +0200)]
Security-manager: update of global user name

The global user name is 'afm'

AGL-Bug: SPEC-617

Change-Id: I8b129afb333fdf0e90fde5e364ce6b56ceb5d712
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9503
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>
Reviewed-by: Matt Porter <mporter@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoA fix is in upstream now. 13/9513/2
Jan-Simon Moeller [Wed, 24 May 2017 19:07:27 +0000 (19:07 +0000)]
A fix is in upstream now.
The mirror @ sources.openembedded.org was checked and has a copy of the tarball.

Revert "Add hotfix for sg3-utils SRC_URI not available"

This reverts commit e68fd87fe3be06583c8e76af777c42a19d6cf5a5.

Change-Id: I5024a0bfa304219c795390fca424f2cf4f3bbfb5
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9513
Reviewed-by: Martin Kelly <mkelly@xevo.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>

7 years agoAdd hotfix for sg3-utils SRC_URI not available 07/9507/2
Jan-Simon Möller [Wed, 24 May 2017 12:42:38 +0000 (14:42 +0200)]
Add hotfix for sg3-utils SRC_URI not available

ERROR: sg3-utils-1.42-r0 do_fetch: Fetcher failure for URL: 'http://sg.danny.cz/sg/p/sg3_utils-1.42.tgz'. Unable to fetch URL from any source.

Until fixed upstream, use a mirror.

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

7 years agoAdd support H.264 Encoder proprietary Library for R-Car Gen3 83/9483/2
Harunobu Kurokawa [Fri, 12 May 2017 13:24:28 +0000 (22:24 +0900)]
Add support H.264 Encoder proprietary Library for R-Car Gen3

Change-Id: I0282804ff11a0f66d76c371f63cfc5ba1dd639a0
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9483
Reviewed-by: Martin Kelly <mkelly@xevo.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoBump version for DARING DAB rc1 65/9465/2
Jan-Simon Möller [Mon, 22 May 2017 20:26:29 +0000 (22:26 +0200)]
Bump version for DARING DAB rc1

This bumps the DISTRO_VERSION to 3.99.1 as RC1 of DARING DAB.

Also introduce DISTRO_BRANCH_VERSION_TAG to be used in bbappends for SRCREV_dab
to pin the AUTOREV's .

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

7 years agoappfw:fix dep in af-binder-dev on af-binder-tools 61/9461/2
Stephane Desneux [Mon, 22 May 2017 17:26:12 +0000 (19:26 +0200)]
appfw:fix dep in af-binder-dev on af-binder-tools

The dependency between af-binder-dev and af-binder-tools
prevents af-binder-dev to be installed properly in SDK

Bug-AGL: SPEC-609

Change-Id: I3cc4e8bb98234147f686e39011944d313328dcea
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9461
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agorun-agl-postinsts: run before systemd-user-sessions 39/9439/2
Scott Murray [Sat, 20 May 2017 15:12:55 +0000 (11:12 -0400)]
run-agl-postinsts: run before systemd-user-sessions

Add setting of Before to the template scheme in the run-agl-postinsts
recipe, and use it to make sure run-agl-postinsts runs before
systemd-user-sessions.  This ensures that on first boot all of the
applications will be installed before HomeScreen is started in the
user session.

Bug-AGL: SPEC-580

Change-Id: I08026f225971e1fe38e984dfed5fc2656955942c
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9439
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>
7 years agoFix typo in cyclone5 configuration template 41/9441/2
Jan-Simon Möller [Sat, 20 May 2017 20:35:54 +0000 (22:35 +0200)]
Fix typo in cyclone5 configuration template

There was a typo in DISTRO_FEATURE*S* . Fix it.

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

7 years agopulseaudio: enable ofono hfp backend 11/9411/3
Matt Porter [Wed, 17 May 2017 18:45:14 +0000 (21:45 +0300)]
pulseaudio: enable ofono hfp backend

Enable HFP support using the Ofono backend by default.

AGL-Bug: SPEC-597
Change-Id: I80435f287f2e71e267cef1599c2b377777150644
Signed-off-by: Matt Porter <mporter@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9411
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>
7 years agometa-rcar-3 setup: Improve error message 15/9415/4
Harunobu Kurokawa [Wed, 17 May 2017 22:44:37 +0000 (07:44 +0900)]
meta-rcar-3 setup: Improve error message

If graphics and multimedia acceleration packege is not located in
your Download directory, the error message is shown by red color.

v2:
 Using tput instead of ANSI escape codes.

v3:
 rebase after update BSP v2.19

Change-Id: Ica0c0ca557dd6b039cedc3bb45e6389f20fcd20f
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9415
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>
7 years agoUpdate Renesas gen3 setup script for BSP 2.19. 73/9373/3
Ronan Le Martret [Fri, 12 May 2017 14:40:40 +0000 (16:40 +0200)]
Update Renesas gen3 setup script for BSP 2.19.

* directly use the *.zip file, no need to untar any more.

Bug-AGL: SPEC-605

Change-Id: I970c0f7a7d2eeae05f2a53fd9eca1e0a37916938
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9373
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Changhyeok Bae <changhyeok.bae@lge.com>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoAllows specific features for agl-devel 93/9393/3
José Bollo [Mon, 15 May 2017 13:52:25 +0000 (15:52 +0200)]
Allows specific features for agl-devel

Having features allowed only during developement
of AGL is a plus. This commit allows to add tests
within recipes to check if the current build is
AGL developement. If not the build is for production.
By default, extra feature must be off.

This commits doesn't add

  CPPFLAGS += "-DAGL_DEVEL"

to improve build time and cache space of yocto.

However, it is a good practice, when needed, to
use the tag AGL_DEVEL in C/C++ codes specific to
AGL and thus to include the line

  CPPFLAGS_append_agl-devel = " -DAGL_DEVEL"

in recipes specific to AGL.

AGL-Bug: SPEC-594

Change-Id: Ie967a4317886ee78304999f36de5db9de22568a7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9393
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: Changhyeok Bae <changhyeok.bae@lge.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agolightmediascanner: add -D_FILE_OFFSET_BITS=64 to CFLAGS 03/9403/3
Matt Ranostay [Wed, 17 May 2017 05:28:53 +0000 (05:28 +0000)]
lightmediascanner: add -D_FILE_OFFSET_BITS=64 to CFLAGS

Some media may have 4GB files which will cause failure on a 32-bit
system scan.

This solves this on 32-bit systems with -D_FILE_OFFSET_BITS=64 compile
flag.

Bug-AGL: SPEC-604
Change-Id: Id941ee9f08b35e70ddab651268e5b443a26a9ec2
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9403
Reviewed-by: José Bollo <jobol@nonadev.net>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Matt Porter <mporter@konsulko.com>
Reviewed-by: Changhyeok Bae <changhyeok.bae@lge.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoMake /usr/local compatible with SOTA 71/9071/5
José Bollo [Mon, 10 Apr 2017 11:14:31 +0000 (13:14 +0200)]
Make /usr/local compatible with SOTA

This provides a link from /usr/local to ../../var/local
that enforces file hierarchy local to the machine
to be in a directory frankly separated from /usr.

This is important for SOTA/OSTree that must not manage
the locally installed files. But this is also important
for correctly separating layers of the target. For
this reason, the change is not conditionnal to SOTA.

Bug-AGL: SPEC-359
Bug-AGL: SPEC-533

Change-Id: I0a709ba15582a011a43f3a3b68d4230bae11b658
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9071
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>
7 years agoagl-audio-plugin: Fix Pulseaudio version 13/9413/2
Scott Murray [Wed, 17 May 2017 21:56:25 +0000 (17:56 -0400)]
agl-audio-plugin: Fix Pulseaudio version

Bump Pulseaudio version variable to 9.0 so that the plugin will be
installed in the correct location.

Change-Id: I9328a219b838ed951690a861a10034a87092f89d
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9413
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>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Matt Porter <mporter@konsulko.com>
Reviewed-by: Changhyeok Bae <changhyeok.bae@lge.com>
7 years agoaf-binder: changes the packaging 95/9395/2
José Bollo [Mon, 15 May 2017 14:58:47 +0000 (16:58 +0200)]
af-binder: changes the packaging

Create a new package: af-binder-tools that
contains 2 tools:

 - afb-client-demo: the tiny websocket client
   of the binders

 - afb-genskel: the code generator for bindings
   version 2 (DRAFT)

Also includes a fix on signal internally used for
timers.

Change-Id: I7e4241266e5736d3e3b3aeff5efd150821ff1d3c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9395
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
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>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agodragonboard-410c: install 96boards-tools for resizing partition 91/9391/2
Kotaro Hashimoto [Mon, 15 May 2017 09:33:59 +0000 (18:33 +0900)]
dragonboard-410c: install 96boards-tools for resizing partition

Add 96boards-tools recipe for dragonboard-410c.
This tool resize the rootfs on the first boot.

The adding recipe is ported from meta-96boars layer(branch morty).
https://github.com/96boards/meta-96boards/

Change-Id: Ica597e36e530533cf4820a3b0a7ad2145bd3d6fb
Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9391
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>
7 years agoRun weston with dedicated 'display' user and group 35/9135/12
Ronan Le Martret [Wed, 19 Apr 2017 14:16:03 +0000 (16:16 +0200)]
Run weston with dedicated 'display' user and group

 * Create a user/group display
 * Allow weston to start without mandatory root user
 * start weston-terminal for each user

Bug-AGL: SPEC-546

Change-Id: Id50acdbf5f7c07d5e0440575d42998b8819b5547
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9135
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: Dominig ar Foll <dominig.arfoll@fridu.net>
Reviewed-by: José Bollo <jobol@nonadev.net>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoFix build of mozjs, gpm and libatasmart due to SECURITY_%FLAGS 79/9379/2
Jan-Simon Möller [Sat, 13 May 2017 09:00:34 +0000 (11:00 +0200)]
Fix build of mozjs, gpm and libatasmart due to SECURITY_%FLAGS

The three packages fail to build on at least 3 boards.
Move to the distro config for now and track investigation in
SPEC-593.

Bug-AGL: SPEC-593

Change-Id: I97d55b6b34ea18fae943ab6bd89c88088896f2ac
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9379
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: José Bollo <jobol@nonadev.net>
7 years agoAdd machine templates for the beaglebone 37/9337/4
Jan-Simon Möller [Wed, 10 May 2017 04:00:05 +0000 (06:00 +0200)]
Add machine templates for the beaglebone

This adds the machine templates for the beaglebone board.
The beaglebone is a YP reference system with very good
support out-of-the box. It might be too slow for the
graphical demos, but could serve well in headless setups.

v2: remove whitespace.

Bug-AGL: SPEC-590
Change-Id: I3f1d4f57d2ce01f2603446b6663fdaa636a1f7be
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9337
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Karthik Ramanan <a0393906@ti.com>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Martin Kelly <mkelly@xevo.com>
7 years agolibmicrohttpd: upgrade to 0.9.54 49/9349/3
José Bollo [Tue, 11 Apr 2017 16:25:32 +0000 (18:25 +0200)]
libmicrohttpd: upgrade to 0.9.54

This version of libmicrohttpd includes facilities
for upgrading connections to websockets.
Adopting it in advance allows to remove a patch
specific to AGL needed by app-framework-binder.

The patch applied here is a backport from the
upstream (see https://gnunet.org/git/libmicrohttpd.git/
commit b4216c60fdb5b48f6cfec416301fc63a1167e6cd).

Change-Id: I0a00752f1fe0a3e2a5a182ce687c55037345c5f7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9349
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: Romain Forlot <romain.forlot@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agolinux-renesas: Applies Smack patch for bluetooth 71/9371/3
José Bollo [Fri, 12 May 2017 14:14:07 +0000 (16:14 +0200)]
linux-renesas: Applies Smack patch for bluetooth

This patch allows kernel sockets to be used by applications.

Bug-AGL: SPEC-554

Change-Id: Ib3562cb68334500b375b5dd341ead314c438f5e6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9371
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>
7 years agoFix Readme.weston-ini-conf Readme 75/9375/2
Ronan Le Martret [Fri, 12 May 2017 15:38:27 +0000 (17:38 +0200)]
Fix Readme.weston-ini-conf Readme

Change-Id: I94437dfd409b5cd66733e6fdacf5a6770f84030b
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9375
Reviewed-by: Martin Kelly <mkelly@xevo.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>
7 years agoUpgrade af-binder 51/9351/3
José Bollo [Wed, 26 Apr 2017 11:47:34 +0000 (13:47 +0200)]
Upgrade af-binder

This is a major upgrade. It includes:

* Use upgrade abitlity of libmicrohttpd 0.9.54
* Bugs, concurrent and typo fixes
* Add 'afb_daemon_queue_job' for bindings
* Integration with cynara
* Internal refactorings and improvements
* Draft of monitor API
* Draft of version 2 of bindings
* Draft of skeleton generator for bindings

Change-Id: Iaca30840daa89ecc70a9875d2fb1cc013014eea4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9351
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: Changhyeok Bae <changhyeok.bae@lge.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoweb-runtime: add missing runtime dependencies 35/9335/2
Martin Kelly [Tue, 9 May 2017 18:49:57 +0000 (11:49 -0700)]
web-runtime: add missing runtime dependencies

web-runtime calls into qml functionality that it does not explicitly
RDEPEND on. Fix this.

Change-Id: I6523d6ff2b152ca120c4cd4ed0fa60710df16bc6
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9335
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>
7 years agodra7xx: Fix build error with mozjs and libatasmart 69/9369/2
Karthik Ramanan [Fri, 12 May 2017 11:29:56 +0000 (16:59 +0530)]
dra7xx: Fix build error with mozjs and libatasmart

This fix is propagated from:
https://gerrit.automotivelinux.org/gerrit/#/c/9337/

Change-Id: I3cc570848e5586ba3c5733fe16224ca402166094
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9369
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>
7 years agox86_64-tune: fix KVM qemu options 29/9329/2
Martin Kelly [Mon, 8 May 2017 22:44:11 +0000 (15:44 -0700)]
x86_64-tune: fix KVM qemu options

When using runqemu with KVM enabled, qemuboot.conf uses QB_CPU_KVM_x86
and QB_CPU_KVM_x86-64 instead of QB_CPU_qemux86-64. Without this fix,
the boot fails because the generic KVM CPUs don't support what Nehalem
does.

Change-Id: Ic7d160528c5aebfb835362f3ad3c2da2dc44c2c4
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9329
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>
7 years agoSwitch to medium compiler 27/9327/2
Jan-Simon Möller [Mon, 8 May 2017 03:36:16 +0000 (05:36 +0200)]
Switch to medium compiler

The cyclone 5 is a cortex-a9 thus switch to the
matching compiler profile within AGL.

Change-Id: I19d695c653cc78c53dfce7a1adc27e7629256296
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9327
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
7 years agoEnforce unified tunings across all target boards of AGL 99/9299/4
Jan-Simon Möller [Wed, 26 Apr 2017 12:13:08 +0000 (14:13 +0200)]
Enforce unified tunings across all target boards of AGL

DEFAULTTUNE is a setting that should be defined in the DISTRO.
So we do it here. Goal is to have just 3-4 SDKs in the end.

We use these levels:
- ARM 32bit high:   armv7vethf-neon-vfpv4  (=default for ARM 32bit)
- ARM 32bit medium: armv7athf-neon         (enabled via DISTRO_FEATURE_append = " agl-medium-arm-compiler")
- AARCH64:          aarch64                (=aarch64, no other tunings)
- x86-64:           corei7-64              (=corei7-64 also for qemux86-64)

v2: Fix qemu user-mode emulation on x86-64 and adapt qemux86-64 tune flags.

See: https://goo.gl/DMaBJ9

Bug-AGL: SPEC-491

Change-Id: Iababbe38a531d546c03f695847651f2d83301b9a
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9299
Reviewed-by: Martin Kelly <mkelly@xevo.com>
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>

7 years agosdcard: rpi-sdimg: fix mcopy issue with boot.scr 19/9319/2
Matt Ranostay [Fri, 5 May 2017 15:42:40 +0000 (18:42 +0300)]
sdcard: rpi-sdimg: fix mcopy issue with boot.scr

boot.scr can be picked up elsewhere and fail the mcopy into
the boot filesystem. Currently need to allow the overwriting
which requires the whole bbclass to be mostly cloned from
meta-raspberrypi

Change-Id: I2839c782ec9a96a1c822dc1369e7e72aea0872e4
Bug-AGL: SPEC-409
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9319
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>
7 years agoraspberrypi3: change GPU_MEM to 255 21/9321/2
Matt Ranostay [Fri, 5 May 2017 22:59:22 +0000 (01:59 +0300)]
raspberrypi3: change GPU_MEM to 255

Due to the patchset "drm/vc4: Verify at boot that CMA doesn't cross a 256MB boundary"
the memory reserved for the GPU needs to be scaled back to 256MB

Change-Id: I593de129b40dd6263816b506e23db543eec71348
Bug-AGL: SPEC-410
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9321
Reviewed-by: Changhyeok Bae <changhyeok.bae@lge.com>
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>
7 years agoEnable lava test-run on vayu board 95/9295/2
Jan-Simon Möller [Mon, 1 May 2017 12:20:44 +0000 (14:20 +0200)]
Enable lava test-run on vayu board

This adds the necessary templates to run the CI boot tests also on the TI dra7xx-evm 'vayu'.

Change-Id: I9e6303c30bd68db91f5b36b2984f6ef91fa4297d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9295
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>

7 years agoagl-postints: remove unneeded Glob 11/9311/2
Martin Kelly [Thu, 4 May 2017 19:39:11 +0000 (12:39 -0700)]
agl-postints: remove unneeded Glob

We're using ConditionPathExistsGlob on a straight filepath without wildcards.
Just use ConditionPathExists instead.

Change-Id: I6f9743beffa1c529013a084758a8589b380a0ba9
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9311
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: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Walt Miner <walt@linux.com>
7 years agoEnable test-run on porterboard 35/8635/6
Jan-Simon Möller [Fri, 3 Mar 2017 21:08:59 +0000 (22:08 +0100)]
Enable test-run on porterboard

This adds the necessary templates to run the CI boot tests also on the
Renesas gen2 'porter'.

Change-Id: I2fee98d3acde704fc0762898c4785c897b9eaaf8
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/8635
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
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>

7 years agoRemove sota-related includes from meta-agl-bsp 57/9257/5
Anton Gerasimov [Tue, 25 Apr 2017 13:22:20 +0000 (15:22 +0200)]
Remove sota-related includes from meta-agl-bsp

Bug-AGL: SPEC-557
Change-Id: Id126559e4114b191c923477e7dd04147cb1ec770
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9257
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>
7 years agoRemove sota from agl-ci-change-features 77/9277/3
Jan-Simon Möller [Thu, 27 Apr 2017 10:28:45 +0000 (12:28 +0200)]
Remove sota from agl-ci-change-features

This will temporarily remove sota from the CI builds.
It remains in agl-all-features.

Change-Id: I73219bc7dd782abac503858e4eb450f0e532c1c9
Bug-AGL: SPEC-557
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9277
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>

7 years agoEnforce uImage as KERNEL_IMAGETYPE for rpi 81/9281/2
Jan-Simon Möller [Thu, 27 Apr 2017 16:39:10 +0000 (18:39 +0200)]
Enforce uImage as KERNEL_IMAGETYPE for rpi

Currently we expect uImages (by default and in SOTA).
Later kernels might default to Image.
Thus set KERNEL_IMAGETYPE to uImage.

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

7 years agometa-agl-bsp/meta-raspberrypi: Upgrade to v12.0.3 53/9253/4
Changhyeok Bae [Wed, 26 Apr 2017 09:04:24 +0000 (18:04 +0900)]
meta-agl-bsp/meta-raspberrypi: Upgrade to v12.0.3

Yocto morty has mesa 12.0.1 but it has a bug for vc4 driver.
The bug is fixed in v12.0.2 and yocto upstream provides v12.0.3.

This commit is taking from
https://github.com/GENIVI/meta-genivi-dev/commit/e9c013951feb5c78519da04513ab79baf400264e.

Bug-AGL: SPEC-445

Change-Id: Idfd0878f3549c20eac77ae680a65347ec851bd94
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9253
Reviewed-by: Changhyeok Bae <changhyeok.bae@lge.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>
7 years agochange default screen transform to 270 13/9213/2
ronan@iot.bzh [Mon, 24 Apr 2017 13:25:15 +0000 (15:25 +0200)]
change default screen transform to 270

Bug-AGL: SPEC-500

Change-Id: I26dc990851e8842443bf3a0218ea6a5f41c6925e
Signed-off-by: ronan@iot.bzh <ronan@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9213
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agortl-sdr: remove -I/usr/include from pkg-config 67/9167/3
Martin Kelly [Fri, 21 Apr 2017 17:48:18 +0000 (10:48 -0700)]
rtl-sdr: remove -I/usr/include from pkg-config

The -I/usr/include in the .pc file for rtl-sdr causes build failures
with GCC 6 in qtmultimedia-rtlfm-radio-plugin because QMake translates
it into -isystem, which breaks the GCC 6 #include_next directive. More
information is available here:

Here's some references in case you're curious:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129
https://bugreports.qt.io/browse/QTBUG-53367
https://bugreports.qt.io/browse/QTBUG-53375
https://codereview.qt-project.org/#/c/159394

Change-Id: I2fa58c422323026bcf254491b9ee7e30e8e75938
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9167
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>
7 years agodragonboard-410c: linux: update to kernel 4.9 59/9159/3
Kotaro Hashimoto [Fri, 21 Apr 2017 01:22:05 +0000 (10:22 +0900)]
dragonboard-410c: linux: update to kernel 4.9

Update linux-linaro-qcomlt to kernel 4.9.
Update smack patches for kernel 4.9.

Change-Id: Ia1fbc1787ef968bfd55d2ce48e01b1ea121762c7
Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9159
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoChange require to include to unbreak builds without ag-sota feature 39/9239/2
Anton Gerasimov [Tue, 25 Apr 2017 10:06:46 +0000 (12:06 +0200)]
Change require to include to unbreak builds without ag-sota feature

Bug-AGL: SPEC-557
Bug-AGL: SPEC-558

Change-Id: I06e9dfc28adef4be0fcbe104c9458395dc8efa1d
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9239
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>
7 years agoTemporary fix for the agl-sota feature 19/9219/2
Jan-Simon Möller [Mon, 24 Apr 2017 20:06:28 +0000 (22:06 +0200)]
Temporary fix for the agl-sota feature

until meta-updater applied the change.

https://github.com/advancedtelematic/meta-updater/pull/56/commits/f76663ba97b055a7a063221e4a7992330e692a3c

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

7 years agopoky-agl: exempt qtwebengine from security flags 57/9157/4
Martin Kelly [Thu, 20 Apr 2017 22:07:18 +0000 (15:07 -0700)]
poky-agl: exempt qtwebengine from security flags

qtwebengine does not build with the standard security flags; it doesn't
build cleanly with -fPIE and needs a bugfix to do so. To at least
unblock the build, exempt it from PIE for now.

Bug-AGL: SPEC-560

Change-Id: Iac39ecd429df00c30c24032037c6dcf3254b77c2
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9157
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoSwitch to meta-updater 89/9189/2
Anton Gerasimov [Tue, 11 Apr 2017 14:49:11 +0000 (16:49 +0200)]
Switch to meta-updater

Replace SOTA-related sections with includes, moved u-boot-ota
common to minnowboard and qemu to meta-agl-bsp

Change-Id: I0629a63154ff90bd712f621297b886505a2f462c
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9189
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoRevert "Switch to meta-updater" - waiting for main commit to be updated. 87/9187/2
Jan-Simon Moeller [Sun, 23 Apr 2017 19:16:55 +0000 (19:16 +0000)]
Revert "Switch to meta-updater" - waiting for main commit to be updated.

This reverts commit 521815fa95dba3d47704b62b4b6911fc994ad4c8.

Change-Id: I06e2ed97e2ea7897ccdee09aeec277c8a75ccfa0
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9187

7 years agoSwitch to meta-updater 95/9095/2
Anton Gerasimov [Tue, 11 Apr 2017 14:49:11 +0000 (16:49 +0200)]
Switch to meta-updater

Replace SOTA-related sections with includes, moved u-boot-ota
common to minnowboard and qemu to meta-agl-bsp

Change-Id: I531f0eec07bab01610a225afc6d32a2f3a8156ad
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9095
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agolightmediascanner: delete the remove rule 69/9169/2
Matt Ranostay [Thu, 20 Apr 2017 17:54:38 +0000 (20:54 +0300)]
lightmediascanner: delete the remove rule

Remove rule isn't needed since MediaPlayer application is using
udisks to detect media removal

Bug-AGL: SPEC-484
Change-Id: If67dd99fc162abf5c93b548ea1063f8dffe53e14
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9169
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>
7 years agobluez5: add interface access for MediaPlayer application 25/9125/2
Matt Ranostay [Mon, 17 Apr 2017 07:34:13 +0000 (07:34 +0000)]
bluez5: add interface access for MediaPlayer application

MediaPlayer needs to receive a few signals from org.bluez to trigger
various AVRCP metadata and position data.

Change-Id: I5b54f91dc5654d2e0208ae564de2440dc6bd5f48
AGL-Bug: SPEC-541
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9125
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: José Bollo <jobol@nonadev.net>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Matt Porter <mporter@konsulko.com>
7 years agometa-agl-bsp/meta-qcom: Fix kernel config fragment about smack 33/9133/2
Kotaro Hashimoto [Wed, 19 Apr 2017 05:17:08 +0000 (14:17 +0900)]
meta-agl-bsp/meta-qcom: Fix kernel config fragment about smack

Previous changes(*) caused to be disable smack setting.
This patchset re-enable smack setting.
(*)https://gerrit.automotivelinux.org/gerrit/#/c/8569/

Bug-AGL: SPEC-450

Change-Id: I961192e42991a0d2542ca23fac030b8f3eba3fcf
Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
7 years agosystemd: rename udev rule to conform with convention 47/9147/3
Matt Ranostay [Wed, 19 Apr 2017 20:57:33 +0000 (23:57 +0300)]
systemd: rename udev rule to conform with convention

udev rules should be prefixed with integer to signal order of
parsing

AGL-Bug: SPEC-539
Change-Id: I7b983ea5b6bd3b7d3b62c495f2698996ace03a56
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
7 years agoaf-main: Improve environment setting 37/9137/4
José Bollo [Wed, 19 Apr 2017 13:29:59 +0000 (15:29 +0200)]
af-main: Improve environment setting

Some environment variable were set in the configuration files.
This wasn't a valuable solution. Allowing now system tuning to
put environment variables in files of /etc/afm/unit.env.d
is much more flexible.

This patch is introduced also to solve the folowing issue

Bug-AGL: SPEC-547

Change-Id: I41183735b707a9d5d30805504c2676afe12c3b8d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
7 years agometa-agl-bsp/meta-ti: Fix kernel config fragment about smack 31/9131/2
Kotaro Hashimoto [Wed, 19 Apr 2017 05:14:31 +0000 (14:14 +0900)]
meta-agl-bsp/meta-ti: Fix kernel config fragment about smack

Previous changes(*) caused to be disable smack setting.
This patchset re-enable smack setting.
(*)https://gerrit.automotivelinux.org/gerrit/#/c/8567/

Bug-AGL: SPEC-450

Change-Id: Ib0e28b232ce9f39df71cd194baedbbaeab9f62ca
Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
7 years agolightmediascanner: rename udev rule to conform with convention 49/9149/2
Matt Ranostay [Wed, 19 Apr 2017 20:43:19 +0000 (23:43 +0300)]
lightmediascanner: rename udev rule to conform with convention

udev rules should be prefixed with integer to signal order of
parsing

AGL-Bug: SPEC-539
Change-Id: I03b8a319a00a59ea1218baafbdd9ea77bbd00a6e
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
7 years agometa-rcar-gen3: add CONFIG_INPUT_UINPUT to bluetooth.cfg 19/9119/2
Matt Ranostay [Mon, 17 Apr 2017 02:24:53 +0000 (02:24 +0000)]
meta-rcar-gen3: add CONFIG_INPUT_UINPUT to bluetooth.cfg

CONFIG_INPUT_UINPUT is needed for AVRCP controls to be registered
and function within bluez.

AGL-Bug: SPEC-540
Change-Id: Idbc63b8844fac595d73cb34f6a7eb4fb2243028d
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
7 years agoUse weston-init to startup weston 03/9103/5
Ronan Le Martret [Wed, 12 Apr 2017 12:07:33 +0000 (14:07 +0200)]
Use weston-init to startup weston

* weston.service should not be a part of weston recipes
  * remove weston.service from AGL weston recipes
* yocto upstream uses the recipe weston-init to startup weston
 * customize weston-start with sed
  - remove openvt
  - add option to weston-launch
 * customize weston.service with sed
   - add option for weston
* unified the weston startup beteween AGL BSPs
 * remove fix on the AGL BSP

Bug-AGL: SPEC-452
Bug-AGL: SPEC-310

Change-Id: I12722826abdc004214d289961e900c36528ec6e3
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
7 years agoSet a weak distro-wide DEFAULTTUNE for ARM 32bit 15/9115/2
Jan-Simon Möller [Thu, 13 Apr 2017 16:25:47 +0000 (18:25 +0200)]
Set a weak distro-wide DEFAULTTUNE for ARM 32bit

This is a weak (aka 'default' or 'only if not previously set') value for
DEFAULTTUNE for ARM 32bit. The value will in the future take precedence over the BSPs
as BSPs should not enforce it. Instead the DISTRO is supposed to
pick one.

Bug-AGL: SPEC-491

Change-Id: Iaadf9cf4704c04c81c9d1ffed283b444a9e10512
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoSet a default tune for cyclone5 until the distro defines one 13/9113/3
Jan-Simon Möller [Thu, 13 Apr 2017 16:23:22 +0000 (18:23 +0200)]
Set a default tune for cyclone5 until the distro defines one

The BSP is doing it right in not defining any tunings and thus falling
back to armv7-a + softfloat.
All other targets use hardfloat. So until the DISTRO takes over
DEFAULTTUNE, we set it here for the board.

Change-Id: Iad4c15bc08f0baaed6f7cf7bfa1e3fae2f2fd739
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agopackagegroup-agl-devel: add pstree 11/9111/2
Martin Kelly [Thu, 13 Apr 2017 00:01:43 +0000 (17:01 -0700)]
packagegroup-agl-devel: add pstree

Change-Id: I5af9e3d1d97e2893ee7c6406576839d29ffee1a8
Signed-off-by: Martin Kelly <mkelly@xevo.com>
7 years agopackagegroup-agl-devel: add vim 09/9109/1
Martin Kelly [Wed, 12 Apr 2017 23:42:42 +0000 (16:42 -0700)]
packagegroup-agl-devel: add vim

During development, it's nice to have a full-featured vim rather than a minimal
vi.

Change-Id: Icdb4d59005d5bf5f8ced949f37f77f7de7af972f
Signed-off-by: Martin Kelly <mkelly@xevo.com>
7 years agoadd vmware drivers 99/9099/2
Martin Kelly [Tue, 11 Apr 2017 18:14:40 +0000 (11:14 -0700)]
add vmware drivers

VMWare Fusion defaults to SCSI disks, so we need it builtin to the
kernel to recognize the boot disk. While we're at it, add in other
useful VMWare-related modules.

Change-Id: Ia571142d5d3493b3b14619e6df29367bf06e5ae5
Signed-off-by: Martin Kelly <mkelly@xevo.com>
7 years agosystemd: remove force flag to mount in mount.sh 79/9079/2
Matt Ranostay [Tue, 11 Apr 2017 01:08:58 +0000 (04:08 +0300)]
systemd: remove force flag to mount in mount.sh

Using the force flag causes some artifacts to exist and also
breaks the blocking check till unmount is complete.

Change-Id: Idfc8268a2e1f8cd0905b5f8b11f53d416d251d90
Bug-AGL: SPEC-483
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
7 years agoupdate weston.ini for Renesas Gen3 board 91/9091/3
Ronan Le Martret [Tue, 11 Apr 2017 13:41:08 +0000 (15:41 +0200)]
update weston.ini for Renesas Gen3 board

update weston.ini from Renesas rcar Gen3 BSP 2.17

Bug-AGL: SPEC-530

Change-Id: I5577a18cb5707c2484a46d3c91025ad087b6fa1e
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
7 years agoupdate Renesas Gen3 driver for BSP 2.17 85/9085/1
Ronan Le Martret [Tue, 11 Apr 2017 12:06:21 +0000 (14:06 +0200)]
update Renesas Gen3 driver for BSP 2.17

update driver to version 2017-03-24.

Bug-AGL: SPEC-530

Change-Id: I5e18b5baa93419c80409b983de68ba4f7aaa74be
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
7 years agoLLVM3.3 build fix on qemux86-64 63/9063/2
Jan-Simon Möller [Sat, 8 Apr 2017 22:57:35 +0000 (00:57 +0200)]
LLVM3.3 build fix on qemux86-64

The build for qemux86-64 will fail on llvm3.3 b/c of the SECURITY_CFLAGS and SECURITY_LDFLAGS
(due to -fstack-protector-strong).

Fix it by blacklisting the flags for llvm3.3 .

Change-Id: I506c398521b59877d78e56d698571e272b52e94a
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
7 years agoSet UBOOT_MACHINE to minnowmax for intel-corei7-64 and SOTA 65/9065/1
Anton Gerasimov [Sun, 9 Apr 2017 10:31:52 +0000 (12:31 +0200)]
Set UBOOT_MACHINE to minnowmax for intel-corei7-64 and SOTA

UBOOT_MACHINE is required when u-boot is used, but no generic
intel-corei7-64 config exists for u-boot, choose Minnowboard

Change-Id: If8bf05caaef98535aedef9d4ecd98cd2ab0c2e16
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
7 years agoAdd porter-bootfiles to dependencies when agl-sota is enabled 55/9055/1
Anton Gerasimov [Thu, 6 Apr 2017 16:21:19 +0000 (18:21 +0200)]
Add porter-bootfiles to dependencies when agl-sota is enabled

Previously it was a dependency to the image class, but for WIC
we have to define such dependencies in local.conf

Change-Id: I30f898553cd1cd8971d8768a9181d6e45857bf5d
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>