public inbox for cip-dev@lists.cip-project.org
 help / color / mirror / Atom feed
* [cip-dev][isar-cip-core][PATCH v2] u-boot-ti-am62px-sk: ti-extra.cfg: Remove redundant configs
@ 2025-12-02  7:41 Sai Sree Kartheek Adivi
  2025-12-02  9:21 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Sai Sree Kartheek Adivi @ 2025-12-02  7:41 UTC (permalink / raw)
  To: cip-dev, jan.kiszka, vigneshr

TEE, OPTEE, CMD_OPTEE_RPMB and EFI_MM_COMM_TEE are enabled in
ftpm-stmm.cfg and it is always included for TI AM62Px builds. So remove
it from ti-extra.cfg.

The BOOTCOMMAND is stale which was initially used for testing purposes.
pairing with RPMB is not recommended in production environments and also
CFG_RPMB_WRITE_KEY=y is not set so this doesn't get triggered. Remove
it.

Signed-off-by: Sai Sree Kartheek Adivi <s-adivi@ti.com>
---
Changes in v2:
- Write detailed commit msg
Link to v1: https://lore.kernel.org/cip-dev/20251127063738.435868-2-s-adivi@ti.com/#t

 recipes-bsp/u-boot/files/ti-extra.cfg | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/recipes-bsp/u-boot/files/ti-extra.cfg b/recipes-bsp/u-boot/files/ti-extra.cfg
index faff390..c10d046 100644
--- a/recipes-bsp/u-boot/files/ti-extra.cfg
+++ b/recipes-bsp/u-boot/files/ti-extra.cfg
@@ -1,19 +1,14 @@
 ### FTPM + RPMB + StandaloneMM setup
-CONFIG_TEE=y
-CONFIG_OPTEE=y
 CONFIG_OPTEE_SERVICE_DISCOVERY=y
 CONFIG_TPM=y
 CONFIG_TPM_V2=y
 CONFIG_CMD_TPM=y
 CONFIG_TPM2_FTPM_TEE=y
-CONFIG_CMD_OPTEE_RPMB=y
 CONFIG_SUPPORT_EMMC_RPMB=y
-CONFIG_EFI_MM_COMM_TEE=y
 CONFIG_MEASURED_BOOT=y
 CONFIG_CMD_NVEDIT_EFI=y
 CONFIG_CMD_MMC_RPMB=y
 CONFIG_EFI_TCG2_PROTOCOL=n
-CONFIG_BOOTCOMMAND="setenv pair_rpmb_key 'setenv -e -nv -bs -rt pairing 1; setenv -e pairing'; run pair_rpmb_key; bootefi bootmgr"
 
 # workaround for v2025.07
 CONFIG_USB_STORAGE=y
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [cip-dev][isar-cip-core][PATCH v2] u-boot-ti-am62px-sk: ti-extra.cfg: Remove redundant configs
  2025-12-02  7:41 [cip-dev][isar-cip-core][PATCH v2] u-boot-ti-am62px-sk: ti-extra.cfg: Remove redundant configs Sai Sree Kartheek Adivi
@ 2025-12-02  9:21 ` Jan Kiszka
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2025-12-02  9:21 UTC (permalink / raw)
  To: Sai Sree Kartheek Adivi, cip-dev, vigneshr

On 02.12.25 08:41, Sai Sree Kartheek Adivi wrote:
> TEE, OPTEE, CMD_OPTEE_RPMB and EFI_MM_COMM_TEE are enabled in
> ftpm-stmm.cfg and it is always included for TI AM62Px builds. So remove
> it from ti-extra.cfg.
> 
> The BOOTCOMMAND is stale which was initially used for testing purposes.
> pairing with RPMB is not recommended in production environments and also
> CFG_RPMB_WRITE_KEY=y is not set so this doesn't get triggered. Remove
> it.
> 
> Signed-off-by: Sai Sree Kartheek Adivi <s-adivi@ti.com>
> ---
> Changes in v2:
> - Write detailed commit msg
> Link to v1: https://lore.kernel.org/cip-dev/20251127063738.435868-2-s-adivi@ti.com/#t
> 
>  recipes-bsp/u-boot/files/ti-extra.cfg | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/recipes-bsp/u-boot/files/ti-extra.cfg b/recipes-bsp/u-boot/files/ti-extra.cfg
> index faff390..c10d046 100644
> --- a/recipes-bsp/u-boot/files/ti-extra.cfg
> +++ b/recipes-bsp/u-boot/files/ti-extra.cfg
> @@ -1,19 +1,14 @@
>  ### FTPM + RPMB + StandaloneMM setup
> -CONFIG_TEE=y
> -CONFIG_OPTEE=y
>  CONFIG_OPTEE_SERVICE_DISCOVERY=y
>  CONFIG_TPM=y
>  CONFIG_TPM_V2=y
>  CONFIG_CMD_TPM=y
>  CONFIG_TPM2_FTPM_TEE=y
> -CONFIG_CMD_OPTEE_RPMB=y
>  CONFIG_SUPPORT_EMMC_RPMB=y
> -CONFIG_EFI_MM_COMM_TEE=y
>  CONFIG_MEASURED_BOOT=y
>  CONFIG_CMD_NVEDIT_EFI=y
>  CONFIG_CMD_MMC_RPMB=y
>  CONFIG_EFI_TCG2_PROTOCOL=n
> -CONFIG_BOOTCOMMAND="setenv pair_rpmb_key 'setenv -e -nv -bs -rt pairing 1; setenv -e pairing'; run pair_rpmb_key; bootefi bootmgr"
>  
>  # workaround for v2025.07
>  CONFIG_USB_STORAGE=y

Thanks, will apply this once the dust over trixie CI settled.

Jan

-- 
Siemens AG, Foundational Technologies
Linux Expert Center


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-12-02  9:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-02  7:41 [cip-dev][isar-cip-core][PATCH v2] u-boot-ti-am62px-sk: ti-extra.cfg: Remove redundant configs Sai Sree Kartheek Adivi
2025-12-02  9:21 ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox