public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andreas Dannenberg <dannenberg@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] common: image: Add support for post-processing of images
Date: Fri, 29 Jul 2016 09:30:57 -0500	[thread overview]
Message-ID: <20160729143057.GE30461@borg.dal.design.ti.com> (raw)
In-Reply-To: <CAPnjgZ3g6Dr3-t9tX7qiu2=Jjxky0rD5NaAhguAoOvFTQK3P0g@mail.gmail.com>

On Fri, Jul 29, 2016 at 07:51:53AM -0600, Simon Glass wrote:
> On 27 July 2016 at 11:12, Andreas Dannenberg <dannenberg@ti.com> wrote:
> > This commit allows injecting a board/platform/device-specific post-
> > processing function into the FIT image data loading process, which can
> > include modifying the size and altering the starting source address of
> > an image data artifact. This might be desired to do things like strip
> > headers or footers attached to the images before they were packaged into
> > the FIT, or to perform operations such as decryption or authentication.
> > Introduce new configuration option CONFIG_FIT_IMAGE_POST_PROCESS to
> > allow controlling this feature. If enabled, a platform-specific post-
> > process function must be provided.
> >
> > Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
> > ---
> >
> > While not limited to this use case this commit allows for example on TI
> > high-security (HS) device variants to extend the secure boot chain to
> > Kernel, DTB, and initramfs (and anything else really that can be bundled
> > into a FIT image) by injecting calls to a TI-specific ROM API to perform
> > authentication (and optionally decryption) of blobs.
> >
> > At this stage of the boot process one is also free to use the FIT/
> > RSA/SHA-based verified boot scheme already built-into U-Boot to perform
> > authentication on TI HS devices, providing a choice between a completely
> > open solution or continuing to perform ROM-based calls (which would have
> > the added benefit of supporting decryption, amongst other reasons such
> > as faster performance due to inherent crypto accelerator usage).
> >
> > This commit works in analogy to
> > da74d1f "spl: fit: add support for post-processing of images"
> > which introduced the CONFIG_SPL_FIT_IMAGE_POST_PROCESS option.
> >
> >
> > On a related note Andrew (on copy) will be taking over the work on this
> > patch to address any feedback there might be since my last day at TI will
> > be 07/29. I will still be monitoring the mailing list but might not be
> > able to respond in the current capacity.
> 
> Thanks for your efforts and good luck!

Thanks Simon! I very much enjoy working on U-Boot and Kernel OSS with
the greater community and hope to find ways to stay involved moving
forward beyond fiddling with my personal BeagleBone Blacks and
Raspberry Pis :)

Regards,
Andreas


> >
> > Thanks and Regards,
> > Andreas
> >
> >  Kconfig            | 14 ++++++++++++++
> >  common/image-fit.c | 26 +++++++++++++++++++++++++-
> >  2 files changed, 39 insertions(+), 1 deletion(-)
> 
> Reviewed-by: Simon Glass <sjg@chromium.org>

  reply	other threads:[~2016-07-29 14:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-27 17:12 [U-Boot] [PATCH] common: image: Add support for post-processing of images Andreas Dannenberg
2016-07-29 13:29 ` Tom Rini
2016-07-29 13:51 ` Simon Glass
2016-07-29 14:30   ` Andreas Dannenberg [this message]
2016-08-12 19:53 ` [U-Boot] " Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160729143057.GE30461@borg.dal.design.ti.com \
    --to=dannenberg@ti.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox