summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
AgeCommit message (Collapse)AuthorFilesLines
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-01-21Extend qemux86-64 images to support real hardwarePaul Barker3-12/+7
* 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 Barker4-1/+20
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-27Enable pi 4 boot log on console output temporarilyLi Xiaoming1-0/+2
Although the rpi-config_git.bbappend enable ENABLE_UART_raspberrypi4 = "1", it seems make no effect. This patch is temporary solution, which can do some help to debug pi 4 boot issue. Bug-AGL: SPEC-2995 Change-Id: I0b634c4d8df576884b939ea259d4f8b7ca5330d7 Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-11-19Support meta-ti 2019.04 releasePaul Barker9-33/+35
* 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-19raspberrypi4.conf: Enable BluetoothLeon Anavi1-0/+1
Enable Bluetooth for 64-bit AGL images for Raspberry Pi through recipe pi-bluetooth. It provides a script that starts automatically and properly configures BT-HCI. Bug-AGL: SPEC-2936 Change-Id: I01cd5ea446bfe5f4182284c5e88984ee054fe62f Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
2019-11-19conf/machine/raspberrypi4: Switch to 64-bitLeon Anavi2-13/+144
Switch from 32-bit to 64-bit AGL image for Raspberry Pi 4. Machine configuration has been modified according to the existing configurations from meta-raspberrypi branches master and zeus. When AGL moves to a newer release of the Yocto project and the BSP these configurations can be removed from meta-agl. Bug-AGL: SPEC-2936 Change-Id: Iddc3f75be179797e7d56f6806ec6ba52b080d766 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
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-11-05Generalize 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>
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-11-05bcm2835-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-05linux-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-04rpi-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-28Add 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> (cherry picked from commit 8a052edd56f801c465781b784bf1f53b15135c86)
2019-10-20weston-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-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-26raspberrypi4: 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
2019-09-25raspberrypi4: 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
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-19mesa: 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] 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-13u-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-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-09-09meta-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>
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-08-26linux: add netfilter.cfg fragmentMatt Ranostay2-0/+4
Add netfilter.cfg fragment that initially enables CONFIG_NETFILTER_XT_MATCH_OWNER to allow connman's session-policy-local to route traffic based on user id. Bug-AGL: SPEC-2772 Change-Id: I7fb642790709aff9899d42250b1b15f77451361e Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
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-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-08-15linux: add missing CONFIG_BT_HCIUART option to usb-devices.cfgMatt Ranostay1-0/+1
To allow dependant kernel drivers to be selected enable the CONFIG_BT_HCIUART option. Bug-AGL: SPEC-2747 Change-Id: Iafda86a9909ee14b10e4be2e5070bada4dfec9b0 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-08-15linux: update config option to CONFIG_WLAN_VENDOR_TIMatt Ranostay1-1/+1
Bug-AGL: SPEC-2747 Change-Id: Ideef401474d8d74daf920273eb40200d4fe4dacd Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-08-15linux: remove old kernel options in extra-graphics-device.cfgMatt Ranostay1-14/+0
Remove old kernel options that no longer exist in modern kernels, and also remove unset options that were causing warnings in the do_kernel_configcheck task. Bug-AGL: SPEC-2747 Change-Id: Iea61c2e4a1341d8f77723c37619ea6c9c59365d3 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-08-15linux: add CONFIG_IIO_TRIGGERED_BUFFER=m to iiodevice.cfgMatt Ranostay1-1/+2
To avoid CONFIG_IIO_TRIGGERED_BUFFER being set as a builtin by default causing a do_kernel_configcheck warning build as module. Bug-AGL: SPEC-2747 Change-Id: Ide4011c25eb781daf135690205fef1cd591ea186 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-08-15linux: update options in ath9k_htc.cfgMatt Ranostay1-1/+1
Newer kernels have different configuration options names for WLAN drivers, and need to be updated. Bug-AGL: SPEC-2747 Change-Id: Ic35957172cec758a64219981a11ce155d296ca91 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-08-12uEnv.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-12u-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
2019-08-12create-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>
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>
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>
2019-07-24Fix 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>
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