AGL/meta-agl.git
6 years agoFix kernel-devsrc package failing during install 09/11209/3 4.0.2 dab/4.0.2 dab_4.0.2
Stephane Desneux [Tue, 10 Oct 2017 17:25:59 +0000 (19:25 +0200)]
Fix kernel-devsrc package failing during install

This issue is due to the upstream script hardcodes /bin/awk whereas we ship /usr/bin/awk.
The installation check will break in this case. Fix it by changing the path in the script.

References:
- https://lists.yoctoproject.org/pipermail/meta-intel/2017-January/004519.html
- https://patchwork.openembedded.org/patch/136699/
- http://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-cache/commit/?h=yocto-4.9&id=d0e0a36eec57f5dfa02045776c69092c145f5000

Bug-AGL: SPEC-933

Change-Id: I228351663b764378960051463086e32c81b9b3d2
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11209
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>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Thomas Rini <trini@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agovmdk: Update checks for 'vmdk' to include 'vmdk.xz' 15/11215/2
Tom Rini [Tue, 10 Oct 2017 20:46:55 +0000 (16:46 -0400)]
vmdk: Update checks for 'vmdk' to include 'vmdk.xz'

Given that we now default to creating vmdk.xz rather than vmdk files we
need to ensure that when we check for 'vmdk' we also check for
'vmdk.xz'.

Bug-AGL: SPEC-775, SPEC-776
Change-Id: Ie2fba86edacade949a0c5146cd34abf4067a023b
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11215
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoFix kernel-devsrc package failing during install 73/11173/3
Jan-Simon Möller [Sun, 8 Oct 2017 17:20:08 +0000 (19:20 +0200)]
Fix kernel-devsrc package failing during install

This issue is due to the upstream script hardcodes /bin/awk whereas we ship /usr/bin/awk.
The installation check will break in this case. Fix it by changing the path in the script.

References:
https://lists.yoctoproject.org/pipermail/meta-intel/2017-January/004519.html
https://patchwork.openembedded.org/patch/136699/
http://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-cache/commit/?h=yocto-4.9&id=d0e0a36eec57f5dfa02045776c69092c145f5000

Bug-AGL: SPEC-933

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

6 years agosystemd: backport serialization change from v234 39/11139/2
Scott Murray [Thu, 5 Oct 2017 14:22:54 +0000 (10:22 -0400)]
systemd: backport serialization change from v234

Bisecting between systemd v232 and v234 to find the source of
the improvement in behavior of the serial tty lead to commit
e266c068b5597e18b2299f9c9d3ee6cf04198c41.  Backport the change
to hopefully fix the failures.

Bug-AGL: SPEC-544

Change-Id: I7b3d18c6603d0163ab66aaf94daac6fead2e6d3d
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11139
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoUpdate DISTRO_VERSION to 4.0.2 27/11127/2
Jan-Simon Möller [Wed, 4 Oct 2017 20:26:11 +0000 (22:26 +0200)]
Update DISTRO_VERSION to 4.0.2

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

6 years agorecipes-connectvity: bluez5: resolve CVE-2017-1000250 21/11021/2
Matt Ranostay [Tue, 19 Sep 2017 21:02:38 +0000 (00:02 +0300)]
recipes-connectvity: bluez5: resolve CVE-2017-1000250

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

Backport: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-connectivity/bluez5?id=9376bbc8a04ced3c0973805e6cb2529b6db03076
Bug-AGL: SPEC-902
Change-Id: I7b2b2ed81d7f6896d3f8bc75320861bb9965b58b
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11021
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoRemove backported patchset after YP morty branch uprev 59/10959/2
Jan-Simon Möller [Mon, 18 Sep 2017 15:58:33 +0000 (17:58 +0200)]
Remove backported patchset after YP morty branch uprev

This change removes our bbappend for glibc_2.2 as poky incorporated
such a change in the morty branch.

This reverts https://gerrit.automotivelinux.org/gerrit/#/c/6339/ .

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

6 years agoFix lacked vspm kernel module for R-Car H3 and M3 33/10833/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/10833
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoUpdate DISTRO_VERSION for Dab 4.0.1 19/10819/2 4.0.1 dab/4.0.1 dab_4.0.1
Jan-Simon Möller [Thu, 7 Sep 2017 16:55:54 +0000 (18:55 +0200)]
Update DISTRO_VERSION for Dab 4.0.1

This prepares the 4.0.1 release

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

6 years agoaf-binder: workaround dlopen issue 05/10805/2
José Bollo [Thu, 7 Sep 2017 08:05:25 +0000 (10:05 +0200)]
af-binder: workaround dlopen issue

The LIBC function dlopen raise a SIGSEGV when trying
to open a shared object containing only debugging symbols.

Bug-AGL: SPEC-662

Change-Id: I62c13e5046e7aff4d522965c8cc4f1ba863939d3
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10805
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoFix: Build failed because kernel check 89/10789/3
Romain Forlot [Tue, 5 Sep 2017 17:05:34 +0000 (17:05 +0000)]
Fix: Build failed because kernel check

Change-Id: I1a1845927e8df9ca1b50054b4c9915ce81c650b7
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10789
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 agoRenew backports after upstream update - CVE2017-1000366 75/10775/3
Jan-Simon Möller [Tue, 5 Sep 2017 08:31:04 +0000 (10:31 +0200)]
Renew backports after upstream update - CVE2017-1000366

This change renews the backports for glibc after
upstream YP updated its glibc patch queue.

We change the method from pulling the SRCREV up to backporting the patch only.

Bug-AGL: SPEC-705

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

6 years agoDo not use cpio.gz for initramfs as smack does not work 17/10717/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>
(cherry picked from commit 8f0aed0582269bf38b0ed47be4b6c287c1d098aa)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10717
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

6 years agoaf-binder: bug fix and feature improvements 05/10605/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:
 - 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/10605
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 agoInitial version of a LOC counter class 43/10643/2
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>
(cherry picked from commit 37c55f85ccf941bbbd8b3eae1eb31c596981304b)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10643
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

6 years agolow-level-can-service fix: Yocto compile failed 61/10561/3
Romain Forlot [Tue, 8 Aug 2017 16:46:36 +0000 (16:46 +0000)]
low-level-can-service fix: Yocto compile failed

Cherry picked commit 85099f34f7c15f041c84b541cb121be5ab7c61a2

Can't set compile FLAG using set using Yocto build

If set, then these are the flags that are used by bitbake
without append its own flags which provides toolchain
variables
environment mandatory to correctly build for another
target.

Change-Id: Iccf0ea5de401c0ee77ad864a381fb1137c047d48
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10561
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: José Bollo <jobol@nonadev.net>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

6 years agoaf-main: bug fixes 49/10549/2
José Bollo [Tue, 8 Aug 2017 08:14:58 +0000 (10:14 +0200)]
af-main: bug fixes

This update includes backport of fixes:
 - documentation fixes
 - explicit reference to /bin/bash
 - socket dependencies to .service
 - allowing companion programs
 - fix of htdocs subdirectory

Bug-AGL: SPEC-384
Bug-AGL: SPEC-808

Change-Id: Ic32e9430621c6c652432b83f4310fdded0f4dcb9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10549
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 agointel: build hddimg by default 67/10567/2
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/10567
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 05/10505/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/10505
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Thomas Rini <trini@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agometa-agl-bsp: meta-ti: append alsa-state with dra7xx-evm defaults 03/10503/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/10503
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Thomas Rini <trini@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agometa-agl-bsp: meta-ti: add dra7xx-evm weston.ini support 01/10501/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/10501
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Thomas Rini <trini@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agometa-agl-bsp: meta-ti: add pvr systemd service 99/10499/2
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/10499
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Thomas Rini <trini@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoBump DISTRO_VERSION to 4.0.0 27/10427/2 4.0.0 dab/4.0.0 dab_4.0.0
Jan-Simon Möller [Thu, 27 Jul 2017 15:01:01 +0000 (17:01 +0200)]
Bump DISTRO_VERSION to 4.0.0

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

6 years agoBump version of low-level-can-service to include cmake fixes 21/10421/2
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/10421
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 agoqemux86-64: build vmdk.xz images 83/10283/3
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/10283
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 79/10379/2
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/10379
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 89/10389/2
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/10389
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

6 years agoFix cve patch for kernel 4.4 on intel joule [master/dab] 63/10363/3
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/10363
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 73/10373/2
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/10373
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoFix build of agl-demo-image-qa 65/10365/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/10365
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

6 years agoaf-main: Install debugging features when agl-devel 35/10335/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: Ia824425bbc0e055866b184f1899a2f0432d4618d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10335
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: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agotests: enable HW test for QEMU x86-64 59/10259/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/10259
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 agoUpdate poky-agl.conf for 3.99.3 13/10313/2 3.99.3 dab/3.99.3 dab_3.99.3
Jan-Simon Möller [Fri, 21 Jul 2017 20:21:53 +0000 (22:21 +0200)]
Update poky-agl.conf for 3.99.3

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

6 years agotests: templates/qemux86-64: KVM updates 11/10311/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/10311
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoOnly apply CVE-2017-1000364 to 4.8 kernel - 4.4 needs different patchset 09/10309/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>
(cherry picked from commit fa90294b523d32bede7e840b018e8ec0fc20c9c6)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10309

6 years agoFix: can-bus not applied at kernel configuration 99/10299/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/10299
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agotests: templates/qemux86-64: enable QEMU audio driver 61/10261/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/10261
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 agoimage-vm: Allow for xz compressed vmdk images 77/10277/2
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/10277
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 73/10073/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/10073
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 57/10257/2
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/10257
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: add (empty) DTB 55/10255/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/10255
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 53/10253/2
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/10253
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoAdd low-level-can-generator as devtool in SDK 83/10183/6
Romain Forlot [Mon, 17 Jul 2017 09:26:05 +0000 (09:26 +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/10183
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 23/10223/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/10223
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: add hwtest environment 25/10225/2
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>
(cherry picked from commit 1093894a261d2cd2c2d6ec2f32f3b2d2bb90569b)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10225

6 years agoaf-main: add RDEPENDS on bash 21/10221/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/10221
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 agoUpdate freescale layer names, add nitrogen inc file 07/10207/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/10207
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 agobackport open-vm-tools recipe 11/10211/2
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/10211
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 agoPossibility to copy wgt without installing them 65/10165/4
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/10165
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>
6 years agoFix weston failed 09/10209/2
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/10209
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>
6 years agosystemd: remove timesystemd feature 79/10179/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/10179
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>
6 years agosystemd-udev: ensure convention for naming udev rules 67/10167/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: I95e36fc22711babb185ccf53deee8b838874c401
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10167
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 97/10197/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: If5aca00e79dc074dcd1f6bac81a57d85b8537cea
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10197
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: Changhyeok Bae <changhyeok.bae@gmail.com>
6 years agonetboot: fix dependency loop for qemu build 77/10177/2
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/10177
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 agotest templates: m3ulcb-nogfx: use core-image-minimal 51/10151/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>
(cherry picked from commit 287700311bb9879f19d5b7b9977979c5692895c9)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10151

6 years agoAdd ath9k_htc driver to rcar-gen3 for demos 55/10155/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/10155
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 agoIntegration of low-level-can-service apps 59/10159/2
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/10159
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 i.MX6 (usb) 57/10157/2
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/10157
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 agoDisable rpi3 tests as they are broken right now with the kernel Image 49/10149/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>
(cherry picked from commit 8f022c868bff1a4f2bfcdc04ea6eb3af20046852)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10149
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

6 years agoUpgrade framework and binder 45/10145/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)
 - improvement of afm-util output

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

Change-Id: I2b8b4d803bc4d1f056031d8f7a32e80bfed86314
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10145
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 systemd synchronization script 93/10093/2
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/10093
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: Allow service to run by default 03/10103/2
José Bollo [Fri, 7 Jul 2017 12:03:34 +0000 (14:03 +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.

Bug-AGL: SPEC-734

Change-Id: I5dda5d48a434ebc83f31eb5074504b3fb86e08cc
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10103
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 91/10091/2
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>
(cherry picked from commit 0c28379c6d8ab33f3c902b6617503ca634b8c90e)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10091

6 years agoExecuting /bin/bash explicitly 55/10055/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/10055
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoframework: update DAB for RC3 45/10045/3
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: I2615fe7f6fa8ff3ff28974236ca01a65782cab59
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10045
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agoaf-main: make sockets.target accessible by group 43/10043/3
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: Id523051a2b94c2ac8997262e796b5558771b67b9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10043
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 41/10041/3
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: Ib399ebe1067892d837bc31363c2c4cf892da6e5e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10041
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 gst-record argument to weston option 11/9911/3
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/9911
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 agoFix for image format dependencies during parsing 49/10049/2 3.99.2 dab/3.99.2 dab_3.99.2
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/10049
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 agoFix i.MX6 71/9971/2
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/9971
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
6 years agom3ulcb-nogfx: add test templates for LAVA job and environment 77/9877/2
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>
(cherry picked from commit ca8367a37ff019862aae48fc5a3d05ad56f084ec)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9877

6 years agoaf-binder: Fix error report (really) 63/9963/2
José Bollo [Thu, 29 Jun 2017 20:21:58 +0000 (22:21 +0200)]
af-binder: Fix error report (really)

A commit was missing in the dab backport
of commit 50e1176. This aptch includes it.

Change-Id: I7f59fb45cf30399e2890d3827ce7907ed548ac50
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9963
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 59/9959/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: Id22e1e2f7ccc173a8ecfce523e8781f852fa3564
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9959

6 years agoweston-init: set udev rule to display group for gst-record feature. 93/9893/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/9893
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 agoraspberrypi3-64: test: add LAVA env and job template 49/9949/2
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/9949
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 agoFix rpi-sdimg after IMAGE_FSTYPE being enforced in poky-agl.conf 27/9927/2
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/9927
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

6 years agoEnable OTA updates using inc from meta-updater 05/9905/2
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/9905
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 CVE-2017-1000366 in glibc 33/9933/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 SPEC-707

Change-Id: I1fbb6bc5862ada6b8b5479796c6a488a11c53ed4
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9933
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 55/9855/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 SPEC-707
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9855
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 85/9885/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 SPEC-707

Change-Id: I6ff3543fbe09e29511acc1f7a27c5ac961ada28d
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9885
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... 03/9903/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 SPEC-707

Change-Id: Idf5ac1f67829b30e9d5b0359ae7d7ef3aaac1dac
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9903
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 59/9859/2
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 SPEC-707

Change-Id: I786dd198e288ab89de59866a9044716ee33d3d16
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9859
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Leon Anavi <leon.anavi@konsulko.com>
6 years agoafw: Fix error report 25/9925/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: Iaf97c6b3fef7f827503ca7eb154916e770dd4ba1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9925
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 23/9923/2
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: I8441716e91a13726f24e2f7ab82562a9dc0d953a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9923
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 agoEnforce same IMAGE_FSTYPES across all boards for AGL 69/9869/2
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>
(cherry picked from commit be141be78efd87a910f03b83f7f89e5b2690d17f)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9869

6 years agoAdd CAN drivers by default to AGL boards 25/9825/2
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/9825
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: report error status in afm-install 33/9833/3
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: I4a737986ced800d4f29f1c3fdbc65aa0e957962d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9833
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 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>