Age | Commit message (Collapse) | Author | Files | Lines |
|
This is effectively a manual cherry-pick and squash of commits:
dd6fc5dcaa0a027b7651bb365d5dd0f623498f8f
917a82316bf53ead29d6345a39189d9e4efeef25
20e81c0a9d36660de671dd5ac2e006e31c0e621b
from the master branch with additional review and fixups.
The intent of these changes is to minimize the effort to backport
fixes from the master branch, which has been updated in preparation
for the switch to the next Yocto LTS release in early 2022.
Bug-AGL: SPEC-4144
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I91c1640c6335d7748a2531d2fe8bf86d2d2aee32
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26876
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>
|
|
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
|
|
The layer updates to go to the latest 3.1.4 Yocto dunfell release
broke the imx8mqevk and imx8mqevk-viv builds, though for different
reasons.
imx8mqevk fixes:
- Remove the now upstreamed etnaviv kernel patches that had been
backported by Walter.
- Turn off btrfs support in the linux-fslc-imx kernel configuration.
This is required due to meta-freescale having a 5.4 kernel new
enough to need a lttng-modules fix for btrfs that has not yet been
backported from the Yocto master branch to dunfell.
- Update the PREFERRED_VERSION over-rides in agl_imx8mqevk.inc to
match the new versions of libdrm and gstreamer in poky.
imx8mqevk-viv fixes:
- Add weston_8.0.0.imx.bbappend to work around the broken addition
of a PACKAGECONFIG_remove of "x11 wayland" in the recipe in
meta-freescale. Upstream will be engaged to drive getting the
change reverted.
Bug-AGL: SPEC-3725
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I259f2d048a9de653a0060afcef17c4410093783a
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25772
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: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
|
|
Initial tests of AGL with etnaviv showed random GPU hangs. After
discussion add some mainline patches not yet present in linux-fslc-imx
in order to fix them.
BUG-AGL: SPEC-3520
Signed-off-by: Walter Lozano <walter.lozano@collabora.com>
Change-Id: I8ac51e7ec91fa033554270cd79ca1b55c5862103
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25163
Reviewed-by: Daniel Stone <daniels@collabora.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>
|
|
To enable debugging/development of the etnaviv driver against the
GC7000L GPU in the i.MX8MQ, add a "imx8mqevk" template that uses
etnaviv instead of Vivante. Since there seem to be some issues
with respect to GPU hangs and resulting graphical corruption, the
existing "imx8mqevk-viv" template that uses Vivante has been
retained for now.
Bug-AGL: SPEC-3520
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: If5b84c6021994cce0f30410985b1ec4678e718ef
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/25058
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: Walter Lozano <walter.lozano@collabora.com>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
|
|
Add imx8mqevk-viv machine template for i.MX8MQ EVK which uses the
default Vivante driver configuration in meta-freescale with the
new community linux-fslc-imx kernel. The following additional changes
have been made to support this:
- A linux-fslc-imx bbappend has been added to pull in the AGL kernel
configuration, and a imx8mq-evkb config fragment has been added to
enable the required Wifi driver for the updated EVKB board.
- Stale qtbase and weston-init bbappends/patches have been removed
from meta-agl-bsp/meta-freescale-layer.
- The meta-agl-profile-graphical Weston 8.0.0 bbappend has been
renamed to 8.0.% so the wildcard will apply it to meta-freescale's
weston_8.0.0.imx recipe.
Known issues:
- The required PipeWire configuration for the onboard audio needs
further investigation.
Bug-AGL: SPEC-3258
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I4ea5437ef0ea8bedb9dd2157f2822ff25ee56cff
|
|
meta-freescale has removed the linux-fslc-imx recipe in its master
and dunfell branches, so remove the local bbappend to avoid parse
errors. That kernel is currently not used by any machine template
in-tree, so there should be no impact.
Bug-AGL: SPEC-3302
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Iea9a5ae11ef90f5ce217ac5b379b133c6d0948a8
|
|
The imx6qsabreauto target was falling behind and could not be build for GG-7.0.
The commit 808fff5 from 'AGL-repo' removed reference to external repos meta-freescale-3rdparty and meta-freescale-distro.
However 'meta-agl' was not updated to follow up on this change which broke configuration for imx6 based targets.
This patch makes the required changes to fix the imx6qsabreauto machine configuration:
- removes reference to deleted layers: meta-freescale-3rdparty and meta-freescale-distro
- updates MACHINE value to imx6qdlsabreauto as defined in meta-freescale layer
- deletes reference to packagegroup-fscl-* not required to build AGL
- add "agl-medium-arm-compiler" to DISTRO_FEATURES so DEFAULTTUNE is correctly set to 'armv7athf-neon'
v2 (jsmoeller): moved board name to match MACHINE
v3 (bechir.mghirbi):
- remove wayland_2.0.0 as weston_4.0.0.imx is used.
- use default IMAGE_FSTYPES as bitbake is complaining that no IMAGE_CMD defined for IMAGE_FSTYPES entry 'sdcard'
- Add CFG80211 Kernel configuration
Change-Id: Ib8b1d254972c737725247a5b13ce333e8ef9d4dc
Signed-off-by: Bechir Mghirbi <bechir.mghirbi@grammer.com>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Using the OVERRIDE "smack" came with the use of
the layer meta-intel-iot-security.
When switching to meta-security, it conflicts with the
package name 'smack' that provide the smack user library.
Yocto was reporting the following error:
ERROR: .../meta-security/recipes-security/smack/smack_1.3.0.bb:
QA Issue: Recipe .../meta-security/recipes-security/smack/smack_1.3.0.bb
has PN of "smack" which is in OVERRIDES, this can result
in unexpected behaviour. [pn-overrides]
Change-Id: Id71b283bf1ce5682bd94bf96595eb32506acb1d5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
- 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>
|
|
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>
|
|
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>
|
|
Bug-AGL: SPEC-704
This is part of the fixe to make i.MX6 buildable again.
Following fixes are included in this change:
- adding build target imx6qsabreauto
- fixing qt5.8 build error
- refine bblayers.conf layer order (for dynamic-layers)
- meta-fsl-arm -> meta-freescale layer name change
- weston.ini lines (use fbdev-backend.so)
- /dev/galcore permission (by /etc/udev/rules.d/zz-dri.rules)
- kernel configuraion to include smack, etc.
Follwings are stil not addressed yet:
- bblayer.conf layer order still have issue re. dynamic-layers
- built and booted on imx6qsabreauto only yet.
following existing community boards may need update
(i have imx6qsabrelite, but no notrogen6x)
Note, this fix is prepared independently of nxp or fsl-community,
who should follow-up if there are mistakes to be fixed, or updates
that they find needed.
Update:
Refined on review comment regarding tune settings and
kernel configurations. The board successfully boots and shows
AGL homescreen.
But I found I still have problem with USB.
lsusb says 'unable to initialize libusb: -99' error which I am
still faling to find the cause.
Update2:
usb issue may be related to dtb configuration in linux-fslc-imx
better to be tracked separately
Change-Id: If5fa4e5f0450385bcb2648d57e63dc1fc14b0574
Signed-off-by: Takashi Matsuzawa <tmatsuzawa@xevo.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9871
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>
|