AGL/meta-agl.git
6 years agoFix clash in metadata of nativesdk-cmake and nativesdk-qtbase-tools 25/10925/2
Jan-Simon Möller [Fri, 15 Sep 2017 22:25:03 +0000 (00:25 +0200)]
Fix clash in metadata of nativesdk-cmake and nativesdk-qtbase-tools

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Bug-AGL: SPEC-890

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

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

Upstream status: not merged

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

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

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

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

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

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

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

Bug-AGL: SPEC-646

This reverts commit 53e399c375b0b7ce4a90ae8f05789e2e127eb773.

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

App Framework isn't needed for that...

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

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

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

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

This reverts commit 3d32b328ebece6019b118c83f56150b5c6947cd5.

Bug-AGL: SPEC-853

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

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

u-boot: v2017.01

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

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

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

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

freetype: Change hash value for v2.7.1 binary

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

libsoup: Fix native build error temporarily

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

Bug-AGL: SPEC-646

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

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

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

Bug-AGL: SPEC-853

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

9 weeks later we can remove our forward-port.

This reverts commit 462bcd1521094624bddad4c336007b18117a3846.

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

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

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

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

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

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

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

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

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

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

Therefore the intel targets need to define INITRD_LIVE.

Bug-AGL: SPEC-836

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

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

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

Bug-AGL: SPEC-821

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

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

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

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

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

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

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

Bug-AGL: SPEC-808

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

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

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

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

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

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

Bug-AGL: SPEC-805

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

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

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

6 years agoInitial version of a LOC counter class 37/10437/4
Jan-Simon Möller [Thu, 27 Jul 2017 21:20:19 +0000 (23:20 +0200)]
Initial version of a LOC counter class

Usage:
 INHERIT += "cloc"

 cloc --sum-reports `find tmp/work/ -name "*clocreport" | grep -v "\-native"` --out cloc-summary.report

cloc needs to be installed on the host.

Change-Id: I70c7e707405c718b1685d49f4e84216c5408d2fb
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10437
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
6 years agom3ulcb-nogfx: enable HW tests 51/9851/8
Kevin Hilman [Tue, 27 Jun 2017 22:03:40 +0000 (22:03 +0000)]
m3ulcb-nogfx: enable HW tests

v2: fix MACHINE_NAME

Change-Id: I54fbed432ffe3cf023629f8c98879f274d6d00c0
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9851
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>

6 years agolow-level-can-service: update SRCREV for eel 41/10541/2
Matt Ranostay [Mon, 7 Aug 2017 22:49:10 +0000 (01:49 +0300)]
low-level-can-service: update SRCREV for eel

Change-Id: Ib3b7fe5585d8a5d6ffac6abf19c520a643640e55
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10541
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 agointel: build hddimg by default 65/10565/3
Martin Kelly [Tue, 8 Aug 2017 00:03:38 +0000 (17:03 -0700)]
intel: build hddimg by default

The useful mkefi.sh script requires an hddimg image, so we should build
hddimg's by default for Intel builds.

While we're at it, drop live per Jan-Simon's recommendations, so that we
have just wic and hddimg.

Change-Id: I24bfc03e9f357f3b8784267cc4537e4ff07d236e
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10565
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 agoraspberrypi: Fix U-Boot support 91/10491/4
Tom Rini [Wed, 2 Aug 2017 21:27:25 +0000 (17:27 -0400)]
raspberrypi: Fix U-Boot support

In order to use U-Boot on the raspberrypi3 we need to have the equivalent
of the following commit from upstream meta-raspberrypi:

commit 67e02164929a7d8cc187315aaaab60f6f3aaf422
Author: Paul Barker <paul@paulbarker.me.uk>
Date:   Mon Feb 13 23:32:43 2017 +0000

    u-boot: Fix boot on rpi3

With that done, we can re-enable U-Boot support for raspberrypi3.  With
this done we can also now re-enable testing, so do so. For consistency we
can now switch raspberrypi2 over to U-Boot as well.

Change-Id: I9c96a66bf5644bf63f2566559ab7d9c4101b7a55
Bug-AGL: SPEC-409
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10491
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>
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-ti: add pvr systemd service 87/10487/3
Matt Porter [Wed, 2 Aug 2017 21:53:23 +0000 (00:53 +0300)]
meta-agl-bsp: meta-ti: add pvr systemd service

dra7xx-evm currently does not initialize graphics correctly because
the PVR SGX services are not loaded at the correct time. Add a systemd
service which executes the script from the TI DDK before psplash and
weston are started. This fixes dra7xx-evm so that HomeScreen comes up
on boot.

Bug-AGL: SPEC-798

Change-Id: I0649902ac6066062527f345bea5e36e929d19c01
Signed-off-by: Matt Porter <mporter@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10487
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: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agometa-agl-bsp: meta-ti: add dra7xx-evm weston.ini support 89/10489/2
Matt Porter [Wed, 2 Aug 2017 22:01:42 +0000 (01:01 +0300)]
meta-agl-bsp: meta-ti: add dra7xx-evm weston.ini support

The change in commit 7d1d7457ff2b71abe95525b26148d5a3e7a42790
to dynamically generate weston.ini in the weston-ini-conf package
threw away the working weston.ini conf provided for dra7xx-evm.
This resulted in incorrect rotation of the image on the LCD since
dra7xx-evm builds were only picking up the default weston-ini-conf
.ini file contents for a generic HDMI display. Overriding the
output name with the correct drm rendering device name fixes this
and the image is displayed again in portrait mode.

Bug-AGL: SPEC-801

Change-Id: I52171dee27439667592481dac1ccd5284ed8206c
Signed-off-by: Matt Porter <mporter@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10489
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: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agometa-agl-bsp: meta-ti: append alsa-state with dra7xx-evm defaults 95/10495/2
Matt Porter [Thu, 3 Aug 2017 19:34:21 +0000 (22:34 +0300)]
meta-agl-bsp: meta-ti: append alsa-state with dra7xx-evm defaults

The ALSA controls for the onboard tlv320aic3106 codec do not come
up with usable default settings for the dra7xx-evm analog audio
jacks. Add asound.state defaults for the dra7xx-evm baseboard
audio that properly configure the Line DACL1/R1 and PGA MicL1/R1
switches and accordingly gain levels such that the Line-Out and
Microphone jacks are functional by default.

Bug-AGL: SPEC-803

Change-Id: I6fe80daf1073c4d7c39be610dc99c136b4b3a82b
Signed-off-by: Matt Porter <mporter@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10495
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>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agometa-agl-bsp: meta-ti: pulseaudio: set sink/source for dra7xx-evm 97/10497/2
Matt Porter [Thu, 3 Aug 2017 22:20:14 +0000 (01:20 +0300)]
meta-agl-bsp: meta-ti: pulseaudio: set sink/source for dra7xx-evm

pulseaudio, by default, chooses
alsa_output.platform-omap-hdmi-audio.0.auto.analog-stereo as the
default sink. This is not desired since the HDMI is not normally
used as the dra7xx-evm includes an LCD. Configure the CPU board's
alsa_output.platform-sound0.analog-stereo (Line-Out/Headphone)
as the default sink and configure the default source too.

Bug-AGL: SPEC-804

Change-Id: I5d19aa564c8c162d1f5c68ae298d1d25592c8dc9
Signed-off-by: Matt Porter <mporter@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10497
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>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoBump master version and codename to Electric Eel 49/10449/2
Jan-Simon Möller [Fri, 28 Jul 2017 15:23:05 +0000 (17:23 +0200)]
Bump master version and codename to Electric Eel

This change adapts the distro versions and codename to match the next release 'Electric Eel'.
- Use 4.90.0 as version during inital development
- Adapt distro-codename

Change-Id: Ie2bd212cc8dd11a9bdbab2b9d53581406ff0a1e0
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10449
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 agoBump version of low-level-can-service to include cmake fixes 07/10407/4
Jan-Simon Möller [Wed, 26 Jul 2017 15:54:53 +0000 (17:54 +0200)]
Bump version of low-level-can-service to include cmake fixes

This brings the low-level-can-service src revision up-to-date.

Bug-AGL: SPEC-772

Change-Id: I9a8afcc554026f69e0d70da2aa66bf0d3f3d31fa
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10407
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 agoqemux86-64: build vmdk.xz images 29/9029/9
Matt Porter [Thu, 30 Mar 2017 18:18:05 +0000 (21:18 +0300)]
qemux86-64: build vmdk.xz images

Generate vmdk.xz images by default.

Change-Id: I9a7638cd9a24083603b3dee80be553bccaf375de
AGL-Issue: SPEC-513
Signed-off-by: Matt Porter <mporter@konsulko.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9029
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoJust inherit "sota.bbclass", let machine template snippets append to 61/10361/4
Anton Gerasimov [Tue, 25 Jul 2017 12:59:16 +0000 (14:59 +0200)]
Just inherit "sota.bbclass", let machine template snippets append to
DISTRO_FEATURES

Bug-AGL: SPEC-780

Change-Id: Ibe3de0d5d85ece467517dff0d4e5585cd1f38e79
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10361
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 runqemu by generating an ext4 image by default 87/10387/5
Jan-Simon Möller [Tue, 25 Jul 2017 21:02:31 +0000 (23:02 +0200)]
Fix runqemu by generating an ext4 image by default

runqemu does not detect an ext4.xz , thus default to ext4.

Call it with:
  runqemu qemux86-64 kvm audio

Also due to the optimization levels for x86-64, adapt QB_CPU and QB_CPU_KVM.
For audiomanager to start up, sound needs to be enabled. QB_AUDIO_DRV and QB_AUDIO_OPT enable this.
Finally bump memory in runqemu to 2G.

For CI purposes, introduce a DISTRO_FEATURES flag 'AGLCI'.

v2: fix missing space in append
v3: qemuboot options fix
v4: QB_AUDIO_DRV defaults to alsa

Bug-AGL: SPEC-784

Change-Id: Ie9c9c2b7d8838b512f3f19b1e29952079039e0ab
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10387
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 cve patch for kernel 4.4 on intel joule [master/dab] 69/10369/2
Jan-Simon Möller [Tue, 25 Jul 2017 14:28:17 +0000 (16:28 +0200)]
Fix cve patch for kernel 4.4 on intel joule [master/dab]

Bug-AGL: SPEC-766

Change-Id: Ibe60bc5ba5ba505bdc71a199cf14fb25e2acefbd
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10369
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: Dominig ar Foll <dominig.arfoll@fridu.net>
6 years agoimage: Add vmdk.xz to the list of types that trigger image-vm inherit 59/10359/3
Tom Rini [Tue, 25 Jul 2017 12:41:42 +0000 (08:41 -0400)]
image: Add vmdk.xz to the list of types that trigger image-vm inherit

Given how vmdk.xz is implemented currently it must also be added to the
list of image types that will cause image-vm to be inherited.

Change-Id: Ief017849c13c1d79c12411f39046389b1cc8a570
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10359
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 build of agl-demo-image-qa 67/10367/2
Jan-Simon Möller [Tue, 25 Jul 2017 14:31:47 +0000 (16:31 +0200)]
Fix build of agl-demo-image-qa

Fix the image generation by fixing SPEC-782,
updating iperf and removing our custom version of ltp
in favour of a newer version in oe-core.

Bug-AGL: SPEC-782

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

6 years agoaf-main: Install debugging features when agl-devel 33/10333/2
José Bollo [Mon, 24 Jul 2017 13:56:36 +0000 (15:56 +0200)]
af-main: Install debugging features when agl-devel

When agl-devel is required, installs the debugging
feature needed by XDS.

Also, improves AGL_DEVEL setting of af-binder.

Bug-AGL: SPEC-659

Change-Id: I90a1ecbaf78b860ded4f3a70d81ab6312d40772e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10333
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 agotests: enable HW test for QEMU x86-64 41/10241/3
Kevin Hilman [Tue, 18 Jul 2017 22:19:51 +0000 (22:19 +0000)]
tests: enable HW test for QEMU x86-64

Change-Id: Ic7d19e6fc9e682a5a885cb572200ce178cf3da1f
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10241
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 agotests: templates/qemux86-64: KVM updates 07/10307/2
Kevin Hilman [Fri, 21 Jul 2017 18:18:54 +0000 (18:18 +0000)]
tests: templates/qemux86-64: KVM updates

Updated QEMU commandline arugments to those known to have been validated and working
with KVM and with AudioManager and HomeScreen.

Change-Id: I7ac722d4cc49dd04db1bd4715ae737e1f21eb36b
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10307
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 agoOnly apply CVE-2017-1000364 to 4.8 kernel - 4.4 needs different patchset 93/10293/2
Jan-Simon Möller [Fri, 21 Jul 2017 07:30:57 +0000 (09:30 +0200)]
Only apply CVE-2017-1000364 to 4.8 kernel - 4.4 needs different patchset

The patches are kernel version specific. Only apply to Kernel 4.8.

Bug-AGL: SPEC-766

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

6 years agoFix: can-bus not applied at kernel configuration 01/10301/2
Romain Forlot [Fri, 21 Jul 2017 14:36:46 +0000 (14:36 +0000)]
Fix: can-bus not applied at kernel configuration

Change-Id: I4ce1cbde8e0df867ac7ba5040dde2df98f13ce40
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10301
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 agotests: templates/qemux86-64: enable QEMU audio driver 47/10247/2
Kevin Hilman [Wed, 19 Jul 2017 00:48:21 +0000 (00:48 +0000)]
tests: templates/qemux86-64: enable QEMU audio driver

Add "-soundhw hda" to QEMU command-line so that GENIVI AudioManager will
start up successfully.

Change-Id: I50136f664fd1d4712ad646f751f596f54ba49905
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10247
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 agoimage-vm: Allow for xz compressed vmdk images 71/10271/3
Tom Rini [Wed, 19 Jul 2017 13:53:49 +0000 (09:53 -0400)]
image-vm: Allow for xz compressed vmdk images

In order to save space, introduce a vmdk.xz IMAGE_FSTYPE.  We re-use
the existing xz compression logic in place as given how the images are
created we cannot use CONVERSION_CMD_xz directly.  We switch to using
bb.utils.contains in order to get an exact match on if vmdk.xz or vmdk
is in IMAGE_FSTYPES.

Change-Id: I9aa5fd1c8d80330536b9a38eaa154e3f706a3c2d
AGL-Issue: SPEC-514
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10271
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-intel: make new 4.8 .bbappend 71/10071/4
Dennis Field [Thu, 6 Jul 2017 20:48:25 +0000 (16:48 -0400)]
meta-agl-bsp/meta-intel: make new 4.8 .bbappend

The config fragments were not getting included for kernel 4.8
(intel-corei7-64, Minnowboard)

Bug-AGL: SPEC-732

Change-Id: I0ae3e3d40a4e8439274920445108460e16fc42ef
Signed-off-by: Dennis Field <dennisf@radiosound.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10071
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Dominig ar Foll <dominig.arfoll@fridu.net>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agotests: templates/qemux86-64: add MACHINE name to rootfs filename 39/10239/3
Kevin Hilman [Tue, 18 Jul 2017 22:16:31 +0000 (22:16 +0000)]
tests: templates/qemux86-64: add MACHINE name to rootfs filename

Change-Id: I99457bbef1d5b1e0bdb07ba44898652d447d8593
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10239
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agotests: templates/qemux86-64: add (empty) DTB 43/10243/2
Kevin Hilman [Wed, 19 Jul 2017 00:12:21 +0000 (00:12 +0000)]
tests: templates/qemux86-64: add (empty) DTB

The JJB templates expect there to be a $DEVICE_DTB in various places, and
if not set here, will have a default value (from rpi3).

Change-Id: I3ae10a6fcf4f8f85dc49e45696a982ad85b29203
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10243
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 agoqemux86-64: root using root=PARTUUID 31/9031/4
Matt Porter [Tue, 18 Jul 2017 22:00:41 +0000 (01:00 +0300)]
qemux86-64: root using root=PARTUUID

Virtualization machines expose the root device as differing devices
(e.g. /dev/sdaX versus /dev/hdaX). Update the syslinux.cfg to use
root=PARTUUID=foo as the root filesystem where foo is generated
by OE for us. This makes our image portable across VMs.

Bug-AGL: SPEC-514

Change-Id: I57447334ef76cd013213f3e80f6e71e77b58efa3
Signed-off-by: Matt Porter <mporter@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9031
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>
Reviewed-by: Thomas Rini <tom.rini@gmail.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoAdd low-level-can-generator as devtool in SDK 43/10143/8
Romain Forlot [Mon, 17 Jul 2017 09:25:25 +0000 (09:25 +0000)]
Add low-level-can-generator as devtool in SDK

To ease devlopment with low level CAN service, you have to use
the generator to be able to customize signals handled by the service.

Change-Id: Id51415ee339a5ede77bc875aa893893f1b31dbdf
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10143
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 agoagl-devel: auto-add drivers for vmdk images 19/10219/2
Martin Kelly [Mon, 17 Jul 2017 17:31:01 +0000 (10:31 -0700)]
agl-devel: auto-add drivers for vmdk images

Currently, if you build a vmdk file, you also need to manually add in
drivers to make your image fast (vbox/vmware drivers). We can make this
automatic so that when you build a vmdk, drivers are automatically added
in. Using this approach, both vbox and vmware drivers are added, which
is more than is generally necessary, but it means that a single vmdk
image can support many use cases, and the same image can be distributed
to many developers.

For developer images, this seems like a good tradeoff because
convenience is more important than disk space/bloat for developers. For
production, we leave this option off to reduce unneeded components.

Change-Id: I8139a3ed94599c1732ea8b58bbc735c0de594234
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10219
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 agoqemux86-64: add hwtest environment 91/10191/3
Kevin Hilman [Thu, 13 Jul 2017 03:33:04 +0000 (03:33 +0000)]
qemux86-64: add hwtest environment

Change-Id: Ic52335b32d82257a2c9c451e7dc83dcaef17b11e
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10191
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-main: add RDEPENDS on bash 17/10217/2
Martin Kelly [Mon, 17 Jul 2017 17:56:57 +0000 (10:56 -0700)]
af-main: add RDEPENDS on bash

Currently, we get a file-rdeps QA warning because afm-install has a
/bin/bash shebang line but does not RDEPENDS on bash. We could also use
/bin/sh instead, but I'm not sure if we have some bashisms built-in to
the script. For now, add RDEPENDS to fix the warning.

Change-Id: I368da5e9e5c2d57d7bc2a1b674eb84c1147be5c1
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10217
Reviewed-by: José Bollo <jobol@nonadev.net>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoUpdate freescale layer names, add nitrogen inc file 03/10203/2
Nathan Illerbrun [Fri, 14 Jul 2017 14:34:28 +0000 (07:34 -0700)]
Update freescale layer names, add nitrogen inc file

Change-Id: I1faf7ad14cc85cd12055f7e4c7e43ffe4ccf0671
Signed-off-by: Nathan Illerbrun <nathani@validmanufacturing.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10203
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 agobackport open-vm-tools recipe 63/10163/4
Martin Kelly [Tue, 11 Jul 2017 18:49:34 +0000 (11:49 -0700)]
backport open-vm-tools recipe

Without open-vm-tools, VMWare guests are very slow. open-vm-tools was
recently added to meta-openembedded, so we should get it when Rocko is
released. Until then, this patch backports it.

Note that open-vm-tools has an optional dependency on fuse, so we need
to include the meta-filesystems layer too.

Bug-AGL: SPEC-739

Change-Id: Icc5bf7f10b8e21778ab7043dea8d340eb41a527c
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10163
Reviewed-by: Changhyeok Bae <changhyeok.bae@gmail.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 agoPossibility to copy wgt without installing them 05/10105/7
Romain Forlot [Mon, 10 Jul 2017 16:14:38 +0000 (16:14 +0000)]
Possibility to copy wgt without installing them

Adding a variable that control if wgt file should be automatically
installed. Now WGT are spread between autoinstall and manualinstall
directories.
By default autoinstall is chosen.

Change-Id: I51f4aa4426704714a77a53dab37adcaf5e1fd954
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10105
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: Stéphane Desneux <stephane.desneux@iot.bzh>
6 years agoFix weston failed 11/10111/3
Ronan Le Martret [Fri, 7 Jul 2017 16:32:53 +0000 (18:32 +0200)]
Fix weston failed

 * We need to add systemd udev device unit dependency to weston,
   If the system is slow udev rules is up when weston want to start,
   if the system is fast, udev rules may be down  when weston want to start.
 * TAG+="systemd" create a systemd device unit
 * ENV{SYSTEMD_WANTS}="weston.service" add dependency (Like BindsTo).

Bug-AGL: SPEC-603

Change-Id: I45d6513ea64cd071a60b53afd98d782e9300cefa
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10111
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
6 years agosystemd: remove timesystemd feature 41/10141/3
Matt Ranostay [Mon, 10 Jul 2017 19:16:33 +0000 (22:16 +0300)]
systemd: remove timesystemd feature

Connmand also has a NTP client that is conflicting with
the systemd timesytemd. So timesystemd should be removed
to avoid this.

Change-Id: I1d9e2a9597be7c1da1e40cde6b91099c2cf3601e
Bug-AGL: SPEC-737
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10141
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 agosystemd-udev: ensure convention for naming udev rules 69/10169/2
José Bollo [Wed, 12 Jul 2017 11:32:23 +0000 (13:32 +0200)]
systemd-udev: ensure convention for naming udev rules

The udev rules files installed in /etc/udev/rules.d
should follow systemd naming convention.

This patch ensures it by renaming known wrong files
before to install it.

This patch is temporary.
This is a solution to the Bug-AGL SPEC-539.

It renames the file udev-smack-default.rules
as the file 55-smack-default.rules before installation in do_install.
This comes from https://github.com/01org/meta-intel-iot-security.git
(meta-security-smack/recipes-core/systemd/)
It should be removed when the security layer will be refited to meta-security
See git clone http://git.yoctoproject.org/cgit/cgit.cgi/meta-security

It also renames the file touchscreen.rules as the file 55-touchscreen.rules
This comes with the recipe systemd_230 of poky (meta/recipes-core/systemd)
It should be removed when poky changes.

Bug-AGL: SPEC-539

Change-Id: Ib65e75e67ddcd814d83771777d14b5d7754bd7d4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10169
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 const issue in afb-auth.h 95/10195/2
José Bollo [Thu, 13 Jul 2017 10:02:45 +0000 (12:02 +0200)]
af-binder: Fix const issue in afb-auth.h

The fields type and loa were declared as const.
This worked well for C compilers that are allowing
to initialize constant fixed structures.

But when compiling with C++, it is no more easy
to create initialized structure explicitely.
In C++, the solution is to use C++14 constexpr functions.
But for using these function, const must be removed.

Bug-AGL: SPEC-741

Change-Id: Ia1b156b174166821a0246e603171193757e67ebe
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10195
Reviewed-by: Matt Ranostay <matt.ranostay@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>
Reviewed-by: Changhyeok Bae <changhyeok.bae@gmail.com>
6 years agonetboot: fix dependency loop for qemu build 25/10125/3
Matt Ranostay [Sat, 8 Jul 2017 03:32:39 +0000 (06:32 +0300)]
netboot: fix dependency loop for qemu build

qemu images for 64-bit x86 doesn't generate a u-boot image
however netboot does by default. Fix this issue by checking for
vmdk in image types.

Change-Id: I061d61c87c6be9c16a04926d56b0825a3eedde04
Bug-AGL: SPEC-513
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10125
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>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

6 years agoAdd ath9k_htc driver to rcar-gen3 for demos 77/10077/2
Scott Murray [Thu, 6 Jul 2017 21:32:33 +0000 (17:32 -0400)]
Add ath9k_htc driver to rcar-gen3 for demos

Add the kernel configuration fragment for the ath9k_htc driver used by
the D-Link USB Wifi adapter recommended for demos to rcar-gen3.

Change-Id: I7739193adaeeba985625ea9058ee5c991b77b63a
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10077
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 agoIntegration of low-level-can-service apps 59/10059/7
Romain Forlot [Fri, 7 Jul 2017 17:07:32 +0000 (17:07 +0000)]
Integration of low-level-can-service apps

Make aglwgt class use autobuild script if 'make package' did not succeed to keep
retrocompatibility.
Added recipe to build and install low-level-can-service by Bitbake

Bug-AGL: SPEC-428

Change-Id: I21e3b2e7c6f9d64b71f01745bff10f9233bcf6a9
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10059
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 agoFix i.MX6 (usb) 81/10081/5
Takashi Matsuzawa [Thu, 6 Jul 2017 21:46:02 +0000 (06:46 +0900)]
Fix i.MX6 (usb)

Bug-AGL: SPEC-704

Use u-boot-imx instead of u-boot-fslc and now gpio is correctly initialized and usb devices are correctly recognized.
(Sent e-mail and meta-freescale/fsl community has been notified about the issue.)

Also generate scard image that we are familiar with.

Confirmed local build successfully boot and show usb devices on lsusb.

Update:

Sorry fixed typo, also changed .sdcard to .sdcard.gz

Update2:

.sdcard.gz -> .sdcard.xz

Change-Id: Ie2d98fac62d7f1eef803f10784b35a2cb60f535f
Signed-off-by: Takashi Matsuzawa <tmatsuzawa@xevo.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10081
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 agoUpgrade framework and binder 47/10147/2
José Bollo [Tue, 11 Jul 2017 15:42:07 +0000 (17:42 +0200)]
Upgrade framework and binder

This includes:
 - improvement of debugging (indication files)
 - not listing terminated processes
 - allow widget to not define icon (service)

Bug-AGL: SPEC-702
Bug-AGL: SPEC-728
Bug-AGL: SPEC-729

Change-Id: Iee1f0df036a5708dfae169ac08ce281187f51f6f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10147
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 agoDisable rpi3 tests as they are broken right now with the kernel Image 27/10127/2
Jan-Simon Möller [Sat, 8 Jul 2017 11:56:00 +0000 (13:56 +0200)]
Disable rpi3 tests as they are broken right now with the kernel Image

Fix is wip but takes a little.

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

6 years agotest templates: m3ulcb-nogfx: use core-image-minimal 19/10119/2
Kevin Hilman [Fri, 7 Jul 2017 23:48:20 +0000 (23:48 +0000)]
test templates: m3ulcb-nogfx: use core-image-minimal

The -nogfx build uses the core-image-minimal target, not the
agl-demo-platform build target, so ensure the NBD rootfs filename is
the right one.

Change-Id: I81fa24a55cfa6acfbeda987f31d6dca5fea9dd52
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10119
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-main: Allow service to run by default 01/10101/2
José Bollo [Fri, 7 Jul 2017 11:59:26 +0000 (13:59 +0200)]
af-main: Allow service to run by default

The previous settings assumed that services were
started by socket activation. This is not always
the case.

Change-Id: I9e8d6c7bdf961141964bb316e603018721a72054
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10101
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: update DAB for RC3 89/10089/2
José Bollo [Wed, 5 Jul 2017 15:06:57 +0000 (17:06 +0200)]
framework: update DAB for RC3

This change includes

 - bug fixes

   - Fix bad error reporting (and of the not funny "Inappropriate ioctl for device")
   - Fix libmicrohttp version dependency
   - Fix start actions order

 - binding v2 improvements (SPEC-717)

   - reintroduce the field <info> when describing fields
   - enforce V2 binding writers to use AFB_ prefixed logging macros
   - make error status uniform even for call & subcall

 - debugging features (SPEC-729)

   - allow to export the http port in afm-unit.conf
   - enable setting of breakpoints/waitpoints when compiled
     with AGL_DEVEL

Bug-AGL: SPEC-717
Bug-AGL: SPEC-729

Change-Id: If66e5524e6621107c7417f26439f90e7d47db89d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10089
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: make sockets.target accessible by group 87/10087/2
José Bollo [Wed, 5 Jul 2017 13:23:08 +0000 (15:23 +0200)]
af-main: make sockets.target accessible by group

Bug-AGL: SPEC-726

Change-Id: I8cb62fb6353e3985d1f7c9efc141bc35f4fa6d4b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10087
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: Leverage agl-devel and set PV 85/10085/2
José Bollo [Wed, 5 Jul 2017 07:33:04 +0000 (09:33 +0200)]
Framework: Leverage agl-devel and set PV

It is time for the framework to include
development specific features intended
to be used when developing applications.

This commit prepares such use. See:
AGL-Bug: SPEC-594

It also changes the version PV to point
the correct AGL distribution/branch and
git commit.

Change-Id: Ib6abbc3d83ee3eecb79b574f988b430221c45b33
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10085
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 systemd synchronization script 57/10057/4
Ronan Le Martret [Thu, 6 Jul 2017 09:18:41 +0000 (11:18 +0200)]
Add systemd synchronization script

 * reload daemon at the first boot

Bug-AGL: SPEC-731

Change-Id: Ia23f4eca116add1abc061eaa1708fe3185e26080
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10057
Reviewed-by: José Bollo <jobol@nonadev.net>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoHandle error during run-agl-postinsts 25/10025/3
Ronan Le Martret [Tue, 4 Jul 2017 08:08:40 +0000 (10:08 +0200)]
Handle error during run-agl-postinsts

 * do not remove post install script if failed

Bug-AGL: SPEC-700

Change-Id: I1b45670ecbe3915a69cfa659031ac877eb794571
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10025
Reviewed-by: José Bollo <jobol@nonadev.net>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoExecuting /bin/bash explicitly 53/10053/3
Tadao Tanikawa [Thu, 6 Jul 2017 08:21:12 +0000 (17:21 +0900)]
Executing /bin/bash explicitly

To resolve issue of SPEC-699, afm-install began to use
PIPESTATUS[] to catch error from dbus-send.

But the /bin/sh is still specified even though it is an unique
function of Bash.

Note: Because current AGL has Bash and /bin/sh is symbolic
link to /bin/bash, it works with no error before this fix applied.

Bug-AGL: SPEC-699

Change-Id: I730de85d593f6371210cf1424e7bc39ca9365f2f
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10053
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoAdd gst-record argument to weston option 23/9823/4
Harunobu Kurokawa [Tue, 27 Jun 2017 01:25:10 +0000 (10:25 +0900)]
Add gst-record argument to weston option

v2:
 When gst-record is included DISTRO_FEATURES, "--gst-record" is set.

Bug-AGL: SPEC-559

Change-Id: Ia172135f355a98bb10234743cdd1a7b1319723e7
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9823
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 image format dependencies during parsing 47/10047/3
Jan-Simon Möller [Wed, 5 Jul 2017 15:21:03 +0000 (17:21 +0200)]
Fix for image format dependencies during parsing

local.conf is evaluated first before the distro configuration. This caused issues while parsing the
IMAGE_FSTYPES. The same set of IMAGE_FSTYPES did not throw the same switches deep in the other recipes.

We define
AGL_EXTRA_IMAGE_FSTYPES and AGL_EXTRA_INITRAMFS_FSTYPES for use in conf/local.conf or the device templates
which are added early on-top of the defaults:

AGL_DEFAULT_IMAGE_FSTYPES ?= "tar.xz ext4.xz"   (tar.xz for direct use, ext4.xz for direct use and CI)
AGL_DEFAULT_INITRAMFS_FSTYPES ?= "ext4.gz" (format for initramfs/initrd with smack labels)

Both sets can be overridden in the device configuration / template.

Device templates have been adapted accordingly.

Bug-AGL: SPEC-492

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

6 years agoFix i.MX6 71/9871/4
Takashi Matsuzawa [Wed, 28 Jun 2017 06:55:13 +0000 (15:55 +0900)]
Fix i.MX6

Bug-AGL: SPEC-704

This is part of the fixe to make i.MX6 buildable again.
Following fixes are included in this change:

- adding build target imx6qsabreauto
- fixing qt5.8 build error
- refine bblayers.conf layer order (for dynamic-layers)
- meta-fsl-arm -> meta-freescale layer name change
- weston.ini lines (use fbdev-backend.so)
- /dev/galcore permission (by /etc/udev/rules.d/zz-dri.rules)
- kernel configuraion to include smack, etc.

Follwings are stil not addressed yet:

- bblayer.conf layer order still have issue re. dynamic-layers
- built and booted on imx6qsabreauto only yet.
  following existing community boards may need update
  (i have imx6qsabrelite, but no notrogen6x)

Note, this fix is prepared independently of nxp or fsl-community,
who should follow-up if there are mistakes to be fixed, or updates
that they find needed.

Update:

Refined on review comment regarding tune settings and
kernel configurations.  The board successfully boots and shows
AGL homescreen.

But I found I still have problem with USB.
lsusb says 'unable to initialize libusb: -99' error which I am
still faling to find the cause.

Update2:

usb issue may be related to dtb configuration in linux-fslc-imx
better to be tracked separately

Change-Id: If5fa4e5f0450385bcb2648d57e63dc1fc14b0574
Signed-off-by: Takashi Matsuzawa <tmatsuzawa@xevo.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9871
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 agodb410c kernel fixed CVE-2017-1000364 upstream thus remove our patches 57/9957/2
Jan-Simon Möller [Thu, 29 Jun 2017 15:20:38 +0000 (17:20 +0200)]
db410c kernel fixed CVE-2017-1000364 upstream thus remove our patches

https://git.linaro.org/landing-teams/working/qualcomm/kernel.git/log/?h=release/qcomlt-4.9
contains now the necessary patches. We no longer need ours.

Bug-AGL: SPEC-705 SPEC-707

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

6 years agoweston-init: set udev rule to display group for gst-record feature. 21/9821/3
Harunobu Kurokawa [Mon, 26 Jun 2017 13:41:05 +0000 (22:41 +0900)]
weston-init: set udev rule to display group for gst-record feature.

Bug-AGL: SPEC-559

some /dev module should be grant to access as display user.
When weston use gst-record, it accesses some /dev driver
as display user.

Change-Id: Ifc3ab94282d2857d48cfd5673c3eab944badddf3
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9821
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoraspberrypi3-64: test: add LAVA env and job template 69/9769/4
Kevin Hilman [Mon, 19 Jun 2017 23:43:05 +0000 (23:43 +0000)]
raspberrypi3-64: test: add LAVA env and job template

Change-Id: Iea65e4986f3ab7ea41bcbf98bc63be8f4a4e2eba
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9769
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 agoEnable OTA updates using inc from meta-updater 01/9801/4
Phil Wise [Tue, 23 May 2017 13:56:41 +0000 (15:56 +0200)]
Enable OTA updates using inc from meta-updater

The latest meta-updater provides an include file to enable OTA
updates--use that to bring in the relevant configuration.
rvi-sota-client is not pulled in by default, so delete the
IMAGE_INSTALL_remove line.

Change-Id: I148dc1b0156f6ea12a456bd093a32945215852e7
Signed-off-by: Phil Wise <phil@advancedtelematic.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9801
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: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoFix for CVE-2017-1000366 in glibc 31/9931/2
Jan-Simon Möller [Wed, 28 Jun 2017 20:01:03 +0000 (22:01 +0200)]
Fix for CVE-2017-1000366 in glibc

This changeset fixes CVE-2017-1000366 by using the latest glibc
revision from the 2.24 glibc git as of today which includes the needed fix.
One patch file had to be adapted and overlayed with our custom version
(patching just conflicts on ChangeLog, no source file affected).

Bug-AGL: SPEC-705

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

6 years agoBackport fix for CVE-2017-1000364 to linux-yocto-4.8 53/9853/2
Jan-Simon Möller [Tue, 27 Jun 2017 23:36:33 +0000 (01:36 +0200)]
Backport fix for CVE-2017-1000364 to linux-yocto-4.8

Backport of upstream fixes from 4.9 kernel branch to linux-yocto:
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.9.34&id=cfc0eb403816c5c4f9667d959de5e22789b5421e
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.9.34&id=5d10ad6297260e9b85e7645ee544a6115bb229e4
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.9.34&id=ce7fe8595902c3f03ef528c2dc1928b3f4b67fcf

Change-Id: I5bedd3af344b32b410bb7d59448710799143107d
Bug-AGL: SPEC-705
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9853
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
6 years agoFix CVE-2017-1000364 by backporting the patches for gen3 83/9883/2
Jan-Simon Möller [Wed, 28 Jun 2017 10:58:35 +0000 (12:58 +0200)]
Fix CVE-2017-1000364 by backporting the patches for gen3

Backport of patches from upstream for 4.9
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=cfc0eb403816c5c4f9667d959de5e22789b5421e
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=5d10ad6297260e9b85e7645ee544a6115bb229e4
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=ce7fe8595902c3f03ef528c2dc1928b3f4b67fcf

Bug-AGL: SPEC-705

Change-Id: Ic10d65a80f9cd334067e507715dfe9589fbde744
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9883
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
6 years agoFix CVE-2017-1000364 for dragonboard-410c by backporting the patches from upstream... 01/9901/2
Jan-Simon Möller [Wed, 28 Jun 2017 14:48:27 +0000 (16:48 +0200)]
Fix CVE-2017-1000364 for dragonboard-410c by backporting the patches from upstream kernel v4.9

Backport of patches from upstream for 4.9
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=cfc0eb403816c5c4f9667d959de5e22789b5421e
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=5d10ad6297260e9b85e7645ee544a6115bb229e4
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=ce7fe8595902c3f03ef528c2dc1928b3f4b67fcf

Bug-AGL: SPEC-705

Change-Id: I402591fa0cba7c6612050f6cf914ae0607df78ec
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9901
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
6 years agoFix CVE-2017-1000364 by backporting the patches for rpi3 57/9857/3
Jan-Simon Möller [Tue, 27 Jun 2017 23:46:34 +0000 (01:46 +0200)]
Fix CVE-2017-1000364 by backporting the patches for rpi3

Backport of patches from upstream for 4.4
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.4.74&id=4b359430674caa2c98d0049a6941f157d2a33741
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.4.74&id=f41512c6acb71c63cf4e3bd50934365ae2a23891
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.4.74&id=1f2284fac2180d7a9442c796d9755e3ce7ab0bd9

Backport of patches from upstream for 4.9
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=cfc0eb403816c5c4f9667d959de5e22789b5421e
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=5d10ad6297260e9b85e7645ee544a6115bb229e4
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=ce7fe8595902c3f03ef528c2dc1928b3f4b67fcf

Bug-AGL: SPEC-705

Change-Id: If330fb7de09ab00f84d35a1e4c5343f958fcbf56
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9857
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Leon Anavi <leon.anavi@konsulko.com>
6 years agoafw: Fix error report 21/9921/2
José Bollo [Wed, 28 Jun 2017 16:54:54 +0000 (18:54 +0200)]
afw: Fix error report

Also adds minor improvement in logging for the binder

Change-Id: I34a56ed72fdedca3645c179e73978ff919860ecc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9921
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: moves reload of service 41/9841/3
José Bollo [Tue, 27 Jun 2017 14:09:29 +0000 (16:09 +0200)]
af-main: moves reload of service

Make the reload of services in the daemon
and add an option to avoid the reload within
system

Change-Id: Iedd23ad1b3235a39e2a9b84771d0a9c78fbe4f2e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9841
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoFix rpi-sdimg after IMAGE_FSTYPE being enforced in poky-agl.conf 87/9887/3
Jan-Simon Möller [Wed, 28 Jun 2017 13:44:34 +0000 (15:44 +0200)]
Fix rpi-sdimg after IMAGE_FSTYPE being enforced in poky-agl.conf

This changeset fixes the case of the rpi-sdimg which was broken
by the IMAGE_FSTYPE setting introduced in poky-agl.conf (distro-wide).

A new variable AGL_EXTRA_IMAGE_FSTYPES is available now and only used
in AGL (target) images.

Reasoning for this solution:
- any modifications to IMAGE_FSTYPES will also affect things like the initramfs or initrd images.
- we minimized the disk-space requirements by reusing the ext4.xz for the rpi-sdimg

Bug-AGL: SPEC-492

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

6 years agoAdd CAN drivers by default to AGL boards 91/9791/4
Romain Forlot [Mon, 26 Jun 2017 12:37:11 +0000 (12:37 +0000)]
Add CAN drivers by default to AGL boards

v2 (jsmoeller): Add append files for boards that need special handling.

Change-Id: I172b71be6e825aa6399f22899e9b6eaacc86e72b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9791
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
6 years agoaf-main: report error status in afm-install 99/9799/2
José Bollo [Mon, 26 Jun 2017 08:32:25 +0000 (10:32 +0200)]
af-main: report error status in afm-install

The script afm-install wasn't able to report errors.
This patch suggested by Tadao Tanikawa ensure that
the status returned by dbus-send is reported to the
caller and solves the issue.

Bug-AGL: SPEC-699

Change-Id: Id9147794e534eeb9780ddfd4f4702becc87b2163
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9799
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: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agom3ulcb-nogfx: add test templates for LAVA job and environment 19/9819/3
Kevin Hilman [Mon, 26 Jun 2017 22:16:19 +0000 (22:16 +0000)]
m3ulcb-nogfx: add test templates for LAVA job and environment

Change-Id: I9c5a95bd33516e8451113dbabf6b6739dc637b7d
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9819
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 agoEnforce same IMAGE_FSTYPES across all boards for AGL 13/9813/6
Jan-Simon Möller [Mon, 26 Jun 2017 20:50:53 +0000 (22:50 +0200)]
Enforce same IMAGE_FSTYPES across all boards for AGL

This changeset enforces the same output images across all boards
to be ext4.xz and tar.xz . No exceptions.

Reasons: disk space, unification of instructions, download size

Bug-AGL: SPEC-492

Change-Id: I41c92ba1d92a6e5854cea470eea6e0b559945d5d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9813
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.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>