summaryrefslogtreecommitdiffstats
path: root/meta-agl-distro/conf/distro/include
AgeCommit message (Collapse)AuthorFilesLines
2020-11-11meta-agl-distro: Update aarch64 DEFAULTTUNE definitionScott Murray1-1/+1
The i.MX8 crosssdk build failure in SPEC-3626 was root caused to the DEFAULTTUNE variable being over-ridden via a machine over-ride triggered by a MACHINEOVERRIDES addition in meta-freescale's imx8mqevk.conf. To ensure that aarch64 machines use AGL's desired aarch64 tuning, switch the DEFAULTTUNE definition done in aarch64-tune.inc to using the "poky-agl" over-ride that comes after MACHINEOVERRIDES in the OVERRIDES variable definition. Bug-AGL: SPEC-3626 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Id07f73056dd75ba7cf130376e65f2731302b7e66 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25488 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>
2020-04-08meta-agl-distro: update x86_64 qemu configurationScott Murray1-1/+1
Replace the long ago deprecated and now no longer supported "-usbdevice tablet" option with the newer "-device usb-tablet" in the QB_OPT_APPEND definition in our local x86_64 tuning file. Without this, runqemu fails for the qemux86-64 target on dunfell. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I46fcbc615821e7ac54a913ca08b66abf2abaaa0b
2019-04-26Add ARC HSDK board supportEvgeniy Didin1-0/+3
This changeset adds the necessary files to build image for Synopsys ARC HS Development Kit (HSDK). Most of necessary tunnings are stored in meta-synopys layer. Synopsys DesignWare HSDK (which stands for ARC HS Development Kit) is the latest and greatest development platform that sports quad-core ARC HS38 in real silicon. Most noticeable features of the board are: * Quad-core ARC HS38 CPU running at 1GHz * 4Gb of DDR * Built-in Vivante GPU * Built-in Wi-Fi/Bluetooth module Peripherals: * [micro] SD-card slot * 2 USB 2.0 ports * 1Gbit Ethernet port * Built-in Digilent JTAG probe * Serial port accessible via micro-USB port New feature: SPEC-2346 Change-Id: I8772ee51cc3db9f6549da2d6a5ea2d116586cde6 Signed-off-by: Evgeniy Didin <didin@synopsys.com>
2018-04-05Rework how we pass arguments to QEMU, provide a wks.in fileTom Rini1-1/+0
- The official hook for changing the resolution we tell QEMU is UVESA_MODE so change agl_qemux86-64.inc to set the value there rather than override the whole of QB_KERNEL_CMDLINE_APPEND. - Make agl_qemux86-64.inc further append what's needed to QB_KERNEL_CMDLINE_APPEND as APPEND isn't used in the filesystem images we create anymore. - Create a directdisk.wks.in file that will (a) use --use-uuid and not force /boot to be looked for on /dev/sda1 (when it will _NOT_ be) and (b) evaluate QB_KERNEL_CMDLINE_APPEND to determine what the bootargs to the kernel will be. Change-Id: I49894d70e6c0010e0907b72f19fcc8fb0917e34a Bug-AGL: SPEC-1301 Signed-off-by: Tom Rini <trini@konsulko.com>
2018-03-13re-enable gobject-introspectionMartin Kelly1-0/+4
In commit f9a285987c5c956d445efeea6c60f258534fe57b, we disabled gobject-introspection due to a build error as part of the Rocko transition. However, the only build errors were on qemu, which were caused by not emulating SSE4.2 (see poky commit 5b2b343453e805be013e721d079bc24de946f28b for details). Emulate SSE4.2 in qemu and re-enable gobject-introspection. Change-Id: I073db2c37623bb8ba6b7809ca0c3bba5213001e2 Signed-off-by: Martin Kelly <mkelly@xevo.com>
2017-07-26Fix runqemu by generating an ext4 image by defaultJan-Simon Möller1-14/+10
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/10387 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-06-01Add support for cflags for pi0/1Jan-Simon Möller1-1/+10
Change-Id: I36f09230305ce19905b80f90beae7021f301bddf Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9593 Reviewed-by: Martin Kelly <mkelly@xevo.com> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-05-09x86_64-tune: fix KVM qemu optionsMartin Kelly1-0/+2
When using runqemu with KVM enabled, qemuboot.conf uses QB_CPU_KVM_x86 and QB_CPU_KVM_x86-64 instead of QB_CPU_qemux86-64. Without this fix, the boot fails because the generic KVM CPUs don't support what Nehalem does. Change-Id: Ic7d160528c5aebfb835362f3ad3c2da2dc44c2c4 Signed-off-by: Martin Kelly <mkelly@xevo.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9329 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-06Enforce unified tunings across all target boards of AGLJan-Simon Möller4-18/+81
DEFAULTTUNE is a setting that should be defined in the DISTRO. So we do it here. Goal is to have just 3-4 SDKs in the end. We use these levels: - ARM 32bit high: armv7vethf-neon-vfpv4 (=default for ARM 32bit) - ARM 32bit medium: armv7athf-neon (enabled via DISTRO_FEATURE_append = " agl-medium-arm-compiler") - AARCH64: aarch64 (=aarch64, no other tunings) - x86-64: corei7-64 (=corei7-64 also for qemux86-64) v2: Fix qemu user-mode emulation on x86-64 and adapt qemux86-64 tune flags. See: https://goo.gl/DMaBJ9 Bug-AGL: SPEC-491 Change-Id: Iababbe38a531d546c03f695847651f2d83301b9a Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9299 Reviewed-by: Martin Kelly <mkelly@xevo.com> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-03-08Splice out distro configuration in own layer for compatibilityJan-Simon Möller1-0/+18
Upstream is working on guidelines for DISTRO and BSP layers. One outcome is the yocto-compat-layer tool. A requirement for BSP and DISTRO layers is that they are single-purpose aka just defining the distro and only defining the BSP. To comply with this, move the distro out into meta-agl-distro and adapt the templates. Bug-AGL: SPEC-472 Change-Id: I921127edc78e677bd75d42a793f0b3708a54dd79 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>