Commit Graph

18 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
Jun Zhu
f68ebaa4ce imx-kobs: Rename COPYING to LICENSE
Signed-off-by: Jun Zhu <junzhu@nxp.com>
2024-01-30 15:02:37 +08:00
Otavio Salvador
2902c1c5a2 imx-kobs: apply existing patch to fix musl build
Long time ago, a bump ended removing the patch which fixes the musl
build and now it is being added back.

Fixes: e7efa7a2 "imx-kobs: Update SRCREV to 02c01d"
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2022-08-19 17:06:19 -03: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
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
Pierre-Jean Texier
bef00d6e4f recipes: use https protocol and add explicit branch parameter
Due to https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git
it is required to use https protocol for github repo accessing.

Update created with oe-core/scripts/contrib/convert-srcuri.py (see [0])

Fixes:

WARNING: /work/meta-freescale/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2021.07.bb: URL: git://github.com/Freescale/u-boot-fslc.git;branch=2021.07+fslc uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url.

[0] - https://git.openembedded.org/openembedded-core/tree/scripts/contrib/convert-srcuri.py

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
2021-11-03 22:27:01 +01:00
Andrey Zhizhikin
00ed1f88f8 imx-kobs: update revision to 269fdff
This includes the following commit:
176bca4956ed supports imx8mp ddr4 nand boot

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-02-01 11:24:43 -03:00
Fabio Berton
55833529a4 imx-kobs: Allow usage with use-mainline-bsp
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2020-05-11 16:16:36 -03:00
Alexandru Palalau
38ea3333c1 imx-kobs: Update SRCREV to cee66d
Signed-off-by: Alexandru Palalau <ioan-alexandru.palalau@nxp.com>
2020-04-23 08:25:22 -03:00
Alexandru Palalau
e7efa7a2b4 imx-kobs: Update SRCREV to 02c01d
Signed-off-by: Alexandru Palalau <ioan-alexandru.palalau@nxp.com>
2019-06-13 14:06:41 -03:00
Sebastien Bourdelin
57f7fc2335 imx-kobs: Fix a typo
Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-12-13 07:15:04 -02:00
Tom Hochstein
851234ee9f imx-kobs: Add i.MX 8 support
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-08-30 21:57:09 -03:00
Fabio Berton
f17573890d imx-kobs: Bump revision to c70685d
- Add O.S. Systems Software Copyright

This includes the following changes:

    - c70685d Merge pull request #13 from allenxh/imx8
    - d8e5142 imx-kobs: support burn images to imx8mq ddr4 arm2 NAND
    - a0e9adc Merge pull request #10 from allenxh/imx8
    - 89c14fe imx-kobs: support i.MX8 platforms

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2018-06-26 14:16:13 -03:00
Khem Raj
77af50a79c imx-kobs: Fix a typo
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-05-19 14:27:35 -03:00
Khem Raj
ae6434f5f3 imx-kobs: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-05-19 07:56:19 -03:00
Jun Zhu
f89d2a3efe imx-kobs: Pick up new commit as fix-compile patch is merged
The patch is merged to the new version of imx-kobs. So pick up
the new version and remove the patch file.

Signed-off-by: Jun Zhu <junzhu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-05-19 07:53:38 -03:00
Jun Zhu
c23736b343 imx-kobs: Add git recipe
The tools "kobs-ng" will be maintained as a open source project.
The repository location is https://github.com/NXPmicro/imx-kobs

Keep patch "fix-compile.patch" only as the other two are merged into new version.

Signed-off-by: Jun Zhu <junzhu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-09-08 11:21:26 -03:00