[U-Boot] [PATCH 0/3] HAB Fixes for 2018.03-rc4
Bryan O'Donoghue
bryan.odonoghue at linaro.org
Fri Mar 9 13:07:18 UTC 2018
This set fixes a few errors and gotchas I've found when rebasing my project
on top of 2018-rc4.
First is a breakage with the Linaro compiler -> gcc-linaro-7.2.1 which is a
simple one.
Second is consistency of the __packed attribute - more of a housekeeping
activity.
Last patch fixes a behaviour that has been introduced without I believe
fully thinking through the impact on downstream users.
If we force the DCD to be NULL for olders SoCs - that means people have to
go out and re-sign all of their binaries if they are updating u-boot.
It should be possible to update u-boot in isolation without forcing update
of signed binaries u-boot authenticates via HAB.
If newer NXP SoCs rely on the DCD being NULL then either
1. Just let the authenticate_image() call fail
It can return an error - this should "just work" if the SoC will
reject an API callback with the DCD non-NULL then - let it.
2. If the SoC actually has a bug that _requires_ the DCD to be NULL.
Then add a check into u-boot to check SoC versions.
In either case older SoCs should "just work" and it should be possible to
update u-boot without having to update all associated signed binaries.
Please apply before next official u-boot release.
Bryan O'Donoghue (3):
imx: hab: Fix usage of packed attribute
imx: hab: Make usage of packed attribute consistent
imx: hab: Convert DCD non-NULL error to warning
arch/arm/include/asm/mach-imx/hab.h | 5 +++--
arch/arm/mach-imx/hab.c | 6 ++----
2 files changed, 5 insertions(+), 6 deletions(-)
--
2.7.4
More information about the U-Boot
mailing list