Commit Graph

18 Commits

Author SHA1 Message Date
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