diff options
| author | Frank Wunderlich <[email protected]> | 2026-01-16 19:29:02 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-01-27 16:19:54 -0600 |
| commit | 09cc6788683172a5588eca2cb7536a20a600faa9 (patch) | |
| tree | e15d956d422c042efe75ab96ed1b13826253e89e /boot | |
| parent | 272b8784faf33b0eded27ba78ad4251151ef357b (diff) | |
boot/fit: print name of config node not found
Show name of configuration node which was not found.
current state gives no hint if fit image is wrong or the requested name.
Could not find configuration node
load of <NULL> failed
After this patch we see name like this:
Could not find configuration node '#ov-test'
load of <NULL> failed
Signed-off-by: Frank Wunderlich <[email protected]>
Reviewed-by: Quentin Schulz <[email protected]>
Diffstat (limited to 'boot')
| -rw-r--r-- | boot/image-fit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/boot/image-fit.c b/boot/image-fit.c index 2d040e38d97..85026c2d1d0 100644 --- a/boot/image-fit.c +++ b/boot/image-fit.c @@ -2125,7 +2125,8 @@ int fit_image_load(struct bootm_headers *images, ulong addr, if (ret < 0 && ret != -EINVAL) ret = fit_conf_get_node(fit, fit_uname_config); if (ret < 0) { - puts("Could not find configuration node\n"); + printf("Could not find configuration node '%s'\n", + fit_uname_config ? fit_uname_config : "(null)"); bootstage_error(bootstage_id + BOOTSTAGE_SUB_NO_UNIT_NAME); return -ENOENT; |
