Commit Graph

16 Commits

Author SHA1 Message Date
Valentin Jec
e7c83d7907 Change SRC_URIs to point to github istead of CAF [YOCIMX-6516]
The NXP BSP is moving from CAF to github, so update the recipes URLs and set PREMIRRORS to override the SRC_URIs.

Also update the paths to point to git.codelinaro.org

Signed-off-by: Valentin Jec <jec.valentin@nxp.com>
2022-09-14 20:29:48 +03:00
Tom Hochstein
ad2341812b v2xsehsm: Install header to standard location [V2XSW-527]
Install v2xSe.h to that standard location /usr/include. Otherwise, now
that vtest builds without v2xsehsmConfig.cmake (to avoid other issues),
vtest fails to find the header:

```
| /opt2/hardknott/build/tmp/work/cortexa35-poky-linux/vtest/git-r0/git/src/se/SEdevicemanagement.c:45:10: fatal error: v2xSe.h: No such file or directory
|    45 | #include <v2xSe.h>
|       |          ^~~~~~~~~
| compilation terminated.
```

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-05-14 11:12:29 -05:00
Tom Hochstein
320372c9c9 vtest: Ignore v2xsehsmConfig.cmake [V2XSW-527]
During a Yocto build on zeus, vtest fails during compile with the
following errors:

```
aarch64-poky-linux-gcc: error: /home/bamboo/build/zeus-5.4.70-2.3.3/fsl-imx-internal-xwayland/mx8/temp_build_dir/build_fsl-imx-internal-xwayland/tmp/work/aarch64-poky-linux/v2xsehsm/0.5-r0/build/libv2xCrypto.so.0.5.0: No such file or directory
aarch64-poky-linux-gcc: error: /home/bamboo/build/zeus-5.4.70-2.3.3/fsl-imx-internal-xwayland/mx8/temp_build_dir/build_fsl-imx-internal-xwayland/tmp/work/aarch64-poky-linux/v2xsehsm/0.5-r0/recipe-sysroot/usr/lib/hsm_lib.a: No such file or directory
```

On hardknott, vtest fails earlier during configure:

```
| CMake Error in CMakeLists.txt:
|   Imported target "v2xCrypto" includes non-existent path
|
|     "/opt2/hardknott/build/tmp/work/cortexa35-poky-linux/v2xsehsm/0.5-r0/git/include"
```

The cmake config file generated by v2xsehsm is not usable by vtest since it
refers to the v2xsehsm work folder, which is not guaranteed to exist and
causes the errors above.

Dropping the config file seems to be fine except for the location of the
header file v2xSe.h, fixed in the next commit.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-05-14 11:12:29 -05:00
Lauren Post
a5895b57bf vtest: Update vtest_git.bb to commit 3216645
Signed-off-by: Lauren Post <lauren.post@nxp.com>
2021-05-11 15:03:02 -05:00
Lauren Post
668f500876 v2xsehsm: Update v2xsehsm_0.5.bb to commit 1c4ea5d
Signed-off-by: Lauren Post <lauren.post@nxp.com>
2021-05-11 14:59:34 -05:00
Lauren Post
887cd15737 ecdsa-lib: Update ecdsa-lib-imx EULA to commit 3c3fe2
Signed-off-by: Lauren Post <lauren.post@nxp.com>
2021-05-07 13:38:13 -05:00
Lauren Post
751f4ac5ef vtest: Update branch to release branch
Signed-off-by: Lauren Post <lauren.post@nxp.com>
2021-05-07 12:45:51 -05:00
Lauren Post
c60e8439a1 vtest: Update vtest_git.bb to commit 2a3b793
Signed-off-by: Lauren Post <lauren.post@nxp.com>
2021-05-07 12:45:03 -05:00
Lauren Post
daac7282b2 v2xsehsm: Update v2xsehsm_0.5.bb to commit 1dd537f
Signed-off-by: Lauren Post <lauren.post@nxp.com>
2021-05-07 12:33:02 -05:00
Lauren Post
11eb330eed ecdsa-lib-imx: Update ecdsa-lib-imx_3.3.1.bin to commit 44014772
Signed-off-by: Lauren Post <lauren.post@nxp.com>
2021-05-07 12:25:08 -05:00
Lauren Post
7bcb1cc03f ecdsa-lib-imx: Update ecdsa-lib-imx_3.3.1.bin to commit ea708c8b
Signed-off-by: Lauren Post <lauren.post@nxp.com>
2021-05-07 12:25:08 -05:00
Cristinel Panfir
aeefb8826b v2x: Disable/Enable profiling capabilities [YOCIMX-5295]
This commit disables profiling capabilities but provides the option to enable
them as needed through local.conf.

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
2021-03-10 13:45:24 +02:00
Cristinel Panfir
b0034dddad v2x: imx-seco-libs: Regenerate the meta-v2x patch (8dxl only) to be applied after meta-imx patches
Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
2021-02-05 20:30:33 +02:00
Lauren Post
2f62f82cf2 v2xsehsm: Update commit to 49bfe78
Signed-off-by: Lauren Post <lauren.post@nxp.com>
2021-02-04 15:15:30 -07:00
Cristinel Panfir
1854bb921d imx-seco-libs_git.bbappend: Use the release branch instead of master [YOCIMX-5194]
Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
2021-02-03 19:06:34 +02:00
Cristinel Panfir
f428d21add Introduce meta-v2x layer [YOCIMX-5194]
The layer provides support for building the Vehicle-to-Everything (V2X) solution,
using internal HSM instead of external chips.

Main components:
- 'ecdsa-lib-imx' and 'v2xsehsm': libraries responsible for communication
between V2X stack and the internal V2X FW, running on i.MX 8DXL V2X accelerator.
- 'imx-seco' is containing the SECO FW as well as the V2X FW on which
V2X cryptography and HSM capabilities are implemented.
- 'imx-seco-libs' is the library implementing the HSM API by controlling the SECO
and V2X FW.

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
2021-02-01 18:12:17 -06:00