summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-07-06Executing /bin/bash explicitlyTadao Tanikawa1-1/+1
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>
2017-07-06Add gst-record argument to weston optionHarunobu Kurokawa2-2/+2
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>
2017-07-05Fix for image format dependencies during parsingJan-Simon Möller8-10/+30
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
2017-06-30Fix i.MX6Takashi Matsuzawa18-0/+286
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>
2017-06-29db410c kernel fixed CVE-2017-1000364 upstream thus remove our patchesJan-Simon Möller4-1045/+0
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
2017-06-29weston-init: set udev rule to display group for gst-record feature.Harunobu Kurokawa1-0/+8
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>
2017-06-29raspberrypi3-64: test: add LAVA env and job templateKevin Hilman2-0/+59
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>
2017-06-29Enable OTA updates using inc from meta-updaterPhil Wise1-1/+1
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>
2017-06-29Fix for CVE-2017-1000366 in glibcJan-Simon Möller2-0/+641
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>
2017-06-29Backport fix for CVE-2017-1000364 to linux-yocto-4.8Jan-Simon Möller2-0/+902
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>
2017-06-29Fix CVE-2017-1000364 by backporting the patches for gen3Jan-Simon Möller4-0/+1048
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>
2017-06-29Fix CVE-2017-1000364 for dragonboard-410c by backporting the patches from ↵Jan-Simon Möller4-0/+1045
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>
2017-06-29Fix CVE-2017-1000364 by backporting the patches for rpi3Jan-Simon Möller9-0/+2053
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>
2017-06-29afw: Fix error reportJosé Bollo2-2/+2
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>
2017-06-28af-main: moves reload of serviceJosé Bollo2-2/+2
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>
2017-06-28Fix rpi-sdimg after IMAGE_FSTYPE being enforced in poky-agl.confJan-Simon Möller7-3/+26
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>
2017-06-28Add CAN drivers by default to AGL boardsRomain Forlot7-10/+53
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>
2017-06-28af-main: report error status in afm-installJosé Bollo2-1/+2
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>
2017-06-28m3ulcb-nogfx: add test templates for LAVA job and environmentKevin Hilman2-0/+57
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>
2017-06-28Enforce same IMAGE_FSTYPES across all boards for AGLJan-Simon Möller2-4/+11
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>
2017-06-24af-main: ensure socket activationJosé Bollo1-1/+1
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>
2017-06-23af-main: Fix service and their socket activationJosé Bollo2-1/+3
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>
2017-06-23agl_raspberrypi*.inc: Set KERNEL_IMAGETYPE to ImageLeon Anavi5-8/+8
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>
2017-06-23meta-agl-netboot: increase IMAGE_ROOTFS_EXTRA_SPACEStephane Desneux2-2/+3
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>
2017-06-23support MACHINE=raspberrypi3-64Kevin Hilman3-0/+35
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>
2017-06-20Remove sdcard_image-rpi-gdp.bbclassLeon Anavi1-113/+0
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>
2017-06-20Add hibernation image areaYuichi Kusakabe4-0/+290
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>
2017-06-20Set idle-time to 0 in weston.service.Harunobu Kurokawa1-1/+1
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>
2017-06-20systemd: remove automountingMatt Ranostay3-116/+0
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>
2017-06-20lightmediascanner: change scan pathMatt Ranostay1-1/+1
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>
2017-06-20raspberrypi2: change GPU_MEM to 255Leon Anavi1-3/+2
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>
2017-06-15Add hibernation image areaYuichi Kusakabe5-2/+235
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>
2017-06-14Framework: fix and upgradeStephane Desneux2-2/+2
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>
2017-06-14README.renesas-gen3: add uboot env to setup ethernetStephane Desneux1-0/+2
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>
2017-06-13Fix for memory corruption during hibernateYuichi Kusakabe2-0/+159
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>
2017-06-09Enable SOTA for supported architecturesAnton Gerasimov6-3/+19
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>
2017-06-08enabling https for wget in busyboxDominig ar Foll (Intel Open Source)2-0/+5
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>
2017-06-08Framework: Fix and upgradeJosé Bollo2-2/+2
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>
2017-06-02tcf-agent: kill with USR2 in systemd stopMartin Kelly2-0/+15
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>
2017-06-02agl-login-manager,agl-desktop-config: Move layer to meta-aglChanghyeok Bae8-0/+0
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>
2017-06-01Add support for cflags for pi0/1Jan-Simon Möller1-1/+10
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>
2017-05-31rygel: disable user systemd serviceMatt Ranostay1-3/+3
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>
2017-05-30libmicrohttp: update to version 0.9.55José Bollo2-54/+2
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>
2017-05-30lightmediascanner: remove udev workaroundMatt Ranostay3-17/+0
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>
2017-05-25Add override for DISTRO_CODENAMEdab_3.99.1dab/3.99.13.99.1Jan-Simon Möller1-0/+1
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
2017-05-25Add u-boot Hibernation code for porter board.Yuichi Kusakabe5-0/+3976
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>
2017-05-25Add kernel Hibernation code for porter board.Yuichi Kusakabe17-0/+4413
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>
2017-05-25Add s3ctl Hibernation code for porter board.Yuichi Kusakabe2-0/+105
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>
2017-05-25Add gles Hibernation code for porter board.Yuichi Kusakabe2-0/+45
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>
2017-05-25agl-image-weston: fix weston regressionMartin Kelly2-0/+4
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>