All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 2/8] fdt: add "fdt checksign" command
Date: Sat, 15 Feb 2014 16:00:43 -0700	[thread overview]
Message-ID: <CAPnjgZ2GFV6k46DHXnnz74z5t_ztQMjG7gerh1X-s6R8E0=h2w@mail.gmail.com> (raw)
In-Reply-To: <1391924096-13253-3-git-send-email-hs@denx.de>

Hi Heiko,

On 8 February 2014 22:34, Heiko Schocher <hs@denx.de> wrote:
> check if a fdt is correct signed
> pass an optional addr value. Contains the addr of the key blob
>
> Signed-off-by: Heiko Schocher <hs@denx.de>
> Cc: Simon Glass <sjg@chromium.org>
>
> ---
> changes vor v2:
> - add comment from Simon Glass:
>   - rename "fdt sign" to "fdt checksign"
>     -> rename patch subject from "fdt: add "fdt sign" command"
>        to "fdt: add "fdt checksign" command"
>   - add error message
>
>  common/cmd_fdt.c | 42 +++++++++++++++++++++++++++++++++++++++++-
>  1 file changed, 41 insertions(+), 1 deletion(-)
>
> diff --git a/common/cmd_fdt.c b/common/cmd_fdt.c
> index 3a9edd6..a6744ed 100644
> --- a/common/cmd_fdt.c
> +++ b/common/cmd_fdt.c
> @@ -570,7 +570,7 @@ static int do_fdt(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
>                 ft_board_setup(working_fdt, gd->bd);
>  #endif
>         /* Create a chosen node */
> -       else if (argv[1][0] == 'c') {
> +       else if (strncmp(argv[1], "cho", 3) == 0) {

Sorry, I missed this earlier - I think this should be "che" if the
command is checksig.

Regards,
Simon

  parent reply	other threads:[~2014-02-15 23:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-09  5:34 [U-Boot] [PATCH v2 0/8] common, fit, rsa: enhancements Heiko Schocher
2014-02-09  5:34 ` [U-Boot] [PATCH v2 1/8] tools/image-host: fix sign-images bug Heiko Schocher
2014-02-09  5:34 ` [U-Boot] [PATCH v2 2/8] fdt: add "fdt checksign" command Heiko Schocher
2014-02-14 16:17   ` Simon Glass
2014-02-15 23:00   ` Simon Glass [this message]
2014-02-15 23:07     ` Simon Glass
2014-02-09  5:34 ` [U-Boot] [PATCH v2 3/8] fit: add sha256 support Heiko Schocher
2014-02-15 22:47   ` Simon Glass
2014-02-17  6:33     ` Heiko Schocher
2014-02-17  6:49       ` Heiko Schocher
2014-02-17 22:14         ` Simon Glass
2014-02-09  5:34 ` [U-Boot] [PATCH v2 4/8] rsa: add sha256-rsa2048 algorithm Heiko Schocher
2014-02-15 23:11   ` Simon Glass
2014-02-09  5:34 ` [U-Boot] [PATCH v2 5/8] rsa: add sha256,rsa4096 algorithm Heiko Schocher
2014-02-15 23:12   ` Simon Glass
2014-02-09  5:34 ` [U-Boot] [PATCH v2 6/8] gen: Add progressive hash API Heiko Schocher
2014-02-15 23:14   ` Simon Glass
2014-02-09  5:34 ` [U-Boot] [PATCH v2 7/8] tools, fit: add fit_info host command Heiko Schocher
2014-02-09  5:34 ` [U-Boot] [PATCH v2 8/8] tools, fit_check_sign: verify a signed fit image Heiko Schocher
2014-02-15 23:22   ` Simon Glass

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='CAPnjgZ2GFV6k46DHXnnz74z5t_ztQMjG7gerh1X-s6R8E0=h2w@mail.gmail.com' \
    --to=sjg@chromium.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.