Add a little more debugging to help figure out why bootflows are not found.
Signed-off-by: Simon Glass <s...@chromium.org> --- boot/bootmeth_efi.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/boot/bootmeth_efi.c b/boot/bootmeth_efi.c index 0c9b4c3d59d..01cc7ec3bec 100644 --- a/boot/bootmeth_efi.c +++ b/boot/bootmeth_efi.c @@ -103,6 +103,7 @@ static int distro_efi_try_bootflow_files(struct udevice *dev, char fname[256]; int ret, seq; + log_debug("starting part %d\n", bflow->part); /* We require a partition table */ if (!bflow->part) { log_debug("no partitions\n"); @@ -116,7 +117,8 @@ static int distro_efi_try_bootflow_files(struct udevice *dev, desc = dev_get_uclass_plat(bflow->blk); ret = bootmeth_try_file(bflow, desc, NULL, fname); if (ret) { - log_debug("File '%s' not found\n", fname); + log_debug("File '%s' not found (desc devnum %d)\n", fname, + desc->devnum); return log_msg_ret("try", ret); } @@ -165,6 +167,7 @@ static int distro_efi_try_bootflow_files(struct udevice *dev, log_debug("No device tree available\n"); bflow->flags |= BOOTFLOWF_USE_BUILTIN_FDT; } + log_debug("found\n"); return 0; } -- 2.43.0