summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/conf/include
AgeCommit message (Collapse)AuthorFilesLines
2021-06-16Remove Raspberry Pi 3 supportScott Murray1-30/+0
The raspberrypi3 machine template had only been retained to allow anyone interested in using one with a telematics or cluster demo image build to do so. At this point the Pi 4 has been out long enough that that seems no longer necessary, so removing the support to avoid confusion and reduce clutter seems warranted. Bug-AGL: SPEC-3985 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib3770ba03771aff468f94d5bf6f2910fc01f7ee0 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26429 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-06-01Add initial j7-evm machine supportScott Murray1-0/+15
Add template and inc file for requested j7-evm machine. Notes: - The various images have been test built, including the agl-demo-platform image. No runtime testing has been done due to lack of hardware. - The proprietary SGX graphics support has not been enabled. This is due to both being unable to test, and it being unclear if it is required given the telematics usecases mentioned with respect to the hardware. - The shared TMPDIR for the non-optional multiconfig for building the bootloader has been shifted to a split one, as failures were reproducibly being seen when using the rm_work bbclass, and in general the community recommendation is to not share them. This does mean that cleaning up a build tree requires removing the tmp-k3r5 directory in addition to tmp. Bug-AGL: SPEC-3928 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I5c4e325b0b709b6571946475bf128bc25b171f6e Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26379 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-06-01Remove dra7xx-evm machine supportScott Murray1-42/+0
Remove dra7xx-evm machine template and related BSP configuration tweaks. The configuration is stale and untested, and no one has expressed interest in it for long enough that it seems better to just remove it to avoid confusion about support status. Bug-AGL: SPEC-3934 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I1659eef113cf1e6fcfdddf65f712275b8fc49b6f Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26378 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-06-01Update i.MX machine configurationsScott Murray6-69/+32
Changes: - Add new i.MX and i.MX6 common inc files and shift duplicated configuration to them. - Switch to using the newer IMX_BSP_DEFAULT variable mechanism for selecting mainline vs NXP bits, instead of adding use-mainline-bsp to MACHINEOVERRIDES. - Remove the accidental addition of agl-medium-arm-compiler to DISTRO_FEATURES for the imx8mqevk configurations. - Remove some other stale variable definitions. - Update BSP layer path in i.MX6 template 50_setup.sh files, these were missed on a previous update. Bug-AGL: SPEC-3933 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I0145e3c8b73b4d53706fda4237ab10f181fd16f7 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26377 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-03-15meta-agl-bsp: add pseudo abort workaround for rcar3 buildsScott Murray1-1/+31
Add workaround to avoid pseudo aborts triggered by the rcar3 kernel module recipes writing to KERNELSRC in do_install, errors are of the form (from pseudo.log): path mismatch [27 links]: ino 19366408 db 'NAMELESS FILE' req 'build/tmp/work-shared/h3ulcb/kernel-source/include'. See the commit messages in poky commits 4e7c211 and 3b7f2c6 and the wiki page at: https://wiki.yoctoproject.org/wiki/Pseudo_Abort for details on the pseudo behavior change. These can potentially be moved to the recipes in the BSP, or removed if the recipes are changed to shift the module headers and symbols to their dev packages. Bug-AGL: SPEC-3840 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ic872e1cec1ccbd37a5a53d146119fa5053b85482 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26147 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-03-15Revert "meta-renesas: workaround recipe incompatibilities with YP 3.1.4"Ronan Le Martret1-4/+0
Bug-AGL: SPEC-3804 This reverts commit 8b4612385bbf4cdf523c9b731ed73c7887995372. Change-Id: I4a70f1cc57bf2265846b3a208b74c46a786ec622 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26050 Reviewed-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-03-09meta-agl-bsp: clean up Raspberry Pi Xen supportScott Murray2-0/+6
Changes: - Rename bbappend for Xen support to work with 5.4 kernel. - Drop one of the Xen support patches that no longer applies, as it seems no longer required due to upstream changes. - Move Xen kernel configuration fragment use to non-versioned kernel bbappend to simplify future upgrades. - Move ENABLE_UART definition to machine template inc files instead of duplicating it in multiple bbappends. This is more in line with how upstream indicates it be used. Note that these changes have been compile tested with the agl-virt-xen feature, but the resulting image has not yet been tested with Xen. This is still an improvement, as agl-virt-xen would have silently not affected kernel configuration previously. As well, some of the reshuffling done here will simplify the kernel upgrade in the next branch. Bug-AGL: SPEC-3841 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I022cccef00fcd0a82ceef89d4aab1894004543a3 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26144 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-02-16meta-agl-bsp: Fix agl-refhw-h3 BBMASK definitionScott Murray1-1/+1
Use += with BBMASK definition to avoid over-writing other additions. Bug-AGL: SPEC-3798 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: If6d5850e7dc07de56c2a6737634f0c0935ec2030 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26040 Reviewed-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account
2021-01-26Allow -nogfx boards to start the homescreenJan-Simon Moeller3-0/+12
This allows to produce working images without restricted licenses. Software rendering will be slow and screen updates take a while. v2: adapted to use WESTON_USE_PIXMAN Bug-AGL: SPEC-3774 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Iaea1985da48985dfe223471a86b04d8921cc8d7a Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25933 Reviewed-by: Scott Murray <scott.murray@konsulko.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>
2021-01-26qemu[arm,arm64]: enable runqemu in graphic modeJan-Simon Moeller2-16/+19
This adds the necessary flags to launch runqemu for the qemuarm target with the full graphical agl-demo-platform image. Slow but working. Bug-AGL: SPEC-3764 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Iffc2158e53d775d578b1d4ee0e94d3fd68e2a028 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25930 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: Scott Murray <scott.murray@konsulko.com>
2021-01-26raspberrypi: Upgrade to u-boot v2020.10Paul Barker1-0/+4
The newer u-boot version supports the network interface on the rpi4, allowing us to do things like DHCP boot. Also switch to the preferred "rpi_arm64" u-boot config. Bug-AGL: SPEC-2983 Signed-off-by: Paul Barker <pbarker@konsulko.com> Change-Id: I0dff4779f98c7ce6394efd9feb58b7f2a8933296 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25937 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>
2021-01-19raspberrypi: agl_raspberrypi4.inc: Unpin kernel versionPaul Barker1-3/+0
Now that the failure in create-combined-dtb has been resolved (by patching dtc), we can unpin the version of linux-raspberrypi and use the 5.4 kernel series. Bug-AGL: SPEC-3702 Signed-off-by: Paul Barker <pbarker@konsulko.com> Change-Id: I0da4eb7ccd17d816477d28864185278084abd9b4 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25840 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>
2021-01-16meta-agl-bsp, templates: Add virtio-aarch64 machineVasyl Vavrychuk1-0/+14
This machine is intended to run in ARMv8 virtualized environment that provides VirtIO devices. AGL machine configuration files are based on qemuarm64 machine from meta-agl branch master commit e1da0efcd2eece82b0326798cfeaeb8dd48797fc. Yocto machine configuration files are based on qemuarm64 machine from Poky branch dunfell commit 4e931b1d05018923dc145cd97f6f965f5cb6e1a5. Yocto Linux Kernel is used as recommended in [1]. Its metadata for the created machine are based on qemuarm64-standard.scc from yocto-kernel-cache branch yocto-5.4 commit 4aeda12f7f7eb84613ae1fe6e22cd9cd9790c20b. The rationale behind creating new machine is a wish to have a machine that could run on other hypervisor/virtual machine monitor that implements VirtIO, not necessary QEMU. For now, virtio-aarch64 machine runs under QEMU and OpenSynergy COQOS Hypervisor. virtio-aarch64 machine includes following changes comparing to qemuarm64: * use virtio-gpu instead of VGA display (to be upstreamed to work in conjunction with runqemu gl, sdl, etc. options) * use virtio-bus instead of PCI bus QEMU devices * remove unneeded configurations Changes are moved here from meta-agl-devel. [1]: https://www.yoctoproject.org/docs/3.1.2/bsp-guide/bsp-guide.html#released-bsp-recommendations Bug-AGL: SPEC-3668 Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> Change-Id: I653ca35fded3d3e38f25299f46629db1174b5008 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25915 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>
2021-01-08meta-agl-bsp: enable HCI UART for i.MX8MQ EVKScott Murray1-0/+3
Changes: - Remove explicit "not set" options in btusb.cfg kernel configuration fragment to avoid over-riding BSP configuration. - Add helper script and systemd unit to detect HCI UART device on i.MX8MQ EVK and EVKB and run hciattach as necessary. While logic has been added for the QCA6174 on the i.MX8MQ EVK, note that it has not been tested due to lack of hardware availability to test. Bug-AGL: SPEC-3545, SPEC-3681 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Iae3a58ccfbdb31698ae012ab7d03c9259ac83013 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25842 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>
2021-01-06meta-agl-bsp: add kernel-devicetree to nogfx rcar3 imagesScott Murray2-1/+4
Shift the IMAGE_INSTALL_append of the kernel-devicetree package to agl_rcar-nogfx.inc so that it will be added to the *ulcb-nogfx images in addition to the *uclb images. This fixes booting the nogfx images from SD cards created with the wic.xz image. Bug-AGL: SPEC-3754 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: If4868326f50e45046fcce7b5d6ba43f13f746ec1 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25866 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-12-16templates: qemuriscv64: Initial commit of qemuriscv64 machineAlistair Francis1-0/+11
Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Change-Id: I50a966dcbe051ae5369e28291e5bb62cd40267b9 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25105 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-12-16hsdk/arc: remove incompatible packages from packagegroupsJan-Simon Moeller1-0/+5
These packages are not yet supported on arc. Exclude them from the build. Bug-AGL: SPEC-3719 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I3c93fc792343b4d45a66d0a1062b1bf49669a004 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25761 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2020-12-11meta-agl-bsp: Update i.MX8MQ EVK support for latest dunfellScott Murray1-6/+6
The layer updates to go to the latest 3.1.4 Yocto dunfell release broke the imx8mqevk and imx8mqevk-viv builds, though for different reasons. imx8mqevk fixes: - Remove the now upstreamed etnaviv kernel patches that had been backported by Walter. - Turn off btrfs support in the linux-fslc-imx kernel configuration. This is required due to meta-freescale having a 5.4 kernel new enough to need a lttng-modules fix for btrfs that has not yet been backported from the Yocto master branch to dunfell. - Update the PREFERRED_VERSION over-rides in agl_imx8mqevk.inc to match the new versions of libdrm and gstreamer in poky. imx8mqevk-viv fixes: - Add weston_8.0.0.imx.bbappend to work around the broken addition of a PACKAGECONFIG_remove of "x11 wayland" in the recipe in meta-freescale. Upstream will be engaged to drive getting the change reverted. Bug-AGL: SPEC-3725 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I259f2d048a9de653a0060afcef17c4410093783a Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25772 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: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
2020-12-04Fix the -nogfx builds for the YP 3.1.4 uprevJan-Simon Moeller2-0/+5
This fixes Missing or unbuildable dependency chain was: ['agl-image-minimal-crosssdk', 'waltham-dev'] Bug-AGL: SPEC-3706 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ic80bf6cac57b53edda112f38a92884ed8506d74d Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25728 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>
2020-12-04pi4: pin kernel to 4.19 prior to the YP 3.1.4 uprevJan-Simon Moeller1-0/+3
The uprev to YP 'dunfell' 3.1.4 would change the default kernel used by the pi4. This has an effect on the DTBo's used for booting and in CI. One effect is that create-combined-dtb won't no longer build. Also we might have to change away from fkms on kernel 5.4 . Bug-AGL: SPEC-3702 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: If7353c1b9fde4ef4fe6456ce969a37e2734c5a79 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25716
2020-12-04meta-renesas: workaround recipe incompatibilities with YP 3.1.4Jan-Simon Möller1-0/+4
This adds a workaround for the strictly versioned bbappends until the BSP could be updated. Bug-AGL: SPEC-3706 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I7267974d8ea8412ad40ca9b351d03a5a107c0e3f Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25715 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>
2020-12-04meta-agl-profile-graphical: add device dependency hook in weston-initScott Murray1-0/+3
Add a mechanism in the weston-init recipe to allow machine templates to trigger installation of a systemd drop-in that adds a DRM device dependency for the weston@.service unit. Also, tweak the qemux86-64 configuration to enable doing so against dev-dri-card0.device to avoid startup failures due to the slow i915 initialization on e.g. the UpSquared. This approach has been taken since it seems safer for now to only apply it for qemux86-64 than doing a blanket default that might then need to be over-ridden for vendor BSPs. Bug-AGL: SPEC-3518 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I74ce4f878f9aa3f0d555f96a79578f3d8ca72550 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25675 ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2020-11-25Add AGL reference hardware featureScott Murray1-0/+10
Add a feature template to enable AGL H3-based reference hardware support. A feature is used as opposed to a new machine in order to meet the requirements that: * the reference hardware be bootable with a h3ulcb machine image to avoid expanding the CI test matrix * the reference hardware support be optional to not hinder Renesas BSP maintenance for the h3ulcb / h3ulcb-kf base machines If the required kernel changes for the reference hardware get upstreamed and eventually become available via the Renesas BSP this can be revisited, as the reference hardware support could then likely be reduced to just building the extra devicetree file(s). Bug-AGL: SPEC-3658 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Idcf0b8cfe8eb3c5485663ee25519a9c445362829 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25619 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-08-28meta-agl-bsp: add missing drivers/firmware for Up^2Scott Murray1-0/+10
Add drivers for the Intel mPCIe wireless sold for/with the Up^2 by upshop.org, and the associated firmware for it and various other things on the board. Bug-AGL: SPEC-3549 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I370f993b6c4f23fbc500bb713329c40c7282486a Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25154 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-08-19Add imx8mqevk machine that uses etnavivScott Murray3-19/+43
To enable debugging/development of the etnaviv driver against the GC7000L GPU in the i.MX8MQ, add a "imx8mqevk" template that uses etnaviv instead of Vivante. Since there seem to be some issues with respect to GPU hangs and resulting graphical corruption, the existing "imx8mqevk-viv" template that uses Vivante has been retained for now. Bug-AGL: SPEC-3520 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: If5b84c6021994cce0f30410985b1ec4678e718ef Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25058 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: Walter Lozano <walter.lozano@collabora.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-07-16Synopsys,HSDK: Return files for HSDK boardEvgeniy Didin1-0/+4
Lets return HSDK board support as the meta-synopsys layer now is compatible to yocto dunfell. Signed-off-by: Evgeniy Didin <didin@synopsys.com> Change-Id: I3f11b9f8f5790d2513635beb05ec8e7584ebccc4 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25024 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-07-07Remove deprecated bsp files from meta-aglJan-Simon Möller1-4/+0
- hsdk does not have a dunfell branch - meta-intel was deprecated in favour of a unified qemux86-64 target - sdcard_image-socfpga is deprecated as upstream changed to use wic Bug-AGL: SPEC-3468 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ie79fc9c379bd6260a18fe6fe0115d9ce8de1017f Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24918 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: Scott Murray <scott.murray@konsulko.com>
2020-06-24meta-agl-bsp: BBMASK meta-renesas-rcar-gen3 weston-init tweaksScott Murray1-0/+11
Mask out meta-renesas-rcar-gen3's tweaks to weston-init, as they do not seem necessary for anything in AGL, and the addition of dbus.service and multi-user.target dependencies to the weston systemd unit that is done is problematic with respect to potentially blocking weston if any user units like application framework "platform" services fail. They also likely affect boot up speed with respect to getting weston started. There is no clear rationale expressed in the meta-renesas-rcar-gen3 commit history for the extra dependencies, and testing shows no issues on H3ULCB when not having them. Bug-AGL: SPEC-3411, SPEC-3301 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I1d87017defea0bdfafd575303c6683bb23c1b75f Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24789 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-06-24Remove meta-intel in favour of qemux86-64 as combined targetJan-Simon Möller1-31/+0
the qemux86-64 target will build bootable media for x86 targets (virtual and physical). Thus we do not need another config anymore. For compatibility, do a symlink intel-corei7-64 -> qemux86-64 when selecting the machine. Bug-AGL: SPEC-2931 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I65aab61680d982ccfb1d9146bead591a6cfd1dd3 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24792 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>
2020-05-26Raspberry 4: XEN supportLeonid Lazarev1-0/+9
Added the support for DOM0 in raspberry pi4. The feature agl-virt-xen should be enabled to activate this code. 1512 MB of memory is used for DOM0 machine. There are limitations: - brcmfmac module disabled (bluethooth and Wifi) due to the crash - total_memory is set to the 3Gb, as it impacts the USB ports on rasbperry pi4 on Linux kernel 4.19 v2 (jsmoeller): make changes in virtualization-layer conditional to raspberrypi4 Bug-AGL: SPEC-3259 Change-Id: I873fbf1f5498e31ae5f468407502f16e1873f7fc Signed-off-by: Leonid Lazarev <leonid.lazarev@mera.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24522 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>
2020-05-12Update Raspberry Pi (3/4) templates to match meta-raspberrypi configurationJan-Simon Möller2-29/+26
Update the templates to use the updated flags and configuration present in meta-raspberrypi. The previous template did not properly pull-in the u-boot fragments for the RPI4. v4: the MACHINE in the AGL template for the RPI4 is now 'raspberrypi4-64' as in upstream. CI will get support-patches through releng-scripts. Bug-AGL: SPEC-3368 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ia2acb54516464d433c64adfc7ba832ccfdf899c3
2020-05-12Add i.MX8MQ EVK supportScott Murray1-0/+19
Add imx8mqevk-viv machine template for i.MX8MQ EVK which uses the default Vivante driver configuration in meta-freescale with the new community linux-fslc-imx kernel. The following additional changes have been made to support this: - A linux-fslc-imx bbappend has been added to pull in the AGL kernel configuration, and a imx8mq-evkb config fragment has been added to enable the required Wifi driver for the updated EVKB board. - Stale qtbase and weston-init bbappends/patches have been removed from meta-agl-bsp/meta-freescale-layer. - The meta-agl-profile-graphical Weston 8.0.0 bbappend has been renamed to 8.0.% so the wildcard will apply it to meta-freescale's weston_8.0.0.imx recipe. Known issues: - The required PipeWire configuration for the onboard audio needs further investigation. Bug-AGL: SPEC-3258 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I4ea5437ef0ea8bedb9dd2157f2822ff25ee56cff
2020-04-27[RCAR] use omx-user-module as libomxil providerRonan Le Martret1-0/+1
* PREFERRED_PROVIDER_virtual/libomxil is the standart way to define dependency on gstreamer1.0-omx recipes. Bug-AGL: SPEC-3328 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I061c0142f56ee4348809876c08b818944514bce3
2020-04-27meta-agl-bsp: update raspberrypi configuration for dunfellScott Murray1-3/+0
Changes: - Remove Mesa version over-ride, since dunfell has newer version. - Remove bcm2835-bootfiles SRCREV updates since dunfell has newer versions of the files. - Remove kernel SRCREV update in linux-raspberrypi_4.19.bbappend since dunfell has newer version, and add include of new linux-4.19-agl.inc to keep getting CAN qdisc patch. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I7f7a9b454de9eb4fae7075b30ee89b3aec4e6a43
2020-04-15meta-agl-bsp: restore wic disk images for qemux86-64Scott Murray1-1/+4
The cleanup done in commit de577de9 ("Consolidation of AGL_DEFAULT_IMAGE_FSTYPES after review of machine use") inadvertently removed the wic.{xz,bmap} additions that were done in commit cdbe6578 ("Extend qemux86-64 images to support real hardware"). Add them to AGL_EXTRA_IMAGE_FSTYPES for qemux86-64 so that they will be available for use on physical hardware again. Bug-AGL: SPEC-2931 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I7ea9cc195add6d015390c7b2b359234f0bfeaaea
2020-03-21Only compress vmdk in AGLCI and extend inclusion of driversJan-Simon Möller1-1/+1
To save space and download bandwith, we use the compressed format in CI. Also adapt the inclusion of the guest drivers to the compressed image. Bug-AGL: SPEC-2771 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I140fb31954be5ec2b46596a9816087d3fb670416
2020-03-18Consolidation of AGL_DEFAULT_IMAGE_FSTYPES after review of machine useJan-Simon Moeller12-21/+2
After reviewing what all machines actually specify as 'extra', the conclusion was that the actual 'default' is 'wic.xz' . Consequently make this the new default and remove it from the board configs. v2: add ext4/ext4.xz for netboot feature Bug-AGL: SPEC-2771 Change-Id: I082f87a07dcacb962d10efd90ba2476f87896302 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-03-18Support Salvator-X/XS boardDuy Dang11-12/+44
Add new machines to build with AGL: - h3-salvator-x-nogfx - h3-salvator-x - m3-salvator-x-nogfx - m3-salvator-x Bug-AGL: SPEC-3169 Change-Id: I0cfa838ad40f8afda01aeb693fbf595bad8b4730 Signed-off-by: Duy Dang <duy.dang.yw@renesas.com>
2020-03-12Enable Xen for m3ulcbJérémy Fanguède2-0/+7
Xen is enabled for the R-Car M3 ulcb board only. Note that it is optional to run Xen, the non-Xen binaries are still there and can be run exactly as before. Bug-AGL: SPEC-2912 Change-Id: Ica57afd4d067de4ed752c0c46a04e11584aeec41 Signed-off-by: Jérémy Fanguède <j.fanguede@virtualopensystems.com>
2020-02-14Rename dtb nameMinori Yasumura1-1/+1
Because the device tree has been renamed, we must rename it accordingly. Bug-AGL: SPEC-3097 Change-Id: Ic9ceee7df53880fa24f172c7c3a2ab76500e5a99 Signed-off-by: Minori Yasumura <minori@witz-inc.co.jp>
2020-01-21Extend qemux86-64 images to support real hardwarePaul Barker1-2/+2
* Build wic images for qemux86-64 which can be written to a USB stick or SD card. * Support both virtual and physical displays for all qemu targets. * Use a wks file which works on both virtual and physical machines. EFI is now required to boot the VMDK image. * Drop inclusion of `microcode.cpio` in the boot partition in the wic file `systemd-intel-corei7-64-bootdisk.wks`. This file is not available for qemux86-64 images and is not strictly necessary. Bug-AGL: SPEC-2931 Change-Id: Ib3982906e52d3a964a921c9a2234cab697fe0551 Signed-off-by: Paul Barker <pbarker@konsulko.com>
2019-12-03Extend intel-corei7-64 machine to support virtual targetsPaul Barker1-1/+15
These changes allow images built for the intel-corei7-64 machine to be booted under qemu (by using the normal `runqemu` command) and vmware or virtualbox after a build. Functionality on real hardware should not be compromised. Bug-AGL: SPEC-2931 Change-Id: If25782bf59e145cab32a4c9a0e39b599106ce7cc Signed-off-by: Paul Barker <pbarker@konsulko.com>
2019-11-19Support meta-ti 2019.04 releasePaul Barker3-12/+3
* The libgbm recipe has disappeared. "virtual/libgbm" is now provided by ti-sgx-ddk-um. * Update ti-sgx-ddk-km and adapt the AGL toolchain support to fit with the upstream Makefile changes. Change-Id: I2744868b466306cf2c1cb458a6889ab2043f9421 Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>
2019-11-05agl_raspberrypi3.inc: Switch to firmware KMSLeon Anavi1-0/+11
Swith to firmware KMS with appropriate Linux kernel and Mesa version to support both HDMI and the official 7" Raspberry Pi touch screen display on Raspberry Pi 3B/B+ and 4. Device tree changes are not required for firmware KMS. Bug-AGL: SPEC-2465 Change-Id: I5f8f62c0151b7eb79ab1f96419d9c62469a1554e Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2019-10-14meta-agl-bsp: Update PACKAGES_GFX_* for TI boardsPaul Barker3-3/+3
After updating the meta-ti layer to the ti2019.03 release, the 'omapdrm-pvr' package will no longer be defined. As the recipe is already called 'ti-sgx-ddk-km' this change can be applied before updating meta-ti. Change-Id: Ie875a2a6d8a7b2f24460943558160f8aa37f544d Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>
2019-09-05Add nogfx build for h3ulcbJan-Simon Moeller1-0/+10
Before we can add the h3 to CI we need a -nogfx build. v3: leave the BBMASK in the board specific file due to inc file stacking. Change-Id: Ic59784aa143e3346d2f999060214411497fc1b54 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2019-09-04Revert "Add nogfx build for h3ulcb"Jan-Simon Moeller3-10/+5
This seems to have broken master. Needs to be edited. Thus revert and resubmit. This reverts commit dd21b3a6e340006d2ef4036cabf33c9e9a66e9ac. Change-Id: I2423dacba83813cc6350096c89d80cf1d23e9568
2019-09-03Add nogfx build for h3ulcbJan-Simon Moeller3-5/+10
Before we can add the h3 to CI we need a -nogfx build. v2: moved common bits Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I9d64764fbe69dc901dc91941db1deb0073e2ae9c
2019-08-30agl_raspberrypi3.inc: Set CMA for SOTALeon Anavi1-0/+2
Add CMA to the kernel arguments in uEnv.txt for U-Boot in images with enabled feature agl-sota for software-over-the-air (SOTA) updates for Raspberry Pi 3 B/B+. Bug-AGL: SPEC-2729 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Change-Id: Id6914de6a41ebfd3fc28ca2948a15d891c9a30b3
2019-07-25intel-corei7-64: Remove ttyS2 from SERIAL_CONSOLESScott Murray1-0/+2
Remove ttyS2 from SERIAL_CONSOLES in the intel-corei7-64 include file. This quiets the log spamming on Up^2 from the device not being present. The commit that added ttyS2 to SERIAL_CONSOLES in meta-intel (61634f8) does not explain what boards need it, but since neither the minnowboard or Up^2 do, not having it by default seems reasonable. Bug-AGL: SPEC-2678 Change-Id: I9afd1584dd7b92e8d15363c3119b770c592b3c52 Signed-off-by: Scott Murray <scott.murray@konsulko.com>