Hi All,

-----Original Message-----
From: Bryan O'Donoghue [mailto:bryan.odonog...@linaro.org] 
Sent: segunda-feira, 26 de março de 2018 11:37
To: u-boot@lists.denx.de; Fabio Estevam <fabio.este...@nxp.com>
Cc: rui.si...@linaro.org; sba...@denx.de; Bryan O'Donoghue 
<bryan.odonog...@linaro.org>; Utkarsh Gupta <utkarsh.gu...@nxp.com>; Breno 
Matheus Lima <breno.l...@nxp.com>
Subject: [PATCH v3 2/2] imx: hab: Provide hab_auth_img_or_fail command

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.odonog...@linaro.org>
Cc: Utkarsh Gupta <utkarsh.gu...@nxp.com>
Cc: Breno Lima <breno.l...@nxp.com>
Cc: Fabio Estevam <fabio.este...@nxp.com>

Tested-by: Breno Lima <breno.l...@nxp.com>

Thanks,
Breno
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to