Commit Graph

370 Commits

Author SHA1 Message Date
Tom Hochstein
06752ec1d7 imx-gpu-sdk: Upgrade 5.7.1 -> 6.0.2
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-10-18 15:16:51 -03:00
Tom Hochstein
2153fbd749 imx-gpu-sdk: Don't use BB_NUMBER_THREADS in do_compile
Problem reported by Rasmus Villemoes <rasmus.villemoes@prevas.dk>:

```
The imx-gpu-sdk recipe in the meta-imx layer references
${BB_NUMBER_THREADS} in its do_compile function. Changing
BB_NUMBER_THREADS between bitbake invocations leads to the well-known

  When reparsing ...meta-imx/meta-sdk/recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_5.8.0.bb:do_compile, the basehash value changed from 69be88cf220840ff2203e11cfe65681880b0bf9b88db67d50c1ba772b883bd18 to 5e6d5029fac8d7856ada4c2eca359568298f82cdb64567d7dd4deda503d9f83a. The metadata is not deterministic and this needs to be fixed.

This happens because BB_NUMBER_THREADS is in BB_HASHCONFIG_IGNORE_VARS,
so changing it does not cause the recipe to be reparsed, but it is not
included in BB_HASHEXCLUDE_COMMON and thus BB_BASEHASH_IGNORE_VARS.
```

Fix as suggested by Richard Purdie <richard.purdie@linuxfoundation.org>:

```
Technically imx-gpu-sdk is incorrect. BB_NUMBER_THREADS is the number of tasks
bitbake should run. PARALLEL_MAKE is what is used for parallelism in do_compile.

I appreciate that has -j in but you can use: ${@oe.utils.parallel_make(d)} to
obtain the value that recipe needs.
```

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-10-18 15:16:51 -03:00
Ming Liu
23b411cf79 distro:fslc-base.inc: drop bluez5 from DISTRO_FEATURES
Since commit dcf889e93401f7c4de0055d53271eacc3882eccc in OE:
[
    meta: Remove remnants of bluez4 support

    bluez4 was removed from meta-oe 2 years ago.

    Simplfy the setup of the two level bluetooth and bluez4/bluez5
    distro features by removing the bluez4/bluez5 distro features.

    This also removes the no longer required bluetooth class.

    Signed-off-by: Adrian Bunk <bunk@stusta.de>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
]

bluez5 is no longer a distro feature, and there is no reference to it
neither in Freescale/OE meta layers, let's drop it.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
2022-10-05 08:19:55 -03:00
Otavio Salvador
27db351d18 layers: Add langdale to LAYERSERIES_COMPAT
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2022-10-01 08:32:46 -03:00
Tom Hochstein
f0bcaff5e1 fsl-base.inc: Upgrade gstreamer1.0 1.18.5.imx -> 1.20.0.imx
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-09-08 12:58:39 -03:00
Tom Hochstein
131b33554d openssh: Disable rng-tools
All i.MX beginning with 6 have hardware support for entropy, so there
is no need for rng-tools. Removing it helps startup performance.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-09-08 12:58:39 -03:00
Luan Rafael Carneiro
eb5cb63aba distro/include/fslc-base: Change distro version 3.4 to 4.1
Signed-off-by: Luan Rafael Carneiro <luan.rafael@ossystems.com.br>
2022-04-30 12:02:22 -03:00
Tom Hochstein
074e06ecd7 fsl-base.inc: Downgrade ffmpeg 5.0.0 -> 4.4.1
The i.MX 1.18.5 version of gstreamer1.0-libav is not compatible with
upstream ffmpeg 5.5.0 and results in the follow build errors:

```
/opt/work/upstream/fsl-xwayland/tmp/work/cortexa35-mx8-fsl-linux/gstreamer1.0-libav/1.18.5-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.2.0/ld: ext/libav/libgstlibav.so.p/gstavaudenc.c.o: in function `gst_ffmpegaudenc_set_format':
/usr/src/debug/gstreamer1.0-libav/1.18.5-r0/build/../gst-libav-1.18.5/ext/libav/gstavaudenc.c:246: undefined reference to `avcodec_get_context_defaults3'
/opt/work/upstream/fsl-xwayland/tmp/work/cortexa35-mx8-fsl-linux/gstreamer1.0-libav/1.18.5-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.2.0/ld: /usr/src/debug/gstreamer1.0-libav/1.18.5-r0/build/../gst-libav-1.18.5/ext/libav/gstavaudenc.c:292: undefined reference to `avcodec_get_context_defaults3'
/opt/work/upstream/fsl-xwayland/tmp/work/cortexa35-mx8-fsl-linux/gstreamer1.0-libav/1.18.5-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.2.0/ld: /usr/src/debug/gstreamer1.0-libav/1.18.5-r0/build/../gst-libav-1.18.5/ext/libav/gstavaudenc.c:336: undefined reference to `avcodec_get_context_defaults3'
/opt/work/upstream/fsl-xwayland/tmp/work/cortexa35-mx8-fsl-linux/gstreamer1.0-libav/1.18.5-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.2.0/ld: /usr/src/debug/gstreamer1.0-libav/1.18.5-r0/build/../gst-libav-1.18.5/ext/libav/gstavaudenc.c:317: undefined reference to `avcodec_get_context_defaults3'
/opt/work/upstream/fsl-xwayland/tmp/work/cortexa35-mx8-fsl-linux/gstreamer1.0-libav/1.18.5-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.2.0/ld: ext/libav/libgstlibav.so.p/gstavaudenc.c.o: in function `gst_ffmpegaudenc_start':
/usr/src/debug/gstreamer1.0-libav/1.18.5-r0/build/../gst-libav-1.18.5/ext/libav/gstavaudenc.c:197: undefined reference to `avcodec_get_context_defaults3'
/opt/work/upstream/fsl-xwayland/tmp/work/cortexa35-mx8-fsl-linux/gstreamer1.0-libav/1.18.5-r0/recipe-sysroot-native/usr/bin/aarch64-fsl-linux/../../libexec/aarch64-fsl-linux/gcc/aarch64-fsl-linux/11.2.0/ld: ext/libav/libgstlibav.so.p/gstavvidenc.c.o:/usr/src/debug/gstreamer1.0-libav/1.18.5-r0/build/../gst-libav-1.18.5/ext/libav/gstavvidenc.c:252: more undefined references to `avcodec_get_context_defaults3' follow
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
```

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-04-04 20:24:20 -03:00
Tom Hochstein
3aec89457c fsl-base.inc: Upgrade gstreamer 1.18.0.imx -> 1.18.5.imx
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-04-04 20:24:20 -03:00
Ming Liu
3f590faa10 weston-init:profile: change to set WAYLAND_DISPLAY
Setting XDG_RUNTIME_DIR variable in profile env would not help for
log-in users except weston.

There is now a global /run/wayland-0 socket that gets created for
wayland clients to access, let's use that instead.

Reference commit in OE:
[
commit dd83fb40f76749c6689807afabc63b9d5c2a4065
Author: Joshua Watt <JPEWhacker@gmail.com>
Date:   Thu Nov 19 16:58:53 2020 -0600

    weston-init: Stop running weston as root

    Running the weston compositor as the root user is an insecure default
    behavior for OE-core. We can do much better, at least when using
    systemd. Change the recipe to create a dedicated "weston" user and start
    weston as this user. The systemd service and socket units are no longer
    template units, as there were several inconsistencies in the templates.
    Instead, there is now a global /run/wayland-0 socket that gets created,
    and systemd will start weston on demand when a client connects to that
    socket or when attempting to reach graphical.target, whichever comes
    first. This also allows downstream users to easily change the behavior
    so that weston *only* starts on demand by adding a drop file. Access to
    the global socket is controlled by a "wayland" group; any user that is a
    member of the group can use the socket to talk to the compositor. This
    also satisfies another use case where another systemd service might
    start a graphical application that needs to display with weston (e.g. a
    single function device in kiosk mode). Finally, the udev rules for
    starting weston with the existance of a DRM device have been removed.
    Being WantedBy= a graphical target should eliminate the need for this
    behavior, and having it present makes it difficult for downstream users
    to start weston on demand (having to override the udev rules).

    Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
]

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
2022-03-17 12:13:06 -03:00
Ming Liu
2dc6a7901f weston-init: change to weston user
Now weston is being started as weston user, adapt to that.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
2022-03-15 10:32:15 -03:00
Max Krummenacher
f9cfe52b28 packagegroup-fsl-gstreamer: follow oe-core's variable name changes
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-03-06 13:12:45 -03:00
Andrey Zhizhikin
e05b101133 layer: Update LICENSE variable to use SPDX license identifiers
Since OE-Core commit 9379f80f48 ("license/insane: Show warning for
obsolete license usage"), LICENSE field not containing SPDX identifiers
are treated with WARNING.

An automated conversion using scripts/contrib/convert-spdx-licenses.py to
convert to use the standard SPDX license identifiers has been done on
the entire layer.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2022-03-03 13:10:37 -03:00
Otavio Salvador
951cd13b0e distro/fsl-base: Use new generic overrides to reduce code
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2022-02-23 15:00:31 -03:00
Tom Hochstein
42ce52389d Generalize overrides subsystem for NXP and Mainline support
See corresponding commit in meta-freescale.

Fixes: #791.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-02-23 10:16:53 -03:00
Tom Hochstein
d5af93ff86 layer.conf: Bump to kirkstone
It's not backward ABI compatible with honister due to variable renaming.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-02-22 13:50:47 -03:00
Tom Hochstein
6e61e90e45 fslc-base.inc: Allow override of BUILDHISTORY_COMMIT
The user cannot disable buildhistory from local.conf because it is set
in fslc-base.inc. Use a default setting instead.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-02-18 14:46:49 -03:00
Andrey Zhizhikin
3d8f489871 recipes-graphics: correct fetch links using github
This fixes warnings from Bitbake, which were introduced to adhere to
GitHub requirements [1].

Link: [1]: https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2022-02-18 10:36:56 -03:00
Andrey Zhizhikin
c99cb8577e layer: set missing branch and protocol for recipes using git
Recent Bitbake update introduced following commits in attempt to adapt
to new requirement from GitHub [1]:
86a9c268 ("fetch2/git: Add a warning asking users to set a branch in git urls")
42526a40 ("fetch/git: Show warning for invalid github urls")

There is a warning issued for those recipes that either do not
explicitly provide branch parameter to the Bitbake fetcher, or still
using unauthenticated git:// protocol.

Adapt recipes across layer to accommodate for those new requirements.

Link: [1]: https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-11-10 08:52:23 -03:00
Tom Hochstein
d2e27cc477 assimp: Replace failing patch
The patch to remove non-compliant source fails due to the existence of
binaries.

Drop the patch and instead remove the non-compliant source manually
from do_unpack.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-09-22 14:51:37 -03:00
Tom Hochstein
f00804ef8a assimp: Add recipe
The recipe assimp was dropped from OE-core due to license issues and the
lack of any dependency.

The recipe is needed by imx-gpu-sdk, so copy it locally, with an extra
patch to remove the license issues.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-09-14 17:28:09 -03:00
Tom Hochstein
240875a3e3 fslc-base.inc: Fix fslc overrides
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-09-13 20:33:09 -03:00
Tom Hochstein
ff0076e26d weston-init: Set XDG_RUNTIME_DIR manually
The variable is not set for ssh or console, causing app failures. It's
not clear if this is an error or by design, but setting it manually
does help and doesn't seem to hurt.

Set for fsl and fslc distros.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-09-13 20:33:09 -03:00
Tom Hochstein
cd926ddf8d fsl-base.inc: Set gstreamer preferred version to 1.18.0[.imx]
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-09-11 15:21:18 -03:00
Chris Dimich
819524f714 fsl-image-multimedia: conditionally add weston to IMAGE_FEATURES
If wayland is in DISTRO_FEATURES weston is installed in
CORE_IMAGE_EXTRA_INSTALL so include it in IMAGE_FEATURES as well.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-09-02 14:29:49 -03:00
Andrey Zhizhikin
3b5b14e5f9 conf: distro: use proper syntax to define init system
Since OE-Core commit 8d0b4704a5 ("defaultsetup.conf: enable select init
manager"), init manager setting is moved to a separate variable and
simplified.

Yocto documentation [1] suggests that the new syntax should be used to
define init manager in distro definitions.

Convert all syntax to use new init system selection.

Link: [1]: https://docs.yoctoproject.org/singleindex.html#init-system-selection
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-09-02 08:42:09 -03:00
Andrey Zhizhikin
16bde69490 Revert "packagegroup-fsl-tools-gpu: exclude broken imx-gpu-apitrace"
imx-gpu-apitrace package has additional patch and can be build with
glibc >= 2.34

This reverts commit 92c75c69e2.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-09-02 08:16:48 -03:00
Andrey Zhizhikin
92c75c69e2 packagegroup-fsl-tools-gpu: exclude broken imx-gpu-apitrace
imx-gpu-apitrace package build is broken since glibc 2.34+ since
upstream version used the glibc private API version and does not
have a solution yet, see [1].

Exclude the imx-gpu-apitrace package from package group until it is
updated to be compatible with newer glibc.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Link: [1]: https://github.com/apitrace/apitrace/issues/756
2021-08-18 08:42:30 -03:00
Tom Hochstein
5e24e69875 layer: Adjust more overrides
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-08-13 13:42:46 -03:00
Daiane Angolini
b0e1fcf2ab Convert to new override syntax
Result of script poky/scripts/contrib/convert-overrides.py

Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
2021-08-13 13:42:46 -03:00
Daiane Angolini
0420615ba7 layer.conf: Drop compatibility with older than hardknott releases
New override syntax requires it

Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
2021-08-13 13:42:46 -03:00
Vinicius Aquino
18b505eeb3 cicd: backport: Fix events allowing the workflow to run
Even when using pull_request_target, the merged is issued as
pull_request and this should be used to ensure we can run the workflow.

Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2021-08-09 12:35:17 -03:00
Tom Hochstein
f940e3c1cf fsl-image-machine-test: Add firmwared
1. Firmware loading failure occurs for regulatory.db:

[    3.616070] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.624709] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[   64.473750] cfg80211: failed to load regulatory.db

2. Firmware loading failure occurs for imx-sdma if set to builtin:

[   64.474069] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[   64.496589] imx-sdma 20ec000.sdma: Falling back to sysfs fallback for: imx/sdma/sdma-imx6q.bin</div>
[  125.913831] imx-sdma 20ec000.sdma: external firmware not found, using ROM firmware

Add firmwared to the image to provide firmware loading for the
firmware fallback mechanism.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-07-20 13:29:26 -03:00
Tom Hochstein
0edf697d0b fsl-base.inc: Set linux-imx-mfgtool as preferred provider
Prevent multiple providers:

```
ERROR: Multiple .bb files are due to be built which each provide linux-mfgtool:
  /opt/work/upstream/sources/meta-freescale/recipes-kernel/linux/linux-imx-mfgtool_5.10.bb
  /opt/work/upstream/sources/meta-freescale/recipes-kernel/linux/linux-fslc-lts-mfgtool_5.10.bb
```

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-07-09 15:23:47 -03:00
Vinicius Aquino
1a4aba98d8 cicd: Add backport workflow
This allow for easier backport of PRs to existing releases.

Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
2021-07-07 09:28:08 -03:00
Andrey Zhizhikin
a5ab98ee29 fsl-image-multimedia: remove clutter-1.0-examples
OE-Core upstream commit 8431708201 ("Remove Clutter and Cogl") has
dropped the support for clutter package and removed recipe from the base
layer.

Drop inclusion of clutter-1.0-examples from the image as the recipe
providing it is not available any longer.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-06-05 14:31:37 -03:00
Andrey Zhizhikin
d3c1cc7dd2 packagegroup-fsl-tools-testapps: remove clutter-1.0-examples
OE-Core upstream commit 8431708201 ("Remove Clutter and Cogl") has
dropped the support for clutter package and removed recipe from the base
layer.

Drop inclusion of clutter-1.0-examples from the package group as the
recipe providing it is not available any longer.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-06-05 14:31:37 -03:00
Andrey Zhizhikin
d94fbaad1e imx-gpu-sdk: upgrade to 5.7.1
Upgrade GPU SDK to latest release 5.7.1 from upstream.

----
Release 5.7.1
- Compatible with GCC11
- Fixed G2D dependency issue.
- Fixed android compilation issues.
- Added some notes to help people that hit a "access denied" error when trying to run the visual studio cmake project.
- Updated to OpenCV 4.5.2
----

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-05-06 17:41:15 -03:00
Andrey Zhizhikin
122bec148c imx-gpu-sdk: upgrade to 5.7.0
Upgrade GPU SDK to latest release 5.7.0 from upstream.

----
Release 5.7.0

* Python 3.6 or better is now required
* Updated all setup guides.
* Windows and Ubuntu now uses cmake find_package to locate the system OpenCL implementation.
  This removes the the dependency on the deprecated AMD App SDK.
* Samples:
  * New Vulkan sample: Vulkan.GenerateMipMaps
  * New Vulkan sample: Vulkan.ShaderClock sample (VK_KHR_shader_clock)
  * Vulkan samples updated to utilize the new mipmap generation code.
* Build tools:
  * FslBuildCheck.py clang tidy now defaults to use cmake for dependencies. Legacy mode can still be used by adding ```--legacy```.
  * FslBuild on windows now defaults to the cmake visual studio generator.
  * FslBuild now support package flavors.
  * **Breaking change** FslBuild removed support for dynamic variants.
  * **Breaking change** FslBuild custom Visual Studio project generator no longer use dynamic variants for the OpenGL ES and OpenVG emulation.
    This means we no longer generate a the ```.StartProject.bat``` file. The user is now responsible calling ```ConfigureOpenGLESEmu.bat```
    to configure the OpenGL ES emulator before launching the project.. Its recommended to call this right after the prepare.bat file.
* Dependencies:
  * Upgraded FMT to 7.1.
  * Upgraded GLM to 0.9.9
  * Upgraded GLI to master branch snapshot (0c171ee87fcfe35a7e0e0445adef06f92e0b6a91)
  * Upgraded RapidVulkan to 1.2.162
----

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-05-06 17:41:15 -03:00
Andrey Zhizhikin
8fc4355dce gli: upgrade to 0.8.4.0
This version is required by the GPU SDK 5.7.0 and higher, see [1].

Switch branch to master, sync up to commit 0c171ee8 ("Clean up") and
drop patches already applied upstream.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Link: [1] https://github.com/NXPmicro/gtec-demo-framework/releases/tag/5.7.0
2021-05-06 17:41:15 -03:00
Andrey Zhizhikin
2f3fa61232 rapidvulkan: upgrade to 1.2.162.0
This version is required by GPU SDK 5.7.0

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-05-06 17:41:15 -03:00
Andrey Zhizhikin
36264e4abf gli: backport upstream patches to resolve gcc11 build
According to the GCC11 Porting Guide [1], error is issued on ordered
pointer comparison with integer which causes the following build
failure:

| test/core/core_convert.cpp:35:85: error: ordered comparison of pointer with integer zero ('const char*' and 'int')
|    35 |         if(std::strstr(FilenameDst, ".dds") > 0 || std::strstr(FilenameDst, ".ktx") > 0)
|       |                                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~

Backport upstream patch to correct the ordered comparison.

Link: [1] https://gcc.gnu.org/gcc-11/porting_to.html
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-05-05 08:12:06 -03:00
Otavio Salvador
b0ab9f02cf distro: fslc-base: set version for development
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2021-04-30 09:05:29 -03:00
Otavio Salvador
916df6d24c distro: fslc-base: set version to 3.3
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2021-04-30 09:05:29 -03:00
Nate Drude
567e92a9ad packagegroup-fsl-tools-testapps: Update SOC_TOOLS_TEST
Install imx-test on all i.MX SoCs
Install imx-gpu-viv-demos on all SoCs with GPU
(previously they were missing on SOCs without 2D GPU like the imx8mq)

Signed-off-by: Nate Drude <nate.d@variscite.com>
2021-04-27 17:36:01 -03:00
Nate Drude
789e6a2a58 packagegroup-fsl-tools-gpu: Install imx-gpu-sdk and imx-gpu-viv-tools for all SOCs with GPU
As a result these packages will be installed on all i.MX8 SOCs.
Previously they were missing on SOCs without 2D GPU (e.g. imx8mq).

Signed-off-by: Nate Drude <nate.d@variscite.com>
2021-04-27 17:36:01 -03:00
Vinicius Aquino
9fec9e6a83 distro/fsl-x11: Remove fsl-x11 distro
x11 is not supported by NXP/Freescale anymore.
(Mentioned on Pull Request #702 at meta-freescale)

Signed-off-by: Vinicius Aquino <voa.aquino@gmail.com>
2021-04-20 17:16:08 -03:00
Tom Hochstein
e676667720 fsl-base.inc: Simplify default selection of u-boot-imx
Use the new variable IMX_DEFAULT_BOOTLOADER to select u-boot-imx as
the default for the distro.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-03-13 13:19:15 -03:00
Tom Hochstein
0dded24a2c fsl-base.inc: Remove u-boot-imx overrides
The u-boot settings in imx6qdlsabresd, imx6qdlsabreauto, and imx6ulevk are
set to values that are correct for u-boot-fslc. Attempts to override these
settings to fix u-boot-imx builds have broken u-boot-fslc builds, and
vice versa. The u-boot-imx build is currently broken:

```
| install: cannot stat '/opt/work/upstream/fsl-xwayland/tmp/work/imx6qdlsabresd-fsl-linux-gnueabi/u-boot-imx/2020.04-r0/build/u-boot.img': No such file or directory
```

The overall design is reworked, and the overrides here are simply dropped.

Fixes: 880dbf2 ("fsl-base.inc: use conditional assignment for base variables")
Fixes: e83f54d ("machines: imx-base.inc: fix failing u-boot builds")
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-03-13 13:19:15 -03:00
Andrey Zhizhikin
1deb1a9032 devil: correct license file to match upstream
Upstream commit 2456f523cf ("licenses: Update license file to match
current SPDX names") deprecated the usage of LGPL-2.1 SPDX identifier,
removed LGPL-2.1 license file and replaced it with LGPL-2.1-only SPDX
identifier and text file.

Adjust recipe to use new SDPX identifier and text file.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-03-04 17:23:07 -03:00