summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-11-30Fix Linux Kernel fragment for netbootKotaro Hashimoto1-1/+1
Previous change caused issue of missing nbd.cfg at bitbaking for non-netboot environment. This patch fix netboot setting. (*)https://gerrit.automotivelinux.org/gerrit/#/c/12063/ Change-Id: I61a9e2ac9aecc98b6a379c4587a025710aaebfbb Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12215 Reviewed-by: Thomas Rini <trini@konsulko.com> 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-11-30meta-agl-bsp/meta-rcar-gen3: Add default asound.state fileTom Rini2-0/+322
The m3/h3 platforms have certain mixer settings that must be enabled and levels set before anything will be heard. Provide a default that sets this to a comfortable default along with other volumes. Bug-AGL: SPEC-792 Change-Id: I1b983b75fd580ae39495a47058bb568b7f75a479 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12199 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-11-30af-main: Handle users from the system scopeJosé Bollo8-128/+37
To simplify the management of users while keeping systemd as launcher, this evolution anchors the framework in the system level. This also introduce a new version of afm-system-daemon that is 100% a binding of the binder and that consequently offers natively a websocket API. Change-Id: I1bbb48d0c01d0f6fd3c8dfca90febbe8147cf204 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12139 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-11-30agl-users: Use UID for HOME directories and loginsJosé Bollo6-6/+18
While dealing with systemd as a launcher, it appeared a limitation. If the template argument of units is used to designate the user it can not be different that the UID as a number because systemd enforce XDG_RUNTIME_DIR to be /run/user/<UID>. Thus using UID is the way to go to use template mechanic of systemd and use systemd as launcher. This is of importance because we don't expect systemd user to have full capabilities. Instead the framework will continue to leverage systemd launching mechanism but at a system level, with full capabilities but wil only allow user applications to deal with systemd --user. This impose to use UID as template parameters. The problem is then to set the user directory to the correct value knowing only the UID and using only possibilities of units. The only way is to have user home directories of the form /SOMETHING/<UID> (where SOMETHING is merely "home"). This can be achieved either by setting a symbolic link (hard link tto directories are forbidden) or by simply using the scheme /home/UID in all cases. At the end, users within AGL will not receive nick names but will receive allocated UID. So, at the end, it is not a problem to use the regular naming scheme /home/UID, a scheme that will probably never be seen except by tools or experts. This patch implement this choice. Change-Id: I225958fa627894cb966f52a06ebd8a914058d429 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12137 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-11-29mxml: remove SECURITY_CFLAGS overrideStephane Desneux1-1/+0
mxml is not neeeded anymore as a dependency of agl-service-unicens so the override on SECURITY_CLAGS can be removed Bug-AGL: SPEC-1108 Change-Id: I704fdeed2db07a159a1cd32ebcf6ae93d8702a2b Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12171 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: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: José Bollo <jobol@nonadev.net> Reviewed-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-27Merge window for EE rc4 is openJan-Simon Möller1-6/+6
Change-Id: I11fdb68861c74532fa2cd1014195f1585330d981 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12161 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>
2017-11-27Added XDG compatibility to ivi-shellRomain Forlot25-7/+1707
Backported M.Teyfel patch from wayland-devel mailing list: https://lists.freedesktop.org/archives/wayland-devel/2017-November/035700.html Upgrade wayland-ivi-extension to v2.0.2 but keep using 1.1x for now with PREFERRED_VERSION until HMI could use the new version. Added Emre Ucan simple-id-agent to review. Bug-AGL: SPEC-1096 Change-Id: I74c4ae0bf0bf822e27dcbb193dc9f7a13d3e270d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11991 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Nobuhiko Tanibata <nobuhiko_tanibata@denso.co.jp> Reviewed-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-26Prepare for eel rc3 releaseeel_4.99.3eel/4.99.34.99.3Jan-Simon Möller1-7/+7
Change-Id: I0adcb275bca01ef7e32d6c0d6fdfabdf078e0bfc Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12149 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-11-23aglsetup: exit with error if fragment script failsStephane Desneux1-1/+1
Bug-AGL: SPEC-1002 Change-Id: I93407ca24c67b6b7c4e9aa09325fbf78d01f1c64 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12111 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-22Remove obsolete examplesJosé Bollo6-96/+0
At this time, many demo examples are available to demonstrate use of AGL framework. Keeping these obsoletes examples introduces confusion. Maintaining these examples is possible but not done from what I see. In conclusion, removing it is much cleaner. Change-Id: I29a68eabf48a72d4a681de9b641da72f647ffbac Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12017 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-22Add sota support for Renesas R-Car M3Anton Gerasimov2-0/+2
Everything for R-Car M3 support is in place, just DISTRO_FEATURES 'sota' was missing. Change-Id: Ib22ee4ace894ff5426ba4f06c7ec8bd208cb4e5f Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12091 Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-22afm-main: use AGL_BRANCH for naming packageJosé Bollo1-1/+1
Change-Id: I7ac64017cf21a0a29d6fa60ab12ab260589a1d50 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12089 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-22af-binder-devtools: Align to use app-framework-binder repoJosé Bollo5-39/+41
The development tools of af-binder are better provided by af-binder itself in the repository app-framework-binder. This is better for support and evolution. Bug-AGL: SPEC-941 Change-Id: Ib283c36bc6194f793fd61c7844191e3187fe3bed Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12059 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-22Rework Linux Kernel fragment applicationsTom Rini49-561/+83
- All kernel recipes must inherit linux-agl.inc - All kernel recipes for a given version (e.g. 4.9) should include linux-VER-agl.inc in order to avoid duplication (such as the SMACK label patch or security fixes) - We enforce having merge_config.sh be invoked at the end, in order to make sure fragments will be applied. - Add a new fragment for Raspberry Pi to ensure the Pi Touchscreen is still enabled. With all of the above, we fix a number of minor issues as well, such as platforms manually enabling NBD/RAMDISK for netboot as the previous logic was not working in all cases. Bug-AGL: SPEC-946 Change-Id: Ic688e899df5861d83712af12d8e1c6c3c9643300 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12063 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: José Bollo <jobol@nonadev.net> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-20Move genskel to af-binder-tools recipesJan-Simon Möller3-1/+23
This change fixes SPEC-941 and the HAL build by providing the needed afb-genskel for build by recipe and as part of the SDK. v2: move to af-binder folder and align naming to af-binder-devtools add nativesdk-af-binder-devtools to packagegroup nativesdk-packagegroup-sdk-host add af-binder-devtools-native to packagegroup packagegroup-agl-app-framework v3: move af-binder-devtools-native to aglwgt as DEPENDS as there is no -native package to add to the packagegroup-agl-app-framework Bug-AGL: SPEC-941 Change-Id: Iae3c8d958000623b1c84db896307032f5033477d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12033 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-11-17af-binder: Fix autolock in protocolJosé Bollo1-1/+1
A lock happened when a binding made a synchronous call in an event callback. Bug-AGL: SPEC-1091 Change-Id: I33793ff6755c339308a418fbd93b43227ca1cec2 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12041 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: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-16mxml: disable SECURITY_CFLAGSScott Murray1-0/+1
The mxml shared library was failing to link on x86-64, disable the SECURITY_CFLAGS on it for now until we can contact upstream and get the underlying issue addressed. Change-Id: I53578544222294119f4141ccc4dfa28d2737983b Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11999 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-14Fix: wrong config.xml used to build widgetRomain Forlot1-1/+1
Change-Id: I3c5936c4c9b1f8de58ea912482e7b5d8ddc5eedd Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11961 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-14Remove unused and/or obsolete default binding from imageJosé Bollo1-2/+0
Remove the systematic bindings: * af-binder-binding-afb-dbus-binding because not used * af-binder-binding-authlogin because obsolete and not used Change-Id: I351128c44a4f375cff22ff0a1f631d0a5dfa58b1 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11903 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-11-14Add Logicool G29 steering wheel kernel configYuichi Kusakabe1-0/+3
AGL simple CAN simulator use Logicool G29 steering wheel, shift knob and pedal. https://gaming.logicool.co.jp/ja-jp/product/g29-driving-force Change-Id: I4b6ed6a5e1592c6aa4075d7d3e89ec90c006f7dd Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11919 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-14af-binder: Improve monitoring of eventsJosé Bollo1-1/+1
Fix an issue when monitoring events created by local bindings. Change-Id: If8c4513cacf2c33eccdcd4a9a58178d91095cc41 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11901 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-11-12af-binder: Bug fixes and improvementsJosé Bollo1-1/+1
- fix lock error - fix default token - improved management of sessions Change-Id: I9e7518f091da7ceeb1c66a90873a24f82de2dabf Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11873 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-11-09Bump poky-agl.conf post releaseJan-Simon Möller1-6/+6
Change-Id: Ib87b6ba6cccd56bb85b3c2086fc10227beaeffbc Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11779 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>
2017-11-08meta-agl-bsp: kernel: remove linux-boundary defconfig from meta-freescale-layer.Mihail Grigorov2-457/+0
Its do not needed anymore here, because we started to using meta-boundary layer Bug-AGL: SPEC-905 Change-Id: I179ac8747fe24293be89d3138f54589511ed2b63 Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11749 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-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>