Commit Graph

105 Commits

Author SHA1 Message Date
Flora Hu
6180f3a0d1 dce: Update to latest from NXP 6.6.52-2.2.0
Update SRCREV to 88ef2e8

Signed-off-by: Flora Hu <flora.hu@nxp.com>
2025-01-13 13:58:59 +08:00
Flora Hu
c4fb8ee0a8 restool: Update to latest from NXP 6.6.52-2.2.0
Update SRCREV to 8c45e04

Signed-off-by: Flora Hu <flora.hu@nxp.com>
2025-01-13 13:58:32 +08:00
Zelan Zou
b238f632ba spc: Upgrade to lf-6.6.36-2.1.0 release
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
2024-11-06 09:25:37 +01:00
Zelan Zou
056dfa194d restool: Upgrade to lf-6.6.36-2.1.0 release
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
2024-11-06 09:25:37 +01:00
Zelan Zou
84a83e0177 gpp-aioptool_git.bb: Update license to BSD-3-Clause
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
2024-11-06 09:25:17 +01:00
Zelan Zou
72d3c27650 management-complex: Bump version 10.37.0 -> 10.39.0
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
2024-11-06 02:59:18 +01:00
Jun Zhu
84336b46c1 dce_git.bb: 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:35:39 +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
Jun Zhu
b94e1ad935 management-complex: Upgrade to v10.37.0
- Add new version recipe.
- Drop the old versions.

Signed-off-by: Jun Zhu <junzhu@nxp.com>
2023-07-19 15:22:56 +08:00
Jun Zhu
a21686ea5d restool: Rename license file to LICENSE
Integrate commit:
- 46604e41f4c: Rename the license file to LICENSE

Signed-off-by: Jun Zhu <junzhu@nxp.com>
2023-07-19 15:22:56 +08:00
Jun Zhu
ed3b15ab1c spc: Update to commit d624b78
Integrate the commit for 6.1.22-2.0.0 BSP release:
 d624b78 Update parse result fields (according to latest spec)
 f951793  Rename license file to LICENSE

Signed-off-by: Jun Zhu <junzhu@nxp.com>
2023-07-19 15:22:56 +08: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
Jun Zhu
a33bd36190 restool: Update to commit 65c9a10
New commit:
    65c9a10 dprc: fix export of DPNI_OPT_SHARED_FS option in generated DPL

Signed-off-by: Jun Zhu <junzhu@nxp.com>
2022-12-16 15:51:14 +08:00
Jun Zhu
fa2d57d674 management-complex: Add recipe for v10.35.0
Signed-off-by: Jun Zhu <junzhu@nxp.com>
2022-12-16 15:51:01 +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
Markus Niebel
11ab806193 restool: fix LICENSE
restool source have a BSD-3-Clause an can also be used under
GPL2 or later. Fix this to save a QA warning (or a build error
if used with create-spdx class)

Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
2022-09-02 14:38:40 +02: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
Hongxu Jia
265c7afa5c dce: fix QA Issue during usermerge
While enabling usermerge, there is a QA issue:
...
ERROR: dce-git-r0 do_package: QA Issue: dce: Files/directories were installed but not shipped in any package:
  /sbin/dce-api-perf-test
  /sbin/dce-example
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
...

Use Yocto base_sbindir to replace hardcode ./sbin

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2021-10-21 15:45:27 +08:00
Ting Liu
3f6f4bd60f management-complex: add recipe for 10.29.0
Signed-off-by: Ting Liu <ting.liu@nxp.com>
2021-10-15 22:11:36 +08:00
Ting Liu
4b68cd3d29 spc: update to 39813868
Add multiple SP Profiles configuration.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2021-10-15 22:11:36 +08:00
Ting Liu
565af7f7c4 restool: update to d29522a
New commits:
d29522a dpsw: set mem_size field in ls-addsw to 0 by default
d7512d2 dpdmux: set mem_size field in ls-addmux to 0 by default
8fd3a6b restool: increase version to v2.3
53140e4 restool: change version string formatting
34e4e27 add man page for restool
2d46b18 restool: add bash completion script
2b876b5 dpdmai: add support for the new DPDMAI_OPT_CG_PER_PRIORITY create option
6188bc5 restool: support new dpsw_create and dpdmux_create option mem_size
0dd8744 restool: add DPSW_OPT_BP_PER_IF in dpsw create and ls-addsw
1bdfa99 ls-delete: take into account different naming for device links
6dd9314 dpni: memset the statistics
feddfa6 dpsw: add support to configure the component-type
282bd30 restool: add support for DPDMUX_OPT_AUTO_MAX_FRAME_LEN
23cdaec restool: print max_frame_length in info command
2876f7c dpni: add page_6 missing structure to dpn_statistics_v10
18c53fc restool: info command shows newly added stats
96ce70e dpdmux: dump interface statistics in info command output
afd9831 scripts: add the ls-delete helper script
0977d12 ls-addni: create a DPMCP for each DPIO created

disable manpage generation.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2021-10-15 21:17:51 +08:00
Ting Liu
3fde9bdf9f restool: ignore date-time warnnings
Fix:
| restool.c: In function 'main':
| restool.c:1346:68: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
|  1346 |         DEBUG_PRINTF("restool built on " __DATE__ " " __TIME__ "\n");
|       |                                                                    ^
| restool.c:1346:42: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2021-10-15 11:40:51 +08:00
Ting Liu
50c4043470 restool: ignore maybe-uninitialized warnnings
Fix:
In function 'create_dpbp_v9',
    inlined from 'create_dpbp' at dpbp_commands.c:465:11:
dpbp_commands.c:371:17: error: 'dpbp_cfg' may be used uninitialized [-Werror=maybe-uninitialized]
  371 |         error = dpbp_create(&restool.mc_io, 0, dpbp_cfg, &dpbp_handle);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from dpbp_commands.c:43:
dpbp_commands.c: In function 'create_dpbp':
mc_v9/fsl_dpbp.h:108:5: note: by argument 3 of type 'const struct dpbp_cfg *' to 'dpbp_create' declared here
  108 | int dpbp_create(struct fsl_mc_io        *mc_io,
      |     ^~~~~~~~~~~
dpbp_commands.c:448:25: note: 'dpbp_cfg' declared here
  448 |         struct dpbp_cfg dpbp_cfg;
      |                         ^~~~~~~~
| In function 'create_dprtc_v9',
|     inlined from 'create_dprtc' at dprtc_commands.c:463:11:
| dprtc_commands.c:369:17: error: 'dprtc_cfg' may be used uninitialized [-Werror=maybe-uninitialized]
|   369 |         error = dprtc_create(&restool.mc_io, 0, dprtc_cfg, &dprtc_handle);
|       |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| In file included from dprtc_commands.c:42:
| dprtc_commands.c: In function 'create_dprtc':
| mc_v9/fsl_dprtc.h:126:5: note: by argument 3 of type 'const struct dprtc_cfg *' to 'dprtc_create' declared here
|   126 | int dprtc_create(struct fsl_mc_io       *mc_io,
|       |     ^~~~~~~~~~~~
| dprtc_commands.c:447:26: note: 'dprtc_cfg' declared here
|   447 |         struct dprtc_cfg dprtc_cfg;
|       |                          ^~~~~~~~~

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2021-10-15 11:40:51 +08:00
Ting Liu
203f407a9e qoriq: Convert to new override syntax
* change `virtclass-native`` to ``class-native`
* add fixes for ls2088a

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2021-10-13 15:01:28 +08: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
Ting Liu
6a101d34a7 gpp-aioptool: chown aiop_tool to root:root
Fix host user contaminated issue
| WARNING: gpp-aioptool do_package: KeyError in ./package/usr/bin/aiop_tool
| Exception: KeyError: 'getpwuid(): uid not found: 2000'
| NOTE: recipe gpp-aioptool-git-r0: task do_package: Failed
2020-12-16 08:40:52 -03:00
Ting Liu
1020afbf3f gpp-aioptool: add -fcommon to fix build with gcc10
Fix:
| ...ld: src/aiop_logger.o:(.bss+0x0): multiple definition of `_debug_flag'; src/aiop_tool.o:(.bss+0x0): first defined here
| ...ld: src/aiop_logger.o:(.bss+0x2): multiple definition of `_verbose_flag'; src/aiop_tool.o:(.bss+0x2): first defined here

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-12-16 08:40:52 -03:00
Ting Liu
d33395a8a2 dce/qbman_userspace: fix build issue with gcc10
Fix multiple definition of 'qman_version' error:
| .../dce/git-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux/../../libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/10.2.0/ld: libqbman.a(qbman_portal.o):/usr/src/debug/dce/git-r0/git/lib/qbman_userspace/driver/qbman_portal.h:36: multiple definition of `qman_version'; libqbman.a(qbman_debug.o):/usr/src/debug/dce/git-r0/git/lib/qbman_userspace/driver/qbman_portal.h:36: first defined here
| collect2: error: ld returned 1 exit status
| Makefile:41: recipe for target 'bin/dce-api-perf-test' failed
| make: *** [bin/dce-api-perf-test] Error 1

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-12-16 08:40:12 -03:00
Ting Liu
7dc2b3051a restool: compiling with optimization (-O2)
Fix:
error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
  397 | #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
      |    ^~~~~~~
cc1: all warnings being treated as errors
2020-12-16 08:38:13 -03:00
Ting Liu
f1b992bd75 restool: update to 8ddbe4c
New commits:
8ddbe4c dpni: fix info --verbose behavior
e5c6451 restool: fix another set of error revealed with -O2
91b82e3 restool: fix some compile errors with gcc 10.2
802764f restool: yocto build issue
59fe80d restool: display all object attrs on dpsw info
d002c5f increase restool version to v2.1
820c1bf restool: add DPNI_OPT_SHARED_FS in dpni create and ls-addni
6e18fe0 dprc: fix dpdmux num_ifs in the generated DPL
8e42057 restool: support new dpsw_create DPSW_OPT_LAG_DIS option
1d5aaf5 dprc: export the DPNI_OPT_NO_MAC_FILTER option in DTS
5b9f225 restool: support new dpni_create dist_key_size parameter
d99f9b7 dpsw: add update command to configure taildrop on a DPSW
1e9c4d2 restool: use --help in all circumstances
7064bec Restool: print MAC address in dpmac info command
31b02be Modify the default value of num-priorities
ebddd1b Fix restool create help command output
ec19874 restool: fix get_device_file() function

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-12-16 08:38:13 -03:00
Ting Liu
5f60a6e4ca management-complex: add recipe 10.24.0
Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-12-16 08:38:13 -03:00
Ting Liu
fa1844cc2e management-complex: avoid soft link loop in do_deploy
when the deploy mc_app directory is already populated, a soft link
loop from mc.itb to mc.itb will be created.

Steps to reproduce:
$ bitbake -c cleansstate management-complex
$ bitbake management-complex
$ bitbake -c deploy -f management-complex

Use 'find -type f' to exclude links.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
2020-06-16 08:46:19 -03:00
Jens Rehsack
574302340c restool: update to LSDK-20.04
Update restool to LSDK-20.04 release from NXP which contains
following patches:

f0cec09 ls-main: fix endpoint parsing
59fefb1 Fixed restool dpcon create --help output
7bce792 ls-debug: Automatically create the DPDBG object only for valid commands
e00bcf9 Does not create DPDBG object in case of help command
3bff664 DPRC: set-locked on a child container
9607517 DPDBG: not available for mc version lower then 10.20.0
8fa1d5c add default interface support for dpdmux in restool
94114f5 Integrate the DPDBG object in restool:
9f6c465 ls-main: disable autorescan while in ls-* scripts
67011ba ls-main: introduce the get_interface_name function
cb63b6a scripts: explicity rescan the bus
3b40ef1 restool: add global option --rescan
42859dc scripts: print error message when endpoint does not exists

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-04-07 16:09:42 -03:00
Jens Rehsack
fb71f3c3d0 management-complex: upgrade 10.20.1 -> 10.20.4
Upgrade management complex firmware to latest NXP release (LSDK-20.04)
containing firmware 10.20.4.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2020-04-06 16:39:57 -03:00
Jens Rehsack
d949a7720d management-complex: add LSDK-19.03's v10.14.1
For not clearly discovered reason, ls2088ardb development board doesn't boot
with v10.18.0 neither with 10.20.1.
Add 10.14.1 from LSDK 19.03 to have a booting 208x.

Signed-off-by: Jens Rehsack <sno@NetBSD.org>
2020-02-11 18:25:22 -03:00
Jens Rehsack
069a29886e management-complex: update 10.18.0 -> 10.20.1
Since LDSK-19.09.311219 is out and contains updated u-boot-qoriq, atf, rcw
and so on, take care of management-complex firmware, too.

Signed-off-by: Jens Rehsack <sno@NetBSD.org>
2020-02-11 18:25:22 -03:00
Chunrong Guo
8d4fb60f06 mc: remove fsl-eula-unpack class
Binary EULA, but the "inherit fsl-eula-unpack"
forces the user to accept a much more elaborate license

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
2019-12-23 09:32:28 -03:00
Jens Rehsack
4b72db3f52 management-complex: Add support for ls2080a
The upstream sources contain support for ls2080a and there're
evaluation boards with such a SoC out there. So add recipe
support for supported SoC.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
2019-12-16 18:53:56 -03:00
Chunrong Guo
1db79a1dbe aiopsl: fix missing path
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
2019-11-19 19:25:13 -03:00
Chunrong Guo
369356ffb9 dce: update to 0ec35ad
*update to lsdk 1909 tag
include the following changes:
0ec35ad - .gitmodules: use codeaurora url
b510701 - README: Correct minor typos
e451edf - perf-test: Reject large input files
3bdbdf3 - perf-test: Error out in stateless decomp mismatch
64fc3b1 - dce-internals: Efficient FQ full scheme
d1add39 - Merge pull request #32 in DPAA2/dce from ~NXA07713/dce:jira/QSDK-5623-update-dce-license-files to master
b3c27ed - LICENSE: Remove GPL License
68a6dab - Merge pull request #31 in DPAA2/dce from ~NXA07713/dce:jira/QSDK-5623-update-dce-license-files to master
0f33f16 - LICENSE: Update License year and full BSD-3 text
0175bb4 - Merge pull request #30 in DPAA2/dce from ~NXA07713/dce:jira/QSDK-5621-dpdcei-object-fails-to-unassign-out-of-child-dprc to master

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
2019-10-21 09:07:06 -03:00
Chunrong Guo
d467f4dbc7 restool: update to 55a1f37
*update to lsdk 1909 tag
include the following changes:
55a1f37 - dprc: add support for option DPRC_CFG_OPT_PL_ALLOWED

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
2019-10-21 09:07:06 -03:00
Chunrong Guo
cd773422f2 mc: update to 249c325
*update to lsdk 1909 tag
include the following changes:
249c325 - Add the prebuilt binaries of mc 10.18.0 release
3173855 - Add the prebuilt binaries of mc 10.17.0 release

*Upgrade version to 10.18.0

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
2019-10-21 09:07:06 -03:00
Chunrong Guo
9876430c0e aiopsl: Adjust install for files
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
2019-09-12 14:45:44 -03:00
Chunrong Guo
8915f46775 dpl-examples: remove recipes
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
2019-09-04 18:33:08 -03:00
Chunrong Guo
cf73ff164d dce: update to 1b9e9ac
*update to lsdk 1906 tag
include the following changes:
1b9e9ac - .gitmodules: use codeaurora url
e451edf - perf-test: Reject large input files
3bdbdf3 - perf-test: Error out in stateless decomp mismatch
64fc3b1 - dce-internals: Efficient FQ full scheme
d1add39 - Merge pull request #32 in DPAA2/dce from ~NXA07713/dce:jira/QSDK-5623-update-dce-license-files to master
b3c27ed - LICENSE: Remove GPL License
68a6dab - Merge pull request #31 in DPAA2/dce from ~NXA07713/dce:jira/QSDK-5623-update-dce-license-files to master
0f33f16 - LICENSE: Update License year and full BSD-3 text
0175bb4 - Merge pull request #30 in DPAA2/dce from ~NXA07713/dce:jira/QSDK-5621-dpdcei-object-fails-to-unassign-out-of-child-dprc to master
361e4d0 - dpdcei: Cleanup hanldes in dpdcei_deactivate

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
2019-07-12 17:18:34 -03:00
Chunrong Guo
61301e5992 spc: update to be7dd8e
*update to lsdk 1906 tag
include the following changes:
be7dd8e - Increment SPC Tool version
2dafd3a - Refactoring following support for multiple protocols
727329a - Multiple protocols support

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
2019-07-12 17:18:34 -03:00
Chunrong Guo
64dac74a60 mc: update to f72b978
*update to lsdk 1906 tag
include the following changes:
f72b978 - Add the prebuilt binaries of mc 10.16.2 release
a7d982e - Update the license file

*Upgrade version to 10.16.2

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
2019-07-12 17:18:34 -03:00
Chunrong Guo
ae6f896cfb restool: update to 8b1dd40
*Update to lsdk 1903 tag
include the following changes:
8b1dd40 - dprc: fix compile error (only witn gcc 8.x)
8eb494d - dprc: enable DPDMUX_METHOD_CUSTOM in dpdmux generate dpl
dc120ff - add support for num cgs in restool for mc 10.14

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
2019-04-11 09:00:13 -03:00
Chunrong Guo
07aa31cc3b mc: Upgrade version to 10.14.3
*Update to lsdk 1903 tag
include the following changes:
bd64d18 - Add the prebuilt binaries of mc 10.14.3 release

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
2019-04-11 09:00:13 -03:00
Chunrong Guo
ef6795fd2a dce: update to 0455555
*Update to lsdk 1903 tag
include the following changes:
0455555 - .gitmodules: use codeaurora url
d1add39 - Merge pull request #32 in DPAA2/dce from ~NXA07713/dce:jira/QSDK-5623-update-dce-license-files to master
b3c27ed - LICENSE: Remove GPL License
68a6dab - Merge pull request #31 in DPAA2/dce from ~NXA07713/dce:jira/QSDK-5623-update-dce-license-files to master
0f33f16 - LICENSE: Update License year and full BSD-3 text
0175bb4 - Merge pull request #30 in DPAA2/dce from ~NXA07713/dce:jira/QSDK-5621-dpdcei-object-fails-to-unassign-out-of-child-dprc to master
361e4d0 - dpdcei: Cleanup hanldes in dpdcei_deactivate
81fae16 - LX2160 Rev1: Edit warning for stateful ERR011568
ede610b - LX2160 Rev1: Print warning for stateful ERR011568
34133be - perf-test: Update output buffer allocation
c0b437e - Fix swp_init for LX2: set qman mode explicitly
aac02ee - perf-test: Correct CPU affine logic

*qbman update to
Update to lsdk 1903 tag
include the following changes:
a1af1e1 - Adding average pull/enqueue statistics and minor performance improvement.

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
2019-04-11 09:00:13 -03:00