
On Sun, Nov 6, 2016 at 9:37 AM, Sven Ebenfeld sven.ebenfeld@gmail.com wrote:
When we want to use Secure Boot with HAB from SPL over U-Boot.img, we need to append the IVT to the image and leave space for the CSF. Images generated as firmware_ivt can directly be signed using the Freescale code signing tool. For creation of a CSF, mkimage outputs the correct HAB Blocks for the image. The changes to the usual firmware image class are quite small, that is why I implemented that directly into the default_image.
Cc: sbabic@denx.de
v2-Changes: None
Signed-off-by: Sven Ebenfeld sven.ebenfeld@gmail.com
Makefile | 9 ++++++++- common/image.c | 6 ++++++ include/image.h | 1 + tools/default_image.c | 10 ++++++++-- tools/mkimage.c | 32 ++++++++++++++++++++++++++++++++ 5 files changed, 55 insertions(+), 3 deletions(-)
Reviewed-by: George McCollister george.mccollister@gmail.com Tested-by: George McCollister george.mccollister@gmail.com