AGL/meta-agl.git
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>

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

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

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

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

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

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

7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 years agoAdd hibernation image area 99/9699/2
Yuichi Kusakabe [Sat, 10 Jun 2017 10:55:26 +0000 (19:55 +0900)]
Add hibernation image area

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

and Fix Black blink correction of display.

Change-Id: I286b5291cb2eed22334a95132ba4a137eff298ca
Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9699
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoFramework: fix and upgrade 25/9725/2
Stephane Desneux [Tue, 13 Jun 2017 15:21:07 +0000 (15:21 +0000)]
Framework: fix and upgrade

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

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

Change-Id: I16361ef29634edc3cead0492caea1a49b4a61d3e
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9725
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoREADME.renesas-gen3: add uboot env to setup ethernet 23/9723/2
Stephane Desneux [Tue, 13 Jun 2017 13:28:50 +0000 (13:28 +0000)]
README.renesas-gen3: add uboot env to setup ethernet

Change-Id: I2f399257708bc7b44e9961ce9cebfbc55eaee899
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9723
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoFix for memory corruption during hibernate 01/9701/2
Yuichi Kusakabe [Sat, 10 Jun 2017 12:19:15 +0000 (21:19 +0900)]
Fix for memory corruption during hibernate

Change-Id: I4ee4ff339e34feb460e5faadfe3b3b937f881e56
Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9701
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoEnable SOTA for supported architectures 57/9657/2
Anton Gerasimov [Thu, 8 Jun 2017 16:30:32 +0000 (18:30 +0200)]
Enable SOTA for supported architectures

SOTA was temporarily disabled becaused it caused build errors

Change-Id: I57f1704c3cacf08cda6cb6a0fa4ec1fe0df305f3
Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9657
Reviewed-by: Martin Kelly <mkelly@xevo.com>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Reviewed-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoenabling https for wget in busybox 55/9655/2
Dominig ar Foll (Intel Open Source) [Thu, 8 Jun 2017 16:38:14 +0000 (18:38 +0200)]
enabling https for wget in busybox

Change-Id: I4d7093285d6c4aa3b17e78019b1e0d3a9b5de2d3
Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9655
Reviewed-by: Martin Kelly <mkelly@xevo.com>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoFramework: Fix and upgrade 09/9609/4
José Bollo [Tue, 6 Jun 2017 08:50:36 +0000 (10:50 +0200)]
Framework: Fix and upgrade

App-framework-main:

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

App-framework-binder:

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

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

Change-Id: Id980ebda486105044f9685ba50639a81766a7d72
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9609
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agotcf-agent: kill with USR2 in systemd stop 97/9597/2
Martin Kelly [Wed, 31 May 2017 11:28:00 +0000 (20:28 +0900)]
tcf-agent: kill with USR2 in systemd stop

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

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

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

Change-Id: Id59fab32ae78213efe98a646dce2eec0881720f6
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9597
Reviewed-by: José Bollo <jobol@nonadev.net>
Reviewed-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

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

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

Bug-AGL: SPEC-625

Change-Id: Ied4bbec9c72d2f7cac5b01c2465fe395c2e5497c
Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9587
Reviewed-by: Martin Kelly <mkelly@xevo.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>

7 years agoAdd support for cflags for pi0/1 93/9593/3
Jan-Simon Möller [Wed, 31 May 2017 23:34:32 +0000 (01:34 +0200)]
Add support for cflags for pi0/1

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

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

Change-Id: I9b2c203433a0d21d981267b2364527a8736a731c
Bug-AGL: SPEC-613
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9557
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agolibmicrohttp: update to version 0.9.55 43/9543/2
José Bollo [Mon, 29 May 2017 09:16:50 +0000 (11:16 +0200)]
libmicrohttp: update to version 0.9.55

Bug-AGL: SPEC-632

Change-Id: I89486ee190c56c399f5abbde9825082de84e9d82
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9543
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agolightmediascanner: remove udev workaround 33/9533/2
Matt Ranostay [Sat, 27 May 2017 01:17:56 +0000 (04:17 +0300)]
lightmediascanner: remove udev workaround

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

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

This is used for recipe pinning.

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

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

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

Change-Id: I3f0560074b710c27f49a73ca871038246d222b73
Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9449
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoAdd kernel Hibernation code for porter board. 51/9451/5
Yuichi Kusakabe [Sun, 21 May 2017 15:15:23 +0000 (00:15 +0900)]
Add kernel Hibernation code for porter board.

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

Change-Id: Ic64c9494a4bbd2518ef1aa334325b96eb7a9479e
Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9451
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoAdd s3ctl Hibernation code for porter board. 47/9447/3
Yuichi Kusakabe [Sun, 21 May 2017 14:54:46 +0000 (23:54 +0900)]
Add s3ctl Hibernation code for porter board.

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

Change-Id: I06dfe57abf8ff8c79151e4f15432b5445a7811e2
Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9447
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoAdd gles Hibernation code for porter board. 53/9453/3
Yuichi Kusakabe [Sun, 21 May 2017 15:18:20 +0000 (00:18 +0900)]
Add gles Hibernation code for porter board.

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

Change-Id: I6cde0492c28ec9ed67c377d22a29bda9c1b4746e
Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9453
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoagl-image-weston: fix weston regression 95/9495/3
Martin Kelly [Tue, 23 May 2017 18:59:38 +0000 (11:59 -0700)]
agl-image-weston: fix weston regression

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

Change-Id: I7441ce2ece079db8f46a41b2ad3997951d5e18ba
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9495
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agopulseaudio: fix service/socket unit installation 97/9497/5
Scott Murray [Tue, 23 May 2017 20:33:02 +0000 (16:33 -0400)]
pulseaudio: fix service/socket unit installation

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

Bug-AGL: SPEC-612

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

The global user name is 'afm'

AGL-Bug: SPEC-617

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

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

This reverts commit e68fd87fe3be06583c8e76af777c42a19d6cf5a5.

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

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

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

Until fixed upstream, use a mirror.

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

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

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

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

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

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

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

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

Bug-AGL: SPEC-609

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

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

Bug-AGL: SPEC-580

Change-Id: I08026f225971e1fe38e984dfed5fc2656955942c
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9439
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoFix typo in cyclone5 configuration template 41/9441/2
Jan-Simon Möller [Sat, 20 May 2017 20:35:54 +0000 (22:35 +0200)]
Fix typo in cyclone5 configuration template

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

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

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

Enable HFP support using the Ofono backend by default.

AGL-Bug: SPEC-597
Change-Id: I80435f287f2e71e267cef1599c2b377777150644
Signed-off-by: Matt Porter <mporter@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9411
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agometa-rcar-3 setup: Improve error message 15/9415/4
Harunobu Kurokawa [Wed, 17 May 2017 22:44:37 +0000 (07:44 +0900)]
meta-rcar-3 setup: Improve error message

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

v2:
 Using tput instead of ANSI escape codes.

v3:
 rebase after update BSP v2.19

Change-Id: Ica0c0ca557dd6b039cedc3bb45e6389f20fcd20f
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9415
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoUpdate Renesas gen3 setup script for BSP 2.19. 73/9373/3
Ronan Le Martret [Fri, 12 May 2017 14:40:40 +0000 (16:40 +0200)]
Update Renesas gen3 setup script for BSP 2.19.

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

Bug-AGL: SPEC-605

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

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

This commits doesn't add

  CPPFLAGS += "-DAGL_DEVEL"

to improve build time and cache space of yocto.

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

  CPPFLAGS_append_agl-devel = " -DAGL_DEVEL"

in recipes specific to AGL.

AGL-Bug: SPEC-594

Change-Id: Ie967a4317886ee78304999f36de5db9de22568a7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9393
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Changhyeok Bae <changhyeok.bae@lge.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agolightmediascanner: add -D_FILE_OFFSET_BITS=64 to CFLAGS 03/9403/3
Matt Ranostay [Wed, 17 May 2017 05:28:53 +0000 (05:28 +0000)]
lightmediascanner: add -D_FILE_OFFSET_BITS=64 to CFLAGS

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

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

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

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

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

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

Change-Id: I0a709ba15582a011a43f3a3b68d4230bae11b658
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9071
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoagl-audio-plugin: Fix Pulseaudio version 13/9413/2
Scott Murray [Wed, 17 May 2017 21:56:25 +0000 (17:56 -0400)]
agl-audio-plugin: Fix Pulseaudio version

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

Change-Id: I9328a219b838ed951690a861a10034a87092f89d
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9413
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Reviewed-by: Matt Porter <mporter@konsulko.com>
Reviewed-by: Changhyeok Bae <changhyeok.bae@lge.com>
7 years agoaf-binder: changes the packaging 95/9395/2
José Bollo [Mon, 15 May 2017 14:58:47 +0000 (16:58 +0200)]
af-binder: changes the packaging

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

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

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

Also includes a fix on signal internally used for
timers.

Change-Id: I7e4241266e5736d3e3b3aeff5efd150821ff1d3c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9395
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agodragonboard-410c: install 96boards-tools for resizing partition 91/9391/2
Kotaro Hashimoto [Mon, 15 May 2017 09:33:59 +0000 (18:33 +0900)]
dragonboard-410c: install 96boards-tools for resizing partition

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

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

Change-Id: Ica597e36e530533cf4820a3b0a7ad2145bd3d6fb
Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9391
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoRun weston with dedicated 'display' user and group 35/9135/12
Ronan Le Martret [Wed, 19 Apr 2017 14:16:03 +0000 (16:16 +0200)]
Run weston with dedicated 'display' user and group

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

Bug-AGL: SPEC-546

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

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

Bug-AGL: SPEC-593

Change-Id: I97d55b6b34ea18fae943ab6bd89c88088896f2ac
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9379
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: José Bollo <jobol@nonadev.net>
7 years agoAdd machine templates for the beaglebone 37/9337/4
Jan-Simon Möller [Wed, 10 May 2017 04:00:05 +0000 (06:00 +0200)]
Add machine templates for the beaglebone

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

v2: remove whitespace.

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

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

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

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

This patch allows kernel sockets to be used by applications.

Bug-AGL: SPEC-554

Change-Id: Ib3562cb68334500b375b5dd341ead314c438f5e6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9371
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoFix Readme.weston-ini-conf Readme 75/9375/2
Ronan Le Martret [Fri, 12 May 2017 15:38:27 +0000 (17:38 +0200)]
Fix Readme.weston-ini-conf Readme

Change-Id: I94437dfd409b5cd66733e6fdacf5a6770f84030b
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9375
Reviewed-by: Martin Kelly <mkelly@xevo.com>
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoUpgrade af-binder 51/9351/3
José Bollo [Wed, 26 Apr 2017 11:47:34 +0000 (13:47 +0200)]
Upgrade af-binder

This is a major upgrade. It includes:

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

Change-Id: Iaca30840daa89ecc70a9875d2fb1cc013014eea4
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9351
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Changhyeok Bae <changhyeok.bae@lge.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoweb-runtime: add missing runtime dependencies 35/9335/2
Martin Kelly [Tue, 9 May 2017 18:49:57 +0000 (11:49 -0700)]
web-runtime: add missing runtime dependencies

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

Change-Id: I6523d6ff2b152ca120c4cd4ed0fa60710df16bc6
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9335
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agodra7xx: Fix build error with mozjs and libatasmart 69/9369/2
Karthik Ramanan [Fri, 12 May 2017 11:29:56 +0000 (16:59 +0530)]
dra7xx: Fix build error with mozjs and libatasmart

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

Change-Id: I3cc570848e5586ba3c5733fe16224ca402166094
Signed-off-by: Karthik Ramanan <a0393906@ti.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9369
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agox86_64-tune: fix KVM qemu options 29/9329/2
Martin Kelly [Mon, 8 May 2017 22:44:11 +0000 (15:44 -0700)]
x86_64-tune: fix KVM qemu options

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

Change-Id: Ic7d160528c5aebfb835362f3ad3c2da2dc44c2c4
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9329
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
7 years agoSwitch to medium compiler 27/9327/2
Jan-Simon Möller [Mon, 8 May 2017 03:36:16 +0000 (05:36 +0200)]
Switch to medium compiler

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

Change-Id: I19d695c653cc78c53dfce7a1adc27e7629256296
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9327
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>