Commit Graph

34 Commits

Author SHA1 Message Date
Tom Hochstein
dfa8306918 imx-mcore-demos: Fix 7D
For 7D there are no .elf files and there is a build break:
```
| install: cannot stat '.../imx7d-sabresd-m4-freertos-1.0.1/*.elf': No such file or directory
```

Fixes #2056.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2025-03-13 10:23:16 -07:00
Tom Hochstein
f02539d376 imx-mcore-demos: Fix 7ULP install
The demo extension is overridable so the new install behavior needs to
use the variable.

Fixes #2056.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2025-03-13 09:00:35 -07:00
Zelan Zou
1dd4e5c4c8 mcore-demos: Upgrade to 6.6.52_2.2.0
imx95: 2.16.001 -> 24.12.00

Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
2025-03-13 03:28:40 +01:00
Max Krummenacher
e654f812e6 packagegroup-fsl-isp: drop the basler-camera-dev package
This pulls in all other dev packages. It looks like the unversioned
shared object is not (no longer?) needed, i.e. the driver points to
the versioned object.

| readelf --dynamic opt/imx8-isp/bin/daA3840_30mc.drv
| ...
| 0x000000000000000e (SONAME)             Library soname: [libdaA3840_30mc.so.1]

(/usr/lib/libdaA3840_30mc.so is the only file in the -dev package.)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2025-01-25 13:46:05 +01:00
Otavio Salvador
6fb8816cb3 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:06:35 -03:00
Hiago De Franco
1630d8a353 recipes-fsl: mcore-demos: Upgrade BSP to LF6.6.36_2.1.0
Add new recipe for imx-m7-demos and update README.

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-10-27 15:33:18 -03:00
Hiago De Franco
d8510db5c0 mcore-demos: Update 6.6.3-1.0.0 to 6.6.23-2.0.0
Update to the new NXP BSP 6.6.23-2.0.0.
- Replace m33 demos 2.14.1 and 2.15.000 with 2.16.000 version.
- Replace m4 demos 2.14.0 and 2.14.1 with 2.16.000 version, and fix
  2.9.0 license checksum.
- Replace m7 demos 2.14.0, 2.14.1 and 2.15.000 with 2.16.000 version.
- Fix SRC_URI from imx-mcore-demos wich was causing the link to have an
  extra '/', making the download fail.

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-08-21 17:09:49 -03:00
Oleksandr Suvorov
01398c0e9c mcore-demos: Update to 6.6.3-1.1.0
Update M-core demos to be aligned to the NXP BSP LF6.6.3-1.0.0
release.

Changes:
- i.MX95: add (m7 2.15.000)
- i.MX93: update (m33 2.14.2 -> 2.15.000

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2024-04-21 23:46:55 +03:00
Oleksandr Suvorov
4ad6bdb14c mcore-demos: remove obsolete version for 8mm
There is a newer version of m4 demos 2.14.1 for imx8mm.

Remove supporting imx8mm from m4 2.14.0.

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2024-04-21 23:42:17 +03:00
Daiane Angolini
e557df0979 mcore-demos: README: Update the information
The README file shows the mcore-demos version for each supported SoC.

This patch updates the version, basically it includes 6.1.55-2.2.0, but
also fix some other versions.

Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
2024-01-25 14:03:38 -03:00
Daiane Angolini
141682f3b7 mcore-demos: imx-m33-demos: Update to 6.1.55-2.2.0
Add a new version: 2.14.2.

Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
2024-01-25 14:03:38 -03:00
Oleksandr Suvorov
6fec475c8e mcore-demos: imx-m4-demos: update to 6.1.36-2.1.0
Update versions of M7 demos to be aligned with NXP BSP LF6.1.36-2.1.0.

For imx8mn:
- 2.13.0 -> 2.13.1

For imx8mp:
- 2.13.1 -> 2.14.1

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2023-12-18 14:04:50 +02:00
Oleksandr Suvorov
6a2d1d1d72 mcore-demos: imx-m4-demos: update to 6.1.36-2.1.0
Update versions of M4 demos to be aligned with NXP BSP LF6.1.36-2.1.0.

- remove obsolete 2.13.0
- add 2.14.1

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2023-12-18 14:02:08 +02:00
Oleksandr Suvorov
4c448d0d8c mcore-demos: imx-m33-demos: update to 2.14.1 (6.1.36-2.1.0)
Update the version to be aligned with NXP BSP LF6.1.36-2.1.0.

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2023-12-18 14:01:47 +02:00
Valentin Jec
420f6850ce imx-mcore-demos: Fix install for multilib
Replace  `base_libdir` with `nonarch_base_libdir`

Signed-off-by: Valentin Jec <valentin.jec@nxp.com>
2023-11-03 15:07:36 +02:00
Daiane Angolini
713688059a mcore-demos: imx-m7-demos: Add package based on 6.1.22-2.0.0
Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
2023-07-26 19:37:48 -03:00
Daiane Angolini
cfeb85ce48 mcore-demos: imx-m4-demos: Add package based on 6.1.22-2.0.0
Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
2023-07-26 19:37:48 -03:00
Daiane Angolini
70676ce1e8 mcore-demos: imx-m33-demos: Add package based on 6.1.22-2.0.0
Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
2023-07-26 19:37:48 -03:00
Otavio Salvador
dbd0f0ae90 Rework recipes to use imx-generic-bsp more extensively
This rework the recipes making use of new imx-generic-bsp override; it
has been applied to:

 - alsa-state
 - firmware-imx
 - imx-kobs
 - imx-test
 - imx-uuc
 - linux-fslc
 - linux-fslc-lts
 - packagegroup-fsl-mfgtool
 - u-boot-fslc
 - uuu

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2022-02-21 20:06:28 -03: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
Khem Raj
9113e75e00 packagegroup-fsl-isp: Make is machine specific
MACHINE_SOCARCH is not universally defined and results in errors on
non-fsl machines.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-17 16:58:15 -08:00
Max Krummenacher
1b35521227 packagegroup-fsl-isp: Mark as MACHINE_SOCARCH specific
openembedded-core, commit 5bf3e447d2 ("package: Add sanity check for
allarch packagegroups") added a check which now emits an error.
Fix that.

| ERROR: packagegroup-fsl-isp-1.0-r0 do_package_write_ipk: An allarch packagegroup shouldn't depend on packages which are dynamically renamed (basler-camera to libdaa3840-30mc1)
| ERROR: packagegroup-fsl-isp-1.0-r0 do_package_write_ipk: An allarch packagegroup shouldn't depend on packages which are dynamically renamed (basler-camera-dev to libdaa3840-30mc-dev)
| ERROR: packagegroup-fsl-isp-1.0-r0 do_package_write_ipk: An allarch packagegroup shouldn't depend on packages which are dynamically renamed (basler-camera-dbg to libdaa3840-30mc-dbg)
| ERROR: packagegroup-fsl-isp-1.0-r0 do_package_write_ipk: An allarch packagegroup shouldn't depend on packages which are dynamically renamed (basler-camera-dev to libdaa3840-30mc-dev)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2021-11-17 16:22:30 +01:00
Tom Hochstein
2a0c49b7f2 qcacld: Drop BSP support
NXP has dropped support for qcacld, plus the code is not compatible
with 5.10, so drop BSP support.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-09-09 16:30:50 -05: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
Chris Dimich
392a28bdd1 packagegroup-fsl-opencv-imx: add packagegroup
Add a packagegroup to support opencv i.MX packages.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-03-04 18:28:07 -03:00
Chris Dimich
bb2e202e5c packagegroup-fsl-isp: add packagegroup
Add a packagegroup to support ISP and Basler Camera.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
2021-03-04 18:28:07 -03:00
Simone Agresta
e1e42b17f2 packagegroup-fsl-mfgtool: Allow usage with use-mainline-bsp
Signed-off-by: Simone Agresta <simone.agresta@bticino.it>
2020-05-14 08:51:26 -03:00
Khem Raj
e7684e519f qca-modules: Mark arm/aarch64 specific
These modules rdepends on qca-tools which is currently arm/aarch64 and
glibc specific, therefore mark the recipes depending on qca-tools so as
well.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15 19:57:47 -03:00
Khem Raj
a3b3671296 qca-tools: Disable for musl hosts
The prebuilt tools are for glibc based targets
no point in building for musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-21 14:10:06 -03:00
Tom Hochstein
3463272736 qcacld: Fix missing firmware and tools packages
The RDEPENDS from kernel-module-qca* is not working, so that firmware-qca*
and qca-tools are missing from the image. Use a packagegroup instead
as a workaround.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2019-04-05 16:38:31 -03:00
Khem Raj
ec60f9636b recipes: Mark compatible machines as restricted by dependencies
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-09-28 17:27:55 -03:00
Otavio Salvador
5f1a976256 packagegroup-fsl-mfgtool: Stop using base_contains
The base_contains function is deprecated and we ought to use
bb.utils.contains instead.

Change-Id: I62e6adea55e2eaaf3d1c58470dd400dad4168b5b
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-05-16 17:06:51 -03:00
Otavio Salvador
6ff2935e0a packagegroup-fsl-mfgtool: Add e2fsprogs-e2fsck in extfs feature
When 'extfs' support is enabled, e2fsprogs-e2fsck should be included
as well so filesystem consistency can be executed during the
installation process.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-28 23:26:59 -03:00
Otavio Salvador
f8517afc7a Move meta-fsl-arm content to layer root
The meta-fsl-arm is going to be used as the base for this layer. It
contains a clean history and allowing a more granullar set of changes.

This commit is just a rename of all contents of meta-fsl-arm
subdirectory to this layer's root, subsequent changes are based on top
of that.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-07-16 15:01:29 -03:00