[U-Boot] [PATCH v2 3/3] imx: hab: Provide hab_auth_img_or_fail command

Breno Matheus Lima brenomatheus at gmail.com
Tue Mar 27 22:44:40 UTC 2018


Hi Bryan,

2018-03-26 11:11 GMT-03:00 Bryan O'Donoghue <bryan.odonoghue at linaro.org>:
> This patch adds hab_auth_img_or_fail() a command line function that
> encapsulates a common usage of authenticate and failover, namely if
> authenticate image fails, then drop to BootROM USB recovery mode.
>
> For secure-boot systems, this type of locked down behavior is important to
> ensure no unsigned images can be run.
>
> It's possible to script this logic but, when done over and over again the
> environment starts get very complex and repetitive, reducing that script
> repetition down to a command line function makes sense.
>
> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue at linaro.org>
> Cc: Utkarsh Gupta <utkarsh.gupta at nxp.com>
> Cc: Breno Lima <breno.lima at nxp.com>
> Cc: Fabio Estevam <fabio.estevam at nxp.com>

Tested-by: Breno Lima <breno.lima at nxp.com>

Thanks,
Breno


More information about the U-Boot mailing list