meta-digi/meta-digi-arm
Hector Palacios 998598415a dey-image: generate public key after rootfs install
When TrustFence is enabled, a PKI tree is generated.
In the case of NXP platforms, the PKI contains public certificates
from which the public key needs to be extracted using an openssl
command.
In the case of STM platforms, the PKI contains directly the
public key.

In all cases, we need the public key to be installed in the
rootfs /etc/ssl/certs/ folder, so that it can be used by
swupdate to authenticate signed SWU packages.
Up to now, this was being done on the dualboot recipe, but the
installation of the public key should really be only dependant
on the fact of TF being enabled.

This commit:
 - Removes the generation of the public key from dualboot.bb.
 - Generates a patch to extract the public key from the certificate
   as part of the PKI tree generation (on NXP platforms).
 - Installs the public key during a post install function after
   the final rootfs has been created.
 - For NXP platforms, extracts the public key using openssl if
   it does not exist (for backwards compatibility).

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
2023-08-21 09:21:30 +02:00
..
classes image_types.bbclass: do not try to sign rootfs image for ccmp1x family 2023-08-10 09:04:56 +02:00
conf ccimx93-dvk.conf: define bootloader seek 2023-08-18 17:19:58 +02:00
custom-licenses kirkstone migration: cosmetic, clean build warnings 2022-06-21 16:49:56 +02:00
dynamic-layers Revert "optee-os-stm32mp: enable OTP program support" 2023-08-18 09:06:01 +02:00
recipes-bsp dey-image: generate public key after rootfs install 2023-08-21 09:21:30 +02:00
recipes-connectivity/nxp-wlan-sdk nxp-wlan-sdk: update to version lf-6.1.22 2023-07-07 02:04:16 +02:00
recipes-core meta-digi-arm: udev: mount_digiparts: minor script syntax fix 2023-08-02 10:22:13 +02:00
recipes-digi trustfence: stm: move generation of PKI out of sign script 2023-08-14 09:19:16 +02:00
recipes-kernel kernel-module-nxp-wlan: fix HE Rate Index warning 2023-08-01 18:56:54 +02:00
wic ccmp1: add wks file to generate a bootable sdcard 2023-07-31 11:51:16 +02:00
DIGI_EULA DIGI_EULA: Update Digi EULA file. 2017-08-29 12:23:22 +02:00
DIGI_OPEN_EULA meta-digi-arm: Add end user license agreements. 2012-10-26 16:20:14 +02:00
README meta-digi: update support email address 2017-10-30 17:02:33 +01:00

README

OpenEmbedded/Yocto BSP layer for Digi's ConnectCore platforms
=============================================================

This layer provides support for Digi's ConnnecCore platforms for use
with OpenEmbedded and/or Yocto.

This layer depends on:

git://git.yoctoproject.org/poky.git
git://git.openembedded.org/meta-openembedded.git
git://git.yoctoproject.org/meta-freescale.git

Digi's license agreements
-------------------------

All software is covered by Digi's general EULA and Digi's Open Source
EULA. To have the right to use the software in your images you need to
read and accept both EULAs at the DIGI_EULA and DIGI_OPEN_EULA files.

NXP Semiconductors' software license agreement
----------------------------------------------

Some platforms depends on libraries and packages that are covered by
NXP Semiconductors' EULA. To have the right to use those binaries in
your images you need to read and accept the EULA file in meta-freescale
Yocto layer.

Support
-------

This layer is provided 'as is' with no guarantee. However, some support
may be available from tech.support@digi.com