summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-11-07Revert "Fix FTBS on newer pyro versions due to duplicate userids"eel_4.99.2eel/4.99.24.99.2Jan-Simon Moeller1-3/+2
This reverts commit 14a6db75ed0fad7fd55ad3ee239a4b92abfb8754. Change-Id: I130bcb057ab8e59f7e5dd14256cb6623aee24798 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11729 Reviewed-by: ronan Le Martret <ronan.lemartret@iot.bzh> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-11-07Remove duplicate user/group definitionRonan Le Martret2-4/+0
* Fix build error * user must be define only once * user have default group "users:100" * Note: At the first Pyro release, the option "--user-group" was always true (it was an untrack issue) for useradd yocto function. "user_group = uaargs.user_group is None or uaargs.user_group is True" and so force to create a group with the same name as the user. (Because we use a group name and not a gid). So at first create a custom group for each user solve the issue, but it's not the good solution. ** This issue was Fix upstream in: Poky:7ca04fef1b324b7fc6e8c5bbddcd41617cc5e5c6 Bug-AGL: SPEC-1053 Change-Id: Idfe5f07216741f1cfffdbcc4711d08f66f73bd79 Signed-off-by: Ronan Le Martret <ronan@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11705 Reviewed-by: ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-06Fix FTBS on newer pyro versions due to duplicate useridsJan-Simon Möller1-2/+3
This change removes the agl-users package from the packagegroup-agl-core-security.bbappend . The reason is that for SOTA we have to use predefined userids to stay consistent across builds. Newer pyro releases are more picky about duplicate userids from static files and those being created on-the-fly. For now we remove the dynamic variant by removing agl-users from the packagegroup. Change-Id: I54034361eec344b8130754fadf8c48207321797a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11715 Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2017-11-05Prepare Electric Eel RC2 releaseJan-Simon Möller1-1/+2
Change-Id: I5e286abc387fa15883ff288093cd5bc91b495ec0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11691
2017-11-05Allow SRCREV handling through poky-agl.confJan-Simon Möller12-13/+24
This change simplifies the SRCREV handling by using - AGL_APP_REVISION and AGL_DEFAULT_REVISION in recipes. Also the AGL_BRANCH can be used to switch to release branches. Bug-AGL: SPEC-864 Change-Id: I9384c85d4f7434416d87359f88c482887ac2ead8 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11685 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-11-03af-binder: Bug fixesJosé Bollo1-1/+1
* fix a bug in handling of event loop that consummed 100% CPU and reached assertion failures * fix a file descriptor leak in handling API sockets on server side * ensure non interleaved log messages * fix lack of 'noconcurrency' flag in creation of dynamic apis Also allows javascript client to set their "callId" explicitely. Change-Id: I28b4f9c2543e3d184b55fc63e0a1c46752450be3 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11677 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-11-03lightmediascanner: add ~/Music to initial media scanMatt Ranostay1-1/+1
Index users ~/Music directory on initial systemd service startup. Bug-AGL: SPEC-1029 Change-Id: Iae20eaaa33fa3c6c13eeb57d1694eef9cfa8866d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11667 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-31meta-agl-bsp: templates: update of nitrogen6x machine templateMihail Grigorov2-0/+5
Bug-AGL: SPEC-905 Change-Id: I959a9f8d085b0fb247998790191c3dcf2e4e34fa Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11567 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: Matt Porter <mporter@konsulko.com>
2017-10-31imx6qsabrelite starts to using 'meta-boundary' layerMihail Grigorov2-2/+4
a) Adding 'meta-boundary' to bblayers.conf. b) Prevent of build errors from missing bb files (firefox, chromium), with help of BBMASK variable. Bug-AGL: SPEC-905 Change-Id: Id0b823d4f0e8977206dbd22684e0d2cf9e88465f Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11569 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: Matt Porter <mporter@konsulko.com>
2017-10-31meta-agl-bsp: imx6qsabrelite: Switch to WIC imageMihail Grigorov3-3/+82
To produce a bootable WIC image, we needs to make some changes in 6x_bootscript for compatibility with WIC and SDCARD images. Because in case of WIC, we have one partition, and the kernel files are located in /boot directory. In case of SDCARD image, kernel files are in root directory of first partition. Bug-AGL: SPEC-899 Change-Id: Ie4b26a703cc468ff8c8405e957aacc2973ee289a Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11571 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: Matt Porter <mporter@konsulko.com>
2017-10-29python-wand: Add patch to ensure our built ImageMagick is usedTom Rini2-1/+38
It can be slightly tricky to build a copy of python-wand that will also function. A problem is that without additional logic (MAGICK_HOME), the python code will not look outside of system paths for a copy of the imagemagick library. However, even with this path added to the search list, the code will still try a 'naked' load of the library it wants. This can result in a visible failure if you have a new enough imagemagic-6 installed (such as 6.9.7) as the date string checking logic will fail. Work around these problems by setting MAGICK_HOME globally to the correct location and patch the api code to look for the form of imagemagick that we build first, rather than last, so that we are going to first search for what we know we built. Bug-AGL: SPEC-984 Backport: https://lists.linaro.org/pipermail/openembedded/2017-October/000102.html Change-Id: I9f0e3e64ab4601845e4f336aa81ce7c3d01ff7b7 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11587 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-29meta-agl-bsp/meta-rcar-gen3: Import imagemagick_6.9.2.bbTom Rini1-0/+90
In order for python-wand to function, it must have ImageMagick 6.9.2 available. Import this recipe from meta-linaro. Bug-AGL: SPEC-984 Backport: https://git.linaro.org/openembedded/meta-linaro.git/commit/?h=pyro&id=74dacb34c13d1c85fe4627a890b9c04940f9ffeb Change-Id: I6ddda052213d41ce3de115a4a3e5cf65afeaf5ee Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11585 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-28Add joystick.cfg for usb joystick and steering-wheel kernel configurezheng_wenlong9-2/+30
Add joystick.cfg into meta-agl-bsp/recipes-kernel, Then include this cfg in each board bbappend. Related commit: https://gerrit.automotivelinux.org/gerrit/#/c/10463/ Change-Id: Ie484cc8017e7198cefa0d8e7476032c325a8348d Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11575 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-10-24Update low-can serviceRomain Forlot1-1/+1
Updated docs Write on CAN bus fixed New verbs that list supported CAN signals and retrieve current value of a signal Updated app-template submodules Change-Id: Ibac813266bdc1cac832daaeb93b26d4088e21764 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11297 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-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. Also includes minor improvements and fixes. Bug-AGL: SPEC-981 Change-Id: Ic891ae90bbdd5ec94310bfc3aea1fb30f6e80077 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11491 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-21Invert make/autobuild orderRomain Forlot1-1/+1
because make all create a package dir then 'make package' doesn't fails so autobuild isn't executed. Invert the order keep compability and give priority to the autobuild script. Needed for gerrit review: 11297 about low-can service update Change-Id: I54e1da827ec7254afbab7de5498421914832f460 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11359 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> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-21R-Car Gen3: Add WIC supportTom Rini3-0/+15
Add a new wks file for the R-Car Gen3 platforms. Given that U-Boot is on-device and not updated by us, we just need to make a single partition that contains the rootfs. This matches the existing instructions. We need to include kernel-devicetree into the resulting image so that we have the device tree there to be loaded in. Bug-AGL: SPEC-899 Change-Id: Iad55ef0ed49e7a53846fa36393e71d16cd5e423d Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11391 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> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Scott Murray <scott.murray@konsulko.com>
2017-10-20weston-ini-conf: Rework to use fragments to construct weston.iniTom Rini27-171/+113
Switch to constructing the weston.ini from fragments of files instead of variables and variable flags. This allows for much easier tracking of signatures by leveraging existing mechanisms. Update the Readme to explain how to do the various operations with fragments as well. Note that for QEMU we do not need to pass -show-cursor as it's already provided and we do want to change the VGA driver to one that reliably provides DRM support. For the HDMI connected screens, rather than name them by vendor name them first for connection and then required transformation for correct orientation. For board-specific options, move them to the board directories. When we need to change existing cfg options, rather than replace them the proper location to do this in is the do_configure function. Bug-AGL: SPEC-964 Change-Id: I2cceb4fd64f51eb2ab1d47419b77153cf02d7c12 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11375 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> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-20Fix build issue due to missing dependency in linpackJan-Simon Möller1-0/+2
This changeset fixes a FTBS in the linpack recipe. tmp/work/aarch64-agl-linux/linpack/1.0-r0/temp/run.do_configure.6243: rsync: not found Bug-AGL: SPEC-969 Change-Id: I90bb157ef21b974fea86f8dafcaa81a27c341c55 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11365 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> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-10-18Backport fix for image class dependenciesJan-Simon Möller1-5/+9
This ports http://lists.openembedded.org/pipermail/openembedded-core/2017-September/142760.html to our local image.bbclass overlay. We see frequent issues during do_image_complete especially on the release build jobs like: https://build.automotivelinux.org/job/release-jjb-eel-snapshot/7/MACHINE=intel-corei7-64,label=agl-test-slave/console The race window shows particularly well when there is *no* parallelism. PARALLEL_MAKE = "-j1" BB_NUMBER_THREADS = "1" Also the efi bootloader packages in meta-intel seem to particularly trigger this condition which is caused by a race-condition in the yocto image generation functions and the license file handling. Bug-AGL: SPEC-643 Change-Id: I2464216b054f360647b7aec461320aa769fde65e Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11351 Reviewed-by: Thomas Rini <trini@konsulko.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-10-14meta-agl-bsp: Make more and better use of WIC imagesTom Rini4-3/+10
- When we are using a WIC image, we should compress it (xz), provide a sha256sum of the compressed image and provide a bmap file for the uncompressed image. - Ensure that in these targets we are listing WIC as the AGL_EXTRA_IMAGE_FSTYPES to be used. - Based on the Beaglebone example, add WIC support for dra7xx-evm. The only change from Beaglebone is that we must also include uEnv.txt as this is what controls the DTB for the correct LCD. Bug-AGL: SPEC-899 Change-Id: I3f310a2eb268a4aaa0d791dfaa68d7fee350e150 Tested-by: Matt Porter <mporter@konsulko.com> (dra7xx-evm) Tested-by: Tom Rini <trini@konsulko.com> (Intel) Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11161 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> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-14BSPs: Do not use := for AGL_DEFAULT_IMAGE_FSTYPESTom Rini5-5/+5
An OpenEmbedded best practice would be to use '=' here to allow users to append to it later on. Bug-AGL: SPEC-899 Change-Id: I5a664df7c5eb8d71f0ab6d0723292f3a187fe752 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11229 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-14meta-agl-bsp: Re-merge image-vm/image.bbclass overlaysTom Rini4-9/+9
As part of the pyro merge we need to continue to overlay these classes in order to support vmdk.xz. While upstream has some of the underlying required changes, we had dropped 'vmdk' as a standalone image type and now have 'wic.vmdk' there. This was too invasive for pyro however. This in turn means that we carry vmdk.xz support here. Another part of this is that in some places we were checking only for the string vmdk but also need to check for the string vmdk.xz as well. Update these locations to use bb.utils.contains_any so that we can catch both easily. Bug-AGL: SPEC-899, SPEC-775, SPEC-776 Change-Id: I0cc3c06d59c97c0a76819209e313bc6f5495cc31 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11153 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-14meta-agl-bsp: Enable WIC support for Raspberry Pi 2/3Tom Rini2-10/+26
In order to have WIC images be fully functional for both u-boot and non-u-boot we need to bring in more logic in determining what files will get mapped to what location. This is not found in meta-raspberrypi/pyro but is found in their master branch. These changes bring us in sync with meta-raspberrypi/conf/machine/include/rpi-base.inc as of their revision c26e9d3df54293a88fba047a29b335f52b01120e for Pi 2 and Pi 3. We do not attempt to bring in the additional logic they have to handle Pi 3-64 and U-Boot at this time as that is more invasive and not required for our use cases. Bug-AGL: SPEC-409 Change-Id: I642735a9be3daad96c0c1376cd6341b0697ffc09 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11207 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-14Add feature for enabling the YP ptest capabilitiesJan-Simon Möller3-2/+9
This change adds a feature 'agl-ptest' that can be used to enable the addition of the 'ptest' packages to the final image. See the YP documentation about ptest: - https://wiki.yoctoproject.org/wiki/Ptest - http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#testing-packages-with-ptest TLDR: enable feature + build image + boot image + login + call 'ptest-runner' + go get some coffee, go for a walk or run it just overnight Bug-AGL: SPEC-911 Change-Id: Ifbe7b4144a9e1071295da58e26e8a8bd2260cd88 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11327 Reviewed-by: Thomas Rini <trini@konsulko.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-10-14weston: Set require-input to false in weston.iniLeon Anavi3-28/+1
Revert the previous fix for launching Weston 2.0 without input devices and achieve the same result by setting the directive require-input to false in the configuration file weston.ini. This is a new feature which has been introduced in Weston since version 2.0. Bug-AGL: SPEC-936 Change-Id: I65ccc0d9942d86420cd801f571ccbefe58812796 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11301 Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: José Bollo <jobol@nonadev.net> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Matt Porter <mporter@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> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-10-14meta-agl-bsp: imx6: Add EGL support for iMX6 in Weston 2.0Mihail Grigorov5-0/+388
In Weston 2.0, the EGL support was dropped from the fbdev-backend, as that was not the correct way to initialize EGL. However, the vendor support patches in Weston 1.11 still require that functionality. Restore the EGL support in the fbdev-backend, until the issue is resolved, by either adding a standalone backend, or switching to etnaviv. Bug-AGL: SPEC-905 Change-Id: I9fc00e35c2eefee07998053e1fccec6265ac3b9e Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com> Signed-off-by: Georgi Vlaev <georgi.vlaev@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11305 Reviewed-by: Leon Anavi <leon.anavi@konsulko.com> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Matt Porter <mporter@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>
2017-10-14meta-agl-bsp: imx6: Update the imx6sabreauto machine templateMihail Grigorov1-0/+1
* Chnage the Weston provider to Weston 2.0 Bug-AGL: SPEC-905 Change-Id: I164285dfb63491f2164d667fc51f64b66e5cee27 Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com> Signed-off-by: Georgi Vlaev <georgi.vlaev@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11309 Reviewed-by: Leon Anavi <leon.anavi@konsulko.com> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Matt Porter <mporter@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>
2017-10-14meta-agl-bsp: imx6: Update the imx6qsabrelite machine templateMihail Grigorov5-6/+41
* Add include/agl_imx6qsabrelite.inc * Change the FSL layer from meta-fsl-* to meta-freescale-* * Rename 50_bblayers.conf.inc to 40_bblayers.conf.inc Bug-AGL: SPEC-905 Change-Id: I29563fa7bc25240018383fba2b30e2171366282a Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com> Signed-off-by: Georgi Vlaev <georgi.vlaev@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11307 Reviewed-by: Leon Anavi <leon.anavi@konsulko.com> Reviewed-by: Thomas Rini <trini@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> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-14meta-agl-bsp: imx6: Add new defconfig for the linux-boundary kernelMihail Grigorov2-0/+457
The default configuration for the linux-boundary kernel uses AppArmor, but we want to use Smack. * Switch from using AppArmor to Smack * Enable CONFIG_HID_MULTITOUCH Bug-AGL: SPEC-905 Change-Id: Idfcad0ea4c242c30df97407a31661e02df710b2e Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com> Signed-off-by: Georgi Vlaev <georgi.vlaev@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11311 Reviewed-by: Leon Anavi <leon.anavi@konsulko.com> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Matt Porter <mporter@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>
2017-10-14af-binder: upgrade to 4.99-EERC1José Bollo1-1/+1
This includes: - Correcting license reference to align with code - Internal refactorings - Dynamic bindings API and pure dynamic bindings (still to document) - new request functions: afb_req_get_application_id, afb_req_get_uid - C++ interface - libafbwsc featuring direct ws API - Bugs and typo fixes Change-Id: I75a387524f0745ed23311fe43a43000240bb6f09 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11299 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-14Remove rc1 locks merge window open for rc2Jan-Simon Möller2-74/+0
Change-Id: I4fd65b5c932992b7b2247e81af6c1f33567d4813 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11323 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-10-13Lock down of SRCREVS matching EE RC1eel_4.99.1eel/4.99.14.99.1Jan-Simon Möller2-0/+75
This change locks down any use of SRCREV to the version of EE RC1 . Change-Id: I09a3e6b5c1fe2a37cf03a5db7bd7cb31386e8eb8 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11303 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-10-13Revert "app-framework/conf: Remove PACKAGECONFIG of shadow"José Bollo1-0/+4
This reverts commit 48de89fbf1c66370d15c87b9dcab5371f180e5a4. Bug-AGL: SPEC-475 Change-Id: I28cd41391d207b59d74d2ff661e5981b9947c715 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11287 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-12weston-ini-conf: Make this track variables correctly for signaturesTom Rini12-8/+18
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. Bug-AGL: SPEC-939 Change-Id: I32cf16c4354d733e086c6ea9a845934beff94715 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11255 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-12weston-ini-conf: require eGALAX screenMartin Kelly1-0/+1
After commit f970319c6d4a2ecf6044ab3b2ef8f0d5f5c3471c, the intel-corei7-64 and joule builds are broken because they're defaulting to the eGALAX screen, which isn't in the require list in screen.inc. Fix this by adding eGALAX to screen.inc. Change-Id: I8d87c1defa586a0bfe1b2d266ec4a8c61f5c5654 Signed-off-by: Martin Kelly <mkelly@xevo.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11233 Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Changhyeok Bae <changhyeok.bae@gmail.com> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-11app-framework/conf: Remove PACKAGECONFIG of shadowJosé Bollo1-4/+0
Setting of 'attr' isn't needed since AGL switched to version "pyro" of poky. Bug-AGL: SPEC-475 Change-Id: Ifcc1d62c5f0ef4472b2bd43680f31bc09c44191d Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11221 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: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-11psplash: add animation and last message from systemdJosé Bollo3-1/+14
An animated splash screen is cool. Change-Id: I39c2404513aa6edd287df8555d46fe09e79f4408 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11197 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> 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> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-11Support CANUSB deviceRomain Forlot1-0/+1
http://www.can232.com/?page_id=16 Change-Id: I0f65143a366c723937451bfbd8ed40402805136e Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com> Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10749 Tested-by: 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-11adding eGalax screen support for demoDominig ar Foll (Intel Open Source)3-0/+14
Change-Id: I4e483052a88faebf21a50515b275326628731930 Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11181 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-11linux-intel: Pull in common configuration fragmentsScott Murray3-20/+22
Rework things so that the common kernel configuration fragment additions are in a new include file, linux-agl.inc, and both the existing linux-yocto_%.bbappend and the new linux-intel_%.bbappend in meta-intel pull it in to pick up them up. This avoids hitting other linux-* recipes, and allows the possibility of using the include file in kernel recipe bbappends for other BSPs. Change-Id: I8f4f67c444c47b6a978d95fab660d478d5f764c1 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11129 Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Dominig ar Foll <dominig.arfoll@fridu.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>
2017-10-11Change DISTRO_VERSION for EE rc1Jan-Simon Möller1-2/+2
This change adapts the DISTRO_VERSION for Electric Eel RC1. Change-Id: I44389dcc08537b0b2ab985a8500f5d36d13fcbde Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11199 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-10-11weston: Launch even without input devicesLeon Anavi2-0/+28
Fix the recurring bug and launch Weston 2.0 even if there are no input devices such a keyboard or a mouse. Bug-AGL: SPEC-936 Change-Id: I9c92ce7762626fd5df40224b53317c1239a4bd6f Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11203 Reviewed-by: Thomas Rini <trini@konsulko.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Changhyeok Bae <changhyeok.bae@gmail.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-09meta-intel: Include and deploy a startup.nsh fileTom Rini2-0/+8
On EFI systems we need to include a startup.nsh file that EFI will load and run, in the case of not having the device we're booting from be defined in the boot order. We have the kernel provide this as it is independent of boot loader. Bug-AGL: SPEC-898 Change-Id: Ifdf615e78012e2dbcbd87ee97e4c9d9a19ea01fc Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11101 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-10-09enable vmware drm driversMartin Kelly1-3/+2
This speeds up VMWare graphics performance. Previously, I recall this not working, but I tested again and it's working fine as long as it's compiled builtin and not as a module. Change-Id: I2efe9e5c776e74ebf92a2ff80651dee37d0c48da Signed-off-by: Martin Kelly <mkelly@xevo.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11169 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-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. This backport can be removed on the uprev to rocko. Bug-AGL: SPEC-544 Change-Id: I5e3bbd21447bd8a0df98ce2d2ff26c74c4bf1048 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11135 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-05dra7xx-evm: fix build by including linux-dtb.incMatt Porter1-0/+2
meta-ti does not maintain a pyro branch. As such we are relying on building with the master branch. This broke due to commit 391bfb8c3002bbf5ba6a51d689a7f2ba511c6682 which removes support for linux-dtb.inc from the linux-ti-staging recipe due to an oe-core change on master. Add linux-dtb.inc to the bbappend to fix. Bug-AGL: SPEC-932 Change-Id: I3fb6799a5fe4a083159b600a81764d67e5b22771 Signed-off-by: Matt Porter <mporter@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11149 Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-28cleaning kernel config warnings under pyroDominig ar Foll (Intel Open Source)2-2/+3
Change-Id: Ica910a7ac3115df1247e60c25ee4cd53f331af47 Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11025 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-26adding a symlink to keep compatibility with linux-yoctoDominig ar Foll (Intel Open Source)3-35/+13
Change-Id: Id81cb1fe7a949850aef1b4178883c853d0e07aa1 Signed-off-by: Dominig ar Foll (Intel Open Source) <dominig.arfoll@fridu.net> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10979 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-09-26recipes-connectvity: bluez5: resolve CVE-2017-1000250Matt Ranostay2-1/+36
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: I33fa9a1cc0867cec9586bc0f3ed9b2bb092ff6de Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10987 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>