summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
AgeCommit message (Collapse)AuthorFilesLines
2019-11-22[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-11-07Generalize create-combined-dtb to use VC4DTBO from board configJan-Simon Moeller1-6/+22
and also add the rpi4. Bug-AGL: SPEC-2465 Bug-AGL: SPEC-2656 . Change-Id: Ied2dce914ecc539c7634214b571508d371116235 Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> (cherry picked from commit 06dccd49fe33d10320e5c9c7dbbd1a6d2a260533)
2019-11-06agl_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-11-06bcm2835-bootfiles.bbappend: Update firmwareLeon Anavi1-8/+8
Update the firmware to support Linux kernel 4.19.80 for Raspberry Pi 3 B/B+ and 4. This way both the HDMI and the official 7" Raspberry Pi touch screen display are supported. Bug-AGL: SPEC-2465 Change-Id: Idb028b8abca5a44da2783def8af2c28f04de66d2 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2019-11-06linux-raspberrypi_4.19.bb: Update to 4.19.80Leon Anavi1-2/+2
Update Linux kernel for Raspberry Pi to 4.19.80. This version allows to run firmware KMS to support output through HDMI and DSI for the official 7" Raspberry Pi touch screen display. Bug-AGL: SPEC-2465 Change-Id: Ie854f8609196f986a1f9067da1010fb2e510e7c4 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2019-11-06rpi-config: Set max_framebuffers to 2 to support dual displayChanghyeok Bae1-0/+5
Change-Id: Id9ca08ede2aedbc122a04d97ca4bb5bd8478b717 Signed-off-by: Changhyeok Bae <changhyeok.bae@daimler.com>
2019-10-31weston-ini-conf: update virtualoutput.cfgScott Murray1-1/+1
Update virtualoutput.cfg weston.ini fragment to use the 640x720 size expected by tbtnavi. Bug-AGL: SPEC-2913 Change-Id: I46abf9d6d78671772951e52e4f80cac20720edcf Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-10-30u-boot-2019.07: Fix for Raspberry Pi 4Leon Anavi10-5/+514
Following recent changes in the BSP the recipe for u-boot 2019.07 was failing to build for Raspberry Pi 4. This fix brings existing patches from master branch of meta-raspberrypi to AGL which is still based on Yocto project release Thud. Bug-AGL: SPEC-2656 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Change-Id: Ic544d02032198dc05da24bc3246e8911d300c1ea Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2019-10-22Add missing space in SRC_URI_append statementJan-Simon Möller1-1/+1
This fixes SPEC-2922. Bug-AGL: SPEC-2922 . Change-Id: I978c3d28e6d62885cd95ca6f2d2b32d34fa6933d Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-10-06raspberrypi4: Fix WiFiLeon Anavi2-0/+49
Apply patch from branch master of meta-raspberrypi as a bbappend to recipe linux-firmware-rpidistro to fix WiFi on Raspberry Pi 4. This is a temporary solution while AGL master is still based on Thud. As soon as AGL moves to newer release of the Yocto Project and layer meta-raspberrypi this patch will become reduntant. The change of boardflags3 value from "0x48200100" to "0x44200100" has been done already in Raspbian (2019-06-20). For more details: https://github.com/RPi-Distro/firmware-nonfree/issues/3 Bug-AGL: SPEC-2656 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Change-Id: Ifaafbae6ff59a43f95926e64f1ce35aefadd3cfa (cherry picked from commit ece35b264ff4bac33a37a96cd166c2e0fe8bb433)
2019-10-06raspberrypi4: Fix BluetoothLeon Anavi1-0/+1
Include recipe pi-bluetooth in the Raspberry Pi 4 images to enable Bluetooth. This recipe provides a script that starts automatically and properly configures BT-HCI. The same script is used in Raspbian. Bug-AGL: SPEC-2656 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Change-Id: Id650cb2f61ee63196cbd826e4a9dd73488b298c3 (cherry picked from commit db28cd4134f4e07efc270ecb46b9f1d95c07429f)
2019-09-20raspberrypi4: enable v3d and dependencies in mesaJan-Simon Möller1-0/+2
To enable the gfx acceleration, enable the necessary flags in mesa. Bug-AGL: SPEC-2656 Change-Id: I8bfb2f4034679f4703ddcb4bdb4c1363eee3d9d4 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-09-20mesa: Upgrade Mesa for Raspberry Pi 4Leon Anavi16-0/+2080
Bring Mesa 19.1.6 to meta-agl-bsp/meta-raspberrypi because there are driver issues with Mesa 18.1 for Raspberry Pi 4. The recipes for this new version are coming from the master branch of layer openembedded-core. With the newer version of Mesa Weston works fine on Raspberry Pi 4 and the home screen appears as expected. Bug-AGL: SPEC-2656 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Change-Id: I0d4f6e6fdff3c6ac54a72d19abfc292efcea7a3f
2019-09-16[RCAR] BSP update to v3.21.0Ronan Le Martret1-2/+2
Bug-AGL: SPEC-2785 Change-Id: I34e6798b31515f1a3528af80de8232fa7daa250a Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2019-09-16meta-agl-bsp/meta-rcar-gen3: Update asound.state to pipewireHarunobu Kurokawa1-4/+4
pipewire is using 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> (cherry picked from commit f7c7f376caefa9a788eee191220a4a424d0dad0c)
2019-09-12meta-agl-bsp: meta-rcar-gen3-adas: Rework KF radio initializationScott Murray3-0/+39
Add a systemd service unit and recipe to install it and a udev rules file so that the Kingfisher Si4689 radio will be initialized on boot if present, and the I2C device to access it will be accessible to applications with the "audio" permission. Note that an accompanying change to agl-service-radio is required to remove its now unworkable usage of the si_init script, which is replaced by this change. Bug-AGL: SPEC-2716 Change-Id: I81cf4b8c439598bdac1eb7910a0d693825141d7b Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit c369b00e617f408e2a408b0c04dc44fe7e06b7a1)
2019-09-04Add 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-04agl_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 (cherry picked from commit 86f76e0578b4cbb1a3b286b6e959e317866f9c31)
2019-09-03[RCAR] update to BSP v3.19.0Ronan Le Martret1-2/+2
Bug-AGL: SPEC-2681 Change-Id: Ie397c943762c20b0231ca7c0e44323bdf6101790 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2019-09-03Revert "setup_mm_packages.sh: Use GFX 3.19 binaries instead of 3.15"Ronan Le Martret1-51/+0
Bug-AGL: SPEC-2681 This reverts commit 9bc6c25f56f4997e55b60e969e9f942cc1859988. Change-Id: Ice72ff5f510ac848679c7d09ed4d0bde2d0940d7 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2019-08-25Fix combined dtb names to match original filebuild.automotivelinux.org1-4/+4
Make the filenames conformant to the original files. Thanks to Khouloud Touil for finding this. Good catch! Change-Id: I1e4e95dc1148ddf1a9a3a09c22ceab75d1d88115 Bug-AGL: SPEC-2721 Signed-off-by: build.automotivelinux.org <jenkins@automotivelinux.org>
2019-08-20u-boot_2019.07.bbappend: Apply patch for AGL SOTALeon Anavi2-0/+88
Recently we have updated u-boot to version 2019.07 to support Raspberry Pi 4 in AGL based on Yocto release Thud. Therefore a new version of the patch from meta-updater-raspberrypi branch warrior has to be applied to successfully build U-Boot when feature agl-sota is enabled. Bug-AGL: SPEC-2729 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Change-Id: Ie72cc9b81ff6e041cfe6edb26f383b7e0d43d8f9 (cherry picked from commit 71aaf3886c5dd98b04cb9c6abe40850090a09fde)
2019-08-20uEnv.txt: Modify uEnv.txt for SOTALeon Anavi2-14/+42
Modify uEnv.txt and uEnv.cma.txt according to the recent changes in layers meta-updater and meta-updater-raspberrypi to ensure that AGL image with agl-sota feature will boot properly on Raspberry Pi 3 B/B+. Bug-AGL: SPEC-2729 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Change-Id: Ib8fe74bcd6e12208aaddc81f608fe84eee9de601
2019-08-13create-combined-dtb: Check if DTB files existLeon Anavi1-8/+20
Check if files exist before creating and deploying DTB. In some cases, for example with AGL SOTA, the DTB and DTBO files might not exist and without checks the recipe will fail. Bug-AGL: SPEC-2729, SPEC-1775 Change-Id: Id96e0c56989569feead076406534334766604cfd Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> (cherry picked from commit 6e89e0296dd28b0c0e9f0f0693f096c281b9d908)
2019-08-06meta-agl-bsp: recipes-kernel: linux: Add USB host driverCorentin Labbe1-0/+3
Both qemuarm and qemuarm64 builds lack USB drivers. This patch enable basic USB drivers necessary for them. Change-Id: I35064b0b4018c0953c609cebcab102b898d04f70 Bug-AGL: SPEC-2722 Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
2019-08-02wayland-ivi-extension: disable building EGLWLMockNavigation exampleScott Murray2-18/+0
Disable building the EGLWLMockNavigation in wayland-ivi-extension to avoid needing to patch it to build for the TI platforms. This fixes the issue of meta-agl-bsp/meta-ti breaking non-graphics profile builds like the telematics profile, and seems reasonable since there are no known users inside AGL. Since it is no longer needed, also remove the offending patch from meta-agl-bsp/meta-ti. Bug-AGL: SPEC-2677 Change-Id: If87c3c238e880d01f99401ea4610616656f16185 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-08-01meta-rcar-gen3-adas: improve BBFILE descriptionHarunobu Kurokawa1-1/+1
To avoid the followings warning. WARNING: No bb files matched BBFILE_PATTERN_rcar-gen3-cogent Bug-AGL: SPEC-2708 Change-Id: I4bebc3203f947834b9264b4f79b0856c908af493 Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com> (cherry picked from commit b8860aceeaea4bb7dac2da5fab1f18af933e59f9)
2019-07-26intel-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> (cherry picked from commit a3564c68e9a5268ede1988a65559cb22a0fd98b5)
2019-07-25Fix i.MX6 multiple package tuning problemScott Murray3-0/+15
Update the i.MX6 machine definition include files to disable the dynamic package architecture logic in meta-freescale, as it conflicts with AGL's setting of DEFAULTTUNE and results in a split package feed. Bug-AGL: SPEC-2665 Change-Id: I66ff03b0bc48b3b768b9ec88c907eaa95e1a2b00 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit 1b2c904f1e4403b59fc51f8f68d4fa8f05d03332)
2019-07-24bcm2835-bootfiles.bbappend: Support Raspberry Pi 4Leon Anavi1-0/+11
Use different bootfiles if the machine has been set to the new Raspberry Pi 4 and keep the old files for Raspberry Pi 3. Bug-AGL: SPEC-2656 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Change-Id: I3cbacc45c0f82ce2c70641c008ad2975a9e58fbd
2019-07-24rpi-config_git.bbappend: Update for Raspberry Pi 4Leon Anavi1-0/+20
Extend the deploy task to support Rasppberry Pi 4. Bug-AGL: SPEC-2656 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Change-Id: I3a166a873b431539e154ef6a2b1e69df02a0f2a3
2019-07-24u-boot_2019.07: Bootloader for Raspberry Pi 4Leon Anavi6-0/+457
Add U-Boot version that supports Raspberry Pi 4. Bug-AGL: SPEC-2656 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Change-Id: Ib550e38c7ecaf0ab2149b04666cffdcbaaf08134
2019-07-24linux-raspberrypi: Add 4.19 for Raspberry Pi 4Leon Anavi5-1/+158
Add recipe for Linux kernel 4.19 for Raspberry Pi 4 and keep 4.14 for Raspberry Pi 3. The recipe for 4.19 is backported from master branch of the upstream of meta-raspberrypi. Bug-AGL: SPEC-2656 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Change-Id: I93bbc5527383e26862894859bff6e44a6bc17966 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2019-07-24raspberrypi4.conf: Add machine definitionLeon Anavi1-0/+25
Add a new machine definition for Raspberry Pi 4 because it is not present in branch thud of meta-raspberrypi. This machine definition is taken from the master branch of the upstream of Yocto/OE layer meta-raspberrypi. Bug-AGL: SPEC-2656 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Change-Id: I368f6c7107ca023da66ce60d2006984f8939cf00
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 Marzin4-1/+19
* 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-07-13Revert "Fix rpi touchscreen support on master"Jan-Simon Moeller9-1120/+4
We need to reconsider this changeset. It seems to produce a regression. This reverts commit ccb667c35ffdea7a2bc1304750e6b22368cd55f7. Change-Id: I42754a899e8530f4e18a069ed227f18a8d615801
2019-06-27linux-agl: change aloop to a module instead of built-inScott Murray2-4/+4
Rename the 4a-sound.cfg fragment to the more generic sound.cfg, and change CONFIG_SND_ALOOP to module, not built-in. This still keeps it available if something ends up needing it. Bug-AGL: SPEC-2555 Change-Id: Ib0554800dc704d19b48a7e041d4f2b60a1b42192 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
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-21SPEC-2376: Add config for QEMU arm kernelsCorentin Labbe3-0/+11
The default yocto qemuarm machine is versatilepb which is not the right choice for AGL (ex: Max 256M of RAM). This patchs change qemuarm configs for using the virt machine. Change-Id: Ib5e0ae801ba152318a2455763b1a2f1020d1858e Bug-AGL: SPEC-2376 Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
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-20Add cubox-i and nitrogen6x i.MX6 machinesScott Murray3-0/+44
Add the cubox-i (covering SolidRun Cubox-i, Hummingboard Gate and Edge), and nitrogen6x (covering Nitrogen 6x and SABRE Lite) machine definitions. Note that support for the Broadcom Bluetooth chipset on the SolidRun i.MX6 SOM is currently missing, as it requires firmware that is not available in either the linux-firmware package or from the firmware packages provided by meta-freescale. Bug-AGL: SPEC-2517 Change-Id: If7bdb9f1af9bb67dba5c1ff836a6d3b04160fefd Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-06-20meta-agl-bsp: Changes to get imx6qdlsabreauto working with etnavivScott Murray5-29/+49
Update imx6qdlsabreauto configuration to use open source etnaviv GPU driver instead of Vivante. The previously required weston-ini-conf has been removed as it is not required with etnaviv, and a bbappend has been added for the linux-fslc kernel that this configuration uses so it will pull in the AGL kernel bits. Additionally, the kernel configuration for linux-fslc is tweaked with config fragments to better match the other AGL platforms. Bug-AGL: SPEC-1674, SPEC-2502 Change-Id: Ic40d310b48405ccc7d1435f0fc9f162a129cffe9 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-06-11Merge "Do not pull pulseaudio-misc if pulseaudio is not enabled"Jan-Simon Moeller1-1/+1
2019-06-11Merge "Import aglsetup templates and config for BBE"Jan-Simon Moeller1-0/+43
2019-06-12Do not pull pulseaudio-misc if pulseaudio is not enabledJan-Simon Möller1-1/+1
This fixes a build issue on ti vayu Missing or unbuildable dependency chain was: ['agl-demo-platform', 'pulseaudio-misc', 'alsa-plugins-pulseaudio-conf'] Bug-AGL: SPEC-2473 Change-Id: I9f9c85893b30a8aa98a6da1e76440a0df5076fa2 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-06-11Update weston ini file to adopt remoting pluginHarunobu Kurokawa1-7/+4
Bug-AGL : SPEC-2420 To use remoting plugin, we should use new section in weston.ini. Example) [remote-output] name=remote-1 mode=384x368@30 host=192.168.10.30 port=5005 Man) https://gitlab.freedesktop.org/wayland/weston/blob/master/man/weston-drm.man#L149 https://gitlab.freedesktop.org/wayland/weston/merge_requests/7 Change-Id: Ifc271867dd2b1f2fe1794a08af188006f7b7779b Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
2019-06-11Import aglsetup templates and config for BBEPaul Barker1-0/+43
The templates and config include files used with aglsetup.sh to build for the Sancloud BBE are imported from the meta-sancloud layer. This should make future maintenance easier. The templates are updated to match the new repository structure at the same time. Bug-AGL: SPEC-2507 Change-Id: I2b4717bd79d949a12b13e6bfece152e82bb8114c Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>
2019-06-10Merge "Changes to support the repo clone rework"Jan-Simon Moeller2-5/+5
2019-06-10Changes to support the repo clone reworkJan-Simon Möller2-5/+5
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>