aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-10-08Fix build of json-c on newer hostsdabJan-Simon Möller2-0/+104
Newer hosts with gcc >= 7.1 might fail to compile json-c. Fix by backporting patchset. Change-Id: Ic089a30d2ad1096ac3b1ef86f842eeab4460cfe1 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-10-08Remove already applied patchJan-Simon Möller2-43/+0
with the uprev of YP to 2.2.4, we have the patch already applied. Change-Id: Ie6188faccdf87b5e0b6affb6526b99f9de4a3c30 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-02-07Prepare release of DD 4.0.3dab_4.0.3dab/4.0.34.0.3Jan-Simon Möller1-2/+2
Change-Id: Ifa6d0b3d3b9f084df6b54b270d18a1203ea9fa06 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-01-16Remove glibc backport prior to update of pokyJan-Simon Möller2-75/+0
This removes the fix for CVE-2017-1000366.backport.patch as it is in the next upstream version that is being merged. Change-Id: Ifdb95e680194dca2e54119dc0d8b5f29c2a9047d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-11-14Fix: wrong config.xml file used to build widgetRomain Forlot1-1/+1
Change-Id: I6468f4d6917a7eeb0a3fe34555e1eb3cdbf969f2 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11959 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> 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: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-02linux-yocto_4.8.bbappend: Drop thisTom Rini2-903/+0
We move to a version of poky that uses v4.8.25 and that release includes the fix for CVE-2017-1000364 so we do not need to patch it manually. Bug-AGL: SPEC-1017 Change-Id: Ie57f0d628ac2b817d7383e2a0a5a3383d6d06094 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11663 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: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-24af-binder: Extend maxlength of websocket messagesJosé Bollo1-1/+1
The default maxlength of 65000 bytes is too limited. This commit extends the maxlength to 1048500 bytes. Bug-AGL: SPEC-981 Change-Id: I75963077d9d151eb9b1b81acbbd3a32272bd0976 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11489 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>
2017-10-18weston-ini-conf: Fix task signatures, mark as machine-specific packageTom Rini9-0/+18
We need to do two things here. First, bitbake does not know to track values that are found and used via getVarFlags() without them being otherwise refernced and tracked in ways that are otherwise caught. Further given that we use multiple levels of varflags here we need to be explicit in their tracking. Add all variables that we use to varflags where they are added to the metadata. This change comes directly from master. The second thing is that we need to tell bitbake/OpenEmbedded that this is a machine-specific package not architecture-generic. Bug-AGL: SPEC-965 Change-Id: I748dbf40f37aaf7f4a6dd6ddd65257fdfcf83098 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11355 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-10-11Revert kernel-devsrc fix on linux-tiStephane Desneux1-11/+0
This reverts commit 4bfc821810cdee47611c6d3e94d771971f51fa75. The fix on linux-ti-staging is superseeded by https://gerrit.automotivelinux.org/gerrit/#/c/11209/ Bug-AGL: SPEC-933 Change-Id: Ic41ba32451ef2c16a34c9e3879d4f86630ede058 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11227 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-10-11Fix kernel-devsrc package failing during installdab_4.0.2dab/4.0.24.0.2Stephane Desneux1-0/+7
This issue is due to the upstream script hardcodes /bin/awk whereas we ship /usr/bin/awk. The installation check will break in this case. Fix it by changing the path in the script. References: - https://lists.yoctoproject.org/pipermail/meta-intel/2017-January/004519.html - https://patchwork.openembedded.org/patch/136699/ - http://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-cache/commit/?h=yocto-4.9&id=d0e0a36eec57f5dfa02045776c69092c145f5000 Bug-AGL: SPEC-933 Change-Id: I228351663b764378960051463086e32c81b9b3d2 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11209 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Romain Forlot <romain.forlot@iot.bzh> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-11vmdk: Update checks for 'vmdk' to include 'vmdk.xz'Tom Rini2-2/+2
Given that we now default to creating vmdk.xz rather than vmdk files we need to ensure that when we check for 'vmdk' we also check for 'vmdk.xz'. Bug-AGL: SPEC-775, SPEC-776 Change-Id: Ie2fba86edacade949a0c5146cd34abf4067a023b Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11215 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-09Fix kernel-devsrc package failing during installJan-Simon Möller1-0/+11
This issue is due to the upstream script hardcodes /bin/awk whereas we ship /usr/bin/awk. The installation check will break in this case. Fix it by changing the path in the script. References: https://lists.yoctoproject.org/pipermail/meta-intel/2017-January/004519.html https://patchwork.openembedded.org/patch/136699/ http://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-cache/commit/?h=yocto-4.9&id=d0e0a36eec57f5dfa02045776c69092c145f5000 Bug-AGL: SPEC-933 Change-Id: I8f47aca352c89eef8996670ff7c3ae26c2cb15fc Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11173 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-10-05systemd: backport serialization change from v234Scott Murray2-1/+317
Bisecting between systemd v232 and v234 to find the source of the improvement in behavior of the serial tty lead to commit e266c068b5597e18b2299f9c9d3ee6cf04198c41. Backport the change to hopefully fix the failures. Bug-AGL: SPEC-544 Change-Id: I7b3d18c6603d0163ab66aaf94daac6fead2e6d3d Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11139 Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-05Update DISTRO_VERSION to 4.0.2Jan-Simon Möller1-2/+2
Change-Id: I08264b7d0a3666eecdfd233c9aeb68308da53fa2 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11127 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-09-26recipes-connectvity: bluez5: resolve CVE-2017-1000250Matt Ranostay2-0/+35
Add patchset that fixes BlueBorne CVE in the Bluez library for older versions of Bluez 5. Backport: https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-connectivity/bluez5?id=9376bbc8a04ced3c0973805e6cb2529b6db03076 Bug-AGL: SPEC-902 Change-Id: I7b2b2ed81d7f6896d3f8bc75320861bb9965b58b Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11021 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Leon Anavi <leon.anavi@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-24Remove backported patchset after YP morty branch uprevJan-Simon Möller3-26/+0
This change removes our bbappend for glibc_2.2 as poky incorporated such a change in the morty branch. This reverts https://gerrit.automotivelinux.org/gerrit/#/c/6339/ . Change-Id: Ib026b15f9700b591d1fae60b939568f4ddc6684e Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10959 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-09-10Fix lacked vspm kernel module for R-Car H3 and M3Harunobu Kurokawa2-0/+2
Missing the vspm kernel driver module sometime it may be not installed to rootfs. Change-Id: I76af517be7f26dec85dc4eceff77c22f02ebdba9 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10833 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-07Update DISTRO_VERSION for Dab 4.0.1dab_4.0.1dab/4.0.14.0.1Jan-Simon Möller1-2/+2
This prepares the 4.0.1 release Change-Id: Ia1979fa50c97267ecc04a42406b65ab4251a1361 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10819 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-09-07af-binder: workaround dlopen issueJosé Bollo1-1/+1
The LIBC function dlopen raise a SIGSEGV when trying to open a shared object containing only debugging symbols. Bug-AGL: SPEC-662 Change-Id: I62c13e5046e7aff4d522965c8cc4f1ba863939d3 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10805 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-06Fix: Build failed because kernel checkRomain Forlot1-1/+1
Change-Id: I1a1845927e8df9ca1b50054b4c9915ce81c650b7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10789 Reviewed-by: José Bollo <jobol@nonadev.net> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-05Renew backports after upstream update - CVE2017-1000366Jan-Simon Möller3-638/+72
This change renews the backports for glibc after upstream YP updated its glibc patch queue. We change the method from pulling the SRCREV up to backporting the patch only. Bug-AGL: SPEC-705 Change-Id: I212ae065bc3fc886f1fddb65628dbd2788bb9370 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10775
2017-09-05Do not use cpio.gz for initramfs as smack does not workJan-Simon Möller3-3/+2
This changeset removes the wrong hardcoded INITRAMFS_FSTYPES on 3 boards. It was moved over from the previous defaults prior to the change to the AGL-wide default FSTYPES. The correct image to use is ext4.gz (which is a default in poky-agl.conf) - thus we can just remove these in the board includes. Therefore the intel targets need to define INITRD_LIVE. Bug-AGL: SPEC-836 Change-Id: If45f67d2bbd02331f1aea848e3230ce1e190c50d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10711 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Dominig ar Foll <dominig.arfoll@fridu.net> (cherry picked from commit 8f0aed0582269bf38b0ed47be4b6c287c1d098aa) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10717 ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-08-21af-binder: bug fix and feature improvementsJosé Bollo1-1/+1
fixes: - webkit connection on websockets (SPEC-821) - over allocation of sessions - send error reply for unreplied requests - unprefix event name - infinite loop when events overrun counter - better handling of NULL improvements: - dump of stack on SIGABRT - facility afb_req_subcall_req - reduced verbosity - debugging enhanced: allow break after wait and call to 'personality' - documentation Bug-AGL: SPEC-821 Change-Id: I90f16aca97613616e7f2fb4bb85c052ae16c0cde Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10605 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-08-16Initial version of a LOC counter classJan-Simon Möller1-0/+29
Usage: INHERIT += "cloc" cloc --sum-reports `find tmp/work/ -name "*clocreport" | grep -v "\-native"` --out cloc-summary.report cloc needs to be installed on the host. Change-Id: I70c7e707405c718b1685d49f4e84216c5408d2fb Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10437 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> (cherry picked from commit 37c55f85ccf941bbbd8b3eae1eb31c596981304b) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10643 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-08-09low-level-can-service fix: Yocto compile failedRomain Forlot1-2/+2
Cherry picked commit 85099f34f7c15f041c84b541cb121be5ab7c61a2 Can't set compile FLAG using set using Yocto build If set, then these are the flags that are used by bitbake without append its own flags which provides toolchain variables environment mandatory to correctly build for another target. Change-Id: Iccf0ea5de401c0ee77ad864a381fb1137c047d48 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10561 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: José Bollo <jobol@nonadev.net> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-08-09af-main: bug fixesJosé Bollo1-1/+1
This update includes backport of fixes: - documentation fixes - explicit reference to /bin/bash - socket dependencies to .service - allowing companion programs - fix of htdocs subdirectory Bug-AGL: SPEC-384 Bug-AGL: SPEC-808 Change-Id: Ic32e9430621c6c652432b83f4310fdded0f4dcb9 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10549 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-08-09intel: build hddimg by defaultMartin Kelly2-2/+2
The useful mkefi.sh script requires an hddimg image, so we should build hddimg's by default for Intel builds. While we're at it, drop live per Jan-Simon's recommendations, so that we have just wic and hddimg. Change-Id: I24bfc03e9f357f3b8784267cc4537e4ff07d236e Signed-off-by: Martin Kelly <mkelly@xevo.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10567 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-08-04meta-agl-bsp: meta-ti: pulseaudio: set sink/source for dra7xx-evmMatt Porter2-0/+20
pulseaudio, by default, chooses alsa_output.platform-omap-hdmi-audio.0.auto.analog-stereo as the default sink. This is not desired since the HDMI is not normally used as the dra7xx-evm includes an LCD. Configure the CPU board's alsa_output.platform-sound0.analog-stereo (Line-Out/Headphone) as the default sink and configure the default source too. Bug-AGL: SPEC-804 Change-Id: I5d19aa564c8c162d1f5c68ae298d1d25592c8dc9 Signed-off-by: Matt Porter <mporter@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10505 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-08-04meta-agl-bsp: meta-ti: append alsa-state with dra7xx-evm defaultsMatt Porter2-0/+1348
The ALSA controls for the onboard tlv320aic3106 codec do not come up with usable default settings for the dra7xx-evm analog audio jacks. Add asound.state defaults for the dra7xx-evm baseboard audio that properly configure the Line DACL1/R1 and PGA MicL1/R1 switches and accordingly gain levels such that the Line-Out and Microphone jacks are functional by default. Bug-AGL: SPEC-803 Change-Id: I6fe80daf1073c4d7c39be610dc99c136b4b3a82b Signed-off-by: Matt Porter <mporter@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10503 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-08-04meta-agl-bsp: meta-ti: add dra7xx-evm weston.ini supportMatt Porter1-0/+1
The change in commit 7d1d7457ff2b71abe95525b26148d5a3e7a42790 to dynamically generate weston.ini in the weston-ini-conf package threw away the working weston.ini conf provided for dra7xx-evm. This resulted in incorrect rotation of the image on the LCD since dra7xx-evm builds were only picking up the default weston-ini-conf .ini file contents for a generic HDMI display. Overriding the output name with the correct drm rendering device name fixes this and the image is displayed again in portrait mode. Bug-AGL: SPEC-801 Change-Id: I52171dee27439667592481dac1ccd5284ed8206c Signed-off-by: Matt Porter <mporter@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10501 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-08-04meta-agl-bsp: meta-ti: add pvr systemd serviceMatt Porter2-0/+37
dra7xx-evm currently does not initialize graphics correctly because the PVR SGX services are not loaded at the correct time. Add a systemd service which executes the script from the TI DDK before psplash and weston are started. This fixes dra7xx-evm so that HomeScreen comes up on boot. Bug-AGL: SPEC-798 Change-Id: I0649902ac6066062527f345bea5e36e929d19c01 Signed-off-by: Matt Porter <mporter@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10499 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-27Bump DISTRO_VERSION to 4.0.0dab_4.0.0dab/4.0.04.0.0Jan-Simon Möller1-2/+2
Change-Id: Iaffbe3d1c2b3e26549c44a03221b92c0e82be1b5 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10427
2017-07-27Bump version of low-level-can-service to include cmake fixesJan-Simon Möller1-1/+1
This brings the low-level-can-service src revision up-to-date. Bug-AGL: SPEC-772 Change-Id: I9a8afcc554026f69e0d70da2aa66bf0d3f3d31fa Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10421 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-07-26qemux86-64: build vmdk.xz imagesMatt Porter1-0/+3
Generate vmdk.xz images by default. Change-Id: I9a7638cd9a24083603b3dee80be553bccaf375de AGL-Issue: SPEC-513 Signed-off-by: Matt Porter <mporter@konsulko.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10283 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-26Just inherit "sota.bbclass", let machine template snippets append toAnton Gerasimov1-1/+1
DISTRO_FEATURES Bug-AGL: SPEC-780 Change-Id: Ibe3de0d5d85ece467517dff0d4e5585cd1f38e79 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10379 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-26Fix runqemu by generating an ext4 image by defaultJan-Simon Möller4-18/+21
runqemu does not detect an ext4.xz , thus default to ext4. Call it with: runqemu qemux86-64 kvm audio Also due to the optimization levels for x86-64, adapt QB_CPU and QB_CPU_KVM. For audiomanager to start up, sound needs to be enabled. QB_AUDIO_DRV and QB_AUDIO_OPT enable this. Finally bump memory in runqemu to 2G. For CI purposes, introduce a DISTRO_FEATURES flag 'AGLCI'. v2: fix missing space in append v3: qemuboot options fix v4: QB_AUDIO_DRV defaults to alsa Bug-AGL: SPEC-784 Change-Id: Ie9c9c2b7d8838b512f3f19b1e29952079039e0ab Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10389 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-07-26Fix cve patch for kernel 4.4 on intel joule [master/dab]Jan-Simon Möller4-0/+1010
Bug-AGL: SPEC-766 Change-Id: Ibe60bc5ba5ba505bdc71a199cf14fb25e2acefbd Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10363 Reviewed-by: Dominig ar Foll <dominig.arfoll@fridu.net>
2017-07-26image: Add vmdk.xz to the list of types that trigger image-vm inheritTom Rini1-0/+622
Given how vmdk.xz is implemented currently it must also be added to the list of image types that will cause image-vm to be inherited. Change-Id: Ief017849c13c1d79c12411f39046389b1cc8a570 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10373 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-26Fix build of agl-demo-image-qaJan-Simon Möller7-4/+97
Fix the image generation by fixing SPEC-782, updating iperf and removing our custom version of ltp in favour of a newer version in oe-core. Bug-AGL: SPEC-782 Change-Id: Idbb08b493645f04df3d04c93d7bef8231350078d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10365 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-07-25af-main: Install debugging features when agl-develJosé Bollo3-1/+4
When agl-devel is required, installs the debugging feature needed by XDS. Also, improves AGL_DEVEL setting of af-binder. Bug-AGL: SPEC-659 Change-Id: Ia824425bbc0e055866b184f1899a2f0432d4618d Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10335 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-24tests: enable HW test for QEMU x86-64Kevin Hilman2-0/+2
Change-Id: Ic7d19e6fc9e682a5a885cb572200ce178cf3da1f Signed-off-by: Kevin Hilman <khilman@baylibre.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10259 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-21Update poky-agl.conf for 3.99.3dab_3.99.3dab/3.99.33.99.3Jan-Simon Möller1-2/+2
Change-Id: I678ec2513a515cd78b39a3578bc3ded6b6dee191 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10313
2017-07-21tests: templates/qemux86-64: KVM updatesKevin Hilman1-1/+1
Updated QEMU commandline arugments to those known to have been validated and working with KVM and with AudioManager and HomeScreen. Change-Id: I7ac722d4cc49dd04db1bd4715ae737e1f21eb36b Signed-off-by: Kevin Hilman <khilman@baylibre.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10311 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-21Only apply CVE-2017-1000364 to 4.8 kernel - 4.4 needs different patchsetJan-Simon Möller2-3/+4
The patches are kernel version specific. Only apply to Kernel 4.8. Bug-AGL: SPEC-766 Change-Id: I8cd1cd980cc389bef30f2a4e80944e2b94f53da6 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10293 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> (cherry picked from commit fa90294b523d32bede7e840b018e8ec0fc20c9c6) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10309
2017-07-21Fix: can-bus not applied at kernel configurationRomain Forlot1-1/+1
Change-Id: I4ce1cbde8e0df867ac7ba5040dde2df98f13ce40 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10299 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-21tests: templates/qemux86-64: enable QEMU audio driverKevin Hilman1-1/+1
Add "-soundhw hda" to QEMU command-line so that GENIVI AudioManager will start up successfully. Change-Id: I50136f664fd1d4712ad646f751f596f54ba49905 Signed-off-by: Kevin Hilman <khilman@baylibre.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10261 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-20image-vm: Allow for xz compressed vmdk imagesTom Rini1-0/+181
In order to save space, introduce a vmdk.xz IMAGE_FSTYPE. We re-use the existing xz compression logic in place as given how the images are created we cannot use CONVERSION_CMD_xz directly. We switch to using bb.utils.contains in order to get an exact match on if vmdk.xz or vmdk is in IMAGE_FSTYPES. Change-Id: I9aa5fd1c8d80330536b9a38eaa154e3f706a3c2d AGL-Issue: SPEC-514 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10277 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-19meta-agl-bsp/meta-intel: make new 4.8 .bbappendDennis Field2-3/+12
The config fragments were not getting included for kernel 4.8 (intel-corei7-64, Minnowboard) Bug-AGL: SPEC-732 Change-Id: I0ae3e3d40a4e8439274920445108460e16fc42ef Signed-off-by: Dennis Field <dennisf@radiosound.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10073 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Dominig ar Foll <dominig.arfoll@fridu.net> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-19tests: templates/qemux86-64: add MACHINE name to rootfs filenameKevin Hilman1-1/+1
Change-Id: I99457bbef1d5b1e0bdb07ba44898652d447d8593 Signed-off-by: Kevin Hilman <khilman@baylibre.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10257 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-19tests: templates/qemux86-64: add (empty) DTBKevin Hilman1-0/+1
The JJB templates expect there to be a $DEVICE_DTB in various places, and if not set here, will have a default value (from rpi3). Change-Id: I3ae10a6fcf4f8f85dc49e45696a982ad85b29203 Signed-off-by: Kevin Hilman <khilman@baylibre.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10255 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>