summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-ti
AgeCommit message (Collapse)AuthorFilesLines
2021-06-01Remove dra7xx-evm machine supportScott Murray8-1436/+0
Remove dra7xx-evm machine template and related BSP configuration tweaks. The configuration is stale and untested, and no one has expressed interest in it for long enough that it seems better to just remove it to avoid confusion about support status. Bug-AGL: SPEC-3934 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I1659eef113cf1e6fcfdddf65f712275b8fc49b6f Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26378 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2021-01-12meta-agl-core: Revise weston-ini-conf mechanismScott Murray2-10/+0
The recent layer reorganization broke the landscape vs portrait scheme based on bbappend'ing the weston-ini-conf recipe in the previous cluster and html5 demo layers. To fix this and to facilitate being able to easily build the mix of demo platform images, the weston.ini generation mechanism in the weston-ini-conf has been revised to build multiple packages. Instead of relying on SRC_URI to install weston.ini fragments into WORKDIR and grabbing all of them with a *.cfg glob, an explicit list built from new WESTON_FRAGMENTS and WESTON_DISPLAYS variables is used. The fragments listed in WESTON_FRAGMENTS are used to generate both weston-ini-conf and weston-ini-conf-landscape packages containing uniquely named files (weston.ini.default and weston.ini.landscape, respectively), and the OE update-alternatives mechanism is used to have weston.ini point at the appropriate file on installation. For now, the two packages are explicitly marked as incompatible with one another, but this could be tweaked in the future if switching between them on target is desired. Additional notes: - A RPROVIDES of "weston-ini" has been defined for the weston-ini-conf packages and a RDEPENDS on it added to weston-init. This should allow members to drop in a complete alternative solution while still having a dependency chain. - The various meta-agl-bsp bbappends of weston-ini-conf have for the most part been updated to yield the same behavior as before, though with an eye towards using machine overrides to ease multiconfig usage down the road. This includes the currently unused Raspberry Pi touchscreen support, which has been left since it may still see use. - An exception to the above, however, is that the support for the touchscreen on the dra7 EVM has been removed, as upstream dropped the support for the screen on the available test hardware and at present it only seems feasible to support external HDMI monitors. - The unused fbdev fragment used to support meta-freescale in the past has been removed. - The virtual and virtual-landscape fragments have been renamed to virtual-270 and virtual-0 to better indicate the orientation and match the naming used for the other fragments. It is likely that future work will need to split the display enabling and orientation aspects, as the current tying together of the two results in configurations somewhat overly specific to the actual AGL demo systems. Bug-AGL: SPEC-3745 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I2a968781182a346c1d483cca4fd7337679e58118 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25860 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-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-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>
2019-11-19Support meta-ti 2019.04 releasePaul Barker6-21/+32
* 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-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-06-06Pin SRCREV used by ti-sgx-ddk-kmPaul Barker1-0/+1
The commit of the omap5-sgx-ddk-linux git repository used by the ti-sgx-ddk-km recipe is changed by recent commits to meta-ti to introduce generic support for armel (soft-float) targets. This conflicts with the existing patch in meta-agl which adds support for our toolchain. The simplest fix is to pin to a working commit by setting SRCREV to the previous commit on the same branch. This is the same commit that is currently used and so it won't have any effect until the meta-ti layer itself is updated. For reference, the commit in question can be seen here: https://git.ti.com/graphics/omap5-sgx-ddk-linux/commit/dbdbd9309a58ee723fc827ef5fd45c28347cf61f Bug-AGL: SPEC-2490 Change-Id: I2924cdadd697680567a9378eb3242f8dd526a429 Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>
2019-05-29Add weston 6.0.0 for WM and HS rewriteJan-Simon Möller2-1/+30
As requested for the WM and HS rewrite. Tested on m3, minnow, qemux86-64, rpi3. (cherry picked from commit fda5568cf4bc268088c9d1f925007d682bb7ef5d) Multiple commits to applied at once. Bug-AGL: SPEC-2444 Change-Id: I3f74b40213d4c4a65400a53fe9c57f52fe3b6096 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2019-05-14meta-agl-bsp: meta-ti: weston-ini-conf: Apply only to dra7xx-evmPaul Barker1-2/+2
The git history shows that the weston-ini-conf changes in meta-agl-bsp/meta-ti were added to support the dra7xx-evm. These changes should not be applied for other machines which use the meta-ti layer such as the beaglebone and bbe. Bug-AGL: SPEC-2409 Change-Id: Ia21425bfda3ec03ef51371c14fcbca94a5067a7c Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>
2019-04-04Upgrade to thudScott Murray24-5254/+33
Changes include: - Add LAYERSERIES_COMPAT definitions to layer.conf files - Remove now unnecessary SECURITY_*FLAGS over-rides from distro configuration - Set intel-corei7-64 preferred kernel version to 4.19 to match latest linux-intel kernel available in meta-intel - Update qemuarm preferred kernel version to 4.18 to match latest linux-yocto - Update firmware package and devicetree file names for raspberrypi3 - Remove linux-firmware bbappend specific to raspberrypi, it seems no longer required and breaks the cross SDK build - Update linux-intel bbappend to 4.19, remove now unnecessary patch - Remove now unnecessary lttng-modules backport - Update linux-raspberrypi bbappend to 4.14 kernel - Added kernel configuration fragment for raspberrypi to disable Kprobes. This is required until linux-raspberrypi is updated to greater than 4.14.104 to avoid a build failure in lttng-modules related to a check for known breakage in the kernel CONFIG_OPTPROBES code. - Replace obsolete base_conditional usage with oe.utils.conditional - Add gstreamer1.0-plugins-bad bbappend for raspberrypi3 to disable faad PACKAGECONFIG to avoid commercial license issues - Remove unused and unbuildable Vayu gstreamer recipes - Update linux-ti-staging bbappend for new BSP kernel - Regen dcan2_pinmux_enable.patch for linux-ti-staging to remove fuzz warning, and remove upstreamed fix_dcan_addresses.patch - Remove ipumm-fw from meta-agl-bsp/meta-ti, as newer version is available in the upstream BSP - Update meta-agl-bsp/meta-ti weston patch to apply against 5.0.0 - Update meta-agl-bsp/meta-ti wayland-ivi-extension patch to apply against 2.2.0 - Add ti-sgx-ddk-km patch to add AGL toolchain configuration file - Remove now unnecessary fdtoverlay recipe - Update core.cfg and ivishell.cfg in weston-ini-conf recipe to handle move of ivi-controller.so configuration in Weston 5.0.0 - Update connman-ncurses patch to remove fuzz warning - Add installation of systemd over-ride file for run-postinsts.service in run-postinsts bbappend to workaround race condition between ldconfig.service and the /sbin/ldconfig invocations in the post-install scripts run by run-postinsts.service. The observed failure was cynara's post-install script failing and its database not being created. - Remove now unnecessary valgrind backport - Add patches to fix most driver compilation against newer kernels - Update libmicrohttpd bbappend - Remove libssp-dev from agl-image-graphical-qt5-crosssdk and agl-demo-platform-html5-crosssdk, upstream have removed it from non-mingw32 platform SDKs - Update wayland-ivi-extension recipe to build 2.2.0, and update local patches - Update weston patches for 5.0.0. Patches: 0016-ivi-shell_add_screen_remove_layer_api.patch 0017-ivi-shell-register-ivi_layout_interface.patch have been removed as they have been applied upstream and are no longer necessary. Patches: 0018-compositor-add-output-type-to-weston_output.patch 0019-compositor-drm-introduce-drm_get_dmafd_from_view.patch (both related to Waltham) have been disabled for now as they need significant rework. - Remove weston-conf RRECOMMENDS in weston bbappend to avoid conflict with weston-ini-conf - Add OECMAKE_GENERATOR = "Unix Makefiles" to aglwgt.bbclass to work around CMake+ninja issue in cmake-apps-module - Update dbus cynara patches for 1.12.10 - Add do_install_append in cynara recipe to remove /var/cynara from cynara package so the directory creation and labelling in the post-install scriptlet will function as intended - Remove now unnecessary e2fsprogs backport - Remove now unnecessary libcap-ng backport - Update pulseaudio patches to remove fuzz warnings - Update neardal patch to remove fuzz warning - Update freetype patch to remove fuzz warning - Rename opencv bbappend to 3.% to handle 3.x backports in upstream - Updated qtwayland patch to remove fuzz warning Changes from Stephane Desneux <stephane.desneux@iot.bzh>: - Remove wayland-ivi-extension PREFERRED_VERSION - Remove now unnecessary nativesdk-cmake patch - Remove now unnecessary ptest-runner patches - Remove now unnecessary harfbuzz patches - Disable waltham-transmitter as it does not build against weston 5.0.0 - Update af-main, cynara, and security-manager to use pkg_postinst_ontarget - Bump connman-ncurses revision to avoid deprecated ncurses functions - Update libva package usage with new intel-vaapi-driver name - Add patches to security-manager to fix compilation with gcc8 - Updated systemd bbappend Changes from Jan-Simon Möller <jsmoeller@linuxfoundation.org>: - Remove meta-agl-bsp/ROCKO.FIXMEs - Remove linux-yocto_4.12.bbappend and now unnecessary associated patch - Remove now unneeded kern-tools-native patch - Bump gstreamer PREFERRED_VERSIONs to 1.14.x - Remove latencytop from packagegroup-agl-core-devel, it has been dropped by upstream - Remove now unnecessary rpm patches - Update pulseaudio bbappend to 12.2 - Update opencv bbappend to 3.4 - Update freetype bbappend to 2.9.1 - Update dbus bbappend to 1.12.10 - Update weston bbappend to 5.0.0 - Update cynara patches to remove fuzz warnings - Add patch to cynara to fix compilation with gcc8 - Add xmlsec1 bbappend to clear EXTRA_OECONF to fix compilation on sumo or newer Changes from Ronan Le Martet <ronan.lemartet@iot.bzh>: - Update meta-rcar-gen3-adas layer gstreamer1.0-plugin-vspfilter bbappend to version 1.0.1 Known issues (marked with FIXME): - CMake+ninja issue in cmake-apps-module has been worked around with OECMAKE_GENERATOR - waltham-transmitter and the patches to weston related to it have been disabled - Currently unclear if patch to libcap-native is actually required or not Bug-AGL: SPEC-1837 Change-Id: I7b8b9ef667aec2d229952eace6663dfc761654d0 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-01-16Revert "Remove 4.9 patchqueue for new 4.14 kernel in meta-ti"Jan-Simon Moeller1-0/+1
Re-add the patchqueue for 4.9 . The 4.14 Kernel is missing the dtb for the screen. This reverts commit 6fc5ad52250e6dc63b40b17376668f40a016926e. Change-Id: I25f7650df642bb6c6e5fcb5cd0be525cc7938bcb
2019-01-16Revert "Remove patch in newer ti-staging kernel"Jan-Simon Moeller1-0/+1
The 4.14 kernel is missing the dtb of our screen. For now stay on 4.9 until the status is clear. This reverts commit 629062a55c41e8993761edf4a2a44400b72a6b91. Change-Id: Ibe4e87d1b81fff907bc35cacf10690b21fe45cb2
2018-12-17Remove 4.9 patchqueue for new 4.14 kernel in meta-tiJan-Simon Möller1-1/+0
We update meta-ti to 4.14, thus we do no longer need the 4.9 patch queue of smack. Change-Id: I20d89c75029f29b0e6827979e70e85614d7a2e40 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-12-14Remove patch in newer ti-staging kernelJan-Simon Möller1-1/+0
The pending BSP update already has this patch applied (can be reverse-applied). Thus remove it. Change-Id: If3172270f40b21bd448c7113c7ab6f2a8f82023c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-10-12Clean-up of wayland-ivi-extension_1.13.0 related legacy stuffMichael Teyfel1-5/+0
Since the agl demo is now using wayland-ivi-extension v2.0.2 everything related to v1.13.0 should be removed. That means all bitbake recipes and also the used patch files. Change-Id: I326c8e13c6084ec2135d6f75d64db260d347491e Signed-off-by: Michael Teyfel <mteyfel@de.adit-jv.com>
2018-08-31meta-agl-bsp: meta-ti: amx3-cm3: Add a fix for security_flags.incTom Rini1-0/+3
The way that the PM firmware for these devices is built takes very specific steps to only get the cross-compiler provided by OE and almost nothing else. Unfortunately when we build with the security_flags.inc file in our distro this changes some of the default behavior of the compiler and in turn we need to make sure to disable this and go back to the default behavior. Change-Id: I1ab8e20f77d7ab6a3c786437e9a9422b24f0e159 Bug-AGL: SPEC-1341 Signed-off-by: Tom Rini <trini@konsulko.com>
2018-08-02We pin on 4.9 linux-ti-staging for now.Jan-Simon Moeller1-0/+1
Revert "linux-ti-staging moved to 4.14" This reverts commit 9e0ff1e9829f3cac0d7a4b90c5456164b8a01b96. Change-Id: I00dc5ce4d249b28b7f9d4e8559aa78a37edbbea3
2018-07-28linux-ti-staging moved to 4.14Jan-Simon Möller1-1/+0
Remove the 4.9 patch queue. Change-Id: Iadd7d4b74085f21f9e487173e9f69ed8969c114b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-07-12Revert "linux-ti-staging moved on to 4.14"Jan-Simon Moeller1-0/+1
Too early. Need to wait for https://gerrit.automotivelinux.org/gerrit/#/c/15127/ This reverts commit 57fa6f2599942b87af20ae8791eeb40bec5569ef. Change-Id: Ie6eabc56c3b5f4af77c944b5eb15e0d36f719756
2018-07-12linux-ti-staging moved on to 4.14Jan-Simon Möller1-1/+0
Thus remove the linux-agl-4.9.inc. Change-Id: I4d3172a58f4bf3e44201b50c183294356d52a3b0 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-07-04Fixing DCAN nodes addressesKhouloud Touil2-1/+24
Fix the DT node addresses to match the reg property addresses, which were verified to match the TRM Change-Id: I1ec1d52b48aa2af7d74779bf0eb6f30bc7a4a6cc Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2018-07-04Enabling the DCAN2 interfaceKhouloud Touil2-0/+49
Modify the DTS file, to add the proper pinmux for the DCAN2 and enable it Change-Id: I21d233eab71d062484f322e8dd0f16df34f6fe76 Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
2018-02-22Remove duplicate bbappend file in meta-agl-bsp/meta-tiJan-Simon Möller1-5/+0
The file was applied twice. Change-Id: I018a7de662c67ecb1dd80311bf171346fb21ca9c Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-02-20Merge "Upgrade wayland-ivi-extension"Jan-Simon Moeller1-0/+5
2018-02-20Fixes for meta-agl-bsp for rockoJan-Simon Möller2-27/+7
These changes are included: - dra7xx-evm,meta-ti: disable gstreamer-plugins-bad on vayu until fixed - meta-boundary: has no rocko branch, remove the folder - meta-intel: generalize the libva bbappend - general: remove the lua bbappend as it is upstream - general: re-add fix for kernel-devsrc (see https://gerrit.automotivelinux.org/gerrit/#/c/11209/) Documents fixme's in meta-agl-bsp/ROCKO.FIXMEs. Change-Id: I3df32632558d503c3ce343f907a1ee1e15ae7e26 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2018-02-14Upgrade wayland-ivi-extensionKazumasa Mitsunari1-0/+5
Upgrade wayland-ivi-extension version to 2.0.% from 1.13. Currently, version is 2.0.2 This change is for only master branch. [PatchSet2] Apply the patch for type conversion for dra7xx board. The patch for wayland-ivi-extension 1.13 is already applied but for 2.0.2 is not applied yet. Bug-AGL: SPEC-1244 Change-Id: I200c19837b8f7b646296a868c14423e55e98bf86 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
2018-01-23linux-ti-staging: Remove linux-dtb.incChanghyeok Bae1-2/+0
WARNING: You are using the linux-dtb.inc which is deprecated. You can safely remove it as the Device Tree support is automatically enabled when KERNEL_DEVICETREE is set. Bug-AGL: SPEC-1181 Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
2017-11-27Added XDG compatibility to ivi-shellRomain Forlot1-0/+0
Backported M.Teyfel patch from wayland-devel mailing list: https://lists.freedesktop.org/archives/wayland-devel/2017-November/035700.html Upgrade wayland-ivi-extension to v2.0.2 but keep using 1.1x for now with PREFERRED_VERSION until HMI could use the new version. Added Emre Ucan simple-id-agent to review. Bug-AGL: SPEC-1096 Change-Id: I74c4ae0bf0bf822e27dcbb193dc9f7a13d3e270d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11991 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Nobuhiko Tanibata <nobuhiko_tanibata@denso.co.jp> Reviewed-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-11-22Rework Linux Kernel fragment applicationsTom Rini6-105/+2
- All kernel recipes must inherit linux-agl.inc - All kernel recipes for a given version (e.g. 4.9) should include linux-VER-agl.inc in order to avoid duplication (such as the SMACK label patch or security fixes) - We enforce having merge_config.sh be invoked at the end, in order to make sure fragments will be applied. - Add a new fragment for Raspberry Pi to ensure the Pi Touchscreen is still enabled. With all of the above, we fix a number of minor issues as well, such as platforms manually enabling NBD/RAMDISK for netboot as the previous logic was not working in all cases. Bug-AGL: SPEC-946 Change-Id: Ic688e899df5861d83712af12d8e1c6c3c9643300 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/12063 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: José Bollo <jobol@nonadev.net> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-28Add joystick.cfg for usb joystick and steering-wheel kernel configurezheng_wenlong1-0/+3
Add joystick.cfg into meta-agl-bsp/recipes-kernel, Then include this cfg in each board bbappend. Related commit: https://gerrit.automotivelinux.org/gerrit/#/c/10463/ Change-Id: Ie484cc8017e7198cefa0d8e7476032c325a8348d Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11575 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: Thomas Rini <trini@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-10-20weston-ini-conf: Rework to use fragments to construct weston.iniTom Rini2-1/+10
Switch to constructing the weston.ini from fragments of files instead of variables and variable flags. This allows for much easier tracking of signatures by leveraging existing mechanisms. Update the Readme to explain how to do the various operations with fragments as well. Note that for QEMU we do not need to pass -show-cursor as it's already provided and we do want to change the VGA driver to one that reliably provides DRM support. For the HDMI connected screens, rather than name them by vendor name them first for connection and then required transformation for correct orientation. For board-specific options, move them to the board directories. When we need to change existing cfg options, rather than replace them the proper location to do this in is the do_configure function. Bug-AGL: SPEC-964 Change-Id: I2cceb4fd64f51eb2ab1d47419b77153cf02d7c12 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11375 Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> 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>
2017-10-05dra7xx-evm: fix build by including linux-dtb.incMatt Porter1-0/+2
meta-ti does not maintain a pyro branch. As such we are relying on building with the master branch. This broke due to commit 391bfb8c3002bbf5ba6a51d689a7f2ba511c6682 which removes support for linux-dtb.inc from the linux-ti-staging recipe due to an oe-core change on master. Add linux-dtb.inc to the bbappend to fix. Bug-AGL: SPEC-932 Change-Id: I3fb6799a5fe4a083159b600a81764d67e5b22771 Signed-off-by: Matt Porter <mporter@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11149 Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-24meta-agl-bsp: meta-ti: Rework Weston patches for 2.0Tom Rini7-258/+21
We can drop the changes for the compositor to support RGB565 as this is now upstream. The other compositor patch is no longer relevant. The soc performance patch needs additional work to link but is also not required for overall functionality so leave that broken. For the rest of the patches we just need to make minor changes about the location of the source files now as the code has reorganized since the patches were written. Bug-AGL: SPEC-908 Change-Id: I7034219510821b8f720328318e3e560783cf16d6 Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11019 Reviewed-by: Scott Murray <scott.murray@konsulko.com> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-18Add uvc.cfg for usb video class kernel configurezheng_wenlong1-0/+3
Add uvc.cfg into meta-agl-bsp/recipes-kernel, Then include this cfg in each board bbappend. See: https://gerrit.automotivelinux.org/gerrit/#/c/10803/ Change-Id: I5faebefef3560a27496103e1ad4a1ca70377a1ba Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10893 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-09-17Fix rpm metadata clash due to change of rpm backendJan-Simon Möller2-0/+6
The rpm backend used in pyro changed behaviour and if multiple packages 'own' a directory the installation will fail. Inject a flag to mitigate this and avoid the break. Conflicting packages libgbm-dev and ti-sgx-ddk-um-dev on /usr/lib/pkgconfig . Change-Id: I52439d94c230a9314a543e00edd247f29d10e113 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10927 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
2017-09-08Upgrade to pyroChanghyeok Bae7-12/+24
u-boot: v2017.01 dlt-daemon: Remove gzipnative inheritance - gzipnative.bbclass is removed in pyro branch. - See ab0f46400c113c0d893be872727a67739d5e794d in poky. gpm: Remove bbappend file - upstream(meta-openembedded) is using git(v1.99.7) and this is not required anymore. gnutls: Remove bbappend file - The patch is already applied in upstream. agl-image-minimal: Remove ROOTFS_PKGMANAGE_BOOTSTRAP - ROOTFS_PKGMANAGE_BOOTSTRAP is removed in upstream. - Please see 529244ee212fe14019e35a5f163fab705ddbf141 in poky. freetype: Change hash value for v2.7.1 binary shadow: Remove shadow_%.bbappend - It's already applied upstream poky. Remove nativesdk-packagegroup-sdk-host.bbappend - It's already applied in upstream poky. faac: Remove bbappend file - It's already applied meta-openembedded upstream. pulseaudio: Change bbappend naming - Upstream yocto provides pulseaudio v10.0. weston: re-create patch to apply new version (v2.0.0) - Remove 0001-compositor-drm.c-Launch-without-input-devices.patch because it's already applied in new version. mesa: Remove 12.0.3 recipe and fix build error for qemux86-64 - Yocto upstream supports 17.0.2 and v12.0.3 is not required anymore in raspberrypi - Error: | configure: error: --enable-gallium-llvm selected but llvm-config is not found wayland-ivi-extension: Upgrade to latest master version - Due to weston upgrade, wayland-ivi-extension should be upgraded. packagegroup-ivi-common-core-multimedia: Remove alsa-lib - alsa-lib has empty package and it's not required anymore. Add agl-driver and agl-passenger in group and passwd - Parsing Error: agl-users: groupname agl-passenger does not have a static ID defined. poky-agl.conf: Change gstreamer default version to v1.10.x - Yocto upstream moves gstreamer to v1.10.4. af-main: Fix build error - Error: file /usr/local conflicts between attempted installs of af-main-1.0-r0.corei7_64 and base-files-3.0.14-r89.qemux86_64 intel-corei7-64: Change gstreamer-vaapi-1.0 name - gstreamer-vaapi-1.0 is moved to oe-core and its name is changed to gstreamer1.0-vaapi. linux-raspberrypi: Drop 4.4 bbappend - The upstream meta-raspberrypi doesn't support v4.4 anymore. - CVE patches are not required anymore. glibc: Remove bbappend - The bug-20116 is already applied in 2.25 cynara,security-manager: Fix build error - cynara: Replace bb.data to d - security-manager: Temporarily use 'no' in APPLY variable u-boot-ota: Add SRC_URI - In pyro, SRC_URI and S is moved from .inc to .bb linux-yocto: Remove 4.8 and 4.4 bbappend - Yocto 2.3 (Pyro) doesn't support v4.8 kernel anymore. - CVE patches in meta-agl-bsp are already applied in Yocto 2.3. tcf-agent: Remove bbappend file - This change is merged to upstream poky (pyro) bluez5: Remove recipe and add .bbappend - Yocto 2.3 (Pyro) already has same version. - bluetooth.conf file is added in .bbappend python-pycrypto: Remove recipe - meta-openembedded (Pyro) already has same version. meta-agl-bsp/classes/image.bbclass: Arrange for pyro - image.bbclass is taken from poky/meta/classes/image.bbclass and only changed IMAGE_TYPE_vm variable. libsoup: Fix native build error temporarily v2 (jsmoeller): meta-agl-bsp/meta-ti: - workaround patches in meta-ti/recipes-arago/gstreamer/gstreamer1.0-plugins-bad_%.bbappend - fix old python code in meta-ti/recipes-arago/ipumm-fw/ipumm-fw_3.00.13.00.bb - workaround patches in meta-ti/recipes-arago/weston/weston_%.bbappend - make specific to dra7xx-evm: -- meta-ti/recipes-bsp/alsa-state/alsa-state.bbappend -- meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend -- rename meta-ti/recipes-multimedia/pulseaudio/pulseaudio/dra7xx-evm-set-default-sink-source.patch -- rename meta-ti/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend TODO/FIXME's in: - meta-agl-bsp/meta-ti/recipes-arago/gstreamer/gstreamer1.0-plugins-bad_%.bbappend - meta-agl-bsp/meta-ti/recipes-arago/weston/weston_%.bbappend - meta-agl-bsp/meta-ti/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend - meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend Bug-AGL: SPEC-646 Change-Id: I4162ae887d3334e9102575e3724483aa25f4bd9c Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10457
2017-08-04meta-agl-bsp: meta-ti: add pvr systemd serviceMatt Porter2-0/+37
dra7xx-evm currently does not initialize graphics correctly because the PVR SGX services are not loaded at the correct time. Add a systemd service which executes the script from the TI DDK before psplash and weston are started. This fixes dra7xx-evm so that HomeScreen comes up on boot. Bug-AGL: SPEC-798 Change-Id: I0649902ac6066062527f345bea5e36e929d19c01 Signed-off-by: Matt Porter <mporter@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10487 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-08-04meta-agl-bsp: meta-ti: add dra7xx-evm weston.ini supportMatt Porter1-0/+1
The change in commit 7d1d7457ff2b71abe95525b26148d5a3e7a42790 to dynamically generate weston.ini in the weston-ini-conf package threw away the working weston.ini conf provided for dra7xx-evm. This resulted in incorrect rotation of the image on the LCD since dra7xx-evm builds were only picking up the default weston-ini-conf .ini file contents for a generic HDMI display. Overriding the output name with the correct drm rendering device name fixes this and the image is displayed again in portrait mode. Bug-AGL: SPEC-801 Change-Id: I52171dee27439667592481dac1ccd5284ed8206c Signed-off-by: Matt Porter <mporter@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10489 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-08-04meta-agl-bsp: meta-ti: append alsa-state with dra7xx-evm defaultsMatt Porter2-0/+1348
The ALSA controls for the onboard tlv320aic3106 codec do not come up with usable default settings for the dra7xx-evm analog audio jacks. Add asound.state defaults for the dra7xx-evm baseboard audio that properly configure the Line DACL1/R1 and PGA MicL1/R1 switches and accordingly gain levels such that the Line-Out and Microphone jacks are functional by default. Bug-AGL: SPEC-803 Change-Id: I6fe80daf1073c4d7c39be610dc99c136b4b3a82b Signed-off-by: Matt Porter <mporter@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10495 Reviewed-by: Thomas Rini <trini@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> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-08-04meta-agl-bsp: meta-ti: pulseaudio: set sink/source for dra7xx-evmMatt Porter2-0/+20
pulseaudio, by default, chooses alsa_output.platform-omap-hdmi-audio.0.auto.analog-stereo as the default sink. This is not desired since the HDMI is not normally used as the dra7xx-evm includes an LCD. Configure the CPU board's alsa_output.platform-sound0.analog-stereo (Line-Out/Headphone) as the default sink and configure the default source too. Bug-AGL: SPEC-804 Change-Id: I5d19aa564c8c162d1f5c68ae298d1d25592c8dc9 Signed-off-by: Matt Porter <mporter@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10497 Reviewed-by: Thomas Rini <trini@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> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
2017-06-28Add CAN drivers by default to AGL boardsRomain Forlot1-0/+3
v2 (jsmoeller): Add append files for boards that need special handling. Change-Id: I172b71be6e825aa6399f22899e9b6eaacc86e72b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9791 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh>
2017-04-20meta-agl-bsp/meta-ti: Fix kernel config fragment about smackKotaro Hashimoto1-0/+6
Previous changes(*) caused to be disable smack setting. This patchset re-enable smack setting. (*)https://gerrit.automotivelinux.org/gerrit/#/c/8567/ Bug-AGL: SPEC-450 Change-Id: Ib0e28b232ce9f39df71cd194baedbbaeab9f62ca Signed-off-by: Kotaro Hashimoto <Hashimoto.Kotaro@ds.MitsubishiElectric.co.jp>
2017-04-19Use weston-init to startup westonRonan Le Martret4-175/+0
* weston.service should not be a part of weston recipes * remove weston.service from AGL weston recipes * yocto upstream uses the recipe weston-init to startup weston * customize weston-start with sed - remove openvt - add option to weston-launch * customize weston.service with sed - add option for weston * unified the weston startup beteween AGL BSPs * remove fix on the AGL BSP Bug-AGL: SPEC-452 Bug-AGL: SPEC-310 Change-Id: I12722826abdc004214d289961e900c36528ec6e3 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-04-04dra7xx: cleanup of gstreamer filesKarthik Ramanan2-176/+0
Change-Id: If77f088450ea9473523fdc35cb72fbc83bff285a Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-04-04dra7xx: gstreamer1.0-plugins-bad: Upgrade to 1.8.2Karthik Ramanan11-0/+5140
Apart from upgrading to 1.8.2 as the base, it also contains several TI specific patches that are required to enable functionality for kmssink and waylandsink. A few bug fixes have also been included in this patch set. This recipe is rehosted from meta-arago Change-Id: I2a5b95db1b0e6b2b907f3e82ff738fd8124c0998 Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-04-04dra7xx: gst-plugins-ti: Update VPE plugins to latestKarthik Ramanan1-2/+2
Change-Id: I080e800929f9b25428a604a23ac4d15df4ae3cad Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-04-03dra7xx: gst-plugins-ti: Update ducati plugins to latestKarthik Ramanan1-2/+2
Change-Id: Idb53f6c42802d0ab4b4d995451c3dc76063ca498 Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-03-30Generate weston.ini dynamicallyRonan Le Martret1-11/+0
* remove weston-intel.ini * add new package weston-ini-conf * the list of the sections of weston.ini is described in variable flags WESTONSECTION * each section is described in variable flags WESTONSECTION * each output screen is described in agl_screen variable Bug-AGL: SPEC-477 Change-Id: I3d25ab49018e3842c916993ba8b9bcc2428d5170 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-03-30dra7xx: linux: Update smack patches for Kernel 4.9Karthik Ramanan4-150/+0
Change-Id: Ie6e56fbbf877be62d69daa0d06141009cb99422a Signed-off-by: Karthik Ramanan <a0393906@ti.com>
2017-03-30dra7xx: Remove SRC_URI updateKarthik Ramanan1-11/+0
Change-Id: I9ce4a9d1019269e4955544e341b5d1d0bd7a3e15 Signed-off-by: Karthik Ramanan <a0393906@ti.com>