mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Sascha Hauer <s.hauer@pengutronix.de>,
	Barebox List <barebox@lists.infradead.org>
Subject: Re: [PATCH] bootm: fit: add option to add DT snipped that contains fit public key
Date: Fri, 9 Feb 2018 11:50:34 +0100	[thread overview]
Message-ID: <9e7d3a20-794e-1b49-9377-4b076e25e1e1@pengutronix.de> (raw)
In-Reply-To: <20180209100124.4119-1-s.hauer@pengutronix.de>


[-- Attachment #1.1.1: Type: text/plain, Size: 1461 bytes --]

On 02/09/2018 11:01 AM, Sascha Hauer wrote:
> From: Marc Kleine-Budde <mkl@pengutronix.de>
> 
> This makes it easier for build systems to include a configurable dts
> snippet which holds the public keys for FIT images.
> 
> Usage:
> 
> Add to your dts:
> 
>  #ifdef CONFIG_BOOTM_FITIMAGE_PUBKEY
>  #include CONFIG_BOOTM_FITIMAGE_PUBKEY
>  #endif
> 
> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
> ---
>  common/Kconfig       | 7 +++++++
>  scripts/Makefile.lib | 6 ++++++
>  2 files changed, 13 insertions(+)
> 
> diff --git a/common/Kconfig b/common/Kconfig
> index 93b1d89274..33e15490e9 100644
> --- a/common/Kconfig
> +++ b/common/Kconfig
> @@ -632,6 +632,13 @@ config BOOTM_FITIMAGE_SIGNATURE
>  	  Additionally the barebox device tree needs a /signature node with the
>  	  public key with which the image has been signed.
>  
> +config BOOTM_FITIMAGE_PUBKEY
> +	string "Path to dtsi containing pubkey"
> +	default "../fit/pubkey.dtsi"
> +	depends on BOOTM_FITIMAGE_SIGNATURE
> +	help
> +	  FIXME

Set Path to a dts snippet which holds the public keys for FIT images.

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2018-02-09 10:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-09 10:01 Sascha Hauer
2018-02-09 10:50 ` Marc Kleine-Budde [this message]
2018-02-13  8:00   ` Sascha Hauer

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=9e7d3a20-794e-1b49-9377-4b076e25e1e1@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.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