Message ID | 20230215193355.9676-5-afd@ti.com |
---|---|
State | Accepted |
Delegated to: | Ryan Eatmon |
Headers | show |
Series | ti-rtos-firmware and secdev | expand |
On Wed, Feb 15, 2023 at 01:33:44PM -0600, Andrew Davis via lists.yoctoproject.org wrote: > Use the new ti-k3-secdev package to pull in the signing tools if they are > not provided by the environment. This allows us to use these tools > unconditionally. Remove the checks for the script and do the signing > for all K3 machines. The signature is automatically stripped from > the binaries on non-HS devices at boot time as needed so this change > is harmless for GP devices. > > Signed-off-by: Andrew Davis <afd@ti.com> Tested-by: Denys Dmytriyenko <denys@konsulko.com> > --- > meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc > index 6f5b6313..83c4af59 100644 > --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc > +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc > @@ -50,8 +50,7 @@ PKG:${PN}-dbg = "u-boot-dbg" > S = "${WORKDIR}/git" > > # Support for secure devices - detailed info is in doc/README.ti-secure > -TI_SECURE_DEV_PKG ?= "" > -export TI_SECURE_DEV_PKG > +inherit ti-secdev > > SYSROOT_DIRS += "/boot" > > -- > 2.39.1
diff --git a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc index 6f5b6313..83c4af59 100644 --- a/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc +++ b/meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc @@ -50,8 +50,7 @@ PKG:${PN}-dbg = "u-boot-dbg" S = "${WORKDIR}/git" # Support for secure devices - detailed info is in doc/README.ti-secure -TI_SECURE_DEV_PKG ?= "" -export TI_SECURE_DEV_PKG +inherit ti-secdev SYSROOT_DIRS += "/boot"
Use the new ti-k3-secdev package to pull in the signing tools if they are not provided by the environment. This allows us to use these tools unconditionally. Remove the checks for the script and do the signing for all K3 machines. The signature is automatically stripped from the binaries on non-HS devices at boot time as needed so this change is harmless for GP devices. Signed-off-by: Andrew Davis <afd@ti.com> --- meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)