summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/conf/include/agl_raspberrypi3.inc
AgeCommit message (Collapse)AuthorFilesLines
2017-07-05Fix for image format dependencies during parsingdab_3.99.2dab/3.99.23.99.2Jan-Simon Möller1-1/+1
local.conf is evaluated first before the distro configuration. This caused issues while parsing the IMAGE_FSTYPES. The same set of IMAGE_FSTYPES did not throw the same switches deep in the other recipes. We define AGL_EXTRA_IMAGE_FSTYPES and AGL_EXTRA_INITRAMFS_FSTYPES for use in conf/local.conf or the device templates which are added early on-top of the defaults: AGL_DEFAULT_IMAGE_FSTYPES ?= "tar.xz ext4.xz" (tar.xz for direct use, ext4.xz for direct use and CI) AGL_DEFAULT_INITRAMFS_FSTYPES ?= "ext4.gz" (format for initramfs/initrd with smack labels) Both sets can be overridden in the device configuration / template. Device templates have been adapted accordingly. Bug-AGL: SPEC-492 Change-Id: I962ee8cc461b307b494d13ce3a3ebca154bebc86 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10049 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>
2017-06-29Fix rpi-sdimg after IMAGE_FSTYPE being enforced in poky-agl.confJan-Simon Möller1-0/+5
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-23agl_raspberrypi*.inc: Set KERNEL_IMAGETYPE to ImageLeon Anavi1-1/+1
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-09Enable SOTA for supported architecturesAnton Gerasimov1-0/+4
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-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 Gerasimov1-2/+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öller1-0/+1
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-25Change require to include to unbreak builds without ag-sota featureAnton Gerasimov1-1/+1
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 Gerasimov1-16/+2
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 Moeller1-2/+15
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 Gerasimov1-15/+2
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-04Add grub2 support in SOTAAnton Gerasimov1-0/+1
Change-Id: Ia37920f6190e9dfe68c4d63a01f204ff6fc66423 Signed-off-by: Anton Gerasimov <anton@advancedtelematic.com>
2017-01-26Move feature code into the meta recipesRonan1-0/+46
* Having a minimlal local.conf serving the only purpose of user customization is the "Yocto" way of doing things * After a source synchronization (repo sync), feature code must be update without regenerate local.conf Change-Id: I0bb0861f4c07a8b57cb59a03f6ffe9d2d693cbbe Signed-off-by: Ronan <ronan.lemartret@iot.bzh>