From: Tom Rini Date: Tue, 13 Mar 2018 08:13:38 -0400 Subject: [U-Boot] [U-Boot, 3/3] imx: hab: Convert DCD non-NULL error to warning In-Reply-To: <1520600841-8810-4-git-send-email-bryan.odonoghue@linaro.org> References: <1520600841-8810-4-git-send-email-bryan.odonoghue@linaro.org> Message-ID: <20180313121338.GJ1770@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Mar 09, 2018 at 01:07:21PM +0000, Bryan O'Donoghue wrote: > commit 8c4037a09a5c ("imx: hab: Ensure the IVT DCD pointer is Null prior > to calling HAB authenticate function.") makes the DCD field being NULL a > dependency. > > This change though will break loading and executing of existing pre-signed > binaries on a u-boot update i.e. if this change is deployed on a board you > will be forced to redo all images on that board to NULL out the DCD. > > There is no prior guidance from NXP that the DCD must be NULL similarly > public guidance on usage of the HAB doesn't call out this NULL dependency > (see boundary devices link). > > Since later SoCs will reject a non-NULL DCD there's no reason to make a > NULL DCD a requirement, however if there is an actual dependency for later > SoCs the appropriate fix would be to do SoC version checking. > > Earlier SoCs are capable (and happy) to authenticate images with non-NULL > DCDs, we should not be forcing this change on downstream users - > particularly if it means those users now must rewrite their build systems > and/or redeploy signed images in the field. > > Fixes: 8c4037a09a5c ("imx: hab: Ensure the IVT DCD pointer is Null prior > to calling HAB authenticate function.") > > Signed-off-by: Bryan O'Donoghue > Cc: Utkarsh Gupta > Cc: Breno Lima > Cc: Fabio Estevam > Link: https://boundarydevices.com/high-assurance-boot-hab-dummies > Reviewed-by: Fabio Estevam Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: