Commit Graph

206 Commits

Author SHA1 Message Date
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
Zelan Zou
1c2e83922c jailhouse-imx: Update to L6.6.52-2.2.0 release
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
2025-01-14 06:19:03 +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
Otavio Salvador
187057bd6b
Merge pull request #2023 from nxp-upstream/qoriq-q3
Update qoriq components from NXP 6.6.36-2.1.0
2024-11-07 08:17:50 -03:00
Flora Hu
1e3e3eb90e secure-obj: Update to latest from NXP 6.6.36-2.1.0
- secure-obj: update license; update revision to 4706a65; make it compatible with OPTEE 3.17+
 - secure-obj-module: update license; update revision to 4706a65

Signed-off-by: Flora Hu <flora.hu@nxp.com>
2024-11-05 11:06:23 +08:00
Flora Hu
9daba5042d libpkcs11: Update to latest from NXP
update license to GPL-2.0-only

Signed-off-by: Flora Hu <flora.hu@nxp.com>
2024-11-05 11:06:23 +08:00
Hiago De Franco
1ac0c36d5b recipes-extended: jailhouse-imx: Upgrade BSP to LF6.6.36_2.1.0
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-10-27 15:09:25 -03:00
Hiago De Franco
0643299b61 jailhouse-imx: 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.

Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
2024-08-17 19:55:05 -03:00
Khem Raj
365e9110b9
recipes: Switch WORKDIR use with UNPACKDIR
This is being enforced in master oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-05-22 13:25:43 -07:00
Oleksandr Suvorov
2c013f94d5 jailhouse-imx: Update the recipe to align to the NXP BSP LF6.6.3_1.0.0
Update the recipe to the BSP 6.6.3_1.0.0.

Add support of SoC i.MX95.

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2024-04-21 21:57:38 +03:00
Daiane Angolini
fca342449d jailhouse-imx: Update the recipe to align to the NXP BSP LF6.1.55_2.2.0
Update the recipe to the BSP 6.1.55_2.2.0.

Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
2024-02-07 17:12:42 -03:00
Daiane Angolini
fb86e9b882 jailhouse-imx: Avoid the build error when using -mcpu and -march
It changes the Makefile, so the recipe is the only one controlling the
build arguments.

It is related to [1]

[1] https://git.yoctoproject.org/poky/commit/?id=04eac1f2b67eac5f892a9e0f8fcfe54849923af5

Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
2024-02-07 15:13:07 -03:00
Jose Quaresma
e04bc9be8d jailhouse-imx: drop unused patch
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
2024-01-25 15:39:57 +00:00
Oleksandr Suvorov
ab4afc5c3d jailhouse-imx: Upgrade to 6.1.36-2.1.0
Upgrade the jailhouse to the version used in NXP BSP LF6.1.36-2.1.0.

Relevant changes:
- d3484c68 MLK-26114 solve the problem that .NOTINTERMEDIATE and .SECONDARY are mutually exclusive
- bcce5bc4 LF-9101 solve the problem that Jailhouse cannot be compiled

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2024-01-25 15:12:19 +00:00
Oleksandr Suvorov
11ad2ca6a8 jailhouse-imx: make repo URL configurable
Make recipe aligned with NXP way and use a configurable variable
for a project repo.

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2024-01-25 15:12:19 +00:00
Oleksandr Suvorov
934639c311 jailhouse-imx: Add pyjailhouse to RDEPENDS
Install the python jailhouse lib for testing purpose.

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2024-01-25 15:12:19 +00:00
Jose Quaresma
edd0fc9980 jailhouse-imx: drop python3native inherit
The native python is only needed by the setuptools witch is
already provided in setuptools3

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
2024-01-25 14:29:24 +00:00
Jose Quaresma
2276e673c7 jailhouse-imx: use EXTRA_OEMAKE to pass the args
Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
2024-01-25 14:29:24 +00:00
Jose Quaresma
8c714143f4 jailhouse-imx: fix bitbake tasks overrides
Overriding do_configure will skip:
 setup_target_config
 setuptools3_do_configure

Using prepend in do_install will result in the call of python3
pip directly inside of oe_runmake instead of using the functions [1]
resulting in install the python stuff to a wrong target path
which includes the HOME directory of the user who runs bitbake.

[1]
 setup_target_config
 setuptools3_do_install
 python_pep517_do_install

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
2024-01-25 14:29:24 +00:00
Jun Zhu
6589761be9 jailhouse-imx: Add MODLIB to build option to set right module install path
Must overrides module install path to algin with module_do_install in module.bbclass
-  MODLIB="${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}"

Signed-off-by: Jun Zhu <junzhu@nxp.com>
2023-11-08 13:57:51 +08:00
Jun Zhu
d4692c032a odp.inc: Set SRCREV_FORMAT variable as multiple SCMs are used
SRCREV_FORMAT variable must be set when multiple SCMs are used.

Signed-off-by: Jun Zhu <junzhu@nxp.com>
2023-10-21 22:34:02 +08:00
Otavio Salvador
a8d8dc4601 ls2080ardb: drop as it is unbuildable for too long
Fixes: #1498.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2023-10-12 20:27:43 -03:00
Oleksandr Suvorov
92c7da007d jailhouse: mx93: drop cortex-a55 tune
meta-freescale uses cortexa55 as a tune for mx93, while jailhouse
intentionally sets march=armv8-a+nofp to disable using FPU registers
by jailhouse. It leads to a building error [1]. Drop cortex-a55 from
TUNE_CCARGS (used for generating CC) for mx93.

[1]
cc1: error: switch '-mcpu=cortex-a55' conflicts with '-march=armv8-a+nofp' switch [-Werror]

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2023-08-03 14:51:31 +03:00
Oleksandr Suvorov
46a2165f0f jailhouse: add imx version
There is a general jailhouse recipe in other layers which causes a
version conflict. Introduce jailhouse-imx recipe to avoid conflict.

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2023-08-03 14:51:31 +03:00
Oleksandr Suvorov
612531a5b4 jailhouse: Update to lf-6.1.22_2.0.0
Switch a branch to lf-6.1.22_2.0.0 to align the recipe with NXP BSP
LF6.1.22_2.0.0, and update relevant parts of the recipe.

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2023-07-24 17:43:02 +03:00
Khem Raj
f724cfced0 recipes: Add missing patch tag Upstream-Status
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 18:33:11 -07:00
Khem Raj
ef66b6988c recipes: Correct Upstream-Status
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21 07:33:09 -07:00
Meng Li
60a057fd29 meta-freescale: tsntool: remove redundant parameters from BIN_LDFLAGS
The recipe file has pass the same parameter(-Wl,-rpath-link,<lib path>)
to Makefile, so remove redundant parameters from BIN_LDFLAGS.

Signed-off-by: Meng Li <Meng.Li@windriver.com>
2023-06-12 15:23:31 +08:00
Oleksandr Suvorov
01289ae67b jailhouse: Update lf-5.15.71_2.2.0 to lf-6.1.1_1.0.0
Update license: COPYING is renamed to LICENSE.

Relevant changes:
- 8faaeb45 Rename COPYING TO LICENSE
- b0817a39 tools: demos: ivshmem-demo: force has_msix to 0

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2023-04-18 22:16:02 +03:00
Ricardo Salveti
0915764cf9 jailhouse: update to lf-5.15.71_2.2.0
Update jailhouse to the lf-5.15.71_2.2.0 release and also extend the
default compatible machine list to include 8ulp and mx93, since they are
now supported on this release.

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2023-04-03 22:59:12 -03:00
Oleksandr Suvorov
b6885ffb66 recipes: remove unused recipes
There are recipes compatible only with unsupported machines b4860qds
and b4420qds and are referenced from nowhere.

Remove unused recipes.

Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
2023-04-02 22:06:35 +03:00
Khem Raj
19772e2ed8 dpdk: Use nonarch_base_libdir instead of hardcoding /lib for module path
This fixes build with distros using usrmerge distro feature

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-13 22:26:39 -07:00
Khem Raj
fe73377ee9 dpdk_19.11-20.12.bb: Fix build with gcc-12
Backport relevant fix from upstream dpdk

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-13 22:05:35 -07:00
Khem Raj
ca3689d1bf dpdk: Always use gcc compiler
Setting TOOLCHAIN=clang helps it compile with meta-clang in mix

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-12 21:47:58 -07:00
Tom Hochstein
d75c8159b3 layer: Use github for QorIQ source
The NXP repos are moving to github.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2023-02-08 14:32:39 -07:00
Jun Zhu
7fc3f179a3 tsntool: update to commit a0769e2
Signed-off-by: Jun Zhu <junzhu@nxp.com>
2022-12-16 22:44:04 +08:00
Jun Zhu
db67bdf59c Switch NXP QorIQ repositories to github.com
Fetch QorIQ's source code from github.com/nxp-qoriq,
as original source.codeaurora.org/external/qoriq will
stop to access from April 2023.

Signed-off-by: Jun Zhu <junzhu@nxp.com>
2022-12-15 11:47:18 +08:00
Ricardo Salveti
0bd7408bc4 jailhouse: update to lf-5.15.52_2.1.0
Update jailhouse to the NXP lf-5.15.52_2.1.0 release, and clean up the
packaging logic to align with the latest release.

Packaging changes:
- Drop build instructions for tools as that is now built as part of the
  main Makefile
- Drop JH_CONFIG and related tools variables as they are not required
- Change do_compile and do_install to prepend to allow the logic from
  setuptools3 to be executed (and package pyjailhouse properly)
- Drop kernel from PACKAGE_BEFORE_PN, as it wasn't really used in the
  end, and doesn't work correctly with usrmerge. Prefer removing libdir
  that gets appended by setuptools3 for module split to work correctly
  with and without usrmerge.
- Update FILES for pyjailhouse to include all the python related files
  produced by the build

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
2022-12-07 22:16:09 -03:00
Jose Quaresma
872b758337 jailhouse: update to lf-5.15.32_2.0.0 branch
Also fix installation path of the modules and firmware when
usrmerge is enabled.

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
2022-12-06 11:27:39 +00: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
Sean Anderson
a47693173d crconf: Don't set FILES
Documentation should be installed in the documentation package, not the
main package. The latter two directories are already added to FILES by
meta/conf/bitbake.conf.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
2022-02-11 12:33:21 -05:00
Sean Anderson
cbecb6a835 crconf: Set SBINDIR and MANDIR
The default values of these variables are not appropriate when using
usrmerge. This fixes the following error:

ERROR: crconf-git-r0 do_package: QA Issue: crconf: Files/directories were installed but not shipped in any package:
  /sbin/crconf
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
2022-02-11 12:32:34 -05:00
Hongxu Jia
3d39d35586 odp-module/odp-counters/kernel-module-ar: fix QA Issue during usermerge
While enabling usermerge, there is a QA issue:
...
ERROR: odp-counters-git-r0 do_package: QA Issue: odp-counters: Files/directories were installed but not shipped in any package:
  /lib
  /lib/modules
  /lib/modules/5.10.70-yocto-standard
  /lib/modules/5.10.70-yocto-standard/odp
  /lib/modules/5.10.70-yocto-standard/odp/odpfsl_perfcounters.ko
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
odp-counters: 5 installed and not shipped files. [installed-vs-shipped]
...

Use Yocto nonarch_base_libdir to replace hardcode /lib

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2021-10-21 15:45:34 +08:00
Ting Liu
7fade9243a pktgen-dpdk: upgrade to 21.05.0
Signed-off-by: Ting Liu <ting.liu@nxp.com>
2021-10-15 22:11:36 +08:00
Ting Liu
6ab7415160 ovs-dpdk: upgrade to 2.15
Signed-off-by: Ting Liu <ting.liu@nxp.com>
2021-10-15 22:11:36 +08:00
Ting Liu
bd9de08cc7 libpkcs11: update to 8d85182
Fix for double free happening when running sign_digest_update_final app.
remove duplicate pkcs11.h which optee_os install too.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2021-10-15 22:11:36 +08:00
Ting Liu
08ede51523 dpdk: add 20.11 recipe
Signed-off-by: Ting Liu <ting.liu@nxp.com>
2021-10-15 22:11:36 +08:00
Ting Liu
dc6ada8f95 secure-obj: update to 5ff1231
New commits:
5ff1231 securekeydev: install securekeydev.ko
e3f9432 fota_secboot: fix compilation warnings
6e0b018 LF-3046: Fix for certificate generation failure
8bd117e LF-3045: Fix for signature generation failure

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2021-10-15 22:11:36 +08:00
Ting Liu
daed466ffc tsntool: update to b767c26
New commits:
b767c26 Pull request #27: tsntool: fix string copy overflow
e29cb64 tsntool: fix string copy overflow
9a22d5e Pull request #26: tsntool: fix portname overflow
7fc9d6c tsntool: fix portname overflow
7f18d70 Pull request #25: cnc: change GROUP_NAME to real-time-edge
2e04fd4 cnc: change GROUP_NAME to real-time-edge
c21d3d3 Pull request #24: cnc: fix isChecked undefined when using Firefox/IE/EDGE
1db711b cnc: fix isChecked undefined when using Firefox/IE/EDGE

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2021-10-15 22:11:36 +08:00