Compare commits

...

313 Commits
1.4 ... master

Author SHA1 Message Date
Tom Hochstein
8001652aa3 libxdg-shell: Fix build for Whinlatter
- Replace WORKDIR with UNPACKDIR
- Add patch to specify a CMake minimum version

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2025-10-09 11:05:04 -03:00
Tom Hochstein
18981fdd8b assimp: Upgrade 5.0.1 -> 5.4.3
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2025-10-06 12:36:39 -03:00
Neena Busireddy
5aa9e30f1a meta-freescale-distro: Add whinlatter changes
do_unpack: Recipes that set S = "${WORKDIR}/git" or S = "${UNPACKDIR}/git" should remove that assignment, as S set by bitbake.conf in oe-core now works.

Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com>
2025-09-24 17:25:48 -03:00
Max Krummenacher
4e56708704 layerwide: updates for WORKDIR/UNPACKDIR and git fetch location
The series [1] changed the way sources are fetched/unpacked and
S needs to follow that.

This lead to some recipe making even parse fail.

As walnascar is no longer compatible with master/whinlatter drop
it from LAYERSERIES_COMPAT.

[1] https://lore.kernel.org/openembedded-core/20250616095000.2918921-1-alex.kanavin@gmail.com/

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2025-06-30 08:29:45 -03:00
Hiago De Franco
415ea5f003 layer.conf: update for the whinlatter release series
Fix current error:
ERROR: Layer freescale-distro is not compatible with the core layer
which only supports these series: whinlatter (layer is compatible with
styhead walnascar)

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2025-06-22 22:18:25 -03:00
Zelan Zou
b9c3536b68 fsl-base.inc: Update gstreamer1.0-plugin-base/bad/good version to 1.24.7
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
2025-01-21 18:27:05 -03:00
Tom Hochstein
0b575f180d fixup! fsl-base.inc: Fix gstreamer preferred version
Prior commit was incomplete. Finish the changes. The main point here is
to override the default for 6 and 7 so the i.MX forks/copies are used.
Note that 8 and 9 are already set to use the forks in imx-base.inc.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2025-01-14 20:33:39 -03:00
Tom Hochstein
28f32c60a9 fsl-base.inc: Drop PREFERRED_PROVIDER_linux-imx-mfgtool
No longer needed since:
88399694 linux-*-mfgtool, u-boot-*-mfgtool: Remove specific recipes

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2025-01-14 18:34:17 -03:00
Tom Hochstein
bb9fe1dd07 fsl-base.inc: Fix gstreamer preferred version
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2025-01-14 18:34:17 -03:00
Otavio Salvador
afe1f1f56c treewide: Remove all references to SRC_URI[md5sum] hashes
Drop md5sum check as  no longer mandated in Yocto Project.

SRC_URI[md5sum] used to also be commonly used, but it is deprecated and
should be replaced by SRC_URI[sha256sum] when updating existing recipes. See:

 - https://docs.yoctoproject.org/dev/singleindex.html#fetching-code
 - https://docs.yoctoproject.org/dev/singleindex.html#src-uri-checksum-behaviour

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2025-01-13 17:23:57 -03:00
Vishwanath Martur
f7be03965e Add LICENSE file
Related to #104

Add a LICENSE file listing all licenses used by recipes in the meta-freescale-distro layer.

* Create a new `LICENSE` file in the root directory.
* List all the licenses used by the recipes in this layer, including MIT, LGPL-2.0-only, LGPL-2.1-only, BSD-3-Clause, and GPL-3.0-only.
* Include the license names and the corresponding recipes that use them.
2024-11-05 07:59:30 -03:00
Max Krummenacher
76ad02474f layer.conf: Update to walnascar (5.2) layer/release series
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-10-28 08:48:19 -03:00
Max Krummenacher
7845bc7739 layer.conf: Update to styhead
Drop all older release names as there have been potentially incompatible
changes, e.g. the S must not point to WORKDIR.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-09-09 08:18:08 -03:00
Max Krummenacher
1975e2069e half: Fix S = WORKDIR reference
Setting `S = ${WORKDIR}` is no longer allowed. Use the the default
setting of S and move the sources accordingly.
Compare wit OE-core commit 32cba1cc91 ("insane: Error for S == WORKDIR")

Fixes:
ERROR: <xyz>.bb: Using S = ${WORKDIR} is no longer supported

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-05-28 07:26:31 -03:00
Max Krummenacher
c62dda1f0d fsl-rc-local: Fix S = WORKDIR reference
Setting `S = ${WORKDIR}` is no longer allowed. Use the the default
setting of S and move the sources accordingly.
Compare wit OE-core commit 32cba1cc91 ("insane: Error for S == WORKDIR")

Fixes:
ERROR: <xyz>.bb: Using S = ${WORKDIR} is no longer supported

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-05-28 07:26:31 -03:00
Luan Rafael Carneiro
df24feb3e3 include/fslc-base: Update distro version to 5.0
Signed-off-by: Luan Rafael Carneiro <luan.rafael@ossystems.com.br>
2024-05-06 14:14:31 -03:00
Tom Hochstein
158cc55b6e gstreamer: Upgrade 1.22.00.imx -> 1.22.5.imx
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-04-25 08:38:24 -03:00
Max Krummenacher
3691cb207b layer.conf: Update for the scarthgap release series
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2024-03-17 15:09:44 -03:00
Tom Hochstein
abb76fd62c packagegroup-fsl-tools-testapps: Drop fsl-rc-local if no sysvinit
fsl-rc-local is for sysvinit, so include it only when sysvinit is in
DISTRO_FEATURES.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2024-03-07 16:40:16 -03:00
Mingli Yu
b1dd4d5480 openssh: Remove the bbappend
The bbappend is added to disable rng-tools originally as [1], but the
rng-tools has been already removed in oe-core as [2]. So no need to
keep this bbappend which used to disable rng-tools. And the means used
to disable rng-tools [1] also make the sshd service not work after the
logic [3] introduced.

So remove the useless bbappend.

[1] 131b33554d
[2] https://git.openembedded.org/openembedded-core/commit/?id=868dfb46d96a27ec9041cb902fb769330277257d
[3] https://git.openembedded.org/openembedded-core/commit/?id=bc830ad3c6a11af1a350dca7f33f0682aeee0d21

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
2024-01-18 10:45:47 -03:00
Tom Hochstein
4f1f101eba layers: Add nanbield to LAYERSERIES_COMPAT
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-11-09 17:21:55 -03:00
Max Krummenacher
7956a0ab40 recipes: Update github.com urls to use https
Github has announced there will be no more git:// fetching from their servers:
https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-09-11 08:36:29 -03:00
Tom Hochstein
061397a2c6 gstreamer: Upgrade 1.20.3.imx -> 1.22.0.imx
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-09-06 16:19:17 -03:00
Tom Hochstein
10c7e8fedf weston-init: Drop profile script now handled by OE-Core
The profile script setting WAYLAND_DISPLAY is now handled in OE-Core
and can be dropped.

1600f38d72

Note that our profile script was in fact correct only for the systemd
case, since it's only there that Yocto sets the Wayland socket to the
non-default value `/run/wayland-0`.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-09-06 16:18:54 -03:00
Meng Li
ba24fa45ad meta-freescale-distro: add necessary dependent layers for meta-freescale-distro
When parsing yocto project with command "bitbake -p", there is below
error reported:
layers/meta-freescale-distro/conf/distro/include/fslc-base.inc:1:
Could not include required file conf/distro/poky.conf
Because the necessary dependent layers of meta-freescale-distro
are not downloaded when setting up project, add them to avoid building
issue.

Signed-off-by: Meng Li <Meng.Li@windriver.com>
2023-09-05 08:45:28 -03:00
Vincent Davis Jr
b09c18a3f6 vulkan-validationlayers: remove recipe
Recipe was moved into meta-freescale and renamed.
Patch is presumed to be no longer required so
remove as well.

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
2023-06-13 14:15:38 -03:00
Tom Hochstein
54cb972242 imx-gpu-sdk: Upgrade 6.1.0 -> 6.1.1
Release 6.1.1
- GCC13 support.
- Small wayland bug fix.
- Vulkan.NativeWindowTest update.
- New 'feature' to make it easier to filter apps during testing.
- Scr version updated.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-06-07 20:39:46 -03:00
Meng Li
4050f49500 packagegroup-fsl-gstreamer1.0: use corrtect plugin name
According to the oe-core commit fb2d28e0315e("gstreamer1.0:
update 1.20.5 -> 1.22.0"), videoconvert/videoscale plugins were
merged into one. So, remove the obsolete plugin name and use
the corrtect one.

Signed-off-by: Meng Li <Meng.Li@windriver.com>
2023-06-07 08:48:26 -03:00
Chris Dimich
b39735f04f imx-gpu-sdk: Upgrade to 6.1.0
Also add required recipes for new dependencies.

As per NXP langdale-6.1.1-1.0.0 release.

Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
2023-06-02 18:40:08 -03:00
Tom Hochstein
48d772f5f3 fsl-base.inc: Use i.MX components for 9 family
Use linux-imx and imx-gst1.0-plugin for 9 family parts.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-05-16 18:33:40 -03:00
Tom Hochstein
b6ee1702a7 fsl-base.inc: Fix gstreamer preferred version
Upgrade gstreamer1.0 recipes 1.20.0.imx -> 1.20.3.imx.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-05-16 18:33:40 -03:00
Max Krummenacher
a4efa17a9f layer.conf: Update LAYERSERIES_COMPAT for mickledore
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2023-01-04 08:40:03 -03:00
Tom Hochstein
1069c2f210 glslang: Drop local recipe
The local recipe is no longer needed since glslang is now provided in
OE-Core. Note that the recipe in OE-Core is already being chosen over
this one.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-11-15 15:37:46 -03:00
Max Krummenacher
5dcd30467f fslc-base: fix setting of used instruction set
Since openembedded-core commit c88304a78e ("arch-armv7a.inc: default to
Thumb2 instruction set for armv7a and above") a build of an armv7a
based machine defaults to the Thumb2 instruction set. So repeating this
default setting in the distro is not needed and can be completely
removed.

The way Thumb2 is set in the distro is wrong in the first place and
would need fixing anyway.
By setting `ARM_INSTRUCTION_SET:override ??= "..."` this will take
precedence over any assignment to ARM_INSTRUCTION_SET without a
override. So any recipe which wants to force the 'ARM' instruction set
will end up being compiled with Thumb2.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-10-27 08:38:20 -03:00
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
Tom Hochstein
a6208d216e fsl-base.inc: Set -imx providers for all i.MX 8 SoCs
Builds of 8DXL using fsl- distros are incorrectly using -fslc providers instead of -imx
providers. Fix this now and for all future i.MX 8 parts by using the common i.MX 8
override _mx8 instead of trying to maintain a list of all SoC-specific overrides.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-02-08 09:41:43 -03:00
Andrey Zhizhikin
880dbf2951 fsl-base.inc: use conditional assignment for base variables
Base machine-specific variables are now moved to distro, and are
hard-assigned to certain values. This effectively overrides definitions
of same variables in machines, making mx8m machines fail to build with
NXP BSP, as imx-boot package requires SPL to be deployed for it.

Make those assignments as conditional ones, leaving the possibility for
certain machines to re-define them for their own purpose.

Fixes: e83f54d ("machines: imx-base.inc: fix failing u-boot builds")
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2021-01-31 18:05:50 -03:00
Max Krummenacher
e83f54d0b7 machines: imx-base.inc: fix failing u-boot builds
If using a fsl-xxx distro the prefered provider of U-Boot is
u-boot-imx. That U-Boot didn't make the switch to a unified dl/q/qp
binary and does not use an spl. For the imx6ulevk it does not use an
spl.

The below commits try to address that, however the change is not
limited to
- the fsl distro but rather uses use-nxp-bsp which can be used with any distro
- some machines which do not use u-boot-imx, e.g. colibri-imx6 now fail.

Fix this by moving the configuration into the affected distro in
meta-freescale-distro and the machines.

This commit and one in meta-freescale Fixes in meta-freescale:
c9757ea3 ("imx-base.inc: Fix use-nxp-bsp after rework")
77e56f30 ("imx-base.inc: Limit use-fsl-bsp u-boot overrides to i.MX 6 and 7")
e5cd33c9 ("u-boot.imx: Add u-boot configuration for fsl")

Build tested with fsl-xwayland & use-nxp-bsp for imx6qdlsabreauto,
imx6qdlsabresd, and imx6ulevk.
Build tested with the fslc-xwayland & use-nxp-bsp for imx6qdlsabreauto,
imx6qdlsabresd, imx6ulevk, and colibri-imx6.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-01-26 08:24:49 -03:00
Tom Hochstein
9eff18e2e7 imx-gpu-sdk: Remove incorrect 8M Mini runtime dependencies
The 8M Mini configuration does not include rapidopencl or rapidopenvx,
so remove the incorrect runtime dependencies.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-11-24 21:27:29 -03:00
Pierluigi Passaro
5d9a9cca20 wayland distros: remove sysvinit from DISTRO_FEATURES
All of the wayland based distros add systemd to DISTRO_FEATURES.
However, sysvinit is also added as part of DISTRO_FEATURES_BACKFILL,
set in poky/meta/conf/bitbake.conf.
Remove sysvinit from DISTRO_FEATURES_BACKFILL by adding it to
DISTRO_FEATURES_BACKFILL_CONSIDERED as suggested in
poky/meta/conf/distro/include/init-manager-systemd.inc.

Signed-off-by: Pierluigi Passaro <pierluigi.p@variscite.com>
2020-11-13 19:06:02 -03:00
Tom Hochstein
216e202505 stb: Fix packaging for empty main package
Set ALLOW_EMPTY_${PN} since the main package is empty.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-11-13 19:05:18 -03:00
Tom Hochstein
2a54e8cafd glm: Fix packaging for empty main package
Set ALLOW_EMPTY_${PN} since the main package is empty.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-11-13 19:05:18 -03:00
Tom Hochstein
cdb48a434a gli: Fix packaging
- Use default packaging since there's no need to override
- Set ALLOW_EMPTY_${PN} since the main package is empty

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-11-13 19:05:18 -03:00
Tom Hochstein
cdf2af2ba3 imx-gpu-sdk: Add missing headers to image SDK
OE-core does not add -dev packages to the SDK for recipes
with an empty main package. Work around this issue by adding
a runtime dependency on any such recipes.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-11-13 19:05:18 -03:00
Tom Hochstein
876fbd0c2b imx-gpu-sdk: Enable Google test
Build GoogleUnitTest by default.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-11-13 19:05:18 -03:00
Tom Hochstein
b61b5b68e3 imx-gpu-sdk: Upgrade to 5.6.1
5.5.3 to 5.6.0:
- This release contains breaking changes.
- Recommendations and examples for designing custom UI systems.
  - FslSimpleUI system now follows these best recommendations and comes with a default theme.
  - This includes DPI aware rendering.
- New samples
  - GLES3.RenderToTexture
  - GLES2, GLES3, Vulkan, SdfFonts
  - GLES2, GLES3, Vulkan, UI.DevNativeTexture2D
  - GLES2, GLES3, Vulkan, UI.DpiScale
  - GLES2, GLES3, Vulkan, UI.PixelPerfect
  - GLES2, GLES3, Vulkan, UI.SmoothScroll
  - GLES2, GLES3, Vulkan, UI.ThemeBasicUI
- Better CMake integration.
  - Release and debug builds now use separate output dirs by default.
  - Better support for CMake generators.
  - CMake + ninja is now the default backend for Ubuntu and Yocto for improved build speed.
  - Ubuntu builds now utilize CMake's find_package support to locate third party dependencies.
- Code modernization with PathView, StringViewLite, NumericCast and Spans.
- Clang tidy + format now requires clang 10.
- Downgraded ninja build system requirement to 1.8.2 from 1.9 for better ubuntu 18.04 compatibility.
- Better display metrics available to all samples.
- Misc: New binary texture atlas format, new bitmap font format with simple kerning.
- NativeBatch upgrades
  - SDF rendering.
  - Pixel perfect bitmap font rendering.
  - New rendering primitives.
- Now require a compiler with proper C++14 constexpr support.
  - This means GCC 5.x and below is not supported.

5.6.0 to 5.6.1:
- Fixed a issue in the basic UI theme for 80dpi.
- Updated Doc/FslSimpleUI.md
- Updated KnownIssues.md
- Upgraded the fmt library to 7.x to improve compile time and reduce exe size.
- Latest build tools

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-11-13 19:05:18 -03:00
Fabio Berton
ff4c662ada distro/fslc-base: Change DISTRO_VERSION to use next Yocto release
Use the Yocto Project Hardknott release version.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-11-12 17:10:15 -03:00
Fabio Berton
135b19d503 conf/layer.conf: Add hardknott to LAYERSERIES_COMPAT
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-11-12 17:10:05 -03:00
Fabio Berton
5b00ef21d2 conf/layer.conf: Support only gatesgarth release
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-11-12 17:06:14 -03:00
Andrey Zhizhikin
11be3f0196 fsl-base.inc: add gstreamer plugin provider for mx8m[m,n,p]
GStreamer plugin provider is not defined for NXP distro and was relying
on the values set in meta-freescale layer.

Define those providers here to point to those provided by NXP, since
this distro include file defines the NXP BSP usage.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-11-04 09:40:32 -03:00
Max Krummenacher
063a082a24 .conf: Make layer compatible only with dunfell and gatesgarth
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-10-17 12:15:44 -03:00
Tom Hochstein
01c8732557 imx-gpu-sdk: Fix build dependency on glslang
The vulkan support depends on glslang, so add a new recipe
and a dependency.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-09-23 16:59:36 -03:00
Tom Hochstein
8d42b2e0e5 fsl-base.inc: Add missing overrides for 8QXP and 8QM
The NXP distro was using the community recipes for kernel,
uboot, and gstreamer for 8QXP and 8QM. Fix this by adding the missing
overrides.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-09-21 19:37:11 -03:00
Tom Hochstein
305b9ded6e imx-gpu-sdk: Add new packages
Add recipes for imx-gpu-sdk dependencies:
- gli
- half
- stb
- rapidopencl
- rapidopenvx
- rapidvulkan

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-09-21 19:37:11 -03:00
Tom Hochstein
99727c0438 imx-gpu-sdk: Upgrade to 5.5.3
5.5.3:
- Fixed a issue with packages marked as not supported
- Now using libwayland-egl on some platforms.

5.5.2:
- Fixed a matrix alignment bug in Vulkan.ObjectSelection.
- Added a Matrix3Std140 helper class that matches the Vulkan shader layout for mat3 in std140 layout.

5.5.1:
- Added a known issue for Visual Studio 2019 16.5.x and provided a workaround until its fixed.
- Fixed a crash bug in Vulkan.Bloom and Vulkan.ModelViewer.
- Fixed vulkan DFGraphicsBasic2D so it works without a --Stats overlay.
- T3DStressTest. Fixed shader precision issue (that also exist in 5.4.0 and previous releases).
- Vulkan depth selection no longer picks unwanted depth+stencil formats.
- Workaround for OpenVG reference implementation EGL bug.

5.5.0:
- New samples
  - GLES2.Stats
  - Vulkan.Bloom
  - Vulkan.EffectOffscreen
  - Vulkan.EffectSubpass
  - Vulkan.FractalShader
  - Vulkan.FurShellRendering
  - Vulkan.HDR04_HDRFramebuffer
  - Vulkan.ModelLoaderBasics
  - Vulkan.ModelViewer
  - Vulkan.T3DStressTest
- GLES2, GLES3, Vulkan ModelViewer now supports wireframe rendering.
- Dependency changes
  - Assimp 5.0.1 from 4.1.0
  - Fmt 6.1.2 from 6.0.0
  - Google test 1.10.0 from 1.8.1
  - Ninja from 1.9.0 from 1.8.2
  - OpenCV 4.2 from OpenCV 4
- Tool changes
  - Clang tidy+format now requires clang 8
  - VS2019 is now the default on windows.
  - Ubuntu and yocto builds now default to the cmake generator (The old makefile based builds are available using "-g legacy".)
- Deprecated FSLLOG and FSLLOG2.
- Introduced FSLLOG3 which use the fmt library instead of streams. The fmt library is a implementation of the C++20 std::format.
- Experimental Angle support and compatibility test.

5.4.0:
- Now requires C++14.
- New Samples
  - GLES2.TextureCompression
  - Vulkan.ObjectSelection
  - Vulkan.SRGBFramebuffer
- Vulkan screenshot support
- Replaced TCLAP with a custom argument parser to reduce executable size.
- FslBuild
  - now supports “-c install”.
  - Experimental CMake support (see FslBuild_CMake.md)
  - Experimental VS2019 support
  - Android Studio 3.5.0
  - Android NDK r20

5.3.1:
- Added new sample Vulkan.NativeWindowTest.
- Improved Vulkan Wayland support.
- Yocto wayland fix: Not create shell surface for ivi applications which only requires ivi surface.

5.3.0:
- Disable third party downloads per default for Yocto builds. To build using an old Yocto release that doesn't come with all third party software you need to add "--Recipes [*]" to your command line which will re-enable the download.
- Updated all OpenCV 3 apps to OpenCV 4.
- New samples
  - GLES2.LineBuilder
  - GLES3.AssimpDoubleTexture
  - GLES3.LineBuilder
  - Vulkan.DFGraphicsBasic2D
  - Vulkan.DFNativeBatch2D
  - Vulkan.DFSimpleUI100
  - Vulkan.DFSimpleUI101
  - Vulkan.GammaCorrection
  - Vulkan.HDR01_BasicToneMapping
  - Vulkan.HDR02_FBBasicToneMapping
  - Vulkan.HDR03_SkyboxToneMapping
  - Vulkan.InputEvents
  - Vulkan.LineBuilder
  - Vulkan.OpenCLGaussianFilter
  - Vulkan.OpenCV101
  - Vulkan.OpenCVMatToNativeBatch
  - Vulkan.OpenCVMatToUI
  - Vulkan.OpenVX101
  - Vulkan.Scissor101
  - Vulkan.Skybox
  - Vulkan.TextureCompression
  - Vulkan.Vulkan101
- Vulkan demo host was refined and is much closer to a finished implementation.
  - All Vulkan samples now utilize it. Due to low level nature of the Vulkan API they use it to varying degree, all new Vulkan samples use it extensively and therefore support the usual stats overlay etc. Older samples will be converted in upcoming releases.
  - Screenshots are still not supported out of the box, this is coming soon.
  - This includes a basic NativeGraphics service for Vulkan.
- Lots of GLES 2 + 3 samples were updated to make it easier to compare the Vulkan and OpenGL ES implementations.
- New logging functionality
  - FslBase
  - FslGraphics
- Additional unit tests made available
  - FslBase
  - FslGraphics
- Clang format now runs on shaders as well.

5.2.0:
- CONTRIBUTING.md describes how to contribute.
- Early access to the Helios cross platform camera API.
  - GLES3.CameraDemo
  - GLES3.DFNativeBatchCamera
- Includes a small subset of the unit tests. More will be made available in future release.
- Code cleanup
  - FslBuildCheck now supports clang format and clang tidy.
  - All code was reformatted with clang format.
  - All code had a tidy pass using clang tidy.
- Added OpenVX.Stereo.
- Vulkan console demos no longer gets build with a window system
- Vulkan.DevBatch implementation improved.
- Fixed all Vulkan 1.1.85.0 validation layer warnings in:
  - Vulkan.DevBatch
  - Vulkan.DisplacementMapping
  - Vulkan.Gears
  - Vulkan.MeshInstancing
  - Vulkan.TessellationPNTriangles
  - Vulkan.Texturing
  - Vulkan.TexturingArrays
  - Vulkan.TexturingCubeMap

5.1.1:
- FslBuild 2.8.4
- Texture2D SetData
- Fixed pixel formats in OpenCV3 demos
- GLRawBitmapUtil::Result can now be constructed as 'empty'.
- TClap recipe updated to use internal mirror of tclap.
- Updated DemoFramework.docx yocto section as it was out of date.
- Updated the TPConvert script

5.1.0:
- All ThirdParty code is now downloaded as needed instead of being included in the repo.
- Windows builds now default to Visual Studio 2017 instead of 2015.
- Basic support for changing the color-space via EGL.
- Examples of how to setup SRGB and HDR framebuffers.
- HDR to LDR display rendering examples with various basic tone-mapping algorithms.
- Vulkan enabled for the Yocto Wayland backend.
- Assimp upgraded to 4.1 on most platforms.
- GLES3.ColorspaceInfo
- GLES3.EquirectangularToCubemap
- GLES3.GammaCorrection.
- GLES3.HDR01_BasicToneMapping
- GLES3.HDR02_FBBasicToneMapping
- GLES3.HDR03_SkyboxTonemapping
- GLES3.HDR04_HDRFramebuffer
- GLES3.MultipleViewportsFractalShader.
- GLES3.Scissor101
- GLES3.Skybox
- GLES3.SRGBFramebuffer
- GLES3.TextureCompression.
- Vulkan.VulkanInfo.
- Android build now requires Android Studio 3.1 and the Android NDK16b or newer.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-09-21 19:37:11 -03:00
Jens Rehsack
3d83837551 packagegroup-fsl-network,image: add image for networking
Add an image (based on suiting packagegroup) for QorIQ networking targets.
Can be reasonably used to run tests when NXP sends updates for LSDK or people
want to start first steps on layerscape RDBs (or derived hardware).

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-30 08:58:19 -03:00
Jens Rehsack
b19004147b packagegroup-fsl-tools-testapps: add ceetm
Add CEETM Qdisc implementation for NXPs QorIQ platform.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-30 08:58:19 -03:00
Jens Rehsack
c38fbe60a4 .gitignore: add developer/editor patterns
Add some patterns to avoid accidently added developer files or editor
caches etc.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-06-30 08:58:19 -03:00
QB4-dev
eb60ca80e8 distro/fsl-base.inc: Bump gstreamer fork version from 1.14.imx to 1.16.imx 2020-06-16 08:38:46 -03:00
Andrey Zhizhikin
1e8f64e2c7 imx-gpu-sdk: fix gcc10 build
GCC 10 dropped implicit inclusion of <stdexcept> [1], causing the
GPU SDK build to fail.

Introduce a patch which explicitly includes <stdexcept> at the base
header, effectively solving missing declarations in various SDK parts.

[1]: https://gcc.gnu.org/gcc-10/porting_to.html

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2020-05-19 15:41:31 -03:00
Andrey Zhizhikin
c3d1a16c86 packagegroup-fsl-tools-gpu: remove dropped package reference
Commit [189229d0f822d62c6e4da19a367f754b0c9162af] in meta-freescale
layer consolidated both libraries and binaries packages for
imx-gpu-apitrace recipe into a singe package.

Drop the reference to -bin package in the package group as it is
reported as missing and would be provided by imx-gpu-apitrace anyway.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-04-26 13:34:19 -03:00
Fabio Berton
24acf70ca1 distro/fslc-base: Update DISTRO_VERSION to be based on next Yocto release
Set DISTRO_VERSION to Yocto Gatesgarth 3.2 release

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-04-16 10:52:22 -03:00
Otavio Salvador
5b5e9d893f packagegroup-fsl-tools-gpu-external: Drop eglinfo-fb
The recipe has been dropped from OE-Core, so we ought to drop it here as
well.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-04-16 10:51:23 -03:00
Otavio Salvador
5397ba50b8 fslc-base.inc: Remove 'dri' from xserver-xorg
The xserver-xorg fail to build when using ARM instruction set, if dri is
enabled. Disable it for now.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-04-13 00:51:47 -03:00
Otavio Salvador
b603d68252 distro/fsl-*: Use new BSP choosing to select NXP BSP
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-04-11 17:08:09 -03:00
Fabio Berton
5be79fd581 conf/layer.conf: Rename BBFILE_COLLECTIONS to match layer name
BBFILE_COLLECTIONS was using the old layer name, rename to match
the new name.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-03-27 10:44:32 -03:00
Fabio Berton
385353e332 conf/layer.conf: Set layer compatible only with zeus and dunfell
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-03-27 10:44:32 -03:00
Andrey Zhizhikin
b0d91a08d4 packagegroup-fsl-tools-testapps: update to python3
Update packagegroup RDEPENDS to point python3 packages, python2 has been
dropped from OE-Core since it approached EOL.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-01-28 14:00:00 -03:00
Mirza Krak
5ce1b6b06b packagegroup-fsl-tools-gpu-external: drop eglinfo-x11
It was removed upstream in commit:

http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-graphics?h=zeus&id=aa36510ebea93c1f6f327152e5aa63beccad0275

Signed-off-by: Mirza Krak <mirza@maneoz.tech>
2020-01-26 18:15:51 -03:00
Andrey Zhizhikin
3c9244fb6d imx-gpu-sdk: define features for imx8mn machine
Define graphics features to be built in GPU SDK for i.MX8M Nano SoC.

This SoC has a better performing GPU as in i.MX8M Mini and therefore
provides a support for OpenGLES 3.1, which is missing in i.MX8M Mini.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-01-17 19:23:53 -03:00
Andrey Zhizhikin
cf7d5de69a fsl-base: indicate preferred component versions for imx8mn
Indicate preferred components for i.MX8M Nano SoC and corresponding EVK.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-01-17 19:23:53 -03:00
Fabio Berton
30c1a4d208 distro/fslc-base: Update DISTRO_VERSION to be based on next Yocto release
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-10-28 10:39:37 -03:00
Pierre-Jean Texier
4ee8b933cb layer.conf: add zeus to LAYERSERIES_COMPAT
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
2019-10-09 16:30:48 -03:00
Andrey Zhizhikin
e897dcbbce packagegroup-fsl-tools-benchmark: extend cpuburn-neon with cortexa53 tune
cpuburn-neon recipe contained only the 'neon' flag chack in TUNE_FEATURES,
which is not set for cortexa53 machine since it is based on aarch64.

Therefore, this recipe was never included into the aarch64-based builds,
since feature check was always returning false, effectively excluding
the cpuburn-neon from inclusion to the benchmarking package group.

This change introduces additional feature flag check, where a combination
of 'cortexa53' and 'crypto' flags should be set. Crypto extension validation
is required for Cortex-A53 since when it is enabled - the vectorization
support is also enabled in the toolchain and cpuburn-neon could be assembled.

This commit also relies on the cpuburn-neon recipe commit which splits the
build for Cortex-A53 and ARMv7, and currently is submitted to the [meta-oe],
see the upstream status link below.

Upstream-Status: Accepted [https://git.openembedded.org/meta-openembedded/commit/?id=fad26cc14e09f901ccf27db4459a4049cb6ad7ed]

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2019-08-07 08:44:49 -03:00
Tom Hochstein
158c579a58 devil: Upgrade to 1.8.0
Drop un-needed patches.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2019-06-14 14:23:49 -03:00
Andrey Zhizhikin
befb44ba14 imx-gpu-sdk: drop OpenGLES 3.1 for i.MX 8M Mini
OpenGLES 3.1 is not supported on i.MX 8M Mini, therefore SDK build fails.

This commit splits SDK features to be built based on Machine overrides,
with exclusion of OpenGLES 3.1 for mx8mm. All other machines are explicitly
listed in the recipe with OpenGLES 3.1 support included.

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2019-06-13 13:24:34 -03:00
Max Krummenacher
8fbf269e32 README: use pull requests for contributing
The project now expects contributions being made through
GitHub's pull-request feature. Reflect that in the README.

Text mostly taken from the README in meta-qt5.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2019-04-08 08:05:22 -03:00
Fabio Berton
e3415eb325 distro/fslc-base: Change DISTRO_VERSION to 2.8
Use Yocto Project Version from Zeus release.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-04-05 18:24:15 -03:00
Otavio Salvador
6a2aeb3e71
Merge pull request #10 from OSSystems/master
conf/layer.conf: Support only warrior release
2019-04-02 15:33:06 -03:00
Fabio Berton
963b974379 conf/layer.conf: Support only warrior release
Drop support for sumo and thud releases. If you want to use
theses branches, use the respective platform.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-04-02 14:41:04 -03:00
Otavio Salvador
8c2553f4e9
Merge pull request #8 from thochstein/pr0228
fsl-base.inc: Remove redundant preferred version for libdrm
2019-03-01 13:26:28 -03:00
Tom Hochstein
208ec6cb0e fsl-base.inc: Remove redundant preferred version for libdrm
The preferred version for libdrm is set already in the machine
configuration.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2019-02-28 13:07:33 -06:00
Otavio Salvador
759764f7ad
Merge pull request #5 from thochstein/pr0215
Fix Wic configuration
2019-02-26 16:02:50 -03:00
Otavio Salvador
49dfc701f6
Merge pull request #6 from fbertux/master
Update README and DISTRO_VERSION
2019-02-20 10:30:10 -03:00
Fabio Berton
2a87e68d73 fslc-base.inc: Use DISTRO_VERSION with the same number of Warrior release
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-02-19 11:58:39 -03:00
Fabio Berton
ee43ae8426 README: Update branch name
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2019-02-19 11:51:02 -03:00
Tom Hochstein
339227f059 fsl-base.inc: Fix u-boot configuration
The default configuration for some machines is for fslc. Select
fsl configuration instead.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2019-02-18 10:09:00 -06:00
Otavio Salvador
58b656dc9d
Merge pull request #4 from thochstein/L4.9.123-2.3.0-0201
L4.9.123 2.3.0 0201
2019-02-13 16:17:03 -02:00
Tom Hochstein
1738c88340 fsl-base.inc: Remove machine configuration from distro configuration
Several settings are merely redundant, but the WKS_FILE variable
causes a build break for i.MX 8.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2019-02-01 20:27:57 -06:00
Tom Hochstein
b7cfac4ed6 fsl-base.inc: Fix pulseaudio build
The PACKAGECONFIG for pulseaudio was being overwritten due to a
syntax error using the append override.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2019-02-01 20:19:56 -06:00
Tom Hochstein
7e44e65bce fsl-base.inc: Fix libdrm preference for i.MX fork
The i.MX fork of libdrm is at 2.4.91.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2019-02-01 20:19:23 -06:00
Gary Bisson
771fb6d4c0 Revert "fsl-base.inc: Set linux-libc-headers version to v4.9 for L4.9.123-2.3.0_8mm_ga"
This reverts commit 19c4478315.

Since we don't plan on using the linux-libc-headers_4.9.bb recipe from
NXP [1], this patch should be reverted.

[1] https://lists.yoctoproject.org/pipermail/meta-freescale/2018-October/023402.html

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-04 12:40:17 -03:00
Otavio Salvador
80b77a3e5b conf/layer.conf: Add thud to compatible list
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-04 10:27:21 -03:00
Yuqing Zhu
19c4478315 fsl-base.inc: Set linux-libc-headers version to v4.9 for L4.9.123-2.3.0_8mm_ga
Set linux-libc-headers version to match kernel version.

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-01 14:58:37 -03:00
Yuqing Zhu
4e08531b38 fsl-base.inc: Add support for i.MX 8MM EVK
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-01 14:58:15 -03:00
Yuqing Zhu
914fb491fd fsl-base.inc: Enable allow-autospawn-for-root as default
We rely on PulseAudio's autospawn feature
to automatically start the daemon.
Our boards have root as default user,
so it's useful to be able to use PulseAudio autospawn for root.

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-10 14:07:34 -03:00
Yuqing Zhu
f726883744 fsl-base.inc: Update PREFERRED_VERSION of Gstreamer
Update to latest "1.14.imx"

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-07 17:35:19 -03:00
Gary Bisson
d172a619ed imx-gpu-sdk: bump to version 5.0.2 and add mx8 support
Based on meta-fsl-bsp-release imx-gpu-sdk recipe:
- Update git repo URL as NXPMicro has been deprecated
- Bump git rev to d35bac9419895ea516c25e2f36a6084729d9e6ce
- Rework FEATURES not to rely on imxgpu2d for EGL features
- Add Vulkan support
- Add mx8 FEATURES (OpenGLES3.1, OpenCL1.2)
- Add mx8mq EXTENSIONS (EXT_geometry_shader, EXT_tessellation_shader)
- Add pyhon3native inheritance (meta-fsl-bsp-release 9fbca7d7)
- Fix do_compile command to use new parameters

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
(cherry picked from commit fa35c35dd8e4bc23cea1e13fe86a8eebc5962396)
2018-07-24 10:07:28 -03:00
Gary Bisson
40a20068df fsl-base.inc: Add mx8mq providers
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2018-07-19 08:53:38 -03:00
Gary Bisson
83f99efd8d packagegroup-fsl-gstreamer1.0: update plugins-good-souphttpsrc name
Now called gstreamer1.0-plugins-good-soup since this commit:
71c2f1d047 gstreamer1.0-plugins-good: upgrade to version 1.12.2

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2018-07-19 08:52:57 -03:00
Mihai Lindner
8ade1ad4af fsl-base.inc: Remove UBOOT_MACHINE for mx6
Cannot be used at the same time with UBOOT_CONFIG, which is already
defined in most of our machine files. The uboot recipes are skipped
because of these conflicting options and errors out the build.

Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-02 14:23:33 -03:00
Yuqing Zhu
5b1e9cb9b2 fsl-base.inc: Set PREFERRED_VERSION for libdrm to use i.MX Version
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-29 13:51:43 -03:00
Mihai Lindner
60990628e8 fsl-base.inc: Add mx7ulp providers
Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-26 14:09:06 -03:00
Fabio Berton
34d5a1b54c fslc-base.inc: Update distro version to 2.6
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-26 14:05:01 -03:00
Fabio Berton
9ae6dc00a1 README: Update to use Sumo branch
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-26 13:58:47 -03:00
Fabio Berton
012babafa7 fslc-base.inc: Set DISTRO_VERSION to 2.5
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-26 13:58:40 -03:00
Yuqing Zhu
29e7a3d322 fsl-base.inc: Set PREFERRED_VERSION for Gstreamer to use i.MX Version
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-06 11:21:33 -03:00
Otavio Salvador
51d8a99f76 conf/layer.conf: Add LAYERSERIES_COMPAT info
Change-Id: I1d24809326734d8a2292edda1aa4ecabba02bcc7
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-04-16 17:20:01 -03:00
Tom Hochstein
f1738355b1 fsl-image-multimedia: Remove unbuildable package
gtk+3 is unbuildable for i.MX parts with GPU acceleration for 2D
but not 3D, so remove gtk+3-demos in this case.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-03-15 09:50:54 -03:00
Tom Hochstein
2848a29657 distro/fsl: Use pam and systemd for Wayland backend
Wayland works better with pam and systemd.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-03-15 09:50:54 -03:00
Tom Hochstein
123fd9393a distro/fsl: Cleanup Wayland distros
- Normalize naming to Wayland and Wayland with XWayland.
- Remove un-necessary whitespace

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-03-15 09:50:54 -03:00
Tom Hochstein
d637d92c68 packagegroup-fsl-tools-gpu: Update for v6 changes
imx-gpu-sdk - added 6SL support
imx-gpu-apitrace - moved out of imx-gpu-viv

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-03-15 09:50:54 -03:00
Tom Hochstein
61cd218051 imx-gpu-sdk: Upgrade to 4.0.1
- First public release on github.
- Early access support for Vulkan, OpenCL, OpenCV and OpenVX.
   - Vulkan samples.
   - OpenVX samples.
   - OpenCL samples.
   - OpenCV samples.
- New libraries
   - GLI 0.8.10, GLM 0.9.7.6
- PixelFormats are now compatible with the vulkan pixel formats.
- py script introduced as a simple unified way to build on all platforms if so desired. It’s still possible to build using the native platform method.
- FslBuild scripts now support limited feature based filtering.
- Introduced a content pipeline to help build vulkan shaders.
- Windows builds
   - Visual Studio 2015 is now the default environment instead of 2013
   - We now use the OpenVG reference implementation to emulate OpenVG.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-03-15 09:50:54 -03:00
Daiane Angolini
a84332b317 distro/fsl-base: Configure u-boot provider properly
Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-02-28 14:43:24 -03:00
Daiane Angolini
51b91a472c distro/fsl-framebuffer: Remove vulkan distro feature
meta-poky commit 6016ec177af2406cacfeb3276dfcb8bfc3df8fce enabled
vulkan by default. As framebuffer distro doesn't have x11 or wayland,
we need to remove vulkan distro feature.

Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-02-28 14:43:24 -03:00
Fabio Berton
030dc66309 distro/fslc-base: Update DISTRO_VERSION to 2.5
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-02-21 08:54:57 -03:00
Otavio Salvador
3f958b6a9a packagegroup-fsl-tools-gpu-external: Drop glmark2 when using Wayland
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-12-18 10:07:14 -02:00
Fabio Berton
7250d0d2c3 packagegroup-fsl-tools-gpu-external: Remove glcompbench
Remove glcompbench from SOC_TOOLS_GPU_X11 for imxgpu3d
machines. glcompbench recipe was removed from meta-openembedded at
commit:

  9ac340ed5e94b31718f31e4a90f3610a3d7a8e13

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-10-18 11:45:57 -02:00
Otavio Salvador
905ddb70b9 Move from ${COREBASE}/LICENSE to ${COMMON_LICENSE_DIR}/MIT
The OE-Core now warns when someone uses ${COREBASE}/LICENSE so we
should move to ${COMMON_LICENSE_DIR}/MIT to fix this deprecated use.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-09-23 17:50:21 -03:00
Fabio Berton
5883932ccf distro/fslc-framebuffer: Remove vulkan distro feature
meta-poky commit 6016ec177af2406cacfeb3276dfcb8bfc3df8fce enabled
vulkan by default. As framebuffer distro doesn't have x11 or wayland,
we need to remove vulkan distro feature.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-08-30 10:12:06 -03:00
Fabio Berton
e733eec286 fslc-base: Add -snapshot-${DATE} to DISTRO_VERSION
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-08-24 11:24:21 -03:00
Vanessa Maegima
580c6c81e7 Add recipe for RTSP server
Add recipe for gst-variable-rtsp-server, RTSP server for live-stream
from a v4l2 video source.

Signed-off-by: Vanessa Maegima <vanessa.maegima@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-08-24 11:23:11 -03:00
Otavio Salvador
cd5c7a2539 packagegroup-fsl-gstreamer1.0: Remove ivorbisdec rdepends
The ivorbisdec is not built on default setting of GStreamer; except if
there is a real need for it to be added (which at this moment is
unknown), there is no reason to change this for our distros.

Series-to: meta-fsl
Series-prefix: distro

Change-Id: I376ab880e42035876ccb6fedaea3dc989dadbbc3
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-03-04 21:54:09 +00:00
Tom Hochstein
dd482aeb79 imx-gpu-sdk: Don't change the build directory during install task
The build script makefile target 'install' installs directly in
the build folder, so it must be executed from the compile task.
This manifested itself after a repo sync with compile time warnings
and an install task error.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-01-24 10:20:30 -02:00
Fabio Berton
ae27e8a8a0 packagegroup-fsl-tools-gpu-external: Do not install mesa-demos for non x11 distros
As of commit d02a3a745fbb7b534f22de861e7a43e7dacc7970 from OE-core,
mesa-demos require X11 distro feature and we can't install it when only
wayland distro feature is enable, e.g. with fslc-wayland distro.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-11-16 12:06:36 -02:00
Fabio Berton
df3a6fd8ae distro/fsl: Add initial distro settings
Freescale Distro support four flavors:

  - fsl-framebuffer: Distro for Framebuffer graphical backend. This
    distro doesn't include x11 and wayland features.

  - fsl-wayland: Distro for Wayland without X11. This distro include
    wayland feature but doesn't has x11 support.

  - fsl-x11: Distro for X11 without wayland. This distro include x11
    feature and doesn' has wayland support.

  - fsl-xwayland: Distro for Wayland with X11. This distro include
    both wayland and x11 features.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-31 17:49:38 -02:00
Fabio Berton
27d8fe3d58 distro/fslc: Add initial distro settings
Freescale Community Distro support four flavors:

  - fslc-framebuffer: Distro for Framebuffer graphical backend. This
    distro doesn't include x11 and wayland features.

  - fslc-wayland: Distro for Wayland without X11. This distro include
    wayland feature but doesn't has x11 support.

  - fslc-x11: Distro for X11 without wayland. This distro include x11
    feature and doesn' has wayland support.

  - fslc-xwayland: Distro for Wayland with X11. This distro include
    both wayland and x11 features.

These four distros are based on Poky Yocto Project Reference Distro.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-31 17:49:38 -02:00
Fabio Berton
2c7e73252d fsl-image-multimedia: Use the new i.MX feature overrides
Remove package clutter-1.0-examples for GPU 2D-only SoCs.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-27 09:30:31 -02:00
Fabio Berton
e15853fc34 imx-gpu-sdk: Use the new i.MX feature overrides
Configure DEPENDS variable using new i.MX overrides and install packages
based on existence of 2D and/or 3D hardware.
Change do_compile and do_install tasks to run build.sh script based on
existence of 2D and/or 3D hardware.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-27 09:30:31 -02:00
Fabio Berton
413650eb66 packagegroup-fsl-tools-testapps: Use the new i.MX feature overrides
Configure SOC_TOOLS_TEST variable using new i.MX overrides and install
packages based on existence of 2D and/or 3D hardware.
Remove clutter-1.0-examples from RDEPENDS for GPU 2D-only SoCs.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-27 09:30:31 -02:00
Fabio Berton
9d3914015a packagegroup-fsl-tools-gpu: Use the new i.MX feature overrides
Configure SOC_TOOL_GPU variable using new i.MX overrides and install
packages based on existence of 2D and/or 3D hardware.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-27 09:30:31 -02:00
Fabio Berton
c80a53aa01 packagegroup-fsl-tools-gpu-external: Standardize SOC_TOOLS_GPU_ variables
Replace SOC_GPU_TOOLS_* with SOC_TOOLS_GPU_* to make all variables with
pattern SOC_TOOLS_GPU.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-27 09:30:31 -02:00
Fabio Berton
c5df0df55d packagegroup-fsl-tools-gpu-external: Use the new i.MX feature overrides
Configure SOC_GPU_TOOLS_* variables using new i.MX overrides and install
packages based on existence of 2D and/or 3D hardware.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-27 09:30:31 -02:00
Fabio Berton
775c5c3076 README: Update to use new repository names
- Update title description
  - Update to new layers names
  - Update git format-patch subject-prefix

Change-Id: I3904a782b17af868dd363bbce552e9afbce90167
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-21 17:24:50 -02:00
Fabio Berton
28c5d82b99 packagegroup-fsl-tools-gpu: Rename fsl-gpu-sdk to imx-gpu-sdk
Recipe fsl-gpu-sdk was renamed to imx-gpu-sdk on bd9c28b (imx-gpu-sdk:
Upgrade to 2.3.2 version).

Change-Id: Ifd18846cbf9abd232e950e14dce617863b3134be
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-13 11:24:46 +00:00
Lauren Post
a36d689faf imx-gpu-sdk: Upgrade to 2.3.2 version
- Rename from fsl-gpu-sdk to imx-gpu-sdk
- Update EULA to v13 checksum
- Remove DirectMultiSamplingVideoYUV video samples - not supported
- Remove VPU check associated with above video samples
- Remove Debayer samples - not supported
- Add sasimp depends
- Update patch for gcc6 build issues

Change-Id: I9330c455b629e82d769e7bbe2138413983c82bbf
Signed-off-by: Lauren Post <lauren.post@nxp.com>
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-10-13 11:24:46 +00:00
Yuqing Zhu
07a566b613 fsl-image-multimedia: Extra install packagegroup-imx-tools-audio into image.
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-06-27 07:59:23 -03:00
Yuqing Zhu
1b6b10ecf0 packagegroup-imx-tools-audio.bb: Add recipe for new package group.
The package group is used to provide an easy way to install
the audio tools for either pulseaudio or alsa based distributions.

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-06-27 07:59:05 -03:00
Lauren Post
c7bff86437 packagegroup-fsl-tools-testapps: Add 6ul and 7d imx-test
imx-test supports i.MX 6 Ultralite and i.MX 7 SABRESD

Signed-off-by: Lauren Post <lauren.post@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-06-27 07:54:58 -03:00
Tom Hochstein
8723ba5d66 fsl-image-multimedia: Add XWayland support.
If DISTRO_FEATURES contains x11 and wayland, configure the image
with an XWayland backend.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-06-09 10:03:58 -03:00
Tom Hochstein
28e718db06 fsl-image-machine-test: Add XWayland support.
If DISTRO_FEATURES contains x11 and wayland, configure the image
with an XWayland backend.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-06-09 10:03:58 -03:00
Tom Hochstein
5a382d0e6a packagegroup-fsl-tools-testapps: Add XWayland support
Include weston-examples and clutter-1.0-examples if
distro features includes x11 and wayland. Don't include
weston since that is brought in by the image recipe.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-06-09 10:03:58 -03:00
Tom Hochstein
46939bda24 packagegroup-fsl-tools-gpu-external: Add packages for Wayland and XWayland.
If DISTRO_FEATURES contains just wayland, add mesa-demos.

If DISTRO_FEATURES contains x11 and wayland, add mesa-demos and gtkperf.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-06-09 10:03:58 -03:00
Tom Hochstein
cf54eed3a5 packagegroup-fsl-tools-gpu: Add XWayland support.
If DISTRO_FEATURES contains x11 and wayland, don't include
xserver-xorg-extension-viv-autohdmi.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-06-09 10:03:58 -03:00
Otavio Salvador
00b453f35d packagegroup-fsl-tools-testapps: Remove license and checksum
The packagegroup does not use source code so there is no logic
in the recipe to use a license. Remove it from the recipe.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-23 17:02:43 -03:00
Otavio Salvador
0c95871ace packagegroup-fsl-tools-gpu: Remove license and checksum
The packagegroup does not use source code so there is no logic
in the recipe to use a license. Remove it from the recipe.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-23 17:02:43 -03:00
Otavio Salvador
fac15864ba packagegroup-fsl-tools-gpu-external: Remove license and checksum
The packagegroup does not use source code so there is no logic
in the recipe to use a license. Remove it from the recipe.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-23 17:02:43 -03:00
Otavio Salvador
6fd589e169 packagegroup-fsl-tools-benchmark: Remove license and checksum
The packagegroup does not use source code so there is no logic
in the recipe to use a license. Remove it from the recipe.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-23 17:02:43 -03:00
Otavio Salvador
b9c8ac76f0 packagegroup-fsl-gstreamer1.0: Remove license and checksum
The packagegroup does not use source code so there is no logic
in the recipe to use a license. Remove it from the recipe.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-23 17:02:42 -03:00
Otavio Salvador
da11f6674f packagegroup-fsl-gstreamer1.0-full: Remove license and checksum
The packagegroup does not use source code so there is no logic
in the recipe to use a license. Remove it from the recipe.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-23 17:02:42 -03:00
Otavio Salvador
57b9d5d5bd packagegroup-fsl-gstreamer1.0-commercial: Remove license and checksum
The packagegroup does not use source code so there is no logic
in the recipe to use a license. Remove it from the recipe.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-23 17:02:42 -03:00
Otavio Salvador
edd4b51861 fsl-gpu-sdk: Fix build using GCC 6.1
This adds the missing 'cmath' includes which was missing in a number
of files.

It has been identified when testing the GCC 6.1 compiler.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-23 17:02:42 -03:00
Jun Zhu
a56e625c35 packagegroup-fsl-tools-benchmark: Replace iperf with iperf3
iperf3 is the upgraded version of iperf.
iperf3 is the version of 3.1 and iperf is the version of 2.x.

Signed-off-by: Jun Zhu <junzhu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-11 11:32:01 -03:00
Otavio Salvador
c1bb30d83c fsl-gpu-sdk: Stop using base_contains
The base_contains function is deprecated and we ought to use
bb.utils.contains instead.

Change-Id: I2aad5a7f862015405a9c7ef2fd90badf23fe88a5
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-09 14:53:55 -03:00
Otavio Salvador
72bc32beae packagegroup-fsl-tools-testapps: Stop using base_contains
The base_contains function is deprecated and we ought to use
bb.utils.contains instead.

Change-Id: I47fa262341bc87c5d6e146aa8899742778a836cd
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-06 18:24:48 -03:00
Otavio Salvador
3dd6f23cc4 packagegroup-fsl-tools-gpu: Stop using base_contains
The base_contains function is deprecated and we ought to use
bb.utils.contains instead.

Change-Id: I8a07cf8cffd6e4c8f4a658debbe49a4465576890
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-06 18:24:48 -03:00
Otavio Salvador
bd47b60774 packagegroup-fsl-tools-gpu-external: Stop using base_contains
The base_contains function is deprecated and we ought to use
bb.utils.contains instead.

Change-Id: I74b5f0cec842dadb9f35621060e656fa9b431a92
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-06 18:24:48 -03:00
Otavio Salvador
2235d92ac8 packagegroup-fsl-gstreamer1.0-full: Stop using base_contains
The base_contains function is deprecated and we ought to use
bb.utils.contains instead.

Change-Id: Iff15d62b627c49b9ad48d186f558ca6327a4570e
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-06 18:24:48 -03:00
Otavio Salvador
d0412765ce fsl-image-multimedia: Stop using base_contains
The base_contains function is deprecated and we ought to use
bb.utils.contains instead.

Change-Id: I2ecc4f06110d4f8e9970edaec421ee58e5f99e80
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-06 18:24:48 -03:00
Otavio Salvador
69f539312a fsl-image-machine-test: Stop using base_contains
The base_contains function is deprecated and we ought to use
bb.utils.contains instead.

Change-Id: I68ac4c7d0e4e5e3a74d15a80e67ddc08fdea2885
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-06 18:24:48 -03:00
Yuqing Zhu
8359d8d7c8 packagegroup-fsl-gstreamer1.0: Rename gst1.0-fsl-plugin into imx-gst1.0-plugin
As gst1.0 has upgraded to version 4.0.9 and renaming to imx-gst1.0-plugin,
need to keep align.

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-23 12:06:42 -03:00
Tom Hochstein
a3759ed96d fsl-gpu-sdk: Upgrade to version 2.2.2
- Don't use framebuffer API in Wayland client applications
- Remove un-necessary gles2 library build from openvg client builds

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-14 11:58:58 -03:00
Tom Hochstein
dc6f331200 fsl-gpu-sdk: Add support for i.MX 6SoloLite
Build using OpenVG only due to GPU limitations.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-04-14 11:58:58 -03:00
Otavio Salvador
6b779b2cb0 packagegroup-fsl-tools-gpu-external: Stop installing opencv
OpenCV has been blacklisted on meta-openembedded due the upgrade for
new ffmpeg. This has been done at commit Meta-OE:920b489a. The
packages ought to be included back once OpenCV is restored to a
working state.

Change-Id: Ie582f32c2d6608043c54de3f3e30098fe27b59da
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-03-10 10:56:59 -03:00
Neena Busireddy
8bffde8d80 fsl-gpu-sdk: Upgrade to 2.2.1 version
This version is released with 3.14.52-1.1.0_ga release

- Supports: OpenGL ES2, OpenGL ES3, OpenVG and experimental G2D support
- Do not install VPU packages on processors with no VPU(i.MX6SX)

Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-03-01 21:22:20 -03:00
Neena Busireddy
937690e39b devil: Add a recipe for cross-platform image library
This recipe is required as fsl-gpu-sdk is dependent on it.

Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-03-01 21:22:20 -03:00
Otavio Salvador
2231e946e7 Remove DirectFB support for i.MX6
The DirectFB project is dead upstream for a while and the badkend is
deprecated so it is better to drop it and avoid new users to depend on
it and instead to focus in the current technologies for new projects.

This commit removes everything related to the DirectFB support so if
someone wish to revert it locally it can be easily done.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-11-03 08:39:21 -02:00
Otavio Salvador
eae8a8dd50 packagegroup-fsl-tools-testapps: Only install GTK+3 demos when enabling X11
The GTK+3 currently uses GLX support is available and GLX requires X11
support. This makes GTK+3 demos installation conditional to X11
feature support in the distribution.

Change-Id: I82306682549ed43157897a85737b6e65c97a766c
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-10-16 14:15:52 -03:00
Nikolay Dimitrov
4dbe832808 Revert "packagegroup-fsl-tools-benchmark: Remove fio from the the package group"
This reverts commit 836bdf5a9d.

The fix for the broken builds is now merged in meta-openembedded, so we can add
the package back again:
eb01b36cb3

Thanks to Dominic Sacré for reporting the upstream status of the fix:
https://lists.yoctoproject.org/pipermail/meta-freescale/2015-August/015614.html

Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-27 10:00:22 -03:00
Otavio Salvador
1e252f153e packagegroup-fsl-tools-testapps: Avoid adding imx-gpu-viv-demos for i.MX6 UltraLite
The imx-gpu-viv-demos is not available in i.MX6 UltraLite which does
not have GPU support.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-05 17:50:39 -03:00
Otavio Salvador
f94382d17f packagegroup-fsl-tools-gpu: Rework Vivante GPU additions
The Vivante GPU specific bits ought to be include for all i.MX6
variants which have the GPU. This allows for the very same
packagegroup to be used for i.MX6 UltraLite which does not have GPU
support.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-05 17:47:19 -03:00
Otavio Salvador
15dbc97033 glcubes-demo: Remove recipe
The glcubes-demo depends on i.MX5 GPU support which is not available
anymore due the removal of the Freescale Linux kernel fork, so the
recipe is now useless.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-05 17:35:52 -03:00
Otavio Salvador
3c99bc2a08 packagegroup-fsl-gstreamer1.0: Add gplay and grecorder when using gst1.0-fsl-plugin
When gst1.0-fsl-plugin is in use, the gst1.0-fsl-plugin-gplay and
gst1.0-fsl-plugin-grecorder ought to be part of base.

This patch is based on a previously one sent Lauren Post[1]. It has
been reworked to avoid including a new packagegroup.

1. http://patchwork.openembedded.org/patch/98395/

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Daiane Angolini <daiane.angolini@freescale.com>
Acked-by: Lauren Post <lauren.post@freescale.com>
2015-08-05 17:35:52 -03:00
Otavio Salvador
c3bcf7a162 packagegroup-fsl-gstreamer1.0: Move GStreamer plugin for base package
The GStreamer plugin should be part of the base package, not the main
one.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-05 17:35:52 -03:00
Otavio Salvador
5237b3126a packagegroup-fsl-tools-testapps: Stop including imx-test for Linux mainline kernel SoCs
There is no real imx-test provider for i.MX23, i.MX28, i.MX31, i.MX35,
i.MX51 and i.MX53 anymore. Those SoCs are only supported by Linux
mainline kernel and there is no reason to always have the dummy
provider used by those. Remove them.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Daiane Angolini <daiane.angolini@freescale.com>
2015-08-05 17:35:52 -03:00
Otavio Salvador
1ed903d79b packagegroup-fsl-tools-gpu: Stop using AMD GPU driver utilities for i.MX5
The AMD GPU driver has been removed from meta-fsl-arm as the i.MX5
official Linux kernel (linux-imx 2.6.35.3) is not being supported
anymore, so the utilities cannot be included anymore.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-05 17:35:51 -03:00
Otavio Salvador
85e84448e2 packagegroup-fsl-tools-gpu-external: Move opencv package outside of license whitelist
The opencv now builds fine without the commercial support so we can
remove the check.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-05 17:35:51 -03:00
Lauren Post
652c982a02 packagegroup-fsl-gpu-external: Update to support tools on specific SoC
Add glcompbench and gtkperf to the external package group but only
install on X11 for specific i.MX SoC.  The glcompbench is not
supported for i.MX6SL.

Add OpenCV apps to package group.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-05 17:35:51 -03:00
Otavio Salvador
96bfe98145 packagegroup-fsl-tools-gpu-external: Add glmark2 for Wayland backend
The glmark2 now can be added for i.MX6QDL and i.MX6SX SoCs. For the
i.MX6SL it cannot be enabled as it does not have 3D GPU.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Daiane Angolini <daiane.angolini@freescale.com>
2015-08-05 17:35:51 -03:00
Otavio Salvador
2a0c2c9995 packagegroup-fslc-*: Rename to packagegroup-fsl-*
The packagegroup-fslc-* recipes now are named packagegroup-fsl-* as it
respects the machine settings of which GStreamer plugin to use.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Daiane Angolini <daiane.angolini@freescale.com>
2015-08-05 17:35:51 -03:00
Otavio Salvador
f673dc5fac packagegroup-fslc-*: Move to recipes-fsl/packagegroups/
The packagegroups ought to be easy to review and find, so having them
in a single place facilitate it. The packagegroup-fslc files are now
locate in recipes-fsl/packagegroups/ path.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Daiane Angolini <daiane.angolini@freescale.com>
2015-08-05 17:35:51 -03:00
Otavio Salvador
214326ca68 Remove qte-in-use-image and qt-in-use-image contents
The use of Qt4 is very limited nowadays and those images and
respective recipes are not being tested for a while. It makes no sense
to keep unused metadata available, so we remove this.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Daiane Angolini <daiane.angolini@freescale.com>
2015-08-05 17:35:51 -03:00
Lauren Post
c3323146c6 fsl-gpu-sdk: Upgrade to 2.1 version
Released with the 3.14.38-6QP_Beta release.
Upgrade to the 2.1 version.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-05 14:00:11 -03:00
Otavio Salvador
a3ad8c8d6d Remove GStreamer 0.10 support
The GStreamer 0.10 support is dead upstream and is being moved away of
OE-Core so there is no much sense to keep supporting and testing it.

Change-Id: I983827bf1ea1fb8fa81d87591ebd97cf01dfe763
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-06-10 18:56:32 -03:00
Nikolay Dimitrov
836bdf5a9d packagegroup-fsl-tools-benchmark: Remove fio from the package group
Currently all 48 boards in meta-fsl-arm and meta-fsl-arm-extra layers fail to
build fsl-image-machine-test due to fio package depending on numactl, which
doesn't build on ARM. So remove fio from the benchmarks package group.

Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-05-15 10:53:56 -03:00
Otavio Salvador
8413e23081 fsl-image-multimedia: Don't install clutter-1.0-examples for i.MX6SL
Remove clutter-1.0-examples in case we are generating an image for the
i.MX6SL SoC family as it does not provide GPU 3D support.

Change-Id: Idb2066024a0cb0731efeb815bdbd6fd212822f62
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-05-13 10:19:40 -03:00
Otavio Salvador
9e56df7887 packagegroup-fsl-gstreamer-full: Proper handle GL plugin inclusion
The gst-plugins-gl can only be included for boards using the FSL
plugin. This allow us to build a X11 image for an i.MX6-based device
which uses the Linux mainline kernel.

Change-Id: I34e0d8b4552a7f7122c4b97e8906781d95f1c2c5
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Reported-by: Nikolay Dimitrov <picmaster@mail.bg>
2015-05-12 08:59:44 -03:00
Otavio Salvador
1ae8a2d8e9 packagegroup-fsl-tools-gpu-external: Fix build in Wayland and DirectFB
The eglinfo-fb cannot be build for Wayland and DirectFB backends. To
avoid it to be installed extra variables are added for each backend.

While on that, set PACKAGE_ARCH is set for MACHINE_ARCH.

Change-Id: I31137c7e8823ebfaffd99ec0363b2cb87cb8d22d
Reported-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-28 18:17:51 -03:00
Otavio Salvador
d70213100b packagegroup-fsl-tools-gpu-external: Restrict eglinfo for SoCs with 3D support
The i.MX6 SoloLite does not include 3D support and the headers are not
installed when building for it making it impossible to use the SoC
backend.

Change-Id: Ieffd5ef6afea86b53ce69000c3506a6cc4eb3ab6
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-28 08:11:39 -03:00
Otavio Salvador
697d68b050 packagegroup-fsl-tools-gpu-external: Make eglinfo inclusion i.MX6-only
The eglinfo recipe does not support yet other i.MX SoC so it needs to
be included for i.MX6 SoCs only.

Change-Id: I1897afa1a51d24e3b2a6260ccf8da70d8932606d
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-27 14:07:07 -03:00
Otavio Salvador
2164499153 packagegroup-fsl-tools-gpu-external: Make opencv-samples commercial dependent
The opencv-samples recipe needs to have commercial whitelisted. This
adds the package if 'commercial' is found in LICENSE_FLAGS_WHITELIST
variable.

Change-Id: I520e9217320ad99be203a1a9133183963b17ad0d
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-27 11:43:39 -03:00
Otavio Salvador
5bf3bead8f packagegroup-fsl-tools-testapps: Rework SoC specific test tools inclusion
The set of test tools can vary depending on the SoC type. The
imx-test, for example, should be added in every i.MX or Vybrid based
image but not on QorIQ based ones.

The SOC_TOOLS_TEST variable can be used to include specific package by
SoC family while it still keeps the code easy to read.

Change-Id: I63fd2748471bc3ec22134ba8bd8a4ce00eb95a3b
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-26 16:23:01 -03:00
Otavio Salvador
b03dbbc663 packagegroup-fsl-tools-gpu-external: Add opencv-samples
The opencv-samples provide useful examples for testing OpenCV support.

Change-Id: Id2f46728a6e0c1c11c673ee78db779dcc06b7c5c
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-22 20:21:36 -03:00
Otavio Salvador
1fff05d0fc packagegroup-fsl-tools-gpu-external: Add eglinfo tool
The eglinfo tool has a Framebuffer and X11 variations so we have a
special case for each. This enable the package to be included in test
images.

Change-Id: I48fe7209275bc96968b38a822a26edb292c1a764
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-22 20:21:05 -03:00
Otavio Salvador
3e6bb88fd2 fsl-gpu-sdk: Add missing dependency on xrandr for X11 backend
When building against X11 backend, xrandr is required. The dependency
was not explicit so it was causing following failure:

Log data follows:
| DEBUG: Executing shell function do_compile
| make: Nothing to be done for 'all'.
| make: Nothing to be done for 'all'.
| make: Nothing to be done for 'all'.
| arm-oel-linux-gnueabi-g++  ... -c source/FslGraphicsEGL/Window/X11/EGLNativeWindowX11.cpp
| source/FslGraphicsEGL/Window/X11/EGLNativeWindowX11.cpp:39:35: fatal error: X11/extensions/Xrandr.h: No such file or directory
|  #include <X11/extensions/Xrandr.h>
|                                    ^
| compilation terminated.
| GNUmakefile_Yocto:139: recipe for target 'obj/Yocto_X11/Release/source/FslGraphicsEGL/Window/X11/EGLNativeWindowX11.o' failed
| make: *** [obj/Yocto_X11/Release/source/FslGraphicsEGL/Window/X11/EGLNativeWindowX11.o] Error 1
| WARNING: exit code 2 from a shell command.
| ERROR: Function failed: do_compile (log file is located at .../tmp/work/cortexa9hf-vfp-neon-mx6sx-oel-linux-gnueabi/fsl-gpu-sdk/2.0-r0/temp/log.do_compile.14664)

Change-Id: I07ec9e025762d544c37ced914a28da209a9ab6b7
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-11 17:39:49 -03:00
Lauren Post
d334a36e36 packagegroup-fsl-tools-gpu: Update for 3.14.28-1.0.0_ga
Apitrace now supported on all backends,.

Change-Id: I803ccc0ee23c8249557dca5d7cce9cbcc78fb402
Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-04-06 15:25:24 -03:00
Otavio Salvador
c1bad39a8b packagegroup-fslc-gstreamer1.0: Allow backend specific packages to be missing
Depending on the SoC, some packages might be not available. One
example is the build of LS102x SoCs for Wayland based distros where
the GStreamer Wayland sink is not build.

This fixes following error:

,----
| satisfy_dependencies_for: Cannot satisfy the following dependencies
|   for packagegroup-fslc-gstreamer1.0-full:
|      gstreamer1.0-plugins-bad-waylandsink *
| opkg_install_cmd: Cannot install package packagegroup-fslc-gstreamer1.0-full.
`----

Change-Id: I836bc488d7b1defa23b3cb848a74bb2ca95408dc
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-31 16:54:53 -03:00
Max Krummenacher
db7ca84b4a packagegroup-fslc-gstreamer1.0: Fix DISTRO_FEATURE wayland check
The wayland packages should only be installed when DISTRO_FEATURE does
not contain x11 but does contain wayland.

This fixes a failed build when there is only x11 in DISTRO_FEATURE and
do_rootfs failes when trying to install gstreamer1.0-plugins-bad-waylandsink.

While at it replace base_contains with bb.utils.contains and combine
the x11 and wayland logic.

Signed-off-by: Max Krummenacher <max.oss.09@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-26 22:31:07 -03:00
Matt Madison
9971b3a25f packagegroup-fslc-gstreamer1.0: Make alsa conditional on DISTRO_FEATURES
If 'alsa' is not in DISTRO_FEATURES, gstreamer1.0-plugins-base configures
the alsa plugin out of its build.  Unconditionally including it in the packagegroup
leads to rootfs creation failures, as the package manager cannot satisfy the
dependency.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-12 20:38:24 -02:00
Otavio Salvador
2f6972264d packagegroup-fsl-tools-testapps: Only include imx-gpu-viv-demos for i.MX6 SoCs
The imx-gpu-viv-demos is not available for all SoCs so it needs to be
included only for i.MX6 SoC famlies.

This fixes following build failure:

,----
| fsl-image-machine-test@ls1021aqds - Missing or unbuildable dependency
|     chain was: ['packagegroup-fsl-tools-testapps', 'imx-gpu-viv-demos']
`----

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-02 17:57:02 -02:00
Neena Busireddy
498c80d71a packagegroup-fsl-tools-gpu: Add GPU tools
- fsl-gpu-sdk is not supported for i.MX6 SoloLite
- i.MX6 SoloLite does not support apitrace tool
because of its dependency on gles2

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-02 17:57:02 -02:00
Neena Busireddy
a07ef4adf3 packagegroup-fsl-tools-testapps: Add GPU demos package
Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-02 17:57:02 -02:00
Neena Busireddy
9d25bf56c3 fsl-gpu-sdk: Upgrade to 2.0 version
- Supports OpenGL ES2, OpenGL ES3
- No support for OpenVG and G2D
- Do not support i.MX6 SoloLite and is intended
  to add in future

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-02-02 17:57:02 -02:00
Daiane Angolini
edb9ed2e15 packagegroup-fsl-*: Change DESCRIPTION and SUMMARY to cite "FSL Community"
Change DESCRIPTION and SUMMARY replacing "Freescale" by "FSL Community"
because this is not a official package group provided by Freescale, it is a FSL
Community BSP package group provided and supported by community.

Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-13 09:06:29 -02:00
Daiane Angolini
72c565f447 packagegroup-fsl-tools-testapps: Add fbset
Add fbset package in order to replace the fbset provided by busybox (and
included by default).

This packagegroup is intended to be used for debug and test/benchmark
purposes, so it makes sense to use the full and better supported fbset.

In a test the fbset (from busybox) was not able to change the vxres, and the
fbset (the real one) worked very fine.

Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-01-12 10:26:09 -02:00
Alexander Shashkevych
d5a4160d7b packagegroup-fslc-gstreamer1.0-commercial: update dependencies
Community has renamed following packages:

  gstreamer1.0-plugins-ugly-asfdemuxer -> gstreamer1.0-plugins-ugly-asf
  gstreamer1.0-plugins-ugly-mpg123 -> gstreamer1.0-plugins-bad-mpg123

This commit updates dependencies to reflect these changes and moves
package gstreamer1.0-libav from packagegroup-fslc-gstreamer1.0-full to
packagegroup-fslc-gstreamer1.0-commercial.

Signed-off-by: Alexander Shashkevich <alex@stunpix.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-02 19:11:36 -02:00
Otavio Salvador
e858afe07d fsl-image-multimedia: Add Gstreamer 1.0 package groups
This includes:

* packagegroup-fslc-gstreamer1.0, in fsl-image-multimedia
* packagegroup-fslc-gstreamer1.0-full, in fsl-image-multimedia-full

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-01 13:14:57 -02:00
Otavio Salvador
0589db3eae fsl-image-machine-test: Add Gstreamer 1.0 package groups
This includes:

* packagegroup-fslc-gstreamer1.0
* packagegroup-fslc-gstreamer1.0-full

In the image.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-01 13:14:57 -02:00
Alex Gonzalez
44d9651cfa qt-in-use: use autotools-brokensep
Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-12-01 13:14:57 -02:00
Neena Busireddy
ed98a600d8 packagegroup-fsl-tools-gpu: Include fsl-gpu-sdk for all backends
fsl-gpu-sdk is now supported for all the backends. So, modify
SOC_TOOLS to remove DISTRO_FEATURES for x11.

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-14 08:02:47 -02:00
Neena Busireddy
9b902f3fbd fsl-gpu-sdk: Upgrade to 1.2 version
- Upgrade from 1.1 to 1.2 version.
- All the backends (fb, dfb and wayland) are supported
  now with 3.10.31-1.1.0 graphics update.
- Includes the changes to enable fsl-gpu-sdk usage
  with the mx6sx SoC.

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-14 08:02:47 -02:00
Otavio Salvador
864cd42528 README: Update branches to master for development
This reverts commit 7a9ba77d90.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-05 15:41:51 -02:00
Otavio Salvador
7a9ba77d90 README: Update for Dizzy release
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-05 15:06:40 -02:00
Trevor Woerner
5270fc8835 glive: fix S != B brokenness
The 'do_install' task fails due to out-of-source-tree builds:

	make: *** No rule to make target `install'.  Stop.

Signed-off-by: Trevor Woerner <trevor.woerner@linaro.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-10-05 01:34:00 -03:00
Daiane Angolini
081406fac6 packagegroup-fsl-gstreamer: Add a blank space in DESCRIPTION
This typo was found during the addition of PACKAGEGROUP
section on Release Notes (RN) in Documentation project.

Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-09-23 14:17:54 -03:00
Otavio Salvador
60588a7c20 packagegroup-*: set PACKAGE_ARCH before packagegroup inherit
The required order was changed in OE-Core commit:

,----
| allarch: Add warning about packagegroup
|
| Since we want to start including this class conditionally, detect cases
| where packagegroup files use the old ordering and inform the user they
| need to update this.
`----

This was a left over in last commit, fixing the other instances of
same issue. The change recipes was:

 * packagegroup-fslc-gstreamer1.0
 * packagegroup-fsl-gstreamer
 * packagegroup-fsl-tools-gpu

Change-Id: I75895c40667507dc7446a579e2d9284c688c725c
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-08-28 20:08:16 -03:00
Otavio Salvador
3b1a03c5c9 packagegroup-*: set PACKAGE_ARCH before packagegroup inherit
The required order was changed in OE-Core commit:

,----
| allarch: Add warning about packagegroup
|
| Since we want to start including this class conditionally, detect cases
| where packagegroup files use the old ordering and inform the user they
| need to update this.
`----

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-08-25 13:37:44 -03:00
Daiane Angolini
b336d40d51 packagegroup-fslc-gstreamer1.0: Fix DISTRO_FEATURE wayland check
The BSP present in meta-fsl-arm provides hardware acceleration
for wayland only in case 'wayland' is present in DISTRO_FEATURES
and 'x11' is not.

The default poky DISTRO_FEATURE has both 'wayland' and 'x11' at
same time. For this scenario, and it is a X11 hardware acceleration
for BSP from meta-fsl-arm.

It means that, only verify if 'wayland' is in DISTRO_FEATURE is not enough
to deferminate a Wayland distribution, when working with meta-fsl-arm.
It is needed to check if 'x11' is not.

Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-08-21 23:04:04 -03:00
Neena Busireddy
65fc5a0397 packagegroup-fsl-gstreamer-full: Remove gst-plugins-gl to support SL.
i.MX6SL cannot use mesa for Graphics and it lacks 3D support,
so skip it for now

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-08-05 10:02:46 -03:00
Otavio Salvador
6fc7ca33a0 fsl-image-machine-test: Rework image to reduce duplication
As packagegroup-fsl-tools-testapps now include the Wayland specific
testing utilities we can remove them from the explicit installation
inside the image.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-08-01 18:16:44 -03:00
Otavio Salvador
e0167f03e3 packagegroup-fsl-tools-testapps: Install more Wayland-related utilities
In case Wayland is in use include:

 - weston
 - weston-examples
 - gtk+3-demo
 - clutter-1.0-examples (if not in i.MX6SL)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-08-01 18:13:20 -03:00
Neena Busireddy
d22c38931c fsl-gpu-sdk: Modify recipe to support Sololite.
Remove dependency on gles1 and gles2 for sololite since
it is not 3D GPU hardware accelerated.

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-07-31 18:41:14 -03:00
Carlos Rafael Giani
e60ea240ae packagegroup-fslc-gstreamer1.0: Add new package groups for GStreamer 1.0
This includes three new package groups:

 - packagegroup-fslc-gstreamer1.0-commercial
 - packagegroup-fslc-gstreamer1.0-full
 - packagegroup-fslc-gstreamer1.0

Those use the gstreamer1.0-imx plugin to integrate the VPU, when
possible.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-07-03 08:56:36 -03:00
Daiane Angolini
1dbdf42718 packagegroup-fsl: Add DESCRIPTION for several packagegroups
Replace DESCRIPTION with SUMMARY.
Add a proper DESCRIPTION for each packagegroup.

Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-06-25 13:59:55 -03:00
Otavio Salvador
27fdb2f264 fsl-image-*: Add Wayland and DirectFB specific packages
This makes the fsl-image-machine-test, fsl-image-multimedia, and
fsl-image-multimedia-full to provide the need testing applications for
demo and validation.

Change-Id: I5b1a4a6f56fec26105bf72e3d150049a72bc9eaa
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-04-19 17:16:29 -03:00
Otavio Salvador
a6a55626d5 packagegroup-fsl-tools-gpu: Stop installing fsl-gpu-sdk for non-X11 backends
The fsl-gpu-sdk is broken for all backends but X11 so we ensure to
include it only when 'x11' distro feature is in use.

The failure has been found when building the 'fsl-image-machine-test'
for all backends at O.S. Systems for testing, this is not a fix but a
workaround and I expect this to be fixed by Freescale in an upcoming
release.

Change-Id: Ica6821a66de7bedb87510ac171ff1b7ba383b21b
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-04-18 22:29:58 -03:00
Otavio Salvador
4a925bfdaa Remove old images
The suggestion for equivalent images are:

 * fsl-image-gui desktop like interface is similar to core-image-sato
 * fsl-image-gui Qt4 demos are better served by qt4-demo-image
 * fsl-image-gui GStreamer use and GPU examples are better serverd by
   fsl-image-multimedia and fsl-image-multimedia-full
 * fsl-image-test has equivalent one in fsl-image-machine-test but in a
   smaller image, which is way better for testing

We are doing it in a single commit so anyone wishing to revert it
locally for use and/or test can do it easily.

Change-Id: I48602b0e31eab9070771acb638829727dbfeda45
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-03-31 20:34:04 -03:00
Otavio Salvador
430f524fd4 fsl-image-machine-test: Add GPU external tools
The packagegroup-fsl-tools-gpu-external brings glmark2 and mesa-demos,
when possible, and those are specially important for GPU test so being
important to be included in the machine-test image too.

Change-Id: Ifdf59d6a5b08540a34b8e38cfc3e1582e67b3c09
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-03-05 15:34:34 -03:00
Rogerio Nunes
e15e440305 fsl-image-machine-test: Add
This image has all the packages that fsl-multimedia-full has
plus test and benchmark applications. This image is intended
for machine test as the name indicates, so no development
tools are included.

Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com>
2014-02-27 15:28:29 -03:00
Rogerio Nunes
bac7b07823 fsl-image-multimedia-full: Add
This image has all the packages that fsl-image-multimedia has
plus all gstreamer's plugins from base, good and bad packages.

Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com>
2014-02-27 15:28:29 -03:00
Rogerio Nunes
d94aab76ab fsl-image-multimedia: Add
A console-only image that includes gstreamer packages and
Freescale's multimedia packages (VPU and GPU) when available
for the specific machine.

Multimedia packages usually contain user space tools that are not
necessary in a product image, so this image recipe is a convenient
start point for multimedia application development (fast to build),
but not necessarily for a product image (fat rootfs).

Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com>
2014-02-27 15:28:29 -03:00
Rogerio Nunes
720dd136ef packagegroup-fsl-*, fsl-image-*: Gstreamer packagegroup refactoring
This patch refactors packagegroup-fsl-gstreamer, bringing code from
gst-meta-base. This change makes this packagegroup more flexible
and prepares it for further changes. Also, as gst-meta-base explicitly
depends on gst-plugins-bad, and this dependency is not present in
packagegroup-fsl-gstreamer, build time for this pakagegroup has
improved.

This patch also creates the packagegroup-fsl-gstreamer-full
packagegroup, which can be used to add all the available plugins
to an image, including bad plugins and ugly plugins when
'commercial' is present in the license whitelist.

Gstreamer tools are removed from packagegroup-fsl-tools-testapps,
so now this packagegroup does not need to be machine dependent anymore.

Finally, this patch adds gst-plugins-good-meta to fsl-image-* images,
so that the images still have the same list of gstreamer plugins
available.

Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com>
2014-02-27 15:28:29 -03:00
Rogerio Nunes
991115a79e packagegroup-fsl: create gpu packagegroups
Two gpu packagegroups created:
    *packagegroup-fsl-tools-gpu.bb - for fsl gpu packages. Those
        previously included in packagegroup-fsl-tools-testapps.bb
        were moved to this new recipe, that alse includes the imx6
        2d gpu package and the fsl gpu sdk.

    *packagegroup-fsl-tools-gpu-external.bb - for additional demos and
        tools that come from external projects.

This patch also includes both new packagegroups into
fsl-image-gui and fsl-image-test.

Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com>
2014-02-27 15:24:17 -03:00
Rogerio Nunes
dbd9845fe2 vivante-gpu-sdk: remove this old recipe
Moving forward, fsl-gpu-sdk replaces vivante-gnu-sdk,
and should be used instead.

Change-Id: Iee2e26fb251f32aedb64ebb9167fed12a6fc86a4
Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com>
2014-02-27 15:21:52 -03:00
Evan Kotara
767ef67281 fsl-gpu-sdk: create version 1.1 recipe
This patch results from a squash between two patches from the
meta-fsl-bsp-release layer:
    http://git.freescale.com/git/cgit.cgi/imx/me
    7f3add015f2f... fsl-gpu-sdk: create version 1.1 recipe
    27452615b9b1... fsl-gpu-sdk: Prefer X11 if wayland is also in distro features

It creates the fsl-gpu-sdk recipe, which is equivalent to the vivante-gpu-sdk
recipe currenly in use.

The new recipe name reflects the name of the most recent gpu sdk package name
released by freescale, so the intention is to remove the old recipe in a
separete commit.

If both X11 and Wayland are in DISTRO_FEATURES, prefer X11.

Signed-off-by: Evan Kotara <evan.kotara@freescale.com>
Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com>
2014-02-27 15:15:50 -03:00
Rogerio Nunes
ef728d5fc8 packagegroup-fsl-tools-benchmark: Add cpuburn-neon back
cpuburn-neon had been commented out in the previously
available packagegroup-fsl recipe, due to a source code
issue that prevented build in denzil.

When packagegroup-fsl recipe was split, cpubrun-neon package
was not included in any of the new packagegroups.

This patch adds this tool back, as its source code has been
fixed and is now buildable, into the tools-benchmark packagegroup.

The cpubrun-neon package inclusion is actually conditional,
depending on the presence of the 'neon' flag in the TUNE_FEATURES
variable. For this reason, the packagegroup ARCH needs to be
MACHINE specific now.

Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com>
2014-02-03 18:10:18 -02:00
Rogerio Nunes
0ac9af8f63 packagegroup-fsl-tools-testapps: Use amd-gpu-x11-bin-mx51 only with X11
Package amd-gpu-x11-bin-mx51 only works if X11 is in
DISTRO_FEATURES, and it should not be installed otherwise.

Change-Id: I526018066de9b7a7d4fd29c65833e5d5d2487884
Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com>
2014-01-25 16:48:38 -02:00
Rogerio Nunes
7dd911e8cf packagegroup-fsl: split packagegroup into multiple recipes
A single packagegroup recipe with multiple packagegroups inside
results in the execution of a huge amount of tasks when any image
that includes at least one packagegroup is baked.

This patch splits the packagegroup-fsl recipe into multiple
recipes. As a consequence, only tasks related to recipes
actually used in an image have tasks added to the execution
queue.

Change-Id: I9a8cd438337caa5601fd4e904c76ed2e8b5dca36
Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com>
2014-01-25 16:43:38 -02:00
Rogerio Nunes
28b83c2c49 packagegroup: rename to packagegroups
For consistency with other layers, like poky and meta-openembedded,
it's better to have packagegroup(s) directory in the plural version.

This patch prepares the source tree to have the single packagegroup
file split into smaller recipes.

Change-Id: I28ed48fe00dc9cc3875a9029503456af7c4134e6
Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com>
2014-01-25 16:42:46 -02:00
Mario Domenech Goulart
a0b60fdeba qt-in-industrial-embedded-common: add patch to run demos in fullscreen mode
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
2014-01-23 23:04:59 -02:00
Mario Domenech Goulart
ec1b69714e qt-in-industrial-embedded-common: add init script for the smarthome demo
Currently, qt-in-industrial-embedded starts no demo automatically when
installed.  This patch adds an init script so that the smarthome demo
can be automatically started on boot.

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
2014-01-23 23:04:14 -02:00
Mario Domenech Goulart
bd98238589 README: update branches of layers meta-fsl-demos depend on (danny -> dora)
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
2014-01-14 14:43:24 -02:00
John Weber
bcf793274b glive: Add recipe for Gstreamer Live Example
glive is a Gstreamer Live Example project consisting of a server and
a client program which shows one way of streaming video data using
Gstreamer.  It makes use of Gstreamer version 0.10 and uses RTP and
RTCP, as well as a TCP socket for link status and control.

Change-Id: I00c69a23306b6ffdf9c82f26b7b63f4c503ed053
Signed-off-by: John Weber <rjohnweber@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-12-13 15:28:24 -02:00
Mario Domenech Goulart
7f7f56333c qt-in-use-common.inc: add splash to IMAGE_FEATURES
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
2013-11-12 21:31:19 -02:00
Mario Domenech Goulart
fcc591896d qte-in-use-image: add touchscreen support
Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
2013-11-12 21:30:44 -02:00
Eric Nelson
3aa554d5aa packagegroup-fsl: Make v4l-utils conditional on X11
v4l-utils will pull in X11 if included, and this patch
allows it to be skipped.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
2013-10-28 10:16:23 -02:00
Rogerio Nunes
b2fd63f517 packagegroup-fsl: Include gst-meta-debug by default
Plugins like audiotestsrc and videotestsrc are part of
gst-meta-debug package and they are present in ltib based
images.

Signed-off-by: Rogerio Nunes <rogerio.nunes@freescale.com>
2013-10-14 16:54:08 -03:00
Otavio Salvador
393b0119d5 packagegroup-fsl: Fix build without gst-fsl-plugin support
There are many situations we want to avoid the inclusion of
gst-fsl-plugin into a build (e.g using Linux kernel mainline).

The the package group need to dynamically adapt to it and avoid
adding the gplay when gst-fsl-plugin is not included or we'll get
build failures due missing kernel headers.

We fix it checking if gst-fsl-plugin is included in
MACHINE_GSTREAMER_PLUGIN variable and adding gplay only when it is
found.

Change-Id: Ia4240c44f481761d00f7ad7c8162e392e1001c50
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-09-25 22:33:51 -03:00
Otavio Salvador
87233da97f fsl-image-gui-sdk: Drop the SDK image
This image has been here for no good reason; the idea is to simplify
and improve the images and for this we ought start removing the not
intended to be kept ones.

Change-Id: If4fb75f45e8a670e9bad806e1b5b8f59d0b637f2
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-09-06 10:28:57 -03:00
Otavio Salvador
8970882385 pointercal-xinput: Remove as it is now included in meta-fsl-arm
The recipe has been added here before as pointercal-xinput were
included in Meta-OpenEmbedded but they're now in OE-Core. So we now
moved this to the BSP layer.

Change-Id: I741ca7db7e0fda00ad5ede8c4677956ea3bba2c5
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-09-06 10:22:19 -03:00
Daiane Angolini
d38f95c8f5 qt-in-use-common: Fix inheriting image
Does not define any of the IMAGE_FEATURES or PACKAGE_GROUPS
that are needed causing error when including "tools-sdk" to
EXTRA_MACHINE_FEATURES.

[YOCTO #5023]

Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
2013-08-24 14:54:27 -03:00
Otavio Salvador
833c511f94 pointercal-xinput: Add mx6 default calibration data
This change has been based on a change done in meta-fsl-arm-release,
3.5.7 dylan branch, by Lauren Post <lauren.post@freescale.com>.

Change-Id: I4de296612a4917162affdc51ab0c9227535698d4
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-07-16 10:00:20 -03:00
Otavio Salvador
86d1378df6 packagegroup-fsl: Add gst-plugins-good-meta in packagegroup-fsl-gstreamer
For easy demo and use, packagegroup-fsl-gstreamer should include all
good codecs so it provides a more turn-key solution for demos.

This change has been based on a change done in meta-fsl-arm-release,
3.5.7 dylan branch, by Jun Zhu <R01007@freescale.com>.

Change-Id: I1b0a79ed7c170c264d3314b3fd2e3142bcd7eaa9
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-07-16 10:00:20 -03:00
Leonardo Sandoval
2c63f9ff40 qt-in-use-common.inc: Remove TinyLogin package from QT image demos
TinyLogin has been deprecated according to the below link, so removing
it from the QT images.

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta?id=c31537a06293cb86e3087736a152fa7b81b5c7ba

Change-Id: I51bde76d842cb5af613b8685ddceafca0024642b
Signed-off-by: Leonardo Sandoval <leo.san.gon@gmail.com>
2013-07-16 10:00:20 -03:00
Otavio Salvador
eb6bd0d3e7 vivante-gpu-sdk: Add depends on virtual/libgles1
The current support API, in the package, is the GLES1 variante, so
depends on it.

Change-Id: If1792486ba33bff499b8b0617297b7cf857914bb
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-06-17 16:38:15 -03:00
Otavio Salvador
677ce915e8 packagegroup-fsl: Add UDP and RTP manager plugins in packagegroup-fsl-gstreamer-streamer
Change-Id: I71940a2ded30149fcb3e37bb9272eed7246a8b56
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-06-04 13:31:40 -03:00
Otavio Salvador
c2a93143b1 vivante-gpu-sdk: Package source code for debugging
The debugging package should have the source code included so it can
be find in case of use with a debugger.

Change-Id: I1db6cf6d4ccfbed0244423325278508152611ec1
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-05-25 08:44:18 -03:00
Otavio Salvador
0bcc380f81 packagegroup-fsl: Add packagegroup-fsl-gstreamer-stream
The group intends to allow easy stream support addition in demo
images.

Change-Id: Ifc8b2ae12115d2a0459ab361b2b94920ee245154
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-05-25 08:42:16 -03:00
Otavio Salvador
f9c7129bc6 fsl-gui-extrafiles: Set package as arch independent
Change-Id: I20f93ee03b0697fd7b51521c73a4d2b82a0255d3
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2013-05-25 08:42:16 -03:00
Diego Rondini
b6324bb406 vivante-gpu-sdk: Fix patches endline
Patches got corrupted endline when sent via email. This commit restores the patches as originally intended.

Signed-off-by: Diego Rondini <diego.ml@zoho.com>
2013-05-25 08:40:15 -03:00
Diego Rondini
52075562ac vivante-gpu-sdk: Add recipe for GPU samples
Provides the samples provided by Vivante for use with the GPU.

Signed-off-by: Diego Rondini <diego.ml@zoho.com>
2013-05-23 17:07:32 -03:00
Daiane Angolini
09ce4b6345 packagegroup-fsl: Add mtd-utils to test package
Add mtd-utils and mtd-utils-ubifs

Change-Id: I2a0e84c347dbb2f20102fb30f1b42bb624c3f067
Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
2013-05-03 11:55:02 +00:00
Daiane Angolini
f156685267 packagegroup-fsl: Install gplay for mx28 boards
gplay is a generic player deployed by Freescale

Change-Id: I428a800d0ecb06a09721ad8b17bf1c210c44c4af
Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
2013-05-03 11:54:35 +00:00
Fabio Estevam
ccba5f592d packagegroup-fsl: Put memtester inside tools-testapps group
memtester package is not a benchmark software. It is a test package that
performs stress tests in RAM, so place it under tools-testapps to fit better.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
2013-05-01 22:32:37 -03:00
70 changed files with 1158 additions and 430 deletions

28
.github/workflows/backport.yaml vendored Normal file
View File

@ -0,0 +1,28 @@
name: Backport labeled merged pull requests
on:
pull_request_target:
types: [closed]
jobs:
build:
name: Create backport PRs
runs-on: ubuntu-latest
# Only run when pull request is merged
# or when a comment containing `/backport` is created
if: github.event.pull_request.merged
steps:
- uses: actions/checkout@v2
with:
# Required to find all branches
fetch-depth: 0
- name: Create backport PRs
# Should be kept in sync with `version`
uses: zeebe-io/backport-action@v0.0.4
with:
# Required
# Version of the backport-action
# Must equal the version in `uses`
# Recommended: latest tag or `master`
version: v0.0.4
github_token: ${{ secrets.GITHUB_TOKEN }}
github_workspace: ${{ github.workspace }}

4
.gitignore vendored
View File

@ -1 +1,5 @@
*~
*.bak
*.orig
*.rej
*.swp

34
LICENSE Normal file
View File

@ -0,0 +1,34 @@
# License Information for meta-freescale-distro Layer
This file lists all the licenses used by the recipes in this layer.
## MIT License
- recipes-devtools/half/half_2.1.0.bb
- recipes-devtools/stb/stb_git.bb
- recipes-fsl/images/fsl-image-machine-test.bb
- recipes-fsl/images/fsl-image-multimedia.bb
- recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-commercial.bb
- recipes-fsl/packagegroups/packagegroup-fsl-gstreamer1.0-full.bb
- recipes-fsl/packagegroups/packagegroup-fsl-network.bb
- recipes-fsl/packagegroups/packagegroup-fsl-tools-benchmark.bb
- recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu-external.bb
- recipes-fsl/packagegroups/packagegroup-fsl-tools-gpu.bb
- recipes-fsl/packagegroups/packagegroup-fsl-tools-testapps.bb
- recipes-fsl/packagegroups/packagegroup-imx-tools-audio.bb
- recipes-graphics/gli/gli_0.8.4.0.bb
## LGPL-2.0-only License
- recipes-fsl/fsl-rc-local/fsl-rc-local.bb
## LGPL-2.1-only License
- recipes-graphics/devil/devil_1.8.0.bb
## BSD-3-Clause License
- recipes-graphics/imx-gpu-sdk/imx-gpu-sdk_6.1.1.bb
- recipes-graphics/imx-gpu-sdk/libxdg-shell.bb
- recipes-graphics/rapidopencl/rapidopencl_1.1.0.1.bb
- recipes-graphics/rapidopenvx/rapidopenvx_1.1.0.bb
- recipes-graphics/vulkan/assimp_5.0.1.bb
## GPL-3.0-only License
- recipes-multimedia/gstreamer/gst-variable-rtsp-server_1.0.bb

33
README
View File

@ -1,4 +1,4 @@
OpenEmbedded/Yocto layer for Freescale's Demonstration images
OpenEmbedded/Yocto layer for Freescale's Distribution images
=============================================================
This layer provides support for Freescale's Demonstration images for
@ -7,22 +7,31 @@ use with OpenEmbedded and/or Yocto Freescale's BSP layer.
This layer depends on:
URI: git://git.openembedded.org/openembedded-core
branch: danny
branch: master
revision: HEAD
URI: git://git.openembedded.org/meta-openembedded
branch: danny
branch: master
revision: HEAD
URI: git://git.yoctoproject.org/meta-fsl-arm
branch: danny
URI: git://git.yoctoproject.org/meta-freescale
branch: master
revision: HEAD
Contributing
------------
To contribute to this layer you should send the patches for review to
the mailing list.
Please submit any patches against the `meta-freescale-distro` layer by
using the GitHub pull-request feature. Fork the repo, make a branch,
do the work, rebase from upstream, create the pull request.
For some useful guidelines to be followed when submitting patches,
please refer to:
http://openembedded.org/wiki/Commit_Patch_Message_Guidelines
Pull requests will be discussed within the GitHub pull-request
infrastructure. If you want to get informed on new PRs and the
follow-up discussions please use GitHub's notification system.
Mailing list:
@ -30,12 +39,4 @@ Mailing list:
Source code:
https://github.com/Freescale/meta-fsl-demos
When creating a patch of the last commit, use
git format-patch -s --subject-prefix='meta-fsl-demos][PATCH' -1
To send it to the community, use
git send-email --to meta-freescale@yoctoproject.org <generated patch>
https://github.com/Freescale/meta-freescale-distro

View File

@ -0,0 +1,9 @@
# FSL Distro for FrameBuffer graphical backend.
require conf/distro/include/fsl-base.inc
DISTRO = "fsl-framebuffer"
DISTRO_NAME = "FSL FrameBuffer"
# Remove conflicting backends.
DISTRO_FEATURES:remove = "x11 wayland directfb vulkan "

View File

@ -0,0 +1,13 @@
# FSL Distro for Wayland.
require conf/distro/include/fsl-base.inc
DISTRO = "fsl-wayland"
DISTRO_NAME = "FSL Wayland"
# Define Init System
INIT_MANAGER = "systemd"
# Remove conflicting backends
DISTRO_FEATURES:remove = "directfb x11"
DISTRO_FEATURES:append = " wayland pam"

View File

@ -0,0 +1,13 @@
# FSL Distro for Wayland with XWayland.
require conf/distro/include/fsl-base.inc
DISTRO = "fsl-xwayland"
DISTRO_NAME = "FSL Wayland with XWayland"
# Define Init System
INIT_MANAGER = "systemd"
# Remove conflicting backends
DISTRO_FEATURES:remove = "directfb"
DISTRO_FEATURES:append = " x11 wayland pam"

View File

@ -0,0 +1,9 @@
# FSLC Distro for FrameBuffer graphical backend.
require conf/distro/include/fslc-base.inc
DISTRO = "fslc-framebuffer"
DISTRO_NAME = "FSLC FrameBuffer"
# Remove conflicting backends.
DISTRO_FEATURES:remove = "x11 wayland directfb vulkan"

View File

@ -0,0 +1,13 @@
# FSLC Distro for Wayland.
require conf/distro/include/fslc-base.inc
DISTRO = "fslc-wayland"
DISTRO_NAME = "FSLC Wayland"
# Define Init System
INIT_MANAGER = "systemd"
# Remove conflicting backends
DISTRO_FEATURES:remove = "directfb x11"
DISTRO_FEATURES:append = " wayland pam"

12
conf/distro/fslc-x11.conf Normal file
View File

@ -0,0 +1,12 @@
# FSLC Distro for X11 without wayland.
require conf/distro/include/fslc-base.inc
DISTRO = "fslc-x11"
DISTRO_NAME = "FSLC X11"
# Remove conflicting backends.
DISTRO_FEATURES:remove = "wayland "
# These are X11 specific
DISTRO_FEATURES:append = " x11"

View File

@ -0,0 +1,13 @@
# FSLC Distro for Wayland with XWayland.
require conf/distro/include/fslc-base.inc
DISTRO = "fslc-xwayland"
DISTRO_NAME = "FSLC Wayland with XWayland"
# Define Init System
INIT_MANAGER = "systemd"
# Remove conflicting backends
DISTRO_FEATURES:remove = "directfb"
DISTRO_FEATURES:append = " x11 wayland pam"

View File

@ -0,0 +1,46 @@
require conf/distro/include/fslc-base.inc
DISTRO = "fsl-base"
DISTRO_NAME = "FSL Distro Base"
SDK_VENDOR = "-fslsdk"
MAINTAINER = "Freescale Semiconductors <lauren.post@nxp.com>"
TARGET_VENDOR = "-fsl"
DISTROOVERRIDES = "fsl"
# Use NXP BSP and u-boot for default
IMX_DEFAULT_BSP = "nxp"
IMX_DEFAULT_BOOTLOADER = "u-boot-imx"
# The following set the providers to components supported by NXP
# Use i.MX Kernel and Gstreamer 1.0 providers
PREFERRED_PROVIDER_virtual/kernel:mx6-nxp-bsp = "linux-imx"
PREFERRED_PROVIDER_virtual/kernel:mx7-nxp-bsp = "linux-imx"
PREFERRED_PROVIDER_virtual/kernel:mx8-nxp-bsp = "linux-imx"
PREFERRED_PROVIDER_virtual/kernel:mx9-nxp-bsp = "linux-imx"
MACHINE_GSTREAMER_1_0_PLUGIN:mx6-nxp-bsp = "imx-gst1.0-plugin"
MACHINE_GSTREAMER_1_0_PLUGIN:mx7-nxp-bsp = "imx-gst1.0-plugin"
MACHINE_GSTREAMER_1_0_PLUGIN:mx8-nxp-bsp = "imx-gst1.0-plugin"
MACHINE_GSTREAMER_1_0_PLUGIN:mx9-nxp-bsp = "imx-gst1.0-plugin"
PREFERRED_VERSION_ffmpeg = "4.4.1"
# GStreamer forked recipes
PREFERRED_VERSION_gstreamer1.0 ??= "1.24.7.imx"
PREFERRED_VERSION_gstreamer1.0-plugins-bad ??= "1.24.7.imx"
PREFERRED_VERSION_gstreamer1.0-plugins-base ??= "1.24.7.imx"
PREFERRED_VERSION_gstreamer1.0-plugins-good ??= "1.24.7.imx"
# GStreamer copied recipes
PREFERRED_VERSION_gst-devtools ??= "1.24.0.imx"
PREFERRED_VERSION_gstreamer1.0-libav ??= "1.24.0.imx"
PREFERRED_VERSION_gstreamer1.0-plugins-ugly ??= "1.24.0.imx"
PREFERRED_VERSION_gstreamer1.0-python ??= "1.24.0.imx"
PREFERRED_VERSION_gstreamer1.0-rtsp-server ??= "1.24.0.imx"
PREFERRED_VERSION_gstreamer1.0-vaapi ??= "1.24.0.imx"
# Enable allow-autospawn-for-root as default
PACKAGECONFIG:append:pn-pulseaudio = " autospawn-for-root"

View File

@ -0,0 +1,41 @@
require conf/distro/poky.conf
DISTRO = "fslc-base"
DISTRO_NAME = "FSLC Distro Base"
DISTRO_VERSION = "5.0-snapshot-${DATE}"
SDK_VENDOR = "-fslcsdk"
MAINTAINER = "FSL Community Team <meta-freescale@yoctoproject.org>"
TARGET_VENDOR = "-fslc"
DISTROOVERRIDES = "fslc"
# This function changes the default tune for machines which are based on armv7a
# to use common tune value
def arm_tune_handler(d):
features = d.getVar('TUNE_FEATURES', True).split()
if 'armv7a' in features or 'armv7ve' in features:
tune = 'armv7athf'
if 'bigendian' in features:
tune += 'b'
if 'vfpv3' in features:
tune += '-vfpv3'
if 'vfpv3d16' in features:
tune += '-vfpv3d16'
if 'neon' in features:
tune += '-neon'
if 'vfpv4' in features:
tune += '-vfpv4'
else:
tune = d.getVar('DEFAULTTUNE', True)
return tune
DEFAULTTUNE:fslc := "${@arm_tune_handler(d)}"
PACKAGECONFIG:remove:pn-xserver-xorg:armv5 = "dri"
# Log information on images and packages
INHERIT += "buildhistory"
BUILDHISTORY_COMMIT ?= "1"

View File

@ -5,6 +5,10 @@ BBPATH .= ":${LAYERDIR}"
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"
BBFILE_COLLECTIONS += "fsl-demos"
BBFILE_PATTERN_fsl-demos := "^${LAYERDIR}/"
BBFILE_PRIORITY_fsl-demos = "4"
BBFILE_COLLECTIONS += "freescale-distro"
BBFILE_PATTERN_freescale-distro := "^${LAYERDIR}/"
BBFILE_PRIORITY_freescale-distro = "4"
LAYERDEPENDS_freescale-distro = "core yocto"
LAYERSERIES_COMPAT_freescale-distro = "whinlatter"

View File

@ -0,0 +1,19 @@
SUMMARY = "C++ library for half precision floating point arithmetics"
DESCRIPTION = "half is a C++ header-only library to provide an IEEE-754 conformant \
half-precision floating point type along with corresponding arithmetic operators, \
type conversions and common mathematical functions."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=813a6278831975d26c115ed6f9c21831"
SRC_URI = "https://sourceforge.net/projects/half/files/half/${PV}/${BP}.zip"
SRC_URI[sha256sum] = "ad1788afe0300fa2b02b0d1df128d857f021f92ccf7c8bddd07812685fa07a25"
S = "${UNPACKDIR}"
do_install () {
install -d ${D}${includedir}
cp -r ${S}/include/* ${D}${includedir}
}
ALLOW_EMPTY:${PN} = "1"

View File

@ -0,0 +1,18 @@
SUMMARY = "single-file public domain (or MIT licensed) libraries for C/C++"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://stb.h;beginline=14418;endline=14433;md5=b10975d4c8155af1811ab611586f01d2"
PV = "0.0+git${SRCPV}"
SRCREV = "f67165c2bb2af3060ecae7d20d6f731173485ad0"
SRC_URI = "git://github.com/nothings/stb.git;protocol=https;branch=master"
do_install() {
install -d ${D}${includedir}
for hdr in ${S}/*.h; do
install -m 0644 $hdr ${D}${includedir}
done
}
# This is a header-only library, so the main package will be empty.
ALLOW_EMPTY:${PN} = "1"

View File

@ -1,30 +0,0 @@
# Copyright (C) 2012 Freescale Semiconductor
DESCRIPTION = "Extra files for fsl-gui-image"
LICENSE = "LGPLv2"
PR = "r5"
S="${WORKDIR}"
LIC_FILES_CHKSUM = "file://LICENSE;md5=dfb0b24e10ca72d739b14d769d91cf9b"
SRC_URI += "file://qtbrowser.desktop \
file://webkit.png \
file://qtmediaplayer.desktop \
file://qtmediaplayer.png \
file://qtdemo.desktop \
file://qtdemo.png \
file://qthellogles2.desktop \
file://hellogl_es2.png \
file://LICENSE"
do_install () {
install -d ${D}/${datadir}/pixmaps
install -d ${D}/${datadir}/applications
install -m 0644 ${WORKDIR}/webkit.png ${D}/${datadir}/pixmaps
install -m 0644 ${WORKDIR}/qtbrowser.desktop ${D}/${datadir}/applications
install -m 0644 ${WORKDIR}/qtmediaplayer.png ${D}/${datadir}/pixmaps
install -m 0644 ${WORKDIR}/qtmediaplayer.desktop ${D}/${datadir}/applications
install -m 0644 ${WORKDIR}/qtdemo.png ${D}/${datadir}/pixmaps
install -m 0644 ${WORKDIR}/qtdemo.desktop ${D}/${datadir}/applications
install -m 0644 ${WORKDIR}/hellogl_es2.png ${D}/${datadir}/pixmaps
install -m 0644 ${WORKDIR}/qthellogles2.desktop ${D}/${datadir}/applications
}

View File

@ -1 +0,0 @@
All content inside fsl-gui-extrafiles package are distributed under GPLv2 license

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

View File

@ -1,9 +0,0 @@
[Desktop Entry]
Name=QT Browser
Exec=/usr/bin/qt4/demos/browser/browser
Icon=webkit
Terminal=false
Type=Application
X-MB-SingleInstance=true
Comment=Qt Browser
StartupNotify=false

View File

@ -1,9 +0,0 @@
[Desktop Entry]
Name=QT Demo Launcher
Exec=/usr/bin/qtdemo
Icon=qtdemo
Terminal=false
Type=Application
X-MB-SingleInstance=true
Comment=Qt Demo Launcher
StartupNotify=false

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

View File

@ -1,9 +0,0 @@
[Desktop Entry]
Name=QT OpenGL ES2 Hello World
Exec=/usr/bin/qt4/examples/opengl/hellogl_es2/hellogl_es2
Icon=hellogl_es2
Terminal=false
Type=Application
X-MB-SingleInstance=true
Comment=QT OpenGL ES2 Hello World
StartupNotify=false

View File

@ -1,9 +0,0 @@
[Desktop Entry]
Name=QT Media Player
Exec=/usr/bin/qt4/demos/qmediaplayer/qmediaplayer
Icon=qtmediaplayer
Terminal=false
Type=Application
X-MB-SingleInstance=true
Comment=Qt Media Player
StartupNotify=false

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

View File

@ -1,14 +1,14 @@
# Copyright (C) 2012 O.S. Systems Software LTDA.
DESCRIPTION = "Extra files for fsl-gui-image"
LICENSE = "LGPLv2"
LICENSE = "LGPL-2.0-only"
LIC_FILES_CHKSUM = "file://LICENSE;md5=39ec502560ab2755c4555ee8416dfe42"
SRC_URI = "file://rc.local.etc \
file://rc.local.init \
file://LICENSE"
S = "${WORKDIR}"
S = "${UNPACKDIR}"
inherit update-rc.d

View File

@ -1,13 +0,0 @@
include recipes-fsl/images/fsl-image-gui.bb
IMAGE_FEATURES += " \
dev-pkgs \
tools-sdk \
"
EXTRA_IMAGE_FEATURES += " \
tools-debug \
tools-profile \
tools-testapps \
debug-tweaks \
"
export IMAGE_BASENAME = "fsl-image-gui-sdk"

View File

@ -1,35 +0,0 @@
include recipes-sato/images/core-image-sato.bb
IMAGE_FEATURES += "debug-tweaks"
DISTRO_FEATURES += "pulseaudio"
WEB = "web-webkit"
SOC_EXTRA_IMAGE_FEATURES ?= "tools-testapps"
# Add extra image features
EXTRA_IMAGE_FEATURES += " \
${SOC_EXTRA_IMAGE_FEATURES} \
nfs-server \
tools-debug \
tools-profile \
qt4-pkgs \
"
SOC_IMAGE_INSTALL = ""
SOC_IMAGE_INSTALL_mx5 = "glcubes-demo"
IMAGE_INSTALL += " \
${SOC_IMAGE_INSTALL} \
cpufrequtils \
nano \
packagegroup-fsl-gstreamer \
packagegroup-fsl-tools-testapps \
packagegroup-fsl-tools-benchmark \
packagegroup-qt-in-use-demos \
qt4-plugin-phonon-backend-gstreamer \
qt4-demos \
qt4-examples \
fsl-gui-extrafiles \
"
export IMAGE_BASENAME = "fsl-image-gui"

View File

@ -0,0 +1,31 @@
DESCRIPTION = "A console-only image that includes gstreamer packages, \
Freescale's multimedia packages (VPU and GPU) when available, and \
test and benchmark applications."
IMAGE_FEATURES += " \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \
bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11-base', \
'', d), d)} \
debug-tweaks \
tools-testapps \
tools-profile \
"
LICENSE = "MIT"
inherit core-image
CORE_IMAGE_EXTRA_INSTALL += " \
packagegroup-fsl-gstreamer1.0 \
packagegroup-fsl-gstreamer1.0-full \
packagegroup-fsl-tools-gpu \
packagegroup-fsl-tools-gpu-external \
packagegroup-fsl-tools-testapps \
packagegroup-fsl-tools-benchmark \
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', \
'firmwared', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', \
'weston weston-init', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', \
'weston-xwayland xterm', '', d)} \
"

View File

@ -0,0 +1,8 @@
# This image extends fsl-image-multimedia with additional
# gstreamer plugins
require fsl-image-multimedia.bb
CORE_IMAGE_EXTRA_INSTALL += " \
packagegroup-fsl-gstreamer1.0-full \
"

View File

@ -0,0 +1,30 @@
DESCRIPTION = "A console-only image that includes gstreamer packages and \
Freescale's multimedia packages (VPU and GPU) when available for the specific \
machine."
IMAGE_FEATURES += "\
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'weston', \
bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11-base', \
'', d), d)} \
"
LICENSE = "MIT"
inherit core-image
CORE_IMAGE_EXTRA_INSTALL += " \
packagegroup-fsl-tools-gpu \
packagegroup-fsl-gstreamer1.0 \
packagegroup-imx-tools-audio \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', \
'weston weston-init weston-examples \
gtk+3-demo', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', \
'weston-xwayland xterm', '', d)} \
"
PACKAGE_IMX_TO_REMOVE = ""
PACKAGE_IMX_TO_REMOVE:imxgpu2d = "gtk+3-demo"
PACKAGE_IMX_TO_REMOVE:imxgpu3d = ""
CORE_IMAGE_EXTRA_INSTALL:remove = "${PACKAGE_IMX_TO_REMOVE}"

View File

@ -0,0 +1,22 @@
DESCRIPTION = "A console-only image that includes full cmdline and \
Freescale's networking packages (QorIQ DPAA/DPAA2) when available."
IMAGE_FEATURES += " \
debug-tweaks \
tools-profile \
"
LICENSE = "MIT"
CORE_IMAGE_EXTRA_INSTALL:append = "\
packagegroup-core-boot \
packagegroup-core-full-cmdline \
packagegroup-fsl-network \
"
# SPI Nor-Flash
NETWORK_TOOLS:append:fsl-lsch3 = "\
mtd-utils \
"
inherit core-image

View File

@ -1,21 +0,0 @@
include recipes-core/images/core-image-base.bb
IMAGE_FEATURES += "debug-tweaks"
SOC_EXTRA_IMAGE_FEATURES ?= "tools-testapps"
# Add extra image features
EXTRA_IMAGE_FEATURES += " \
${SOC_EXTRA_IMAGE_FEATURES} \
nfs-server \
tools-debug \
tools-profile \
"
IMAGE_INSTALL += " \
packagegroup-fsl-gstreamer \
packagegroup-fsl-tools-testapps \
packagegroup-fsl-tools-benchmark \
"
export IMAGE_BASENAME = "fsl-image-test"

View File

@ -1,78 +0,0 @@
# Copyright (C) 2012 Freescale Semiconductor
# Released under the MIT license (see COPYING.MIT for the terms)
DESCRIPTION = "Freescale package group"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r5"
inherit packagegroup
PROVIDES = "${PACKAGES}"
PACKAGES += " \
${PN}-gstreamer \
${PN}-tools-testapps \
${PN}-tools-benchmark \
"
MACHINE_GSTREAMER_PLUGIN ?= ""
RDEPENDS_${PN}-gstreamer = " \
gst-meta-audio \
gst-meta-video \
${MACHINE_GSTREAMER_PLUGIN} \
"
SOC_TOOLS_TESTAPPS = ""
SOC_TOOLS_TESTAPPS_mx5 = " \
amd-gpu-x11-bin-mx51 \
gst-fsl-plugin-gplay \
"
SOC_TOOLS_TESTAPPS_mx6 = " \
gpu-viv-bin-mx6q \
gst-fsl-plugin-gplay \
"
RDEPENDS_${PN}-tools-testapps = " \
${SOC_TOOLS_TESTAPPS} \
alsa-utils \
alsa-tools \
dosfstools \
evtest \
e2fsprogs-mke2fs \
fsl-rc-local \
gst-plugins-base-tcp \
i2c-tools \
imx-test \
iproute2 \
python-subprocess \
python-datetime \
python-json \
v4l-utils \
ethtool \
"
RDEPENDS_${PN}-tools-benchmark = " \
lmbench \
bonnie++ \
dbench \
fio \
iozone3 \
iperf \
memtester \
nbench-byte \
tiobench \
"
# Disabled as it has CRC problems in denzil branch
# cpuburn-neon
ALLOW_EMPTY_${PN} = "1"
ALLOW_EMPTY_${PN}-gstreamer = "1"
ALLOW_EMPTY_${PN}-tools-testapps = "1"
ALLOW_EMPTY_${PN}-tools-benchmark = "1"
PACKAGE_ARCH = "${MACHINE_ARCH}"

View File

@ -0,0 +1,17 @@
DESCRIPTION = "Package group used by FSL Community to provide audio and video plugins \
that are subject to restricted licensing and/or royalties and thus require \
the 'commercial' license whitelist flag"
SUMMARY = "FSL Community package group - set of GStreamer 1.0 plugins with commercial licence flag"
LICENSE_FLAGS = "commercial"
inherit packagegroup
RDEPENDS:${PN} = " \
packagegroup-fsl-gstreamer1.0 \
"
# Plugins from the -ugly collection which require the "commercial" flag in LICENSE_FLAGS_ACCEPTED to be set
RDEPENDS:${PN} = " \
gstreamer1.0-plugins-ugly-asf \
gstreamer1.0-libav \
"

View File

@ -0,0 +1,15 @@
DESCRIPTION = "Package group used by FSL Community to provide all GStreamer plugins from the \
base, good, and bad packages, as well as the ugly and libav ones if commercial packages \
are whitelisted, and plugins for the required hardware acceleration (if supported by the SoC)."
SUMMARY = "FSL Community package group - full set of all GStreamer 1.0 plugins"
inherit packagegroup
RDEPENDS:${PN} = " \
packagegroup-fsl-gstreamer1.0 \
${@bb.utils.contains('LICENSE_FLAGS_ACCEPTED', 'commercial', 'packagegroup-fsl-gstreamer1.0-commercial', '', d)} \
gstreamer1.0-plugins-base-meta \
gstreamer1.0-plugins-good-meta \
gstreamer1.0-plugins-bad-meta \
${@bb.utils.contains('LICENSE_FLAGS_ACCEPTED', 'commercial', 'gstreamer1.0-plugins-ugly-meta', '', d)} \
"

View File

@ -0,0 +1,119 @@
DESCRIPTION = "Package group used by FSL Community to provide audio, video, networking and debug \
GStreamer plugins with the required hardware acceleration (if supported by the SoC)."
SUMMARY = "FSL Community package group - set of commonly used GStreamer 1.0 plugins"
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit packagegroup
PACKAGES += " \
${PN}-base \
${PN}-audio \
${PN}-video \
${PN}-video-bad \
${PN}-debug \
${PN}-network-base \
${PN}-network \
"
MACHINE_GSTREAMER_1_0_PLUGIN ?= ""
RDEPENDS:${PN} = " \
${PN}-audio \
${PN}-video \
${PN}-network-base \
${PN}-debug \
"
# List of X11 specific plugins
GST_X11_PACKAGES = " \
gstreamer1.0-plugins-base-ximagesink \
gstreamer1.0-plugins-base-xvimagesink \
"
# List of Wayland specific plugins
GST_WAYLAND_PACKAGES = " \
gstreamer1.0-plugins-bad-waylandsink \
"
# basic plugins required in virtually every pipeline
RDEPENDS:${PN}-base = " \
gstreamer1.0 \
gstreamer1.0-plugins-base-playback \
${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'gstreamer1.0-plugins-base-alsa', '', d)} \
gstreamer1.0-plugins-base-audioconvert \
gstreamer1.0-plugins-base-audioresample \
gstreamer1.0-plugins-base-gio \
gstreamer1.0-plugins-base-typefindfunctions \
gstreamer1.0-plugins-base-videoconvertscale \
gstreamer1.0-plugins-base-volume \
gstreamer1.0-plugins-good-autodetect \
${MACHINE_GSTREAMER_1_0_PLUGIN} \
${@bb.utils.contains("MACHINE_GSTREAMER_1_0_PLUGIN", "imx-gst1.0-plugin", "imx-gst1.0-plugin-gplay", "", d)} \
${@bb.utils.contains("MACHINE_GSTREAMER_1_0_PLUGIN", "imx-gst1.0-plugin", "imx-gst1.0-plugin-grecorder", "", d)} \
"
RRECOMMENDS:${PN}-base = " \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${GST_X11_PACKAGES}', \
bb.utils.contains('DISTRO_FEATURES', 'wayland', \
'${GST_WAYLAND_PACKAGES}', '', d), d)} \
"
# Basic audio plugins: parsers, demuxers, decoders
RDEPENDS:${PN}-audio = " \
${PN}-base \
gstreamer1.0-plugins-base-ogg \
gstreamer1.0-plugins-good-audioparsers \
gstreamer1.0-plugins-good-flac \
gstreamer1.0-plugins-good-icydemux \
gstreamer1.0-plugins-good-id3demux \
gstreamer1.0-plugins-good-speex \
gstreamer1.0-plugins-good-wavparse \
"
# Basic video plugins: parsers, demuxers
RDEPENDS:${PN}-video = " \
${PN}-base \
gstreamer1.0-plugins-base-subparse \
gstreamer1.0-plugins-base-theora \
gstreamer1.0-plugins-good-avi \
gstreamer1.0-plugins-good-flv \
gstreamer1.0-plugins-good-isomp4 \
gstreamer1.0-plugins-good-matroska \
"
RRECOMMENDS:${PN}-video = " \
${PN}-audio \
"
# Additional video plugins from the -bad collection
RDEPENDS:${PN}-video-bad = " \
${PN}-video \
gstreamer1.0-plugins-bad-mpegpsdemux \
gstreamer1.0-plugins-bad-mpegtsdemux \
gstreamer1.0-plugins-bad-videoparsersbad \
"
# Plugins used for diagnostics and debugging of pipelines
RDEPENDS:${PN}-debug = " \
${PN}-base \
gstreamer1.0-plugins-base-audiotestsrc \
gstreamer1.0-plugins-base-videotestsrc \
gstreamer1.0-plugins-good-debug \
gstreamer1.0-plugins-good-navigationtest \
"
# Basic networking plugins required by most pipelines that receive and/or send data
RDEPENDS:${PN}-network-base = " \
gstreamer1.0-plugins-base-tcp \
gstreamer1.0-plugins-good-soup \
gstreamer1.0-plugins-good-udp \
"
# Additional networking plugins
RDEPENDS:${PN}-network = " \
${PN}-network-base \
gstreamer1.0-plugins-good-rtp \
gstreamer1.0-plugins-good-rtpmanager \
gstreamer1.0-plugins-good-rtsp \
"

View File

@ -0,0 +1,50 @@
# Copyright (C) 2020 Jens Rehsack <sno@netbsd.org>
# Released under the MIT license (see COPYING.MIT for the terms)
DESCRIPTION = "Package group used by FSL Community to add the packages which provide (QorIQ) networking support."
SUMMARY = "FSL Community package group - networking"
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit packagegroup
NETWORK_TOOLS = "\
ethtool \
tcpdump \
"
NETWORK_TOOLS:append:qoriq = " \
ceetm \
dpdk \
ovs-dpdk \
pktgen-dpdk \
tsntool \
"
# Data Place Acceleration Architecture
NETWORK_TOOLS:append:fsl-lsch2 = "\
eth-config \
"
# 2nd generation Data Place Acceleration Architecture
NETWORK_TOOLS:append:ls1088a = "\
aiopsl \
gpp-aioptool \
ofp \
"
NETWORK_TOOLS:append:ls2088a = "\
aiopsl \
gpp-aioptool \
ofp \
"
NETWORK_TOOLS:append:fsl-lsch3 = "\
dce \
restool \
spc \
"
RDEPENDS:${PN} = " \
${NETWORK_TOOLS} \
"

View File

@ -0,0 +1,23 @@
# Copyright (C) 2012-2016 Freescale Semiconductor
# Released under the MIT license (see COPYING.MIT for the terms)
DESCRIPTION = "Package group used by FSL Community to provide a set of benchmark applications."
SUMMARY = "FSL Communtiy package group - tools/benchmark"
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit packagegroup
RDEPENDS:${PN} = " \
lmbench \
bonnie++ \
dbench \
fio \
iozone3 \
iperf3 \
nbench-byte \
tiobench \
${@bb.utils.contains('TUNE_FEATURES', 'neon', 'cpuburn-neon', \
bb.utils.contains('TUNE_FEATURES', 'cortexa53 crypto', 'cpuburn-neon', \
'', d), d)} \
"

View File

@ -0,0 +1,28 @@
# Copyright (C) 2014, 2016 Freescale Semiconductor
# Copyright (C) 2015, 2016 O.S. Systems Software LTDA.
# Released under the MIT license (see COPYING.MIT for the terms)
DESCRIPTION = "Package group used by FSL Community to provide graphic packages used \
to test the several hardware accelerated graphics APIs including packages not \
provided by Freescale."
SUMMARY = "FSL Community Package group - tools/gpu/external"
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit packagegroup
SOC_TOOLS_GPU_X11 = ""
SOC_TOOLS_GPU_X11:imxgpu2d = " mesa-demos glmark2 gtkperf"
SOC_TOOLS_GPU_FB = ""
SOC_TOOLS_GPU_WAYLAND = ""
SOC_TOOLS_GPU_XWAYLAND = ""
SOC_TOOLS_GPU_XWAYLAND:imxgpu2d = "mesa-demos gtkperf"
RDEPENDS:${PN} = " \
${@bb.utils.contains("DISTRO_FEATURES", "x11 wayland", "${SOC_TOOLS_GPU_XWAYLAND}", \
bb.utils.contains("DISTRO_FEATURES", "wayland", "${SOC_TOOLS_GPU_WAYLAND}", \
bb.utils.contains("DISTRO_FEATURES", "x11", "${SOC_TOOLS_GPU_X11}", \
"${SOC_TOOLS_GPU_FB}", d), d), d)} \
"

View File

@ -0,0 +1,32 @@
# Copyright (C) 2012-2014, 2016 Freescale Semiconductor
# Copyright (C) 2015, 2016 O.S. Systems Software LTDA.
# Released under the MIT license (see COPYING.MIT for the terms)
DESCRIPTION = "Package group used by FSL Community to add the packages which provide GPU support."
SUMMARY = "FSL Community package group - tools/gpu"
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit packagegroup
SOC_TOOLS_GPU = ""
# i.MX6 SoloLite does not support apitrace because of its dependency on gles2.
SOC_TOOLS_GPU:imxgpu2d = " \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', \
bb.utils.contains('DISTRO_FEATURES', 'x11', 'xserver-xorg-extension-viv-autohdmi', \
'', d), d)} \
"
SOC_TOOLS_GPU:append:imxgpu3d = " \
imx-gpu-apitrace \
"
SOC_TOOLS_GPU:append:imxgpu = " \
imx-gpu-sdk \
imx-gpu-viv-tools \
"
RDEPENDS:${PN} = " \
${SOC_TOOLS_GPU} \
"

View File

@ -0,0 +1,45 @@
# Copyright (C) 2012-2014, 2016 Freescale Semiconductor
# Copyright (C) 2015, 2016 O.S. Systems Software LTDA.
# Released under the MIT license (see COPYING.MIT for the terms)
DESCRIPTION = "Packagegroup used by FSL Community to provide a set of packages and utilities \
for hardware test."
SUMMARY = "FSL Community packagegroup - tools/testapps"
PACKAGE_ARCH = "${MACHINE_ARCH}"
inherit packagegroup
SOC_TOOLS_TEST = ""
SOC_TOOLS_TEST:imx-nxp-bsp = "imx-test"
SOC_TOOLS_TEST:imxgpu = "imx-test imx-gpu-viv-demos"
SOC_TOOLS_TEST:qoriq = "ceetm optee-test-qoriq"
RDEPENDS:${PN} = " \
alsa-utils \
alsa-tools \
dosfstools \
evtest \
e2fsprogs-mke2fs \
${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'fsl-rc-local', '', d)} \
fbset \
i2c-tools \
iproute2 \
memtester \
python3-core \
python3-json \
python3-datetime \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'v4l-utils', '', d)} \
ethtool \
mtd-utils \
mtd-utils-ubifs \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk+3-demo', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', \
'weston-examples', '', d)} \
${SOC_TOOLS_TEST} \
"
RDEPENDS_IMX_TO_REMOVE = ""
RDEPENDS_IMX_TO_REMOVE:imxgpu3d = ""
RDEPENDS:${PN}:remove = "${RDEPENDS_IMX_TO_REMOVE}"

View File

@ -0,0 +1,33 @@
# Copyright (C) 2015 Freescale Semiconductor
# Copyright (C) 2015 O.S. Systems Software LTDA.
# Released under the MIT license (see COPYING.MIT for the terms)
SUMMARY = "Set of audio tools for inclusion on images"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
inherit packagegroup
ALSA_INSTALL = " \
alsa-utils \
alsa-tools \
"
PULSEAUDIO_INSTALL = " \
pulseaudio-server \
pulseaudio-module-cli \
pulseaudio-misc \
pulseaudio-module-device-manager \
${@bb.utils.contains('DISTRO_FEATURES',"x11", "pulseaudio-module-x11-xsmp \
pulseaudio-module-x11-publish \
pulseaudio-module-x11-cork-request \
pulseaudio-module-x11-bell \
consolekit", \
"", d)} \
"
RDEPENDS:${PN} = " \
${@bb.utils.contains("DISTRO_FEATURES", "alsa", "${ALSA_INSTALL}", "", d)} \
${@bb.utils.contains("DISTRO_FEATURES", "pulseaudio", "${PULSEAUDIO_INSTALL}", "", d)} \
"

View File

@ -0,0 +1,21 @@
DESCRIPTION = "A full featured cross-platform image library"
SECTION = "libs"
LICENSE = "LGPL-2.1-only"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1-only;md5=1a6d268fd218675ffea8be556788b780"
PR = "r0"
DEPENDS = "libpng jpeg tiff xz"
SRC_URI = "http://sourceforge.net/projects/openil/files/DevIL/${PV}/DevIL-${PV}.zip"
SRC_URI[sha256sum] = "451337f392c65bfb83698a781370534dc63d7bafca21e9b37178df0518f7e895"
S = "${UNPACKDIR}/DevIL/DevIL"
inherit cmake
TARGET_CFLAGS += "-Dpng_set_gray_1_2_4_to_8=png_set_expand_gray_1_2_4_to_8"
SOLIBS = ".so"
FILES_SOLIBSDEV = ""
PACKAGE_ARCH = "${MACHINE_ARCH}"

View File

@ -1,9 +0,0 @@
[Desktop Entry]
Name=GLCubes Demo
Exec=/usr/bin/cubes_demo_x11
Icon=glcubes-ico
Terminal=false
Type=Application
X-MB-SingleInstance=true
Comment=GLCubes Demo
StartupNotify=false

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

View File

@ -1,27 +0,0 @@
DESCRIPTION = "OpenGL ES 2.0 demo."
DEPENDS = "amd-gpu-x11-bin-mx51"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://src/glutils.h;endline=19;md5=ef278430dad04019580420bc61a1661d"
PR = "r1"
SRC_URI = "git://github.com/andreluizeng/cubes-demo-yocto.git;protocol=git"
SRC_URI += "file://glcubes-demo.desktop \
file://glcubes-ico.png \
"
SRCREV = "d7d93379198b4c5c40f70cc458e8437d84acef95"
S = "${WORKDIR}/git"
inherit autotools
EXTRA_OEMAKE = "EGL_FLAVOR=x11 BINDIR=${bindir} DATADIR=${datadir}/${PN}"
do_install_append () {
install -d ${D}/${datadir}/pixmaps
install -d ${D}/${datadir}/applications
install -m 0644 ${WORKDIR}/glcubes-ico.png ${D}/${datadir}/pixmaps
install -m 0644 ${WORKDIR}/glcubes-demo.desktop ${D}/${datadir}/applications
}
COMPATIBLE_MACHINE = "(mx5)"
PACKAGE_ARCH = "${MACHINE_ARCH}"

View File

@ -0,0 +1,22 @@
SUMMARY = "OpenGL Image Library"
DESCRIPTION = "OpenGL Image (GLI) is a header only C++ \
image library for graphics software."
HOMEPAGE = "http://gli.g-truc.net"
BUGTRACKER = "https://github.com/g-truc/gli/issues"
SECTION = "libs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://readme.md;beginline=19;endline=20;md5=ab03b667ee630c1abb1add70365a50fb"
SRC_URI = " \
git://github.com/g-truc/gli;protocol=https;branch=master \
"
SRCREV = "0c171ee87fcfe35a7e0e0445adef06f92e0b6a91"
inherit cmake
# This is a header-only library, so the main package will be empty.
ALLOW_EMPTY:${PN} = "1"
BBCLASSEXTEND = "native"

View File

@ -0,0 +1,2 @@
# This is a header-only library, so the main package will be empty.
ALLOW_EMPTY:${PN} = "1"

View File

@ -0,0 +1,4 @@
SRC_URI = "${GPU_SDK_SRC};branch=${GPU_SDK_SRC_BRANCH}"
GPU_SDK_SRC ?= "git://github.com/nxp-imx/gtec-demo-framework.git;protocol=https"
GPU_SDK_SRC_BRANCH ?= "master"
SRCREV = "35bbd45ed6eac169a778bd154283771b9bf39be7"

View File

@ -0,0 +1,145 @@
SUMMARY = "i.MX GPU SDK Samples"
DESCRIPTION = "Set of sample applications for i.MX GPU"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://License.md;md5=9d58a2573275ce8c35d79576835dbeb8"
DEPENDS_BACKEND = \
"${@bb.utils.contains('DISTRO_FEATURES', 'wayland', ' libxdg-shell wayland', \
bb.utils.contains('DISTRO_FEATURES', 'x11', ' xrandr', \
'', d), d)}"
DEPENDS_MX8 = ""
DEPENDS_MX8:mx8-nxp-bsp = " \
glslang-native \
opencv \
rapidopencl \
rapidopenvx \
rapidvulkan \
vulkan-headers \
vulkan-loader \
"
DEPENDS_MX8:mx8mm-nxp-bsp = " \
opencv \
"
DEPENDS = " \
assimp \
cmake-native \
devil \
fmt \
gli \
glm \
gstreamer1.0 \
gstreamer1.0-plugins-base \
gtest \
half \
ninja-native \
nlohmann-json \
rapidjson \
stb \
zlib \
${DEPENDS_BACKEND} \
${DEPENDS_MX8} \
"
DEPENDS:append:imxgpu2d = " virtual/libg2d virtual/libopenvg"
DEPENDS:append:imxgpu3d = " virtual/libgles2"
require imx-gpu-sdk-src.inc
WINDOW_SYSTEM = \
"${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'Wayland_XDG', \
bb.utils.contains('DISTRO_FEATURES', 'x11', 'X11', \
'FB', d), d)}"
FEATURES = "ConsoleHost,EarlyAccess,EGL,GoogleUnitTest,Lib_NlohmannJson,OpenVG,Test_RequireUserInputToExit,WindowHost"
FEATURES:append:imxgpu = ",HW_GPU_VIVANTE"
FEATURES:append:imxgpu2d = ",G2D"
FEATURES:append:imxgpu3d = ",OpenGLES2"
FEATURES:append = "${FEATURES_SOC}"
FEATURES_SOC = ""
FEATURES_SOC:mx6q-nxp-bsp = ",OpenGLES3"
FEATURES_SOC:mx6dl-nxp-bsp = ",OpenGLES3"
FEATURES_SOC:mx8-nxp-bsp = ",OpenCV4,Vulkan1.2,OpenGLES3.2,OpenCL1.2,OpenVX1.2"
FEATURES_SOC:mx8mm-nxp-bsp = ",OpenCV4"
EXTENSIONS = "*"
EXTENSIONS:mx6q-nxp-bsp = "OpenGLES:GL_VIV_direct_texture,OpenGLES3:GL_EXT_geometry_shader,OpenGLES3:GL_EXT_tessellation_shader"
EXTENSIONS:mx6dl-nxp-bsp = "OpenGLES:GL_VIV_direct_texture,OpenGLES3:GL_EXT_geometry_shader,OpenGLES3:GL_EXT_tessellation_shader"
EXTENSIONS:mx8m-nxp-bsp = "OpenGLES:GL_VIV_direct_texture,OpenGLES3:GL_EXT_color_buffer_float"
EXTENSIONS:mx8mm-nxp-bsp = "*"
do_compile () {
export FSL_PLATFORM_NAME=Yocto
export ROOTFS=${STAGING_DIR_HOST}
. ./prepare.sh
FslBuild.py -vvvvv -t sdk --UseFeatures [${FEATURES}] --UseExtensions [${EXTENSIONS}] --Variants [WindowSystem=${WINDOW_SYSTEM}] --BuildThreads ${@oe.utils.parallel_make(d)} -c install --CMakeInstallPrefix ${S}
}
REMOVALS = " \
GLES2/DeBayer \
GLES2/DirectMultiSamplingVideoYUV \
GLES3/DirectMultiSamplingVideoYUV \
"
REMOVALS:append:imxdpu = " \
G2D/EightLayers \
"
REMOVALS:append:mx6q-nxp-bsp = " \
GLES3/HDR02_FBBasicToneMapping \
GLES3/HDR03_SkyboxTonemapping \
GLES3/HDR04_HDRFramebuffer \
"
REMOVALS:append:mx6dl-nxp-bsp = " \
GLES3/HDR02_FBBasicToneMapping \
GLES3/HDR03_SkyboxTonemapping \
GLES3/HDR04_HDRFramebuffer \
"
do_install () {
install -d "${D}/opt/${PN}"
cp -r ${S}/bin/* ${D}/opt/${PN}
for removal in ${REMOVALS}; do
rm -rf ${D}/opt/${PN}/$removal
done
}
FILES:${PN} += "/opt/${PN}"
FILES:${PN}-dbg += "/opt/${PN}/*/*/.debug /usr/src/debug"
INSANE_SKIP:${PN} += "already-stripped rpaths"
# Unfortunately recipes with an empty main package, like header-only libraries,
# are not included in the SDK. Use RDEPENDS as a workaround.
RDEPENDS_EMPTY_MAIN_PACKAGE = " \
fmt \
gli \
glm \
googletest \
half \
nlohmann-json \
rapidjson \
stb \
"
RDEPENDS_EMPTY_MAIN_PACKAGE_MX8 = ""
RDEPENDS_EMPTY_MAIN_PACKAGE_MX8:mx8-nxp-bsp = " \
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'libxdg-shell', '', d)} \
rapidopencl \
rapidopenvx \
rapidvulkan \
"
RDEPENDS_EMPTY_MAIN_PACKAGE_MX8:mx8mm-nxp-bsp = ""
# vulkan-loader is dynamically loaded, so need to add an explicit
# dependency
RDEPENDS_VULKAN_LOADER = ""
RDEPENDS_VULKAN_LOADER:mx8-nxp-bsp = "vulkan-validation-layers vulkan-loader"
RDEPENDS_VULKAN_LOADER:mx8mm-nxp-bsp = ""
RDEPENDS:${PN} += " \
${RDEPENDS_EMPTY_MAIN_PACKAGE} \
${RDEPENDS_EMPTY_MAIN_PACKAGE_MX8} \
${RDEPENDS_VULKAN_LOADER} \
"
# For backwards compatibility
RPROVIDES:${PN} = "fsl-gpu-sdk"
RREPLACES:${PN} = "fsl-gpu-sdk"
RCONFLICTS:${PN} = "fsl-gpu-sdk"
COMPATIBLE_MACHINE = "(imxgpu)"

View File

@ -0,0 +1,21 @@
SUMMARY = "Provides XDG shell header and glue code library"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${UNPACKDIR}/${BP}/License.md;md5=9d58a2573275ce8c35d79576835dbeb8"
DEPENDS = "wayland-native wayland wayland-protocols"
require imx-gpu-sdk-src.inc
SRC_URI += "file://0001-xdg-shell-Add-CMake-minimum.patch"
S = "${UNPACKDIR}/${BP}/ThirdParty/Recipe/xdg-shell"
inherit cmake pkgconfig
EXTRA_OECMAKE = " \
-DWAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner \
-DWAYLAND_PROTOCOLS_DIR=${STAGING_DATADIR}/wayland-protocols \
"
ALLOW_EMPTY:${PN} = "1"
RDEPENDS:${PN}-dev = "${PN}-staticdev"

View File

@ -0,0 +1,38 @@
From 6e38ee09378bfa7edc97528967f0dd0bd810f2c6 Mon Sep 17 00:00:00 2001
From: Tom Hochstein <tom.hochstein@nxp.com>
Date: Thu, 9 Oct 2025 08:29:44 -0500
Subject: [PATCH] xdg-shell: Add CMake minimum
The build is broken:
```
| CMake Error in CMakeLists.txt:
| No cmake_minimum_required command is present. A line of code such as
|
| cmake_minimum_required(VERSION 4.1)
|
| should be added at the top of the file. The version specified may be lower
| if you wish to support older CMake versions for this project. For more
| information run "cmake --help-policy CMP0000".
```
Upstream-Status: Pending
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
---
CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8d39c6c5..5cb52e32 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,7 @@
# Generate the client header and glue library from xdg-shell.xml
+cmake_minimum_required(VERSION 3.5)
+
include(FindPkgConfig)
if (NOT DEFINED WAYLAND_PROTOCOLS_DIR)
--
2.34.1

View File

@ -0,0 +1,16 @@
SUMMARY = "Experimental low level header only C++11 RAII wrapper classes for the OpenCL API"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204"
SRC_URI = "git://github.com/Unarmed1000/RapidOpenCL;protocol=https;branch=master \
"
SRCREV = "21254804a56ae96e8385c2652733c338d62da04f"
# RapidOpenCL is a header-only C++11 RAII wrapper class, so the main package will be empty.
do_install () {
install -d ${D}${includedir}
cp -r ${S}/include/* ${D}${includedir}
}
ALLOW_EMPTY:${PN} = "1"

View File

@ -0,0 +1,14 @@
SUMMARY = "Low level header only C++11 RAII wrapper classes for the OpenVX API"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204"
SRC_URI = "git://github.com/Unarmed1000/RapidOpenVX;protocol=https;branch=master \
"
SRCREV = "909c7abbff0ee35610f07f6fadeaf3a2eadce36e"
do_install () {
install -d ${D}${includedir}
cp -r ${S}/include/* ${D}${includedir}
}
ALLOW_EMPTY:${PN} = "1"

View File

@ -0,0 +1,13 @@
SUMMARY = "Low level header only C++11 RAII wrapper classes for the Vulkan API"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b98f636daed34d12d11e25f3185c0204"
DEPENDS = "vulkan-loader"
SRC_URI = "git://github.com/Unarmed1000/RapidVulkan;protocol=https;branch=master"
SRCREV = "e39a407c5ae880792d8843ada65a19dd26b3dca7"
inherit cmake
ALLOW_EMPTY:${PN} = "1"

View File

@ -0,0 +1,52 @@
From 59bc03d931270b6354690512d0c881eec8b97678 Mon Sep 17 00:00:00 2001
From: Kim Kulling <kimkulling@users.noreply.github.com>
Date: Fri, 25 Jul 2025 15:01:16 +0200
Subject: [PATCH] X3D: Fix invalid vector::back usage (#6283)
* X3D: Fix invalid vector::back usage
Upstream-Status: Backport [https://github.com/assimp/assimp/commit/59bc03d931270b6354690512d0c881eec8b97678]
---
code/AssetLib/X3D/X3DGeoHelper.cpp | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/code/AssetLib/X3D/X3DGeoHelper.cpp b/code/AssetLib/X3D/X3DGeoHelper.cpp
index 1c962a460..b90956d2c 100644
--- a/code/AssetLib/X3D/X3DGeoHelper.cpp
+++ b/code/AssetLib/X3D/X3DGeoHelper.cpp
@@ -128,13 +128,17 @@ void X3DGeoHelper::rect_parallel_epiped(const aiVector3D &pSize, std::list<aiVec
#undef MESH_RectParallelepiped_CREATE_VERT
+static constexpr int InvalidIndex = -1;
+
void X3DGeoHelper::coordIdx_str2faces_arr(const std::vector<int32_t> &pCoordIdx, std::vector<aiFace> &pFaces, unsigned int &pPrimitiveTypes) {
std::vector<int32_t> f_data(pCoordIdx);
std::vector<unsigned int> inds;
unsigned int prim_type = 0;
- if (f_data.back() != (-1)) {
- f_data.push_back(-1);
+ if (!f_data.empty()) {
+ if (f_data.back() != InvalidIndex) {
+ f_data.push_back(InvalidIndex);
+ }
}
// reserve average size.
@@ -191,8 +195,10 @@ mg_m_err:
void X3DGeoHelper::coordIdx_str2lines_arr(const std::vector<int32_t> &pCoordIdx, std::vector<aiFace> &pFaces) {
std::vector<int32_t> f_data(pCoordIdx);
- if (f_data.back() != (-1)) {
- f_data.push_back(-1);
+ if (!f_data.empty()) {
+ if (f_data.back() != InvalidIndex) {
+ f_data.push_back(InvalidIndex);
+ }
}
// reserve average size.
--
2.34.1

View File

@ -0,0 +1,34 @@
DESCRIPTION = "Open Asset Import Library is a portable Open Source library to import \
various well-known 3D model formats in a uniform manner."
HOMEPAGE = "http://www.assimp.org/"
SECTION = "devel"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d9d5275cab4fb13ae624d42ce64865de"
DEPENDS = "zlib"
SRC_URI = "git://github.com/assimp/assimp.git;protocol=https;branch=master \
file://0001-X3D-Fix-invalid-vector-back-usage-6283.patch"
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>(\d+(\.\d+)+))"
SRCREV = "c35200e38ea8f058812b83de2ef32c6093b0ece2"
inherit cmake
do_unpack:append() {
bb.build.exec_func('remove_non_compliant_source', d)
}
remove_non_compliant_source() {
# Remove non-compliant files manually. A patch file cannot be used
# since many of the files are binary.
rm -rf ${S}/test/models-nonbsd ${S}/scripts/StepImporter/schema_ifc2x3.exp
}
EXTRA_OECMAKE = "-DASSIMP_BUILD_ASSIMP_TOOLS=OFF -DASSIMP_BUILD_TESTS=OFF -DASSIMP_LIB_INSTALL_DIR=${baselib}"
BBCLASSEXTEND = "native nativesdk"
# Work around do_package_qa error
INSANE_SKIP:${PN}-dev += "buildpaths"

View File

@ -1,2 +0,0 @@
xinput set-int-prop "MXS touchscreen" "Evdev Axis Calibration" 32 194 3938 301 3878
xinput set-int-prop "MXS touchscreen" "Evdev Axes Swap" 8 1

View File

@ -1,2 +0,0 @@
# Append path for freescale layer to include bsp pointercal.xinput
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

View File

@ -0,0 +1,25 @@
# Copyright (C) 2017 NXP Semiconductor
SUMMARY = "RTSP server for live-stream from a v4l2 video source"
HOMEPAGE = "https://github.com/Gateworks/gst-gateworks-apps"
SECTION = "multimedia"
LICENSE = "GPL-3.0-only"
inherit pkgconfig
DEPENDS = "gstreamer1.0 gstreamer1.0-rtsp-server glib-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
SRC_URI = " \
git://github.com/Gateworks/gst-gateworks-apps;branch=master;protocol=https \
"
SRCREV = "490564815d8049dbdd79087f546835b673ba6e88"
do_install() {
install -m 0755 -D ${S}/bin/gst-variable-rtsp-server \
${D}/${bindir}/gst-variable-rtsp-server
}

View File

@ -1,33 +0,0 @@
SYSTEMD_INSTALL = " \
systemd \
systemd-compat-units \
systemd-speed-hacks \
udev-systemd \
rsyslog-systemd \
"
SYSV_INSTALL = " \
udev \
sysvinit \
initscripts \
tinylogin \
"
COMMON_INSTALL = " \
base-files \
base-passwd \
busybox \
${@base_contains("MACHINE_FEATURES", "systemd", "${SYSTEMD_INSTALL}", "${SYSV_INSTALL}", d)} \
${QT_NAME}-plugin-phonon-backend-gstreamer \
packagegroup-fsl-gstreamer \
packagegroup-base \
"
QT_DEMOS = " \
${QT_NAME}-demos \
${QT_NAME}-examples \
"
do_rootfs[depends] += "virtual/kernel:do_populate_sysroot"
inherit image

View File

@ -1,17 +0,0 @@
require qt-in-use-common.inc
QT_NAME = "qt4"
IMAGE_INSTALL = " \
${COMMON_INSTALL} \
\
${XSERVER} \
${QT_DEMOS} \
packagegroup-core-x11 \
xorg-minimal-fonts \
liberation-fonts \
qt4-graphics-system \
qt-in-industrial-embedded-smarthome \
"
ROOTFS_POSTPROCESS_COMMAND += "(cd ${IMAGE_ROOTFS}/usr/bin ; \
ln -s smarthome x-window-manager );"

View File

@ -1,13 +0,0 @@
require qt-in-use-common.inc
QT_NAME = "qt4-embedded"
IMAGE_INSTALL = " \
${COMMON_INSTALL} \
\
${QT_DEMOS} \
qt-in-industrial-embedded-smarthome-e \
pciutils \
usbutils \
alsa-utils \
"

View File

@ -1,13 +0,0 @@
# Copyright (C) 2012 Freescale Semiconductor
# Released under the MIT license (see COPYING.MIT for the terms)
DESCRIPTION = "Qt in use demo applications"
HOMEPAGE = "http://qt.gitorious.org/qt-in-use"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
inherit packagegroup
RDEPENDS_${PN} = " \
qt-in-industrial-embedded-smarthome"

View File

@ -1,27 +0,0 @@
DESCRIPTION = "Demos from the industrial embedded segment"
inherit autotools
PV = "0.0+gitr${SRCPV}"
SRCREV = "4b10cbfd32391c83251bbc61520eeab03461db0a"
SRC_URI = "git://gitorious.org/qt-in-use/qt-in-industrial-embedded.git"
PR = "r3"
S = "${WORKDIR}/git/${DEMO}"
do_configure_prepend() {
# fix qmake ugly deployment support
find ${S} -type f -exec sed -i 's,/usr/local,/usr,g' '{}' ';'
}
do_install_append () {
# Set the correct smarthome binary path
sed -i -e 's:Exec=.*:Exec=${bindir}/smarthome:g' ${D}${datadir}/applications/smarthome.desktop
}
FILES_${PN} += "${datadir}/${DEMO} ${datadir}/icons"
RDEPENDS_${PN} += " \
${QT_BASE_NAME}-qml-plugins \
${QT_BASE_NAME}-plugin-imageformat-svg \
"

View File

@ -1,14 +0,0 @@
require qt-in-industrial-embedded-common.inc
LICENSE = "LGPLv2.1+ & GFDL-1.2"
LIC_FILES_CHKSUM = "file://COPYING.DOC;md5=ad1419ecc56e060eccf8184a87c4285f \
file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
DEMO = "smarthome"
RDEPENDS_${PN} += "${QT_BASE_NAME}-fonts"
RCONFLICTS_${PN} = "qt-in-industrial-embedded-smarthome"
inherit qt4e
EXTRA_OEMAKE += "INSTALL_ROOT=${D}"

View File

@ -1,13 +0,0 @@
require qt-in-industrial-embedded-common.inc
LICENSE = "LGPLv2.1+ & GFDL-1.2"
LIC_FILES_CHKSUM = "file://COPYING.DOC;md5=ad1419ecc56e060eccf8184a87c4285f \
file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1"
DEMO = "smarthome"
RCONFLICTS_${PN} = "qt-in-industrial-embedded-smarthome-e"
inherit qt4x11
EXTRA_OEMAKE += "INSTALL_ROOT=${D}"

View File

@ -1,25 +0,0 @@
SYSTEMD_INSTALL = " \
systemd \
systemd-compat-units \
systemd-speed-hacks \
udev-systemd \
rsyslog-systemd \
"
SYSV_INSTALL = " \
udev \
sysvinit \
initscripts \
tinylogin \
"
COMMON_INSTALL = " \
base-files \
base-passwd \
busybox \
${@base_contains("MACHINE_FEATURES", "systemd", "${SYSTEMD_INSTALL}", "${SYSV_INSTALL}", d)} \
"
do_rootfs[depends] += "virtual/kernel:do_populate_sysroot"
inherit core-image