summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
AgeCommit message (Collapse)AuthorFilesLines
2020-07-14[RCAR] Change default of the kf build imageRonan Le Martret1-0/+2
To avoid confusion between image builded with or without kingfisher support we need to, at least, change the name of the builded image. Bug-AGL: SPEC-3443 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I35e4f0a5f856543ecaba6e30b62b11f4a149ea9f Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24974 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: Stéphane Desneux <stephane.desneux@iot.bzh> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-07-14[RCAR] Fix salvator-x buildRonan Le Martret1-2/+2
- We need a fix to build the package perf for salvator-x (m3/h3). This fix already exists but it was apllied for ulcb machine. Change-Id: Ia42a8c0e3bdd7e6aaf844b1931d2c2df85b9dabf Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24961 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-07Use the correct BBFILE_PATTERN for meta-rcar-gen3-adasJan-Simon Möller1-1/+1
We have multiple entries to cover, fix the BBFILE_PATTERN . Bug-AGL: SPEC-3443 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I2fe95bf183fafa776668a63f9e28775a6f0547e0 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24916 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2020-07-07Readd the radio packages in the local.conf includeJan-Simon Möller1-0/+9
We need to see if we leave it as generic IMAGE_INSTALL_append here or do it elsewhere. For now this is a straightforward migration and helps clean-up the layer.conf . Bug-AGL: SPEC-3443 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: If7a482dc411ba7fc4d172f8fdf8493b81475ea93 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24915 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2020-07-07Apply the perf fix only when meta-rcar-gen3-adas is not presentJan-Simon Möller2-13/+8
Currently the upstream rcar bsp does need the fix for building perf. The meta-rcar-gen3-adas layer contains a fix in the big patchqueue. Thus conditionally apply the perf build fix. Bug-AGL: SPEC-3443 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Icbf53add71ed731c35dec149841691c82ae4372c Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24914 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2020-07-07Revert temp fix of perf build and weston bbappendJan-Simon Moeller2-2/+4
We need to evaluate if and where we need to place the perf fix or if upstream includes it. Likewise for the weston bbappend. Bug-AGL: SPEC-3443 Change-Id: I78fb37bc3b0d4531c70e71d70c6663de1ab0d987 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24911 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2020-07-07Optee_os recipes modification et al.Jan-Simon Moeller6-0/+222
Port of three optee patches: - https://git.automotivelinux.org/AGL/meta-renesas-rcar-gen3/commit/?id=a9eb8fa93867b8012e0e2d520961221a2a3ffffa - https://git.automotivelinux.org/AGL/meta-renesas-rcar-gen3/commit/?id=88d94ef02988376c22bf493e40ba339b2572236e - https://git.automotivelinux.org/AGL/meta-renesas-rcar-gen3/commit/?id=0ba07a07e5847381c776fc07688707f1feff5a56 Bug-AGL: SPEC-3443 Change-Id: I1d49a2cf632f1f64cb66178f4899b1354b62b2a3 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24910 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2020-07-07Add driver control checksumJan-Simon Moeller14-0/+57
Port of https://git.automotivelinux.org/AGL/meta-renesas-rcar-gen3/commit/?id=9e58bd97144ab56a7858c6cd2206d3bd793bb09e Original commit message: * As the driver files come from out of git repository, we need to check driver file integrity. FormerChange-Id: I46f2a281f8da1ae606e8ae1ee55324fd5fd9b772 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Bug-AGL: SPEC-3443 Change-Id: If8cb040cae4ca227b883f4cdf250e3afec503976 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24909 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2020-07-07Use upstream meta-renesas from github and update meta-rcar-gen3-adas integrationJan-Simon Moeller17-71/+222
Thanks to the work done by Renesas and members of our community, we can now directly use meta-renesas from upstream github. A shout-out to everyone involved (Kurokawa-san, Ronan, Stephane). It turned-out it is simpler to create a symlink-based slim version of meta-rcar-gen3-adas layer instead of BBMASK'ing what should not be in there. See the comments in meta-agl-bsp/meta-rcar-gen3-adas/conf/NOTES as to why. Remaining work is to include the packages outside of the layer.conf in a follow-up. Bug-AGL: SPEC-3380 Change-Id: I2be1b44049d74146546380e2eb866f0558a26822 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24796 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2020-07-07Remove deprecated bsp files from meta-aglJan-Simon Möller14-357/+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-30[RCAR] adjust asound.state for new Cogent BSP 3.21/YP3.1Ronan Le Martret1-0/+3
The meta-rcar has a patch that change the name of the sound card. Reintroduce the Cogent layer "meta-rcar" into AGL mean adjust the sound card name. Bug-AGL: SPEC-3463 Change-Id: I4ff025752314fdbebbdae39c66280943304daefc Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24760 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2020-06-25Merge "Merge the agl-compositor sandbox into master"Jan-Simon Moeller1-0/+11
2020-06-25Mask the recipe in meta-rcar-gen3-adas incompatible with YP 3.1.1Jan-Simon Möller1-0/+2
There is a bbappend in the cogent layer which is not forward-compatible with YP 'dunfell' 3.1.1 . BBMASK it until upstream did fix it. Bug-AGL: SPEC-3445 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: Ib301bb14e53a37f445c74461982fbbc24bcdae2f Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24861 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-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-06-03agl-virt-guest-xen feature for qemuarm64Leonid Lazarev2-4/+34
Add feature agl-virt-guest-xen to allow to prepare Xen DomU images for arm64 targets. Bug-AGL: SPEC-3384 Signed-off-by: Leonid Lazarev <leonid.lazarev@mera.com> Change-Id: I9e5a4b768ab8ea8629e56075550f9d5fdd64e562 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24560 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2020-06-03Fix FTBS of sdk due to missing azure-macro-utils-c package when installing ↵maratsabitov1-0/+1
azure-macro-utils-c-dev ALLOW_EMPTY_${PN} = "1" to enforce the package generation v2 (jsmoeller): just fixed the version wildcard. Bug-AGL: SPEC-3407 Signed-off-by: maratsabitov <marat.sabitov@mera.com> Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: Ie6b142a8b103922ce7c5281601e5b6c0e35634d2 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24612 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-28[RCAR] adjust asound.state for new BSP 3.21/YP3.1Stephane Desneux2-8/+5
Alsa sound card name has changed in BSP 3.21 for YP3.1: old name 'ak4613' has been replaced by 'rcarsound'. Specific fix for Ebisu board also becomes useless (alsa-state.bbappenda) and is removed. This change adjusts the card name while keeping the volume levels as before: * 20% on DVC Out * 10% on DVC In Bug-AGL: SPEC-3380 Change-Id: Ic23c9b4c218ab275d5bd299911886cb40ebc8dc1 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24572 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-05-28[RCAR] Update rcar drivers to BSP 3.21.0 (weston8)Stephane Desneux1-2/+2
Update new rcar drivers in setup_mm_packages.sh: - R-Car_Gen3_Series_Evaluation_Software_Package_of_Linux_Drivers-weston8-20191021.zip - R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-weston8-20191206.zip Bug-AGL: SPEC-3380 Change-Id: I563eef45d99a0bb888b2d2ef11f241f77506c8ec Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24559 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-05-26Raspberry 4: XEN supportLeonid Lazarev13-3/+263
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-26Cluster demo support updatesScott Murray2-6/+6
Changes include: - Add agl-weston-remoting feature that sets "weston-remoting" distro feature. The intent is to replace agl-gstrecorder in meta-agl-devel with something more generic. - Add weston remoting initialization timing patch to weston bbappend in meta-agl-profile-graphical, conditional on "weston-remoting" distro feature. - The 0004-unconditionally-include-mman.h.patch weston patch is no longer required after the SMACK labeling changes, remove it as cleanup. - Enable the weston "remoting" PACKAGECONFIG in weston bbappend, also conditional on "weston-remoting". A redefinition of the "remoting" PACKAGECONFIG option is required to fix a recipe bug that will have a fix sent upstream. - Rename virtualoutput.cfg weston.ini fragment to remote-output.cfg to better reflect its current contents. Bug-AGL: SPEC-3395 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I9c0579670d81296492b3b8bed93aafb3f7ffc15c Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24567 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-05-22Fix FTBS of sdk due to missing umock-c package when installing umock-c-devJan-Simon Möller1-0/+1
umock-c-dev has a built-in dependency to umock-c by default. Previously there was no 'umock-c' package as all was shipped as headers/cmake in -dev and a -staticdev package only. ALLOW_EMPTY_${PN} = "1" will enforce the package generation. This will be discussed with upstream on how to fix the package. Bug-AGL: SPEC-3391 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Change-Id: I2429ae1fe77e6dcfb630a78ffc420046593b952f Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24565 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>
2020-05-12Update Raspberry Pi (3/4) templates to match meta-raspberrypi configurationJan-Simon Möller4-191/+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 Murray6-23/+44
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-05-12linux: Enable kernel configs for SystemTapKenji Hosokawa2-0/+13
Some of required kernel configs to use SystemTap are not enabled by default. It is nessesary to rebuld and replace kernei before using it. This commit will avoid it. v2: Make the change conditional to 'agl-devel' and not apply in production. Bug-AGL: SPEC-3360 Signed-off-by: Kenji Hosokawa <khosokawa@jp.adit-jv.com> Change-Id: Ida74b9ee9de0be3c06683e3a04ad424d5ae3e9e6
2020-05-04meta-agl-bsp: extend qemux86-64 hardware supportScott Murray6-0/+152
Copy extra hardware support kernel configuration fragments used with meta-intel for intel-corei7-64 machine over to also use them with qemux86-64, and add apparently now required LPSS configuration options to x86-upsquared.cfg to fix serial console support. Bug-AGL: SPEC-3353 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Iabcd7701f6967c877b295c09c1d328d69c4d0deb
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: dra7xx-evm/beaglebone updates for dunfellScott Murray1-0/+0
Changes: - Rename weston bbappend for weston 8.0.0 in dunfell. - meta-ti now requires the meta-arm layer as the upstream source of the optee recipe, so add it to bblayers.conf in the machine templates. This is dependent on a manifest update to add meta-arm. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ib6b40d3aa1d2b04239b6e5343eb818f3f49af8ef
2020-04-27meta-agl-bsp: remove obsolete linux-fslc-imx bbappendScott Murray1-23/+0
meta-freescale has removed the linux-fslc-imx recipe in its master and dunfell branches, so remove the local bbappend to avoid parse errors. That kernel is currently not used by any machine template in-tree, so there should be no impact. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Iea9a5ae11ef90f5ce217ac5b379b133c6d0948a8
2020-04-27meta-agl-bsp: update raspberrypi configuration for dunfellScott Murray4-20/+1
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-27meta-agl-{bsp,distro}: update kernel configuration for dunfellScott Murray5-63/+6
Changes: - Rework CAN qdisc patch application, as it is not required for 5.4 or newer kernels, this includes adding a linux-agl-4.19.inc for BSPs using 4.19. - Remove linux-agl-4.9.inc and associated patches, as no BSP uses 4.9 at this point. - Remove PREFERRED_VERSION_linux-yocto from poky-agl.conf so the default 5.4 linux-yocto kernel will be picked up. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I9c0eb431661641bd17320a00cdf1ed4e717a9754
2020-04-27meta-agl-bsp: remove 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: I3a7ff17a4bcae2f38a4876aeeed7b5880636ac5b
2020-04-27Declare layer compatibility for dunfellScott Murray2-2/+2
For the upgrade to YP dunfell/3.1 we need to update the layer compatibility. Bug-AGL: SPEC-3302 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ieb1ac9ef1f48f077c9cd312c4ac295ae1cc062b0
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-31Use top-level LICENSE files for each repoJan-Simon Moeller3-0/+333
We re-use the OpenEmbedded / Yocto Project style to declare the licenses more prominently in the top level folders. LICENSE is derived from poky's LICENSE file. Bug-AGL: SPEC-3295 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I059b5b42beb0d422ad2e679e958588240b5d8989
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 Dang20-21/+109
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-18linux-agl: add pfifo patchset for fixing CAN failuresMatt Ranostay4-0/+109
Backported upstream patchset to fix CAN failures with SocketCAN * net: sch_generic: Use pfifo_fast as fallback scheduler for CAN hardware Additional patchset for 4.14 kernels to bring in needed if_afp.h header Bug-AGL: SPEC-3171 Change-Id: I1ddb75d1aca64861cfc52f1df4ff810bd0367ab9 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.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-03-12meta-rcar-gen3: Add Xen specific device tree for m3ulcbJérémy Fanguède3-0/+103
Provide a specific version of the device tree (appended with -xen) to run with Xen. Only the R-Car m3ulcb board is supported and tested so far. Add also the Xen block device backend support in the kernel, to be able to run block device based DomU. From U-Boot, Xen and Linux Dom0 can be run as follows (assuming binaries are in sdcard first partition): > setenv bootargs > fatload mmc 0:1 0x48080000 xen-m3ulcb.uImage > fatload mmc 0:1 0x48000000 r8a7796-m3ulcb-xen.dtb > fatload mmc 0:1 0x7a000000 Image-m3ulcb.bin > bootm 0x48080000 - 0x48000000 The Linux Dom0 bootargs are hardcoded in the device tree, the rootfs is expected to be on /dev/mmcblk1p2 Bug-AGL: SPEC-2912 Change-Id: Ia86e0789650eaf79d13691cf4f53755c8cb8f06c Signed-off-by: Jérémy Fanguède <j.fanguede@virtualopensystems.com>
2020-03-12Add vboxguestdriver recipe to meta-agl-bsp instead of meta-agl-demoJan-Simon Moeller3-1/+126
The drivers will also be needed for the html5 image. Move them to a common layer. Bug-AGL: SPEC-3170 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Change-Id: I9bcfc3b7569b3108442df4e64ec61da0054e4a44
2020-03-04meta-agl-bsp: Define Xen recipeJérémy Fanguède2-0/+35
Provide Xen support for Arm64 boards, tested with the R-Car M3 ulcb board. Xen v4.13.0 stable version is compiled. A new binary is deployed, named "xen-${MACHINE}.uImage" that can be loaded and run by U-Boot. v2: rework to split u-boot mkimage part a separate recipe so we can keep the diff of the xen recipe at a minimum. Bug-AGL: SPEC-2912 Change-Id: I68d2af74d31ee310686645c8a5ae11b0201448b2 Signed-off-by: Jérémy Fanguède <j.fanguede@virtualopensystems.com> Signed-off-by: Michele Paolino <m.paolino@virtualopensystems.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2020-02-26rpi4-base.inc: KERNEL_DEVICETREE for rpi4 and sotaLeon Anavi1-0/+4
Use different dtb and dtbo files for Raspberry Pi 4 when agl-sota is enabled. This modification is required for successfully building a kernel because in AGL machine raspberrypi4 is for 64-bit image and in class sota_raspberrypi layer meta-updater the same machine name is targeting 32-bit image. Bug-AGL: SPEC-3130 Change-Id: I5fd4bccfe605fea4e14499183279032a8bf0562e Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2020-02-21Merge remote-tracking branch 'agl/next'Jan-Simon Möller70-3895/+214
* agl/next: meta-agl-bsp: Add CONFIG_LSM workaround for 5.1+ kernels meta-agl-profile-cluster-qt5: disable qtbase patches zeus updates for dragonboard-410c meta-security: activates dbus-cynagora recipes-graphics/wayland/weston: Expose weston_output_damage() meta-agl-profile-core: tweak udisks2 configuration for AGL meta-agl-bsp/meta-arago: update weston bbappend [RCAR] Update rcar driver weston 7 bsp 3.21.0 [RCAR] Update rcar driver weston 7 bsp 3.21.0 [RCAR] Split ADSP path for ulcb and ulcb-kf Fix nss-localuser post install meta-agl-bsp: meta-raspberrypi: handle zeus upgrade meta-agl-profile-core: add patch for systemd-udevd SECLABEL crash meta-security: disable dbus-cynara patches meta-agl-bsp: handle ptest-runner upgrade meta-agl-distro: Add inc file for next branch over-rides meta-agl-distro: BBMASK problematic upstream meta-security bbappend meta-agl-distro: prefer linux-yocto 4.19 LTS kernel meta-agl-profile-graphical-qt5: enable qt5location services meta-agl-profile-core: update most recipe meta-agl-profile-core: update neardal recipe Update base local.conf.sample meta-agl-profile-graphical: don't always build agl-compositor meta-agl-profile-graphical: update weston and weston-init meta-agl-profile-graphical: update wayland-ivi-extension for weston 7.0.0 meta-agl-distro: add polkit to DISTRO_FEATURES meta-agl-profile-core: update fontconfig bbappend meta-agl-profile-core: switch to udisks2 meta-security: handle systemd upgrade meta-agl-profile-graphical-qt5: handle qtwayland upgrade meta-agl-profile-core: handle freetype upgrade meta-agl-bsp meta-agl-profile-core: upgrade to opencv 4.x meta-agl-profile-core: update rtl-sdr recipe for zeus meta-security meta-app-framework: handle xmlsec1 upgrade meta-agl-profile-graphical: upgrade to gstreamer 1.16 meta-agl-profile-core: remove libmicrohttpd backport meta-agl-profile-core: remove backported curl and nghttp2 recipes meta-agl-profile-core: remove libnfc recipe meta-agl-profile-core: remove connman backport meta-agl-profile-graphical: remove weston 5.0.0 patches meta-agl-profile-core: remove old glibc patch meta-agl-bsp/meta-intel: remove linux-firmware_git.bbappend meta-agl-bsp: remove weston and wayland-protocols backports meta-app-framework: remove libzip recipe meta-security: remove keyutils recipe Declare layer compatibility with zeus Change-Id: Ie8ee1e37958279e7cf2d503c54ffacb46ba0c31c
2020-02-17meta-agl-bsp: Add CONFIG_LSM workaround for 5.1+ kernelsScott Murray1-0/+3
Add explicit clearing of CONFIG_LSM before running "make oldconfig" in the do_configure_append added by linux-agl.inc. This ensures that the derived value of CONFIG_LSM will reflect configuration changes done by the merged AGL provided fragments, i.e. SMACK being enabled. Without it, kernel recipes that are not based on linux-yocto.bbclass or have their own fragment handling done via prepend will end up with an incorrect value of CONFIG_LSM which effectively disables SMACK. Examples include the linux-imx or linux-fslc kernels used by NXP. Bug-AGL: SPEC-2932 Change-Id: Id99906e3de75128ebc54866d43d89d3a24bb1cf2 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-02-17zeus updates for dragonboard-410cScott Murray1-0/+0
Changes: - Update BBMASK definition in template to avoid new warning. - Rename linux-linaro-qcomlt bbappend to use a wildcard to cover both the new 5.4 kernel in meta-qcom and still the older 4.x kernels in that BSP that a user might configure instead. Bug-AGL: SPEC-2932 Change-Id: I8a735a38409822e7069cc84bc2a42c06d351a278 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2020-02-14Rename dtb nameMinori Yasumura3-3/+3
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-02-12[RCAR] Fix recipes path for SOTA buildRonan Le Martret2-0/+26
- For SOTA we need to use ${nonarch_base_libdir} instead of /lib Change-Id: I84fbbe44abd9f3a3752b555791c8e1e06c755a9b Bug-AGL: SPEC-3097 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2020-02-07meta-agl-bsp/meta-arago: update weston bbappendScott Murray8-134/+109
Update weston bbappend orginally from meta-arago/meta-arago-distro to work with zeus. The new weston_7.0.0.bbappend is based on the version from meta-arago's zeus branch as of commit 9646a5e, with some edits to remove unneeded patches after discussion with the meta-ti / meta-arago maintainer. Bug-AGL: SPEC-2932 Change-Id: Ia0a719b1fc7ed2f31c40a2b491cfc5e4b0f71cd0 Signed-off-by: Scott Murray <scott.murray@konsulko.com>