aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-sancloud
AgeCommit message (Collapse)AuthorFilesLines
2021-06-29Refactor kernel configuration fragment handlingScott Murray1-1/+1
Refactor the kernel configuration fragment handling to shift all AGL applied configuration fragments into a new AGL_KCONFIG_FRAGMENTS variable that is used to generate SRC_URI and KERNEL_CONFIG_FRAGMENTS additions for the various BSPs. The intent is to make it simple to disable AGL provided configuration in downstream builds as the IC EG has expressed as a requirement. Additionally, the rework has allowed for some clean up of accumulated cruft. In practice, clearing AGL_KCONFIG_FRAGMENTS drops all non-BSP provided kernel configuration with the exception of some qemu BSP related additions required for AGL CI and some explicitly configurable things like netboot support. Notable changes: - Instead of always using AGL's own fragment merging logic on top of the BSP kernel recipe, an effort is now made to leverage the BSP recipes' own merging schemes, so there are now separate include files for kernel-yocto.bbclass and plain kernel.bbclass based kernel recipes, as well as a common include file that defines the AGL_KCONFIG_FRAGMENTS variable and its derivations. That file can be included directly in bbappends for BSP kernel recipes that use the KERNEL_CONFIG_FRAGMENTS scheme (e.g. meta-ti, meta-qcom). - The SMACK enabling configuration in meta-app-framework has been updated to supply different fragments for enabling SMACK by default for 4.x and 5.x kernels. This removes a warning from always supplying the old configuration, and allows providing a CONFIG_LSM definition to ensure over-riding any BSP modifications. This allows removing the previous hack to handle CONFIG_LSM being set in the defconfigs in linux-raspberrypi. - By request, the linux-yocto support from meta-agl-bsp/meta-core has been rationalized into meta-agl-core to improve the experience when using meta-agl-core standalone for testing. - All demo supporting kernel configuration has been removed, a subsequent change to meta-agl-demo will add it there by leveraging AGL_KCONFIG_FRAGMENTS. - The hardware device support has been split out of the can-bus.cfg fragment, in favor of shifting it to meta-agl-demo. A few other stray non-CAN configuration options have also been removed from can-bus.cfg, as they do not seem to be required. Bug-AGL: SPEC-3983 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: If6662fd36e26cec767b1d53b1188a74d01ef9dcf Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26460 Reviewed-by: Hiroyuki Ishii <ishii.hiroyuki002@jp.panasonic.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
2020-07-15meta-agl-bsp: meta-sancloud: Use 1080p screen resolutionPaul Barker1-3/+0
Bug-AGL: SPEC-3498 Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk> Change-Id: Id2e8af3dfac4db8040b7ab40ec6b11bb4d1737ae Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25022 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>
2019-05-14meta-agl-bsp: meta-sancloud: weston-ini-conf: Use 720p resolution where possiblePaul Barker1-0/+3
The BBE is has fairly limited CPU and Graphics power so everything is sluggish at 1080p. Things work much better at 720p. However, if the 'hdmi-a-1-270.cfg' file has been removed (for example, when building the cluster demo) then don't try to modify it. Bug-AGL: SPEC-2409 Change-Id: I614bf6a7d65f5d51b6f9b1b776851562151fe2f6 Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>
2019-05-14meta-agl-bsp: meta-sancloud: weston-ini-conf: Set correct gbm-formatPaul Barker1-0/+3
The default gbm-format needs to be changed on the BeagleBone Enhanced due to a hardware errata on the AM335x SoC. For further details see the following section of the TI wiki: http://processors.wiki.ti.com/index.php/Processor_Linux_SDK_Graphics_and_Display#AM3_Beagle_Bone_Black_Board_Configuration The TI documentation recommends further changes to powervr.ini and qt_env.sh. The change to powervr.ini is already applied in the meta-sancloud layer and the change to qt_env.sh was found not to be needed. Bug-AGL: SPEC-2409 Change-Id: Iec91ab939b13bd4f936e64681d45931dafb8ee91 Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>
2019-05-14meta-agl-bsp: meta-sancloud: linux-bbe: Reserve 256MB for CMAPaul Barker2-0/+5
The tilcdc DRM driver needs more CMA memory available than we reserve by default in order to give a working GUI in AGL guppy. Bug-AGL: SPEC-2409 Change-Id: I0e09773c37133db86520fc15ed0ad11e80382b2e Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>
2019-05-14meta-agl-bsp: meta-sancloud: linux-bbe: Apply AGL kernel changesPaul Barker1-0/+1
This is the first step towards integration of the Sancloud BeagleBone Enhanced (BBE) BSP with AGL. When building the BBE kernel for AGL we need to pick up the correct .inc files. Bug-AGL: SPEC-2409 Change-Id: I05fe3094e75e873984df57f9610c704dd3c10e29 Signed-off-by: Paul Barker <paul.barker@sancloud.co.uk>