]> code.ossystems Code Review - openembedded-core.git/commit
kernel: fitimage: basic support for fitimage signature
authorYannick Gicquel <yannick.gicquel@iot.bzh>
Wed, 27 Apr 2016 14:20:56 +0000 (16:20 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 May 2016 09:30:57 +0000 (10:30 +0100)
commit38d675f568ed67505896f20dd9738ce80feece08
treea9c2d182ae7bba823b88e7b2eab5836b40456114
parent9a3f541da305c75418c2eec75ade902717a01b69
kernel: fitimage: basic support for fitimage signature

This is an initial support of fitImage signature to enable U-Boot verified
boot. This feature is implemented by adding a signature tag to the
configuration section of the generated fit-image.its file.

When a UBOOT_SIGN_ENABLE variable is set to "1", the signature procedure is
activated and performs a second call to mkimage to sign the fitImage file and
to include the public key in the deployed U-Boot device tree blob. (This
implementation depends on the use of CONFIG_OF_SEPARATE in U-Boot.)

As the U-Boot device tree blob is appended in the deploy dir, a dependency
on 'u-boot:do_deploy' is added when the feature is activated.

Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-fitimage.bbclass