summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-02-08Merge "poky-agl: conf: make gplv3 versions of packages less preferred"Jan-Simon Moeller1-0/+9
2018-02-07Merge "bsp: add salvator-x H3 support"Jan-Simon Moeller4-0/+20
2018-02-06Merge "Weston crushed by ivi-input-controller"Jan-Simon Moeller2-0/+32
2018-02-05Merge "warning for microcode being ignored when present"Jan-Simon Moeller1-1/+1
2018-02-05bsp: add salvator-x H3 supportMartin Kelly4-0/+20
The Salvator-X uses the same SoC as the H3 but includes other peripherals. As a result, it can reuse the same h3ulcb config but needs a different device tree and kernel config. This is already supported in meta-rcar-gen3 but needs AGL plumbing, so add it. There is also an M3 version of the Salvator-X, but I don't have one and cannot test it. So I've added support only for the H3 version here. Change-Id: I64683f4f65dda3fee63e6243f0ba916e568ca245 Signed-off-by: Martin Kelly <mkelly@xevo.com>
2018-02-05Weston crushed by ivi-input-controllerTadao Tanikawa2-0/+32
When repeat switching between HomeScreen and WebBrowser very quickly, sometimes weston crushed because of segmentation fault of ivi-input-contoller.so. Change-Id: I408158a98f30640fdab9a843331451b5549cb761 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-02-01warning for microcode being ignored when presentDominig ar Foll Intel Open Source1-1/+1
Change-Id: I748d4858c523e8c41d41a9acdd4b117b40937400 Signed-off-by: Dominig ar Foll Intel Open Source <dominig.arfoll@fridu.net>
2018-01-30poky-agl: conf: make gplv3 versions of packages less preferredMatt Ranostay1-0/+9
Make PREFERRED_VERSION of packages of ones that are in meta-gplv2 to clean up GPLv3 taint Bug-AGL: SPEC-1256 Change-Id: I07b20e7869b4839253e803c13c33c69bea0ef687 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-01-29setup_mm_packages.sh: retab consistentlyMartin Kelly1-25/+25
setup_mm_packages.sh has a mix of 8 and 4 spaces per tab, so retab it consistently to 4 spaces. Change-Id: Icdabaf8a3bc4377660ea6b5de95785a9f01bc901 Signed-off-by: Martin Kelly <mkelly@xevo.com>
2018-01-29setup_mm_packages.sh: remove BSP version mentionMartin Kelly1-2/+2
This version gets out-of-date very quickly, and mentioning it doesn't change the URL or anything else, so let's just remove the mention of it. Change-Id: I143d81ff4d4c47814e7bddf1572c3b2c92b1291e Signed-off-by: Martin Kelly <mkelly@xevo.com>
2018-01-16Merge "i.MX6: u-boot: Update patch for u-boot-script-boundary"Jan-Simon Moeller1-10/+14
2018-01-16Merge "i.MX6: weston: Fix for missing flags"Jan-Simon Moeller2-0/+14
2018-01-16Merge "af-binder: Add C++ feature to genskel"Jan-Simon Moeller1-1/+1
2018-01-16i.MX6: u-boot: Update patch for u-boot-script-boundaryMihail Grigorov1-10/+14
Now u-boot should switch in HD resolution Change-Id: I4451746dc9a364af3460339c0a54f364e0606491 Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com>
2018-01-16Fix user-config.service is started everytime when app launchingTadao Tanikawa1-0/+1
Due to miss an option in service configuration of user-config.service, it is started everytime when application has been launched. If the user touches app icon or shortcut many times at very short intervals, user-config.service would invoked too many time for very short time, then systemd reject execution and make an error. This causes an issues in UI. E.g. missing touch event, collapse of synchronization of HomeScreen's UI view. Bug-AGL: SPEC-1246 Change-Id: Ia6c7ecac2f880e61c290d6e3ad27d363e228d5f9 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2018-01-10af-binder: Add C++ feature to genskelJosé Bollo1-1/+1
Two evolutions: - the development tool afb-genskel accept now the options --cpp or -x to produce an output for C++ bindings - improved termination on exception (SIGINT, ...) that coulded drive to infinite loop when error was reached (SIGSEGV). Bug-AGL: SPEC-1217 Change-Id: Iec22ffc7d9f99ccfdd20c2f9005968ab98d20a9b Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-01-10Change distro config post releaseJan-Simon Möller1-7/+6
This changeset prepares the next cycle towards FF Change-Id: I6051297b47c076d0fa79c153e7d5528f20a30740 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-01-10i.MX6: weston: Fix for missing flagsMihail Grigorov2-0/+14
The missed flags causes a stop of transformation SPEC-1192 Signed-off-by: Mihail Grigorov <michael.grigorov@konsulko.com> Change-Id: I601d2f35d2f73055187db827cc7687a25e4d4ece
2018-01-04templates/machine: remove unused test dirsKevin Hilman21-317/+0
The "test" dir of the machine templates is no longer used by the Jenkins job builder tools (ci-management). Remove them. Change-Id: Ice2ee89d7fba4f5cce763f71e4a4b206fa04b98c Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-01-03Disable window decoration and ensure fullscreenRomain Forlot2-2/+3
Change-Id: I2c9aad08d58b0da1fb6f362b95472f4a653fd9a3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-01-02Merge "low-level-can-service: bump to new version"Jan-Simon Moeller1-2/+2
2017-12-28low-level-can-service: bump to new versionRomain Forlot1-2/+2
docs: bump version to 5.0-EE Code enhancements mem leaks and uninitialized byte Initialize struct to avoid unexpected behavior Change-Id: I9ef66fb18568e43478cb9c4f733c6ad81a38644f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-27Merge "weston-ini-conf: Disable kingfisher's 2nd and 3rd output"Jan-Simon Moeller2-0/+9
2017-12-22weston-ini-conf: Disable kingfisher's 2nd and 3rd outputHarunobu Kurokawa2-0/+9
Kingfisher has tree display output, currently AGL use only one output from micro HDMI. Change-Id: Ife61da4bfd2127a49c50247c26d8a7693960d439 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2017-12-22adding copying of microcode.cpio if presentDominig ar Foll Intel Open Source1-1/+5
Change-Id: Ia1903d6e5906f3353ba1ad1f9c259865bf507330 Signed-off-by: Dominig ar Foll Intel Open Source <dominig.arfoll@fridu.net>
2017-12-20Adding lua to Host SDKRomain Forlot1-0/+1
Bug-AGL: SPEC-1215 Change-Id: I32cb7e3aeb8e4decafb3bf4b76b4ee7e39b10226 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-12-18Adding mkabl to support MRB platforms (non signed kernel) and ↵Dominig ar Foll Intel Open Source3-3/+706
detection/rejection of configiguration with initrd=microcode.cpio Change-Id: Iff7cbd34fb8abd0f0860fe183018a2d9a133614e Signed-off-by: Dominig ar Foll Intel Open Source <dominig.arfoll@fridu.net> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12663 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-12-14Add SCHED_DEBUG and PROC_EVENT config fragmentFrode Isaksen2-0/+3
Needed by blsched user space big.LITTLE scheduler. Change-Id: I7920c6b7796064636756edd7f62a0dd765e54508 Signed-off-by: Frode Isaksen <fisaksen@baylibre.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12403 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-12-13Removing qtwebkit to be replaced by qtwebengineRomain Forlot2-2/+1
Bug-AGL: SPEC-1159 Change-Id: Ieecc7cc51015dd0b7ce689e90f43fcd17b3eb62d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12289 Reviewed-by: José Bollo <jose.bollo@iot.bzh> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2017-12-13af-main: Fix a meaningless linkJosé Bollo1-1/+0
The removed line remained from some previous abandonned work. Change-Id: Ic4a56ed5aeae43a516f78711eb1aa684cbbe97e1 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12429 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-12-13Enabled general Intel bluetooth driver support instead of specific one.Kien Dinh2-7/+4
ibt-11-5 is the specific firmware for Joule. The image for IA should be able to include multiple firmware, including this one. For having the firmware in the image, please include linux-firmware-ibt by IMAGE_INSTALL_append = ' linux-firmware-ibt' Change-Id: I4451dbbf54145df784b763dd3ef924d8a7ac8863 Signed-off-by: Kien Dinh <kien.t.dinh@intel.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12421 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: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-12-13A larger value is set as default-id-offsetTadao Tanikawa1-1/+1
A lager value of default-id-offset would help debug of AGL DEMO especially for WindowManager/HomeScreen. Change-Id: I452985a27f69f24c3879f2aea83bb6fe647f29d1 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12467 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-12-13meta-intel: Ensure we pass the microcode as initrd in wic imagesTom Rini2-2/+2
We need to ensure that the microcode is passed to the kernel as an initrd to allow for application of required updates. Bug-AGL: SPEC-1173 Change-Id: I37a2ca401df9a9c17cf2d3a60151af639a3aba28 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12451 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-12-10ivi-controller: add resize setting suit to surface sizeWataru Mizuno2-0/+63
The ivi-controller resizes surface size like desktop usecase. When window manager switchs the half size window to full size, resize was not working correctly. This patch fixs this issue by changing surface source region at the same timing of destination region is changed. This patch is not necessary later version of wayland-ivi-extension 2.0 since this resize function has already been implemented by appropriate manner. Change-Id: Ib028bbc7d77b92ddfafa680b6247224012d630f3 Signed-off-by: Wataru Mizuno <wmizuno@jp.adit-jv.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12343 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-12-10adding support for .wic .wic.xz as source for imageDominig ar Foll Intel Open Source2-28/+120
Change-Id: I94c09c6105ac06a37cedc04c777dd1372015a02d Signed-off-by: Dominig ar Foll Intel Open Source <dominig.arfoll@fridu.net> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12263 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-12-10meta-intel: Switch to using WIC images onlyTom Rini4-25/+44
The hddimg format has a hard-stop at 4GB sized images. We can trigger this rather easily at this point under agl-demo-platform-crosssdk. WIC images do not have any such limitation, so we remove hddimg from the list of built images. The main impact of this is that whereas before we would modify the default kernel command line via APPEND in the conf file we would now modify it via the wks file we create for each platform and that mkefi-agl.sh is now redundant. These wks files are based on the systemd one but also reflect the design of mkefi-agl.sh in that they drop the swap partition. Much of the APPEND commentary is moved to the wks file and we remove some irrelevant comments as well. Bug-AGL: SPEC-963 Change-Id: If667e1f946e4b9793b63f6d7f572d56d73e35767 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12159 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> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-12-10lightmediascanner: add ~/Videos to initial media scanMatt Ranostay1-1/+1
Index users ~/Videos directory on initial systemd service startup. Bug-AGL: SPEC-1169 Change-Id: I536c85fa811153e980acc489db128dd02251e00d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12373 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-12-104A: don't pull agl-audio-plugin when 4A is enabledStephane Desneux1-1/+1
When agl-audio-4a-framework feature is enabled at aglsetup time, 4A audio is enabled and legacy agl-audio-plugin used with GENIVI AudioManager must not be pulled in images. Change-Id: I23ff0ced9eff184718b47219e80f1f51db8b9fb8 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12245 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-12-08linux-renesas_%.bbappend: Fix ath9k_htc.cfg and rtl_sdr.cfgLeon Anavi1-4/+0
Files ath9k_htc.cfg and rtl_sdr.cfg are provided by linux-agl.inc. As of the moment there is no need linux-renesas_%.bbappend also to provide them and furthermore this patches fixes the kernel build. Bug-AGL: SPEC-1152 Change-Id: I29ddac799469e0a3107037bb11918c228d10b5db Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12297 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-12-07af-binder: Make weak ws-client by default (to be fixed)José Bollo1-1/+1
The case of unicens service that can be here or not creates problem to the binding 4a when the service is not here. This commits makes the requirement of ws-client socket optional. This unblocks the situation but need to be fixed later, for example, by introducing an explicit weak requirement. Bug-AGL: SPEC-1151 Change-Id: If935974eb5eeef1238e835ab4b0a46011bfb51b4 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12323 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-12-07Fix wrong config.xml file used to build widgetRomain Forlot1-1/+1
Bug-AGL: SPEC-1162 Change-Id: I9e2bf8ba801f36ee0f5ef168346d98201b44633f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12317 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-12-05XDG-IVI: Load by default id-agent in westonRomain Forlot3-0/+4
Bug-AGL: SPEC-1096 Change-Id: Iecfede123503410e1fdfa509a724cbcaf643d92b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12273 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: Nobuhiko Tanibata <nobuhiko_tanibata@denso.co.jp> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-12-01af-binder: Fix hangup on long messagesJosé Bollo1-2/+1
Fixes: - Handle correctly the sending of very long messages. Improvements: - Better handling of sd_event loop - Allows settings of afb-daemon options by environment: AFB_TRACEREQ, AFB_TRACEDITF, AFB_TRACESVC, AFB_TRACEEVT, AFB_LDPATHS Bug-AGL: SPEC-1091 Change-Id: I1bf8d52bf3ab8f1c73a524c0030b388570d08da8 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12193 Reviewed-by: José Bollo <jobol@nonadev.net> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-12-01Fix permission label and write verbs callRomain Forlot1-1/+1
- Fails write request if CAN signal not writable - Fix permission label - Correctly reconstituting entire CAN frame - Deprecate cmake variables not useful Mechanism to build 3rdparty external libs isn't unique and should not be handled by app-templates - Handle space in project path Bug-AGL: SPEC-966 Change-Id: Icbd4a1b56c87d2b4f1a529c7436fc5ca4af12db3 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12233 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-12-01meta-agl-bsp: move usbaudio.cfg to linux-agl.incMatt Porter3-1/+3
USB audio should be enabled for all AGL BSPs. Move the usbaudio.cfg from the Renesas BSP bbappend (it's actually not even used there as the fragment is not being appended) to linux-agl.inc and append it. Bug-AGL: SPEC-1148 Change-Id: I219d0d0355a4d57f883086631e07f3d191be2975 Signed-off-by: Matt Porter <mporter@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12253 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: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-30meta-netboot: enhance reference uboot config for R-Car Gen3Stephane Desneux1-22/+42
The provided config now allows to switch from netboot to sdcard boot at runtime by changing a uboot variable. Change-Id: I778f46f65ca007dbdd5ae070e946c04b7277ddeb Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11745 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-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>