From patchwork Wed Mar 18 17:43:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 243855 List-Id: U-Boot discussion From: sjg at chromium.org (Simon Glass) Date: Wed, 18 Mar 2020 11:43:56 -0600 Subject: [PATCH v2 02/14] image: Be a little more verbose when checking signatures In-Reply-To: <20200318174408.77473-1-sjg@chromium.org> References: <20200318174408.77473-1-sjg@chromium.org> Message-ID: <20200318174408.77473-3-sjg@chromium.org> It is useful to be a little more specific about what is being checked. Update a few messages to help with this. Signed-off-by: Simon Glass --- Changes in v2: None common/image-fit.c | 2 +- tools/image-host.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common/image-fit.c b/common/image-fit.c index 7cf02b4574..a5c85ede8d 100644 --- a/common/image-fit.c +++ b/common/image-fit.c @@ -1951,7 +1951,7 @@ int fit_image_load(bootm_headers_t *images, ulong addr, fit_uname = fit_get_name(fit, noffset, NULL); } if (noffset < 0) { - puts("Could not find subimage node\n"); + printf("Could not find subimage node type '%s'\n", prop_name); bootstage_error(bootstage_id + BOOTSTAGE_SUB_SUBNODE); return -ENOENT; } diff --git a/tools/image-host.c b/tools/image-host.c index 76a361b9d6..b3ec197dc9 100644 --- a/tools/image-host.c +++ b/tools/image-host.c @@ -1034,7 +1034,8 @@ int fit_check_sign(const void *fit, const void *key) if (!cfg_noffset) return -1; - printf("Verifying Hash Integrity ... "); + printf("Verifying Hash Integrity for node '%s'... ", + fdt_get_name(fit, cfg_noffset, NULL)); ret = fit_config_verify(fit, cfg_noffset); if (ret) return ret;