Commit Graph

24 Commits

Author SHA1 Message Date
Max Krummenacher
b747b01501 global: whinlatter updates for WORKDIR/UNPACKDIR and git fetch location
The series [1] changed the way sources are fetched/unpacked and
S needs to follow that. Additionally for git repos it moved away from
having 'git/' as the checkout directory.

This has been partly tested by building weston based image for
imx6/imx6ull/imx7/imx8/imx8mm/imx8mp/imx95 based images.
E.g. none of the recipes specific for qoriq is built time tested.

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-28 18:58:39 +02:00
Tom Hochstein
74c4045f27 imx-lib: Fix GCC 15 build errors
Fixes:
```
+In file included from mxc_hdmi-cec.c:40:
+hdmi-cec.h:54:23: error: 'bool' cannot be defined via 'typedef'
+   54 | typedef unsigned char bool;
+      |                       ^~~~
+hdmi-cec.h:54:23: note: 'bool' is a keyword with '-std=c23' onwards
+hdmi-cec.h:54:1: warning: useless type name in empty declaration
+   54 | typedef unsigned char bool;
+      | ^~~~~~~
+```
```

Fixes: #2301
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2025-06-12 11:33:32 -07:00
Rodrigo M. Duarte
0faca661dd imx-lib: Change the SRCBRANCH from 6.6.36 to lf-6.12.3
Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
2025-05-06 15:03:16 -03:00
Max Krummenacher
01a7d1c67b recipes: fix whitespace warnings
Fix some more whitspace warnings.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2025-04-26 12:09:22 +02:00
Hiago De Franco
e736880540 recipes-bsp: imx-lib: Upgrade to BSP LF6.6.36_2.1.0
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-10-27 11:44:09 -03:00
Hiago De Franco
7e6dcb999b imx-lib: Update 6.6.3-1.0.0 to 6.6.23-2.0.0
Update the imx-lib branch to the new NXP BSP 6.6.23-2.0.0.

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-07-29 13:57:40 -03:00
Oleksandr Suvorov
1e88b88a4b
imx-lib: Update lf-6.1.55-2.2.0 to lf-6.6.3-1.0.0
No actual changes, just rename a source branch.

Signed-off-by: Oleksandr Suvorov <cryosay@gmail.com>
2024-05-03 11:59:49 +03:00
Oleksandr Suvorov
c060473585 imx-lib: Update lf-6.1.22_2.0.0 to lf-6.1.55-2.2.0
No actual changes, just rename a source branch.

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2024-03-19 08:12:35 +02:00
Oleksandr Suvorov
953c5f77eb imx-lib: Update lf-6.1.1_1.0.0 to lf-6.1.22_2.0.0
Relevant changes:
- 8f124c3 Add SCR file SCR-imx-lib.txt for imx-lib
- 61227f3 Update the hard-coded '/usr/lib' location to libdir variable

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2023-07-20 12:52:13 +03:00
Tom Hochstein
d9ed1023ec imx-lib: Fix license, add i.MX 9 support
The latest version of imx-lib renamed the license file and added i.MX 9
support.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-06-02 05:16:00 -07:00
Oleksandr Suvorov
504034b8c2 imx-lib: Update lf-5.15.71-2.2.0 to lf-6.1.1_1.0.0
Relevant changes:
- 43e5ee7 Add SCR file SCR-imx-lib.txt for imx-lib
- 1636fbe Update the hard-coded '/usr/lib' location to libdir variable

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2023-04-18 22:15:22 +03:00
Oleksandr Suvorov
8a4568d49c imx-lib: Update lf-5.15.52-2.1.0 to lf-5.15.71-2.2.0
No commits. Change a branch name.

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2023-01-05 16:40:59 +02:00
Tom Hochstein
622fec2bcc imx-lib: Update lf-5.15.32-2.0.0 to lf-5.15.52-2.1.0
No commits. Repo is moved to github.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2022-10-30 15:50:10 -05:00
Andrey Zhizhikin
832da37d74 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 15:34:00 +00:00
Otavio Salvador
30f5ce1d21 Generalize overrides subsystem for NXP and Mainline support
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>
2022-02-21 20:06:28 -03:00
Max Krummenacher
cca7b2bab0 imx-lib: fix packaging
Fixes commit 87cb0d99 ("imx-lib: upgrade to 5.10.52_2.1.0")

| ERROR: imx-lib-1_5.9+AUTOINC+87ddd80953-r0 do_package: QA Issue: imx-lib: Files/directories were installed but not shipped in any package:
|   /usr/lib/libcec.go
|   /usr/lib/libipu.go

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-10-31 10:51:00 +01:00
Andrey Zhizhikin
87cb0d99ea imx-lib: upgrade to 5.10.52_2.1.0
Update branch, SRCREV and PV to point to new version, add support for
mx8ulp.

Following commits are included in this revision:
----
87ddd80 ("lib: pxp: add DMABUF support for pxp lib")
7fc4448 ("lib: pxp: remove unsigned long force type conversion")
5ac2f74 ("lib: pxp: Makefile: Add iMX8ULP platform support")
d09fbbc ("MA-15553-1 Amend Cflag & Cppflag in go file")
026eefc ("MA-15263-3 convert Android.mk to Android.bp")
fcf9171 ("MA-14403 Bring imx6/7 soc on q-preview (LOCAL_MODULE_TAGS)")
----

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-10-22 19:15:38 +00:00
Khem Raj
59d36c9832 layer: Convert to new override syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-12 10:08:24 -07:00
zazid
65f7344852 Add mx6ull platform support 2020-12-16 15:18:11 -03:00
Otavio Salvador
bc937ade56 classes/use-imx-headers: Easy linux-imx-headers use
This allow to easy reuse of binary packages among similar SoCs. The
usual use for this is to share SoC specific packages among different
boards independently of the kernel version it is using, as far it is
ABI compatible with the official version it will just work.

Following recipes has been reworked to make use of the class:

 - imx-lib
 - imx-test
 - imx-vpu-hantro
 - imx-vpu
 - imx-alsa-plugins
 - gstreamer1.0-plugins-base
 - gstreamer1.0-plugins-imx
 - imx-gst1.0-plugin

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-10-26 14:23:37 -03:00
Otavio Salvador
92f94daf8c imx-lib: Use linux-imx-headers
This reworks make use of linux-imx-headers and set it as SoC arch
compatible.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-10-26 14:23:37 -03:00
Fabio Berton
e22acc80d5 imx-lib: Bump to revision 3f77797
- Update O.S. Systems Software Copyright

This includes the following change:

  - 3f77797 MLK-16374-5: PXP_LIB: configure pxp to be legacy mode

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2018-06-26 14:16:13 -03:00
Daiane Angolini
f818c7069e imx-lib: Change git repository URL
Change the git URL to Code Aurora as it mirrors the git.freescale.com.
It also changes the branch name to the matching one.

Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-10-28 11:39:37 -02:00
Jun Zhu
e9e9109a25 imx-lib: Add git recipe
- As the imx-lib git repository is public as git.freescale.com/imx/imx-lib.git,
build it from the git.
- Add support to i.MX 6SLL and 7ULP.
- Set PV as 5.8+${SRCPV}

Add the options to support i.MX 6SLL and 7ULP

Signed-off-by: Jun Zhu <junzhu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-10-16 14:27:29 -02:00