aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-support
AgeCommit message (Collapse)AuthorFilesLines
2023-04-20Add helper to enable both displays in qemuJan-Simon Moeller1-0/+14
This supports testing the drm-leasemanager in qemu. We can bring up two outputs, but the 2nd output is disabled until it is connected. See https://jira.automotivelinux.org/browse/SPEC-4464 and https://gitlab.com/qemu-project/qemu/-/issues/1107 This adds a helper tool that will bring up the 2nd screen. Bug-AGL: SPEC-4464 Change-Id: I145a1b947916337daa9c8e7aed38e64919b35df8 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2023-01-29rng-tools: disable jitter entropy generation in VMsScott Murray3-0/+9
Add a bbappend for rng-tools that disables jitter entropy generation for virtio-all machines, as it provides little value in virtual machines that are dependent on the host entropy anyways, and slows their booting very significantly. Bug-AGL: SPEC-4618 Change-Id: Ia61917253b69f37b003c617d4203c823dd51bb6c Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit ebeba2f0667d7195597d9131a12d880d503a399a)
2022-07-06sllin: switch to updated upstreamScott Murray1-2/+2
Changes: - Switch the SRC_URI of the sllin driver recipe to point at the new revived upstream location, update to their latest commit to get newer kernel support, and drop all the now unnecessary local patches. - Added a patch to fix compilation against 5.4 kernels before 5.4.110. This will be worked with upstream as time permits. - Rename the sllin driver recipe with a _git suffix to match OE style expectations. - Added the sllin driver to packagegroup-agl-demo as was being done in previous releases. - Split the demo script + service unit and lin_config configuration out of the sllin driver recipe into a new sllin-demo recipe so that they're no longer conflated. This should make it easier for others to reuse the sllin driver recipe. - Update the SRC_URI and SRCREV of the lin_config recipe to also point at the new upstream location/version since it comes out of the same repository. - Add the new master mode "-m" flag to the lin_config command line in the start_lin_demo.sh script (now in sllin-demo). This turns out to be required for our demo usecase as upstream seem to have inadvertently changed the default behavior. Bug-AGL: SPEC-4404 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: If42a825e65d93b3fa11cfddd5d6b33ec410f7cc4
2022-04-13Update to SPDX license namesScott Murray1-1/+1
Apply updates from running the new convert-spdx-licenses script from upstream. This is not currently a hard requirement from upstream, but futureproofs for when the license name mapping is finally removed. Additionally, a few license declarations of just "BSD" have been updated with the more specifc "BSD-3-Clause" after inspecting the licenses in the source, as the non-specific name now triggers a warning. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ia86d412fe76ff3217456fcea81cb44f68bc1ced8
2021-11-03Prepare master for new framework integrationJan-Simon Möller4-8/+0
During the last workshop the transition to the new framework was presented. This change essentially deprecates the SMACK-based application framework. To prepare the integration of it, we remove the deprecated components: - recipes-apis : all agl-service-* - recipes-demos: all demo apps but homescreen - non-essential configurations Todo: We need to bring-back the html5 image in a follow-up w/o ties into the old framework. v2: kept WAM + Chromium recipes for reference v3: rebased Bug-AGL: SPEC-4121 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I58075f5f1e477106a1aad3d2171a0904bf0cb16e
2021-11-03Update github.com git:// SRC_URIsmarlin_12.90.1marlin/12.90.112.90.1Scott Murray1-1/+1
GitHub is dropping unauthenticated git protocol access in January 2022, per: https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git While a workaround in the BitBake git fetcher is forthcoming, not specifying protocol=https for github.com git:// SRC_URIs will start resulting in warnings in Yocto 3.5/Kirkstone. To ease our upgrade path, go ahead and update our affected SRC_URIs. Note that this has been done by running the scripts/contrib/convert-srcuri.py script from latest poky, which also makes git branch specification explicit since the git fetcher is likely to require that in the future due to widespread switches from master to main branches. Bug-AGL: SPEC-4126 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ibfa59ef83db75f95c4b47b28213b60d8cf19fba1
2021-08-20Convert to new override syntaxScott Murray3-8/+8
This is the result of running a slightly customized version of the convert-overrides.py script from poky with additional overrides added. The intent of these changes is to minimize the effort to keep the "next" branch that builds against poky master up to date and tested in preparation for the switch to the next Yocto LTS release in early 2022. Bug-AGL: SPEC-4052 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I6eeadd2c985c008b04f8f9815bf0f6fb064bedac
2021-03-02lin-config: update LIC_CHKSUM_FILEScott Murray1-1/+1
Upstream has renamed the common license files, update LIC_CHKSUM_FILE to instead use the copyright header present in the source. Bug-AGL: SPEC-3819 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I6ee7293a0ccffd986cb04527a47a12342c26e703
2020-12-17SPEC-3723: restructure meta-agl-demoJan-Simon Moeller9-0/+143
All demo related components should be in here now. We keep the packagegroups on purpose for now to stay backward-compatible. v2: layer does pass yocto-check-layer, dependencies adapted v3: remove the dynamic-layer setup, use all-in-one approach v4: Fixed comments from Paul Barker. Tnx! v5: Removed wayland/weston/agl-compositor additions, except for demo specific weston-init bbappend Follow-up changes required later: - massaging packagegroups - scrub of recipes Bug-AGL: SPEC-3723 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I47cefd8c23d46b2cdd063470e3f7d97d5ad952d8
2020-04-21Remove vboxguestdrivers recipeScott Murray2-126/+0
Remove local vboxguestdrivers recipe as a newer version is available in meta-oe in dunfell. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I33173cb0524e8e9cac137e730aecdb7b51a60cd0
2020-01-27vboxguestdrivers: upgrade to 6.1.2Scott Murray1-6/+12
The previously backported 6.0.10 version of the vboxguestdrivers recipe does not build against newer kernels, and meta-oe still just has 5.2.22, so backport the 6.1.2 recipe from meta-oe master branch commit df61601. Bug-AGL: SPEC-2932 Change-Id: I258636ed6a4afe6edb7959480b18fc5e38438e99 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-11-06Update LIN demo to use lin-configScott Murray2-5/+23
Changes include: - Add patch to fix lin-config recipe build QA error. - Tweak lin-config recipe to install lin_config as executable. - Rework sllin-demo systemd unit and start_lin_demo.sh script to use lin_config with an appropriate configuration file that enables polling of the steering wheel adapter instead of just using ldattach. Bug-AGL: SPEC-2918 Change-Id: I3258b7e34cecbbb1cfb93ea6f63a44f0bbb2c06f Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-10-23Add lin-config tool to facilitate pollingJan-Simon Möller2-0/+60
This tool allows to setup the BCM in the linux kernel to poll the lin bus. This is needed to query the steering wheel. Bug-AGL: SPEC-2918 . Change-Id: I4887c0d179b4e93aa7bae6406057a8bd8ba79999 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-09-26vboxguestdrivers: add vboxguestdrivers 6.0.10 recipeMatt Ranostay2-0/+120
VirtualBox 6.0.x has improved graphics support but need a more recent version of the vboxguestdrivers drivers to utilize. Bug-AGL: SPEC-2830 Change-Id: I0989904c913a0e9ce5d9cf4c60f259a8f037ba7c Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-282nd part of the layer/profile rework [2/2]Jan-Simon Möller6-100/+0
Main goal of this is to move the agl-service-* bindings into the core and to unify common recipes like wayland/weston into meta-agl-profile-graphical. As a placeholder for recipes is meta-agl-profile-demo which are being reshuffled. TLDR: remove recipes from meta-agl-demo that were moved to other layers Bug-AGL: SPEC-145 , SPEC-876 , SPEC-877 v2: moving updated udisks changes to meta-agl Change-Id: I873107f00adadeb6f3f266cce37b513fe6d44cf2 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-04-27udisks: services: change default.target to multi-user.targetMatt Ranostay2-3/+3
To allow running as system service changes Wants= field to multi-user.target Change-Id: I321e8ff88f273f3f36cd2b62a00037f3ece83d9d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-04-10udisks: automount.sh: mount disks with no partitionsMatt Ranostay1-1/+1
Some media disks may not have a partition table and only have a file systems (i.e. /dev/sdX vs /dev/sdX1) allow automounting of those. Change-Id: I5b38264fb4c11f945e811a700fa00adf74011ec1 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-01-23opencv: Rename .bbappend to match new version from meta-openembeddedChanghyeok Bae1-0/+0
Bug-AGL: SPEC-1181 Change-Id: I5ead5abbb6717d0a85ed67b083af766d677cd469 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2017-10-12udisk: automount: correct automount on bootupMatt Ranostay1-1/+1
Having the drive mounted ro,sync was causing the label not to be picked up with vfat filesystems on boot but ro,flush solves this. Which is the more correct solution since it is mounted read only. Bug-AGL: SPEC-947 Change-Id: I336c1db17a16902003a989d0e4dd76ee12c831b6 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-09-28packagegroup-agl-appfw-graphics: Add opencvTom Rini1-0/+1
We add support for a relatively minimal opencv library to the appfw-grahpics packagegroup. As part of this, we set the PACKAGECONFIG for opencv to a minimal level that enables support for things we already have in the system as well as using V4L devices. Additional features that are normally enabled in OpenEmbedded are left out. Bug-AGL: SPEC-912 Change-Id: Iae4480420ccb619ef79f45de30c86e05831e70f9 Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com> Signed-off-by: Tom Rini <trini@konsulko.com>
2017-07-09udisks: make automount it's own serviceMatt Ranostay4-2/+20
To avoid a timeout condition in udisks.service the automount script needs to be ran as it's own systemd service. Bug-AGL: SPEC-735 Change-Id: Idbfb21b1a2fccfa55ac149830d4af591222b697d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-06-23udisks: automount USB devices on boot and insertionMatt Ranostay3-0/+24
Change-Id: I1ded68d89799825286d085746fec778e1659d5d4 Bug-AGL: SPEC-634 SPEC-666 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2017-04-22udisks: auto enable systemd serviceMatt Ranostay3-0/+57
MediaPlayer needs udisks to be running on startup to detect media removal Bug-AGL: SPEC-483 Change-Id: I57389d3af8f4d2600baa2b24d437646ed1c7414e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2016-12-28Remove empty foldersJan-Simon Möller1-0/+0
This changeset removes empty folders that we kept until now as placeholders for recipes or append files. We do not need them currently and they're likely to stay unused. Change-Id: Iaaf1c1c36506bcb76b668a73037b3378015854ef Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2015-08-22The starting point of layers for AGL Demo PlatformTadao Tanikawa1-0/+0
The `meta-agl-demo` is the Yocto layer for AGL Demo Platform of Automotive Grade Linux. This is starting point. Almost all packagegroups which should be defined in this layer are still empty (placeholder), so that curretly bitbake target `agl-demo-platform` is completely equal to `agl-image-ivi` in `meta-agl`. Change-Id: I6ce2c046cc8ce2dc5af2a8afe66e1f577dd884eb Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>