| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and
mainline-bsp.
So, for example, the mx8mq override is split into:
- imx-generic-bsp: compatible with every i.MX SoC and both BSP variants
- imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP
- imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP
- mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants
- mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP
- mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP
- mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants
- mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP
- mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP
- mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants
- mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP
- mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP
The extender mechanism is responsible for extending the override list to
include the generic overrides. We can then use the three different
variants to handle the metadata correctly.
Generically speaking, the conversion mainly was automated (with a lot of
back and forth until getting it right).
To convert an existing layer, the following script can be used:
```sh
git ls-files classes recipes-* \
| xargs sed -i \
-e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \
-e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \
-e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \
-e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \
\
-e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \
-e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \
-e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \
-e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \
\
-e 's,:\(vf\w*\),:\1-generic-bsp,g' \
-e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \
-e 's,\(vf\w*\)|,\1-generic-bsp|,g' \
-e 's,|\(vf\w*\)),|\1-generic-bsp),g' \
-e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \
-e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \
\
-e 's,:\(imx\) ,:\1-nxp-bsp ,g' \
-e 's,(\(imx\)),(\1-nxp-bsp),g' \
-e 's,\(imx\)|,\1-nxp-bsp|,g' \
-e 's,|\(imx\)),|\1-nxp-bsp),g'
for d in $(find -type d | egrep '/mx[6-8]w*'); do
git mv $d $d-nxp-bsp
done
for d in $(find -type d | egrep '/imx$'); do
git mv $d $d-nxp-bsp
done
for d in $(find -type d | egrep '/mx[5s]w*'); do
git mv $d $d-generic-bsp
done
```
Fixes: #791.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upsteam suggested that for glibc >= 2.34, dlsym wrappers can be
disabled, see [1].
Similar commit is introduced in meta-oe:
9fdc7960b ("apitrace: Enable on glibc >= 2.34")
Introduce patch to the layer and enable the package.
Link: [1]: https://github.com/apitrace/apitrace/issues/756
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Cc: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upstream project has issues with new glibc dropping __libc_dlopen_mode
and __libc_dlsym functions, which were initially marked as
GLIBC_PRIVATE.
Since according to [1] there is no solution for upstream at the moment,
exclude the NXP fork of apitrace from builds.
meta-oe has similar exclusion commit ba94b0fef ("apitrace: Exclude from
builds with glibc 2.34+") for upstream component.
Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Link: [1]: https://github.com/apitrace/apitrace/issues/756
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
eglretrace was not available for i.MX 6 and 7 on framebuffer or wayland.
For wayland, waffle is enabled for 6 and 7, matching i.MX 8.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
| |
Bump the repository version as it was updated upstream in NXP repository
and drop unused patches from the layer, they should be present now in
the updated version from upstream.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
|
|
|
|
|
| |
Add egl and waffle as common configuration. The unique configuration
for 8M and 8M Nano is no longer required.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
Also, remove x11-egl option since it is a derivative of egl, x11, and
waffle, and is no longer needed.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
The libraries are not useful without the binaries, so putting them
in separate packages is wrong.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
| |
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
|
|
| |
When building for fslc-x11 python code generation still fails, e.g.:
| File ".../imx-gpu-apitrace/7.1.0-r0/git/wrappers/glxtrace.py", line 70
| print ' if(_glXGetCurrentDisplay == &glXGetCurrentDisplay ){'
Convert python2 print statements to python3.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Add component patches to be able to build it with python3. Python2 has
been dropped in oe-core, therefore the package source should be updated
to include python3 support.
Patches were cherry-picked from the upstream at
[https://github.com/apitrace/apitrace] from the [python3] branch.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
|
|
| |
Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
013499c6 wrappers/egltrace: drop the hardcoded library path
0697c15a gltrace: avoid recursion caused by viv extensions
5b56f5a5 specs/glapi: consistent signatures for viv extensions
f6e1a557 glext.h: declare the viv extensions
4cb5ad01 retrace,cmake: link with vivante when using waffle
95ba8bd3 retrace,cmake: look for libwaffle in waffle_library_dirs
ca7f1071 retrace,waffle: set wayland as default WAFFLE_PLATFORM
6ea46b12 retrace,waffle: use waffle error reporting api
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
The x11 configuration variable changed from DISABLE_X11 to
ENABLE_X11.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
Package is valid for all i.MX with GPU. This extends
compatibility today to i.MX 8QM, 8QXP, and 8M Mini.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
| |
438c29f cmake: cherry-pick upstream ENABLE_X11
6d9c8a5 Revert "cmake: Allow user to disable x11 support"
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
|
|
|
|
|
|
|
|
| |
This is pretty much a copy of the recipe from meta-fsl-bsp-release.
The particularity of the i.MX8MQ is that it doesn't include a GPU2D and
therefore depending on virtual/libg2d isn't possible.
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
|
|
|
|
|
|
|
|
|
|
| |
- Add O.S. Systems Software Copyright
This includes the following change:
- 9281b2c2 MGS-3379 [#ccc] Add more support for multilib
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
|
|
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
|