summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
AgeCommit message (Collapse)AuthorFilesLines
2017-06-29Fix rpi-sdimg after IMAGE_FSTYPE being enforced in poky-agl.confJan-Simon Möller3-0/+16
This changeset fixes the case of the rpi-sdimg which was broken by the IMAGE_FSTYPE setting introduced in poky-agl.conf (distro-wide). A new variable AGL_EXTRA_IMAGE_FSTYPES is available now and only used in AGL (target) images. Reasoning for this solution: - any modifications to IMAGE_FSTYPES will also affect things like the initramfs or initrd images. - we minimized the disk-space requirements by reusing the ext4.xz for the rpi-sdimg Bug-AGL: SPEC-492 Change-Id: I07fd51dbcf334653cd6033b7ccb663c4d4ed8578 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9927 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-06-29Fix for CVE-2017-1000366 in glibcJan-Simon Möller2-0/+641
This changeset fixes CVE-2017-1000366 by using the latest glibc revision from the 2.24 glibc git as of today which includes the needed fix. One patch file had to be adapted and overlayed with our custom version (patching just conflicts on ChangeLog, no source file affected). Bug-AGL: SPEC-705 SPEC-707 Change-Id: I1fbb6bc5862ada6b8b5479796c6a488a11c53ed4 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9933 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-06-29Backport fix for CVE-2017-1000364 to linux-yocto-4.8Jan-Simon Möller2-0/+902
Backport of upstream fixes from 4.9 kernel branch to linux-yocto: - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.9.34&id=cfc0eb403816c5c4f9667d959de5e22789b5421e - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.9.34&id=5d10ad6297260e9b85e7645ee544a6115bb229e4 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.9.34&id=ce7fe8595902c3f03ef528c2dc1928b3f4b67fcf Change-Id: I5bedd3af344b32b410bb7d59448710799143107d Bug-AGL: SPEC-705 SPEC-707 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9855 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>
2017-06-29Fix CVE-2017-1000364 by backporting the patches for gen3Jan-Simon Möller4-0/+1048
Backport of patches from upstream for 4.9 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=cfc0eb403816c5c4f9667d959de5e22789b5421e - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=5d10ad6297260e9b85e7645ee544a6115bb229e4 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=ce7fe8595902c3f03ef528c2dc1928b3f4b67fcf Bug-AGL: SPEC-705 SPEC-707 Change-Id: I6ff3543fbe09e29511acc1f7a27c5ac961ada28d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9885 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>
2017-06-29Fix CVE-2017-1000364 for dragonboard-410c by backporting the patches from ↵Jan-Simon Möller4-0/+1045
upstream kernel v4.9 Backport of patches from upstream for 4.9 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=cfc0eb403816c5c4f9667d959de5e22789b5421e - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=5d10ad6297260e9b85e7645ee544a6115bb229e4 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=ce7fe8595902c3f03ef528c2dc1928b3f4b67fcf Bug-AGL: SPEC-705 SPEC-707 Change-Id: Idf5ac1f67829b30e9d5b0359ae7d7ef3aaac1dac Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9903 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
2017-06-29Fix CVE-2017-1000364 by backporting the patches for rpi3Jan-Simon Möller9-0/+2053
Backport of patches from upstream for 4.4 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.4.74&id=4b359430674caa2c98d0049a6941f157d2a33741 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.4.74&id=f41512c6acb71c63cf4e3bd50934365ae2a23891 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=v4.4.74&id=1f2284fac2180d7a9442c796d9755e3ce7ab0bd9 Backport of patches from upstream for 4.9 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=cfc0eb403816c5c4f9667d959de5e22789b5421e - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=5d10ad6297260e9b85e7645ee544a6115bb229e4 - https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-4.9.y&id=ce7fe8595902c3f03ef528c2dc1928b3f4b67fcf Bug-AGL: SPEC-705 SPEC-707 Change-Id: I786dd198e288ab89de59866a9044716ee33d3d16 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9859 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Leon Anavi <leon.anavi@konsulko.com>
2017-06-28Add CAN drivers by default to AGL boardsRomain Forlot7-10/+53
v2 (jsmoeller): Add append files for boards that need special handling. Change-Id: I172b71be6e825aa6399f22899e9b6eaacc86e72b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9825 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-06-23agl_raspberrypi*.inc: Set KERNEL_IMAGETYPE to ImageLeon Anavi2-2/+2
Set KERNEL_IMAGETYPE to Image to ensure correct generation of kernel7.img and successful booting of AGL on Raspberry Pi 3 and 2 with output from the serial console. v2 (jsmoeller): Also adapt templates/machine/raspberrypi3/test/hwtest.short.environment v3 (jsmoeller): disable CI hwtests as rpi firmware is used Bug-AGL: SPEC-649 Bug-AGL: SPEC-650 Change-Id: If4335ffed7047fd2fbbf4bbd2dff54322cd0bf07 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9727 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Kevin Hilman <khilman@baylibre.com>
2017-06-23support MACHINE=raspberrypi3-64Kevin Hilman1-0/+31
The meta-raspberrypi layer already supports raspberrypi3-64, where it will build a 64-bit kernel. Add templates so that "aglsetup.sh -m raspberrypi3-64" works. Note that 64-bit kernel build is only supported in the v4.9 branch of the rpi kernel, and that the kernel image type is "Image" instead of Image. Change-Id: Iee728191dc38521be607787d5736d21372f1dff5 Signed-off-by: Kevin Hilman <khilman@baylibre.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9767 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-06-20Remove sdcard_image-rpi-gdp.bbclassLeon Anavi1-113/+0
Remove class sdcard_image-rpi-gdp. Historically it was added during the initial porting of AGL to Raspberry Pi and it had been taken from GENIVI Development Platform. It is not needed anymore. Bug-AGL: SPEC-409 Change-Id: I3f78b5fd92b08962c4a1fe07753627ae81da23ec Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9765 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-06-20Add hibernation image areaYuichi Kusakabe4-0/+290
This patch set add DDR hibernation image area. 0x40000000 <-> 0x77FFFFFF : kernel 0x78000000 <-> 0x7FFFFFFF : hibernation image area and Enable swsusp DMA support(sdhi DMA support). Change-Id: Ia3011d4979f38f0d1cbc5f9f1964e8fa07a7fc20 Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9697 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-06-20raspberrypi2: change GPU_MEM to 255Leon Anavi1-3/+2
Scale back GPU to 256MB for successful booting on Raspberry Pi 2. The same change has been already applied to the configurations for Raspberry Pi 3 as part of the work on SPEC-410 and SPEC-469. Bug-AGL: SPEC-616 Change-Id: Iafa83209d9e3b04609d820e3492ddb6266864f92 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9741 Reviewed-by: Thomas Rini <tom.rini@gmail.com> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Changhyeok Bae <changhyeok.bae@gmail.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-06-15Add hibernation image areaYuichi Kusakabe5-2/+235
This patch set add DDR hibernation image area. 0x40000000 <-> 0x77FFFFFF : kernel 0x78000000 <-> 0x7FFFFFFF : hibernation image area and Fix Black blink correction of display. Change-Id: I286b5291cb2eed22334a95132ba4a137eff298ca Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9699 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-06-13Fix for memory corruption during hibernateYuichi Kusakabe2-0/+159
Change-Id: I4ee4ff339e34feb460e5faadfe3b3b937f881e56 Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9701 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-06-09Enable SOTA for supported architecturesAnton Gerasimov5-0/+19
SOTA was temporarily disabled becaused it caused build errors Change-Id: I57f1704c3cacf08cda6cb6a0fa4ec1fe0df305f3 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9657 Reviewed-by: Martin Kelly <mkelly@xevo.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Changhyeok Bae <changhyeok.bae@gmail.com> Reviewed-by: Leon Anavi <leon.anavi@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-05-25Add u-boot Hibernation code for porter board.Yuichi Kusakabe5-0/+3976
This patch set is a support to Hibernation for a porter board. I've commit with Hibernation Off patch, because it depends strongly on user land. If you can use Hibernation, Please add local.conf agl-porter-hibernate. OVERRIDES .= ":agl-porter-hibernate" DISTRO_FEATURES_append = " agl-porter-hibernate" Change-Id: I3f0560074b710c27f49a73ca871038246d222b73 Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9449 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-05-25Add kernel Hibernation code for porter board.Yuichi Kusakabe17-0/+4413
This patch set is a support to Hibernation for a porter board. I've commit with Hibernation Off patch, because it depends strongly on user land. If you can use Hibernation, Please add local.conf agl-porter-hibernate. OVERRIDES .= ":agl-porter-hibernate" DISTRO_FEATURES_append = " agl-porter-hibernate" Change-Id: Ic64c9494a4bbd2518ef1aa334325b96eb7a9479e Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9451 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-05-25Add s3ctl Hibernation code for porter board.Yuichi Kusakabe2-0/+105
This patch set is a support to Hibernation for a porter board. I've commit with Hibernation Off patch, because it depends strongly on user land. If you can use Hibernation, Please add local.conf agl-porter-hibernate. OVERRIDES .= ":agl-porter-hibernate" DISTRO_FEATURES_append = " agl-porter-hibernate" Change-Id: I06dfe57abf8ff8c79151e4f15432b5445a7811e2 Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9447 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-05-25Add gles Hibernation code for porter board.Yuichi Kusakabe2-0/+45
This patch set is a support to Hibernation for a porter board. I've commit with Hibernation Off patch, because it depends strongly on user land. If you can use Hibernation, Please add local.conf agl-porter-hibernate. OVERRIDES .= ":agl-porter-hibernate" DISTRO_FEATURES_append = " agl-porter-hibernate" Change-Id: I6cde0492c28ec9ed67c377d22a29bda9c1b4746e Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@jp.fujitsu.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9453 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-05-25A fix is in upstream now.Jan-Simon Moeller1-5/+0
The mirror @ sources.openembedded.org was checked and has a copy of the tarball. Revert "Add hotfix for sg3-utils SRC_URI not available" This reverts commit e68fd87fe3be06583c8e76af777c42a19d6cf5a5. Change-Id: I5024a0bfa304219c795390fca424f2cf4f3bbfb5 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9513 Reviewed-by: Martin Kelly <mkelly@xevo.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-05-24Add hotfix for sg3-utils SRC_URI not availableJan-Simon Möller1-0/+5
ERROR: sg3-utils-1.42-r0 do_fetch: Fetcher failure for URL: 'http://sg.danny.cz/sg/p/sg3_utils-1.42.tgz'. Unable to fetch URL from any source. Until fixed upstream, use a mirror. Change-Id: Ia0d049ed6d2288adab836f59e82f0c359abaf7c6 Bug-AGL: SPEC-619 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9507
2017-05-23Add support H.264 Encoder proprietary Library for R-Car Gen3Harunobu Kurokawa2-2/+2
Change-Id: I0282804ff11a0f66d76c371f63cfc5ba1dd639a0 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9483 Reviewed-by: Martin Kelly <mkelly@xevo.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-05-20Fix typo in cyclone5 configuration templateJan-Simon Möller1-1/+4
There was a typo in DISTRO_FEATURE*S* . Fix it. Change-Id: Ie0edcab5e2c9726248b5b4f1823ef1a73186fe1a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9441
2017-05-19meta-rcar-3 setup: Improve error messageHarunobu Kurokawa1-9/+35
If graphics and multimedia acceleration packege is not located in your Download directory, the error message is shown by red color. v2: Using tput instead of ANSI escape codes. v3: rebase after update BSP v2.19 Change-Id: Ica0c0ca557dd6b039cedc3bb45e6389f20fcd20f Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9415 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-05-19Update Renesas gen3 setup script for BSP 2.19.Ronan Le Martret1-14/+6
* directly use the *.zip file, no need to untar any more. Bug-AGL: SPEC-605 Change-Id: I970c0f7a7d2eeae05f2a53fd9eca1e0a37916938 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9373 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Changhyeok Bae <changhyeok.bae@lge.com> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-05-16dragonboard-410c: install 96boards-tools for resizing partitionKotaro Hashimoto2-0/+29
Add 96boards-tools recipe for dragonboard-410c. This tool resize the rootfs on the first boot. The adding recipe is ported from meta-96boars layer(branch morty). https://github.com/96boards/meta-96boards/ Change-Id: Ica597e36e530533cf4820a3b0a7ad2145bd3d6fb Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9391 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-05-16Fix build of mozjs, gpm and libatasmart due to SECURITY_%FLAGSJan-Simon Möller1-7/+0
The three packages fail to build on at least 3 boards. Move to the distro config for now and track investigation in SPEC-593. Bug-AGL: SPEC-593 Change-Id: I97d55b6b34ea18fae943ab6bd89c88088896f2ac Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9379 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: José Bollo <jobol@nonadev.net>
2017-05-16Add machine templates for the beagleboneJan-Simon Möller1-0/+42
This adds the machine templates for the beaglebone board. The beaglebone is a YP reference system with very good support out-of-the box. It might be too slow for the graphical demos, but could serve well in headless setups. v2: remove whitespace. Bug-AGL: SPEC-590 Change-Id: I3f1d4f57d2ce01f2603446b6663fdaa636a1f7be Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9337 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Karthik Ramanan <a0393906@ti.com> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Martin Kelly <mkelly@xevo.com>
2017-05-12linux-renesas: Applies Smack patch for bluetoothJosé Bollo3-0/+57
This patch allows kernel sockets to be used by applications. Bug-AGL: SPEC-554 Change-Id: Ib3562cb68334500b375b5dd341ead314c438f5e6 Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9371 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-05-12dra7xx: Fix build error with mozjs and libatasmartKarthik Ramanan1-0/+7
This fix is propagated from: https://gerrit.automotivelinux.org/gerrit/#/c/9337/ Change-Id: I3cc570848e5586ba3c5733fe16224ca402166094 Signed-off-by: Karthik Ramanan <a0393906@ti.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9369 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-05-09Switch to medium compilerJan-Simon Möller1-1/+1
The cyclone 5 is a cortex-a9 thus switch to the matching compiler profile within AGL. Change-Id: I19d695c653cc78c53dfce7a1adc27e7629256296 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9327 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-05-06sdcard: rpi-sdimg: fix mcopy issue with boot.scrMatt Ranostay1-0/+184
boot.scr can be picked up elsewhere and fail the mcopy into the boot filesystem. Currently need to allow the overwriting which requires the whole bbclass to be mostly cloned from meta-raspberrypi Change-Id: I2839c782ec9a96a1c822dc1369e7e72aea0872e4 Bug-AGL: SPEC-409 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9319 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-05-06raspberrypi3: change GPU_MEM to 255Matt Ranostay1-3/+2
Due to the patchset "drm/vc4: Verify at boot that CMA doesn't cross a 256MB boundary" the memory reserved for the GPU needs to be scaled back to 256MB Change-Id: I593de129b40dd6263816b506e23db543eec71348 Bug-AGL: SPEC-410 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9321 Reviewed-by: Changhyeok Bae <changhyeok.bae@lge.com> 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-04-28Remove sota-related includes from meta-agl-bspAnton Gerasimov6-12/+0
Bug-AGL: SPEC-557 Change-Id: Id126559e4114b191c923477e7dd04147cb1ec770 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9257 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-04-27Enforce uImage as KERNEL_IMAGETYPE for rpiJan-Simon Möller2-0/+2
Currently we expect uImages (by default and in SOTA). Later kernels might default to Image. Thus set KERNEL_IMAGETYPE to uImage. Change-Id: I7995efb48cc2f9797d55b2ced5560dc1ea1e3a11 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9281
2017-04-26meta-agl-bsp/meta-raspberrypi: Upgrade to v12.0.3Changhyeok Bae6-9/+267
Yocto morty has mesa 12.0.1 but it has a bug for vc4 driver. The bug is fixed in v12.0.2 and yocto upstream provides v12.0.3. This commit is taking from https://github.com/GENIVI/meta-genivi-dev/commit/e9c013951feb5c78519da04513ab79baf400264e. Bug-AGL: SPEC-445 Change-Id: Idfd0878f3549c20eac77ae680a65347ec851bd94 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9253 Reviewed-by: Changhyeok Bae <changhyeok.bae@lge.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-04-26dragonboard-410c: linux: update to kernel 4.9Kotaro Hashimoto4-150/+0
Update linux-linaro-qcomlt to kernel 4.9. Update smack patches for kernel 4.9. Change-Id: Ia1fbc1787ef968bfd55d2ce48e01b1ea121762c7 Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9159 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-04-25Change require to include to unbreak builds without ag-sota featureAnton Gerasimov6-6/+6
Bug-AGL: SPEC-557 Bug-AGL: SPEC-558 Change-Id: I06e9dfc28adef4be0fcbe104c9458395dc8efa1d Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9239 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-04-24Switch to meta-updaterAnton Gerasimov16-62/+360
Replace SOTA-related sections with includes, moved u-boot-ota common to minnowboard and qemu to meta-agl-bsp Change-Id: I0629a63154ff90bd712f621297b886505a2f462c Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9189 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-04-23Revert "Switch to meta-updater" - waiting for main commit to be updated.Jan-Simon Moeller11-311/+56
This reverts commit 521815fa95dba3d47704b62b4b6911fc994ad4c8. Change-Id: I06e2ed97e2ea7897ccdee09aeec277c8a75ccfa0 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9187
2017-04-23Switch to meta-updaterAnton Gerasimov11-56/+311
Replace SOTA-related sections with includes, moved u-boot-ota common to minnowboard and qemu to meta-agl-bsp Change-Id: I531f0eec07bab01610a225afc6d32a2f3a8156ad Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9095 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-04-20meta-agl-bsp/meta-qcom: Fix kernel config fragment about smackKotaro Hashimoto1-0/+7
Previous changes(*) caused to be disable smack setting. This patchset re-enable smack setting. (*)https://gerrit.automotivelinux.org/gerrit/#/c/8569/ Bug-AGL: SPEC-450 Change-Id: I961192e42991a0d2542ca23fac030b8f3eba3fcf Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
2017-04-20meta-agl-bsp/meta-ti: Fix kernel config fragment about smackKotaro Hashimoto1-0/+6
Previous changes(*) caused to be disable smack setting. This patchset re-enable smack setting. (*)https://gerrit.automotivelinux.org/gerrit/#/c/8567/ Bug-AGL: SPEC-450 Change-Id: Ib0e28b232ce9f39df71cd194baedbbaeab9f62ca Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
2017-04-20meta-rcar-gen3: add CONFIG_INPUT_UINPUT to bluetooth.cfgMatt Ranostay1-0/+5
CONFIG_INPUT_UINPUT is needed for AVRCP controls to be registered and function within bluez. AGL-Bug: SPEC-540 Change-Id: Idbc63b8844fac595d73cb34f6a7eb4fb2243028d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-04-19Use weston-init to startup westonRonan Le Martret10-238/+0
* weston.service should not be a part of weston recipes * remove weston.service from AGL weston recipes * yocto upstream uses the recipe weston-init to startup weston * customize weston-start with sed - remove openvt - add option to weston-launch * customize weston.service with sed - add option for weston * unified the weston startup beteween AGL BSPs * remove fix on the AGL BSP Bug-AGL: SPEC-452 Bug-AGL: SPEC-310 Change-Id: I12722826abdc004214d289961e900c36528ec6e3 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-04-16Set a default tune for cyclone5 until the distro defines oneJan-Simon Möller1-0/+1
The BSP is doing it right in not defining any tunings and thus falling back to armv7-a + softfloat. All other targets use hardfloat. So until the DISTRO takes over DEFAULTTUNE, we set it here for the board. Change-Id: Iad4c15bc08f0baaed6f7cf7bfa1e3fae2f2fd739 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2017-04-12add vmware driversMartin Kelly1-0/+13
VMWare Fusion defaults to SCSI disks, so we need it builtin to the kernel to recognize the boot disk. While we're at it, add in other useful VMWare-related modules. Change-Id: Ia571142d5d3493b3b14619e6df29367bf06e5ae5 Signed-off-by: Martin Kelly <mkelly@xevo.com>
2017-04-12update weston.ini for Renesas Gen3 boardRonan Le Martret1-0/+11
update weston.ini from Renesas rcar Gen3 BSP 2.17 Bug-AGL: SPEC-530 Change-Id: I5577a18cb5707c2484a46d3c91025ad087b6fa1e Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-04-11update Renesas Gen3 driver for BSP 2.17Ronan Le Martret1-4/+3
update driver to version 2017-03-24. Bug-AGL: SPEC-530 Change-Id: I5e18b5baa93419c80409b983de68ba4f7aaa74be Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-04-09Set UBOOT_MACHINE to minnowmax for intel-corei7-64 and SOTAAnton Gerasimov1-0/+4
UBOOT_MACHINE is required when u-boot is used, but no generic intel-corei7-64 config exists for u-boot, choose Minnowboard Change-Id: If8bf05caaef98535aedef9d4ecd98cd2ab0c2e16 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>