summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-rcar-gen3
AgeCommit message (Collapse)AuthorFilesLines
2020-12-08Renesas: Adapt setup script following changesFrederic Marec1-1/+7
Renesas website change for a new one. We need to change the name of downloaded drivers because of that. Bug-AGL: SPEC-3715 Change-Id: I7f2ab0335709aa5dee895e6169692e23a9a2f099 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25737 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: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-12-04meta-renesas: workaround recipe incompatibilities with YP 3.1.4Jan-Simon Möller4-0/+185
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-11-04Revert "[RCAR] Fix gcc 10 build failed on u-boot and kernel."Ronan Le Martret4-89/+0
Bug-AGL: SPEC-3674 This reverts commit 66814faec0f8e589b48af8c22a70d94d96bf0957. Change-Id: Iad269aac57a58d909ab5ea97110538e5a89cab80 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25499 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>
2020-10-19[RCAR] Update Renesas BSP to v4.1.0Ronan Le Martret3-15/+15
Bug-AGL: [SPEC-3617] Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: Ic1f4c424f76ff5c357752e32aa8a47ff805273dc Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25417 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: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2020-10-15[RCAR] Fix gcc 10 build failed on u-boot and kernel.Ronan Le Martret4-0/+89
* cherry pick upstream patch to fix u-boot and linux kernel on gcc 10 build issue. Bug-AGL: [SPEC-3617] Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I0c85938287861a8efc328b5c08bbf364027f6473 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25416 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> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2020-10-15[RCAR] Fix smack rule for pvr deviceRonan Le Martret1-0/+5
The GL driver needs to access to the powervr sync device /dev/pvr_sync (provided by gles-user-module). If a graphic application wants access to display (SupplementaryGroups=display), and so GL access, the ACL on /dev/pvr_sync must have: - a smack label "*" - a dac (group display) m3ulcb:~# ls -lZ /dev/pvr_sync crw-rw----. 1 root display * 10, 59 Jun 29 03:06 /dev/pvr_sync Bug-AGL: [SPEC-3617] Change-Id: Ia6472424ac07c60a5c16cb6f48174481e8dd759d Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25415 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-08-25Revert "meta-rcar-gen3: fix rc.pvr weston dependency"jellyfish_9.99.3jellyfish/9.99.39.99.3Ronan Le Martret1-7/+0
Bug-AGL: SPEC-3516 This reverts commit fa4a9da20cbfe75e3bc260974c14f853d0733851. Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: Ib6d07ccd0a858251dbcaba195ed0ad9c77abf2e2 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25070 Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> 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-08-24[RCAR] Remove perf fix on renesas boardronan2-138/+0
* In RCAR BSP 4.14 the perf fix is upstream, we don't need to keep this fix in AGL. Bug-AGL: SPEC-3516 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: Ic014347319318122f99eabf48170a5b393ab46c5 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25069 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2020-07-14meta-rcar-gen3: fix rc.pvr weston dependencyScott Murray1-0/+7
Add a do_install_append to fix rc.pvr systemd unit weston dependency, it needs to be weston@.service to work with YP dunfell / 3.1. Bug-AGL: SPEC-3380, SPEC-3443 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I5f2a6d858c09812ab06e7a1a572fdd96801a8269 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25012 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> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
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-07Apply the perf fix only when meta-rcar-gen3-adas is not presentJan-Simon Möller1-4/+6
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 Moeller3-2/+135
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-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-03-18Support Salvator-X/XS boardDuy Dang9-9/+65
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-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-02-21Merge remote-tracking branch 'agl/next'Jan-Simon Möller2-46/+2
* 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-14Rename dtb nameMinori Yasumura2-2/+2
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-07[RCAR] Update rcar driver weston 7 bsp 3.21.0Ronan Le Martret1-1/+1
- update new rcar driver (Linux_Drivers-weston7 20191021). Bug-AGL: SPEC-2932 Change-Id: I231301ac5096715e52f2fbb2e35c159a323f8b71 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2020-02-04[RCAR] Update rcar driver weston 7 bsp 3.21.0Ronan Le Martret1-2/+2
Change-Id: I052e4d0a27c1e0f6e6ab74c518d67dbf72e39b15 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2020-01-30[RCAR] Split ADSP path for ulcb and ulcb-kfRonan Le Martret1-44/+0
- If we want to build AGL for ulcb board without the meta-rcar (kingficher board support), we need to split the patch. Change-Id: I145887d4619a7132e46f98f30e1fc0dd3de6b29a Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2019-11-19meta-agl-bsp/meta-rcar-gen3: Apply E3 audio configurationHarunobu Kurokawa1-0/+8
v2: add PACKAGE_ARCH = "${MACHINE_ARCH}" Bug-AGL: SPEC-2808 Change-Id: Id1587761c9be10a55ea18a938b74b39c512b63e2 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2019-11-19bsp/rcar-gen3: Avoid reinstall of driversJosé Bollo1-2/+11
When the ZIP files are already copied, it avoids to reinstall the proprietary drivers. This change is intended to facilitate workflows were aglsetup is sparsely/rarely used. Change-Id: I25275473d52ee7c811fdcaa50871bc1d385e868d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-11-10[RCAR] Update graphics driverRonan Le Martret1-1/+1
Update graphics kernel side driver to 20191021. Bug-AGL: SPEC-2784 Change-Id: Ibce4e7ee5fe00d9c37e49b826bd62e39129f91a1 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2019-09-16[RCAR] Update BSP 3.21 driverRonan Le Martret1-2/+2
Bug-AGL: SPEC-2784 Change-Id: I55e014a08fd315d3460672240c6ace1a2f31c55d Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2019-09-11meta-agl-bsp/meta-rcar-gen3: Update asound.state to pipewireHarunobu Kurokawa1-4/+4
pipewire is used default audio card volume. Current 50% of DVC Out is laudy and 0% of DVC In is small. Update 20% of DVC Out and 10% of DVC In for R-Car. Bug-AGL: SPEC-2808 Change-Id: Iac572255977d6a0111026a6426081efb0edbf0aa Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2019-08-23[RCAR] update to BSP v3.19.0Ronan Le Martret1-2/+2
Bug-AGL: SPEC-2680 Change-Id: Ie397c943762c20b0231ca7c0e44323bdf6101790 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2019-08-23Revert "setup_mm_packages.sh: Use GFX 3.19 binaries instead of 3.15"Ronan Le Martret1-51/+0
This reverts commit 9bc6c25f56f4997e55b60e969e9f942cc1859988. Bug-AGL: SPEC-2680 Change-Id: Ice72ff5f510ac848679c7d09ed4d0bde2d0940d7 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2019-07-23linux-renesas: Add ADSP patch only for m3ulcbPierre Marzin1-1/+1
The patch are only used for the m3ulcb machine. Bug-AGL: SPEC-2564 Change-Id: Idfca2b7a48b7a53efee6dcf2f21b0f8932d7b43d Signed-off-by: Pierre Marzin <pierre.marzin@iot.bzh>
2019-07-23machine: Add new ebisu machinePierre Marzin3-1/+6
* Add ebisu dependency within renesas bootfiles * Delete rcar ADAS layers support * Add weston video output config * Add missing modules and gst plugin Bug-AGL: SPEC-2564 Change-Id: I61a44f831d0bc55210847eade2a1eacc7599fa74 Signed-off-by: Pierre Marzin <pierre.marzin@iot.bzh>
2019-06-23Move the agl-service-radio to the graphical profileJan-Simon Möller1-5/+0
The agl-service-radio relies on gstreamer. Unfortunately the gstreamer recipe is currently setup to also pull-in wayland (due to a compile-flag if wayland is in DISTRO_FEATURES). To keep the distro aligned, we don't want to change the DISTRO_FEATURES between the profiles, thus we move the agl-service radio to the graphical profile where we include weston anyway by default. For now this means there is no radio service (or mediaplayer service) w/o wayland installed as well. In case we get this requirement, we'll have to work on the gstreamer recipe and its split. v2: fix bbapend in meta-agl-bsp/meta-rcar-gen3 v3: put packagegroup-agl-graphical-multimedia.bbappend in graphical profile (not the best place IMHO) This fixes the non-graphical build. Bug-AGL: SPEC-2500 Change-Id: I5ebec7d7713510f3fcd50ae425d7f8cbb6328016 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-06-20meta-rcar-gen3/setup_mm_packages.sh: always clean workdirStephane Desneux1-0/+6
The script setup_mm_packages.sh setups a temp dir to extract proprietary drivers for Renesas BSP, but it's not re-entrant: the temp dir is not cleaned after execution. With the introduction of the change 9bc6c25 (hotfix for GFX issues), more cleanup is needed to avoid duplicate zips detection in the copy script located in meta-rcar-gen3/docs/sample/copyscript/copy_evaproprietary_softwares.sh This change makes some initial cleanup in the workdir (in case of transition from a previous script without this patch) and also removes the workdir at the end Bug-AGL: SPEC-2253, SPEC-2480 Change-Id: Ia95f9045d8a695d550a061710a17676088a92c0a Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-06-10Changes to support the repo clone reworkJan-Simon Möller1-3/+3
To be merged together with: https://gerrit.automotivelinux.org/gerrit/#/c/AGL/AGL-repo/+/21389/ v2: fix the aglsetup script v3: fix scripts to extract m3ulcb v4: use single folder for BSPs Bug-AGL: SPEC-2450 Change-Id: I3227896c68ec1413f55cf67ad8f15a7adfe87a52 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-05-24setup_mm_packages.sh: Use GFX 3.19 binaries instead of 3.15Pierre MARZIN1-0/+48
Renesas BSP 3.19 is not actually available. But the graphics binaries are. So this patch get the 3.19 GFX binaries to patch the 3.15 GFX binaries ones. To achieve that, the following zip is needed: "R-Car_Gen3_Series_Evaluation_Software_Package_for_Linux-weston5-20190516.zip" (Note: the name of the zip can change). By this way, BSP 3.15 of Renesas will be used with the 3.19 GFX binaries. This solves the graphic issue of the M3ULCB and H3ULCB boards. This hotfix has been tested on m3ulcb with success. Warning: This patch has to be revert when the BSP of Renesas will be updated to 3.19 (at least). Bug-AGL: SPEC-2253 Change-Id: Ieaab76fb08618f9994c3ff5969d9a361d08b65d2 Signed-off-by: Pierre MARZIN <pierre.marzin@iot.bzh>
2019-04-05[RCAR] update required drivers to *-weston5-20190212Stephane Desneux1-2/+2
These are required for BSP 3.15.0 on thud (with Wayland 1.16/Weston 5.0) Bug-AGL: SPEC-1837 Change-Id: I11321915a1be9b858e0b9fef35820c211e0074b4 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2019-03-25[RCAR] Fixed missing definition about virtual/eglHarunobu Kurokawa1-1/+1
Sometimes, libepoxy has an error during do_configure. PREFERRED_PROVIDER_virtual/egl definition in agl_m3ulcb was changed to virtual-gles-user-module from libegl. To fix this missing dependency, add virtual/egl definition in virtual-gles-user-module. ------ checking for egl... no configure: error: Package requirements (egl) were not met: No package 'egl' found ------ Change-Id: Ia6915af2a8babbbd3353513cc2c115387f6e178c Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2019-03-12[RCAR] Fix patch on kernel dtsRonan Le Martret1-8/+12
* For RCAR BSP v3.15.0, we need to fix this patch Bug-AGL: SPEC-2185 Change-Id: Iadf40e6bfe964c3881d411cbdaab956ce524bc76 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2019-03-12[RCAR] Remove upstream patchRonan Le Martret2-146/+0
This patch is now upstream (RCAR BSP 3.15.0), so it useless to keep it in AGL. Bug-AGL: SPEC-2185 Change-Id: I10f1c99d4854c364960f310e4e12b385f6c55465 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2019-03-12[RCAR] Remove old recipes backportRonan Le Martret2-57/+0
linuxptp is now on version 1.8 and compatible the current RCAR BSP (v3.15.0) Bug-AGL: SPEC-2185 Change-Id: I10fa4e2339880ef786d0fef07ebf2864f1659187 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2019-03-12[RCAR] Remove old back portRonan Le Martret1-87/+0
Current version of imagemagick is 7.0.7 and do not need backport. Bug-AGL: SPEC-2185 Bug-AGL: SPEC-1687 Change-Id: Ie204c48e5907b4bb40418f9a0b10b0b1b35d5c77 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2019-03-12[RCAR] Remove old backportRonan Le Martret3-60/+0
python-wand is now useless Bug-AGL: SPEC-2185 Bug-AGL: SPEC-1687 Change-Id: I97d0871185017e88fcac31dcef70c1d28fe636c1 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2019-03-12[RCAR] Update RCAR BSP v3.15.0 driverRonan Le Martret1-2/+2
Bug-AGL: SPEC-2185 Change-Id: I30f0ae0b760b540d41af7a0e7afafc9984d34b20 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2019-03-12[RCAR] Update u-boot for RCAR BSP v3.15.0Ronan Le Martret2-102/+0
- u-boot in RCAR BSP v1.15.0 has been updated to v2018.09 so we can remove some old fix. Bug-AGL: SPEC-2185 Change-Id: I1d40f0341edfdd0cedc5b1d58911bdc30677eeea Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-12-18linux-renesas: Add smack patches to R-CarJosé Bollo1-0/+3
The patch for CGROUP2 is important for running without capabilities. Bug-AGL: SPEC-2006 Bug-AGL: SPEC-1016 Change-Id: I0dfec85bdc66b220e20776501522e71579e6a742 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-11-30Enable agl-sota for h3ulcbAnton Gerasimov4-5/+30
Change-Id: I3c2d0df6e3afd4aa0671261f7d143ac15d88a836 Signed-off-by: Anton Gerasimov <tossel@gmail.com>
2018-10-12[RCAR] ADSP enable and add sound hardware abstraction in DTRonan Le Martret2-0/+126
The ADSP on Renesas SoCs required a reserved memory area to become enabled, and this needs to be done manually. This patch adds sound hardware abstraction information for the m3ulcb and m3ulcb-kf (kingfisher) device trees. This is helpful on-board the ADSP for dynamically determining sound hardware at runtime, allowing single binaries to be used between the two boards. Future work will incorporate the h3ulcb and Salvator boards into the abstraction. Bug-AGL: SPEC-1227 Bug-AGL: SPEC-1424 Bug-AGL: SPEC-1571 Change-Id: I78edc5854a95520276bdcd9fd9766a120d2c04d7 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au> Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-10-12[RCAR] Enable Linux-based hypervisor execution in AGLRonan Le Martret2-0/+33
The upstream version of AGL boots Linux in EL1. This mode is not privileged enough to put in place the correct configuration of an hypervisor (e.g., KVM). This patch leverages the ATF rcar platform configuration variables to boot the Linux kernel in EL2, instead of EL1, allowing Linux-based hypervisors such as KVM to configure all the necessary stubs to properly run virtual machines. This patch has been successfully tested with ATF, KVM and AGL rootfs on the Renesas R-Car M3. Changelog: - Added arm-trusted-firmware patch, which makes this work easy to be tested by the community - This patch version does not contain Linux kernel modifications. In fact, these resulted not necessary with the proposed ATF patch and a recent kernel (higher than 4.6) Bug-AGL: SPEC-497 Bug-AGL: SPEC-1571 Signed-off-by: Michele Paolino <m.paolino@virtualopensystems.com> Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh> Change-Id: I8d20e36a09be1dba35b10193643ea00e4f388e95 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>