summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-09-06Fix: Build failed because kernel checkRomain Forlot1-1/+1
Change-Id: I1a1845927e8df9ca1b50054b4c9915ce81c650b7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10789 Reviewed-by: José Bollo <jobol@nonadev.net> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-05Renew backports after upstream update - CVE2017-1000366Jan-Simon Möller3-638/+72
This change renews the backports for glibc after upstream YP updated its glibc patch queue. We change the method from pulling the SRCREV up to backporting the patch only. Bug-AGL: SPEC-705 Change-Id: I212ae065bc3fc886f1fddb65628dbd2788bb9370 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10775
2017-09-05Do not use cpio.gz for initramfs as smack does not workJan-Simon Möller3-3/+2
This changeset removes the wrong hardcoded INITRAMFS_FSTYPES on 3 boards. It was moved over from the previous defaults prior to the change to the AGL-wide default FSTYPES. The correct image to use is ext4.gz (which is a default in poky-agl.conf) - thus we can just remove these in the board includes. Therefore the intel targets need to define INITRD_LIVE. Bug-AGL: SPEC-836 Change-Id: If45f67d2bbd02331f1aea848e3230ce1e190c50d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10711 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Dominig ar Foll <dominig.arfoll@fridu.net> (cherry picked from commit 8f0aed0582269bf38b0ed47be4b6c287c1d098aa) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10717 ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-08-21af-binder: bug fix and feature improvementsJosé Bollo1-1/+1
fixes: - webkit connection on websockets (SPEC-821) - over allocation of sessions - send error reply for unreplied requests - unprefix event name - infinite loop when events overrun counter - better handling of NULL improvements: - dump of stack on SIGABRT - facility afb_req_subcall_req - reduced verbosity - debugging enhanced: allow break after wait and call to 'personality' - documentation Bug-AGL: SPEC-821 Change-Id: I90f16aca97613616e7f2fb4bb85c052ae16c0cde Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10605 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-08-16Initial version of a LOC counter classJan-Simon Möller1-0/+29
Usage: INHERIT += "cloc" cloc --sum-reports `find tmp/work/ -name "*clocreport" | grep -v "\-native"` --out cloc-summary.report cloc needs to be installed on the host. Change-Id: I70c7e707405c718b1685d49f4e84216c5408d2fb Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10437 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> (cherry picked from commit 37c55f85ccf941bbbd8b3eae1eb31c596981304b) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10643 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-08-09low-level-can-service fix: Yocto compile failedRomain Forlot1-2/+2
Cherry picked commit 85099f34f7c15f041c84b541cb121be5ab7c61a2 Can't set compile FLAG using set using Yocto build If set, then these are the flags that are used by bitbake without append its own flags which provides toolchain variables environment mandatory to correctly build for another target. Change-Id: Iccf0ea5de401c0ee77ad864a381fb1137c047d48 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10561 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: José Bollo <jobol@nonadev.net> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-08-09af-main: bug fixesJosé Bollo1-1/+1
This update includes backport of fixes: - documentation fixes - explicit reference to /bin/bash - socket dependencies to .service - allowing companion programs - fix of htdocs subdirectory Bug-AGL: SPEC-384 Bug-AGL: SPEC-808 Change-Id: Ic32e9430621c6c652432b83f4310fdded0f4dcb9 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10549 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-08-09intel: build hddimg by defaultMartin Kelly2-2/+2
The useful mkefi.sh script requires an hddimg image, so we should build hddimg's by default for Intel builds. While we're at it, drop live per Jan-Simon's recommendations, so that we have just wic and hddimg. Change-Id: I24bfc03e9f357f3b8784267cc4537e4ff07d236e Signed-off-by: Martin Kelly <mkelly@xevo.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10567 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-08-04meta-agl-bsp: meta-ti: pulseaudio: set sink/source for dra7xx-evmMatt Porter2-0/+20
pulseaudio, by default, chooses alsa_output.platform-omap-hdmi-audio.0.auto.analog-stereo as the default sink. This is not desired since the HDMI is not normally used as the dra7xx-evm includes an LCD. Configure the CPU board's alsa_output.platform-sound0.analog-stereo (Line-Out/Headphone) as the default sink and configure the default source too. Bug-AGL: SPEC-804 Change-Id: I5d19aa564c8c162d1f5c68ae298d1d25592c8dc9 Signed-off-by: Matt Porter <mporter@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10505 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-08-04meta-agl-bsp: meta-ti: append alsa-state with dra7xx-evm defaultsMatt Porter2-0/+1348
The ALSA controls for the onboard tlv320aic3106 codec do not come up with usable default settings for the dra7xx-evm analog audio jacks. Add asound.state defaults for the dra7xx-evm baseboard audio that properly configure the Line DACL1/R1 and PGA MicL1/R1 switches and accordingly gain levels such that the Line-Out and Microphone jacks are functional by default. Bug-AGL: SPEC-803 Change-Id: I6fe80daf1073c4d7c39be610dc99c136b4b3a82b Signed-off-by: Matt Porter <mporter@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10503 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-08-04meta-agl-bsp: meta-ti: add dra7xx-evm weston.ini supportMatt Porter1-0/+1
The change in commit 7d1d7457ff2b71abe95525b26148d5a3e7a42790 to dynamically generate weston.ini in the weston-ini-conf package threw away the working weston.ini conf provided for dra7xx-evm. This resulted in incorrect rotation of the image on the LCD since dra7xx-evm builds were only picking up the default weston-ini-conf .ini file contents for a generic HDMI display. Overriding the output name with the correct drm rendering device name fixes this and the image is displayed again in portrait mode. Bug-AGL: SPEC-801 Change-Id: I52171dee27439667592481dac1ccd5284ed8206c Signed-off-by: Matt Porter <mporter@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10501 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-08-04meta-agl-bsp: meta-ti: add pvr systemd serviceMatt Porter2-0/+37
dra7xx-evm currently does not initialize graphics correctly because the PVR SGX services are not loaded at the correct time. Add a systemd service which executes the script from the TI DDK before psplash and weston are started. This fixes dra7xx-evm so that HomeScreen comes up on boot. Bug-AGL: SPEC-798 Change-Id: I0649902ac6066062527f345bea5e36e929d19c01 Signed-off-by: Matt Porter <mporter@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10499 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-27Bump DISTRO_VERSION to 4.0.0dab_4.0.0dab/4.0.04.0.0Jan-Simon Möller1-2/+2
Change-Id: Iaffbe3d1c2b3e26549c44a03221b92c0e82be1b5 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10427
2017-07-27Bump version of low-level-can-service to include cmake fixesJan-Simon Möller1-1/+1
This brings the low-level-can-service src revision up-to-date. Bug-AGL: SPEC-772 Change-Id: I9a8afcc554026f69e0d70da2aa66bf0d3f3d31fa Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10421 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-07-26qemux86-64: build vmdk.xz imagesMatt Porter1-0/+3
Generate vmdk.xz images by default. Change-Id: I9a7638cd9a24083603b3dee80be553bccaf375de AGL-Issue: SPEC-513 Signed-off-by: Matt Porter <mporter@konsulko.com> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10283 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-26Just inherit "sota.bbclass", let machine template snippets append toAnton Gerasimov1-1/+1
DISTRO_FEATURES Bug-AGL: SPEC-780 Change-Id: Ibe3de0d5d85ece467517dff0d4e5585cd1f38e79 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10379 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-26Fix runqemu by generating an ext4 image by defaultJan-Simon Möller4-18/+21
runqemu does not detect an ext4.xz , thus default to ext4. Call it with: runqemu qemux86-64 kvm audio Also due to the optimization levels for x86-64, adapt QB_CPU and QB_CPU_KVM. For audiomanager to start up, sound needs to be enabled. QB_AUDIO_DRV and QB_AUDIO_OPT enable this. Finally bump memory in runqemu to 2G. For CI purposes, introduce a DISTRO_FEATURES flag 'AGLCI'. v2: fix missing space in append v3: qemuboot options fix v4: QB_AUDIO_DRV defaults to alsa Bug-AGL: SPEC-784 Change-Id: Ie9c9c2b7d8838b512f3f19b1e29952079039e0ab Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10389 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-07-26Fix cve patch for kernel 4.4 on intel joule [master/dab]Jan-Simon Möller4-0/+1010
Bug-AGL: SPEC-766 Change-Id: Ibe60bc5ba5ba505bdc71a199cf14fb25e2acefbd Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10363 Reviewed-by: Dominig ar Foll <dominig.arfoll@fridu.net>
2017-07-26image: Add vmdk.xz to the list of types that trigger image-vm inheritTom Rini1-0/+622
Given how vmdk.xz is implemented currently it must also be added to the list of image types that will cause image-vm to be inherited. Change-Id: Ief017849c13c1d79c12411f39046389b1cc8a570 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10373 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-26Fix build of agl-demo-image-qaJan-Simon Möller7-4/+97
Fix the image generation by fixing SPEC-782, updating iperf and removing our custom version of ltp in favour of a newer version in oe-core. Bug-AGL: SPEC-782 Change-Id: Idbb08b493645f04df3d04c93d7bef8231350078d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10365 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-07-25af-main: Install debugging features when agl-develJosé Bollo3-1/+4
When agl-devel is required, installs the debugging feature needed by XDS. Also, improves AGL_DEVEL setting of af-binder. Bug-AGL: SPEC-659 Change-Id: Ia824425bbc0e055866b184f1899a2f0432d4618d Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10335 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-24tests: enable HW test for QEMU x86-64Kevin Hilman2-0/+2
Change-Id: Ic7d19e6fc9e682a5a885cb572200ce178cf3da1f Signed-off-by: Kevin Hilman <khilman@baylibre.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10259 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-21Update poky-agl.conf for 3.99.3dab_3.99.3dab/3.99.33.99.3Jan-Simon Möller1-2/+2
Change-Id: I678ec2513a515cd78b39a3578bc3ded6b6dee191 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10313
2017-07-21tests: templates/qemux86-64: KVM updatesKevin Hilman1-1/+1
Updated QEMU commandline arugments to those known to have been validated and working with KVM and with AudioManager and HomeScreen. Change-Id: I7ac722d4cc49dd04db1bd4715ae737e1f21eb36b Signed-off-by: Kevin Hilman <khilman@baylibre.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10311 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-21Only apply CVE-2017-1000364 to 4.8 kernel - 4.4 needs different patchsetJan-Simon Möller2-3/+4
The patches are kernel version specific. Only apply to Kernel 4.8. Bug-AGL: SPEC-766 Change-Id: I8cd1cd980cc389bef30f2a4e80944e2b94f53da6 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10293 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> (cherry picked from commit fa90294b523d32bede7e840b018e8ec0fc20c9c6) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10309
2017-07-21Fix: can-bus not applied at kernel configurationRomain Forlot1-1/+1
Change-Id: I4ce1cbde8e0df867ac7ba5040dde2df98f13ce40 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10299 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-21tests: templates/qemux86-64: enable QEMU audio driverKevin Hilman1-1/+1
Add "-soundhw hda" to QEMU command-line so that GENIVI AudioManager will start up successfully. Change-Id: I50136f664fd1d4712ad646f751f596f54ba49905 Signed-off-by: Kevin Hilman <khilman@baylibre.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10261 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-20image-vm: Allow for xz compressed vmdk imagesTom Rini1-0/+181
In order to save space, introduce a vmdk.xz IMAGE_FSTYPE. We re-use the existing xz compression logic in place as given how the images are created we cannot use CONVERSION_CMD_xz directly. We switch to using bb.utils.contains in order to get an exact match on if vmdk.xz or vmdk is in IMAGE_FSTYPES. Change-Id: I9aa5fd1c8d80330536b9a38eaa154e3f706a3c2d AGL-Issue: SPEC-514 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10277 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-19meta-agl-bsp/meta-intel: make new 4.8 .bbappendDennis Field2-3/+12
The config fragments were not getting included for kernel 4.8 (intel-corei7-64, Minnowboard) Bug-AGL: SPEC-732 Change-Id: I0ae3e3d40a4e8439274920445108460e16fc42ef Signed-off-by: Dennis Field <dennisf@radiosound.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10073 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Dominig ar Foll <dominig.arfoll@fridu.net> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-19tests: templates/qemux86-64: add MACHINE name to rootfs filenameKevin Hilman1-1/+1
Change-Id: I99457bbef1d5b1e0bdb07ba44898652d447d8593 Signed-off-by: Kevin Hilman <khilman@baylibre.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10257 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-19tests: templates/qemux86-64: add (empty) DTBKevin Hilman1-0/+1
The JJB templates expect there to be a $DEVICE_DTB in various places, and if not set here, will have a default value (from rpi3). Change-Id: I3ae10a6fcf4f8f85dc49e45696a982ad85b29203 Signed-off-by: Kevin Hilman <khilman@baylibre.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10255 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-19qemux86-64: root using root=PARTUUIDMatt Porter1-1/+2
Virtualization machines expose the root device as differing devices (e.g. /dev/sdaX versus /dev/hdaX). Update the syslinux.cfg to use root=PARTUUID=foo as the root filesystem where foo is generated by OE for us. This makes our image portable across VMs. Bug-AGL: SPEC-514 Change-Id: I57447334ef76cd013213f3e80f6e71e77b58efa3 Signed-off-by: Matt Porter <mporter@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10253 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-18Add low-level-can-generator as devtool in SDKRomain Forlot2-0/+18
To ease devlopment with low level CAN service, you have to use the generator to be able to customize signals handled by the service. Change-Id: Id51415ee339a5ede77bc875aa893893f1b31dbdf Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10183 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-18agl-devel: auto-add drivers for vmdk imagesMartin Kelly1-0/+2
Currently, if you build a vmdk file, you also need to manually add in drivers to make your image fast (vbox/vmware drivers). We can make this automatic so that when you build a vmdk, drivers are automatically added in. Using this approach, both vbox and vmware drivers are added, which is more than is generally necessary, but it means that a single vmdk image can support many use cases, and the same image can be distributed to many developers. For developer images, this seems like a good tradeoff because convenience is more important than disk space/bloat for developers. For production, we leave this option off to reduce unneeded components. Change-Id: I8139a3ed94599c1732ea8b58bbc735c0de594234 Signed-off-by: Martin Kelly <mkelly@xevo.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10223 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-18qemux86-64: add hwtest environmentKevin Hilman1-0/+9
Change-Id: Ic52335b32d82257a2c9c451e7dc83dcaef17b11e Signed-off-by: Kevin Hilman <khilman@baylibre.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10191 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> (cherry picked from commit 1093894a261d2cd2c2d6ec2f32f3b2d2bb90569b) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10225
2017-07-18af-main: add RDEPENDS on bashMartin Kelly1-1/+1
Currently, we get a file-rdeps QA warning because afm-install has a /bin/bash shebang line but does not RDEPENDS on bash. We could also use /bin/sh instead, but I'm not sure if we have some bashisms built-in to the script. For now, add RDEPENDS to fix the warning. Change-Id: I368da5e9e5c2d57d7bc2a1b674eb84c1147be5c1 Signed-off-by: Martin Kelly <mkelly@xevo.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10221 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-17Update freescale layer names, add nitrogen inc fileNathan Illerbrun4-3/+11
Change-Id: I1faf7ad14cc85cd12055f7e4c7e43ffe4ccf0671 Signed-off-by: Nathan Illerbrun <nathani@validmanufacturing.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10207 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-17backport open-vm-tools recipeMartin Kelly6-0/+172
Without open-vm-tools, VMWare guests are very slow. open-vm-tools was recently added to meta-openembedded, so we should get it when Rocko is released. Until then, this patch backports it. Note that open-vm-tools has an optional dependency on fuse, so we need to include the meta-filesystems layer too. Bug-AGL: SPEC-739 Change-Id: Icc5bf7f10b8e21778ab7043dea8d340eb41a527c Signed-off-by: Martin Kelly <mkelly@xevo.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10211 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-17Possibility to copy wgt without installing themRomain Forlot1-14/+22
Adding a variable that control if wgt file should be automatically installed. Now WGT are spread between autoinstall and manualinstall directories. By default autoinstall is chosen. Change-Id: I51f4aa4426704714a77a53dab37adcaf5e1fd954 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10165 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-17Fix weston failedRonan Le Martret1-5/+5
* We need to add systemd udev device unit dependency to weston, If the system is slow udev rules is up when weston want to start, if the system is fast, udev rules may be down when weston want to start. * TAG+="systemd" create a systemd device unit * ENV{SYSTEMD_WANTS}="weston.service" add dependency (Like BindsTo). Bug-AGL: SPEC-603 Change-Id: I45d6513ea64cd071a60b53afd98d782e9300cefa Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10209 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-17systemd: remove timesystemd featureMatt Ranostay1-0/+3
Connmand also has a NTP client that is conflicting with the systemd timesytemd. So timesystemd should be removed to avoid this. Change-Id: I1d9e2a9597be7c1da1e40cde6b91099c2cf3601e Bug-AGL: SPEC-737 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10179 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-17systemd-udev: ensure convention for naming udev rulesJosé Bollo1-0/+20
The udev rules files installed in /etc/udev/rules.d should follow systemd naming convention. This patch ensures it by renaming known wrong files before to install it. This patch is temporary. This is a solution to the Bug-AGL SPEC-539. It renames the file udev-smack-default.rules as the file 55-smack-default.rules before installation in do_install. This comes from https://github.com/01org/meta-intel-iot-security.git (meta-security-smack/recipes-core/systemd/) It should be removed when the security layer will be refited to meta-security See git clone http://git.yoctoproject.org/cgit/cgit.cgi/meta-security It also renames the file touchscreen.rules as the file 55-touchscreen.rules This comes with the recipe systemd_230 of poky (meta/recipes-core/systemd) It should be removed when poky changes. Bug-AGL: SPEC-539 Change-Id: I95e36fc22711babb185ccf53deee8b838874c401 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10167 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-17af-binder: Fix const issue in afb-auth.hJosé Bollo1-1/+1
The fields type and loa were declared as const. This worked well for C compilers that are allowing to initialize constant fixed structures. But when compiling with C++, it is no more easy to create initialized structure explicitely. In C++, the solution is to use C++14 constexpr functions. But for using these function, const must be removed. Bug-AGL: SPEC-741 Change-Id: If5aca00e79dc074dcd1f6bac81a57d85b8537cea Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10197 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> Reviewed-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2017-07-12netboot: fix dependency loop for qemu buildMatt Ranostay1-1/+1
qemu images for 64-bit x86 doesn't generate a u-boot image however netboot does by default. Fix this issue by checking for vmdk in image types. Change-Id: I061d61c87c6be9c16a04926d56b0825a3eedde04 Bug-AGL: SPEC-513 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10177 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-12test templates: m3ulcb-nogfx: use core-image-minimalKevin Hilman1-1/+1
The -nogfx build uses the core-image-minimal target, not the agl-demo-platform build target, so ensure the NBD rootfs filename is the right one. Change-Id: I81fa24a55cfa6acfbeda987f31d6dca5fea9dd52 Signed-off-by: Kevin Hilman <khilman@baylibre.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10119 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> (cherry picked from commit 287700311bb9879f19d5b7b9977979c5692895c9) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10151
2017-07-12Add ath9k_htc driver to rcar-gen3 for demosScott Murray2-0/+3
Add the kernel configuration fragment for the ath9k_htc driver used by the D-Link USB Wifi adapter recommended for demos to rcar-gen3. Change-Id: I7739193adaeeba985625ea9058ee5c991b77b63a Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10155 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-12Integration of low-level-can-service appsRomain Forlot1-0/+16
Make aglwgt class use autobuild script if 'make package' did not succeed to keep retrocompatibility. Added recipe to build and install low-level-can-service by Bitbake Bug-AGL: SPEC-428 Change-Id: I21e3b2e7c6f9d64b71f01745bff10f9233bcf6a9 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10159 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-12Fix i.MX6 (usb)Takashi Matsuzawa1-0/+11
Bug-AGL: SPEC-704 Use u-boot-imx instead of u-boot-fslc and now gpio is correctly initialized and usb devices are correctly recognized. (Sent e-mail and meta-freescale/fsl community has been notified about the issue.) Also generate scard image that we are familiar with. Confirmed local build successfully boot and show usb devices on lsusb. Update: Sorry fixed typo, also changed .sdcard to .sdcard.gz Update2: .sdcard.gz -> .sdcard.xz Change-Id: Ie2d98fac62d7f1eef803f10784b35a2cb60f535f Signed-off-by: Takashi Matsuzawa <tmatsuzawa@xevo.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10157 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-07-12Disable rpi3 tests as they are broken right now with the kernel ImageJan-Simon Möller4-0/+0
Fix is wip but takes a little. Change-Id: I5b561a687dda47aaa8dfbf19d9b629abb3956549 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10127 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> (cherry picked from commit 8f022c868bff1a4f2bfcdc04ea6eb3af20046852) Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10149 ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-07-11Upgrade framework and binderJosé Bollo2-2/+2
This includes: - improvement of debugging (indication files) - not listing terminated processes - allow widget to not define icon (service) - improvement of afm-util output Bug-AGL: SPEC-702 Bug-AGL: SPEC-728 Bug-AGL: SPEC-729 Change-Id: I2b8b4d803bc4d1f056031d8f7a32e80bfed86314 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10145 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>