Thanks, applied as 8f2c877fd4fcec1963d9af032158f18632a53107. Michael
[sent from post-receive hook] On Thu, 04 Dec 2025 14:14:51 +0100, Sven Püschel <[email protected]> wrote: > RPMB emulation is enabled by default in the tee-supplicant. In a > production system, the RPMB shall be backed by the eMMC. > > Add an option to disable RPMB emulation. > > Signed-off-by: Michael Tretter <[email protected]> > Signed-off-by: Sven Püschel <[email protected]> > Message-Id: <[email protected]> > [mol: disable new option by default] > Signed-off-by: Michael Olbrich <[email protected]> > > diff --git a/rules/optee-client.in b/rules/optee-client.in > index cb1033cb0533..baa84f9c9129 100644 > --- a/rules/optee-client.in > +++ b/rules/optee-client.in > @@ -26,4 +26,10 @@ config OPTEE_CLIENT_SUPPLICANT_PLUGINS > bool > prompt "enable TEE supplicant plugins" > > +config OPTEE_CLIENT_SUPPLICANT_RPMB_EMULATION > + bool > + prompt "enable TEE supplicant RPMB emulation" > + help > + Emulate the RPMB in the TEE supplicant instead of using the eMMC. > + > endif > diff --git a/rules/optee-client.make b/rules/optee-client.make > index c884000d688c..1bbd1ce63282 100644 > --- a/rules/optee-client.make > +++ b/rules/optee-client.make > @@ -48,7 +48,7 @@ OPTEE_CLIENT_CONF_OPT := \ > -DCFG_TEE_SUPP_LOG_LEVEL=1 \ > -DCFG_TEE_SUPP_PLUGINS=$(call ptx/onoff, > PTXCONF_OPTEE_CLIENT_SUPPLICANT_PLUGINS) \ > -DCFG_WERROR=ON \ > - -DRPMB_EMU=ON \ > + -DRPMB_EMU=$(call ptx/onoff, > PTXCONF_OPTEE_CLIENT_SUPPLICANT_RPMB_EMULATION) \ > -DWITH_TEEACL=ON > > # > ----------------------------------------------------------------------------
