summaryrefslogtreecommitdiff
path: root/boot/pxe_utils.c
diff options
context:
space:
mode:
authorMichael Trimarchi <michael@amarulasolutions.com>2023-12-07 15:28:19 +0100
committerTom Rini <trini@konsulko.com>2023-12-20 14:12:59 -0500
commit4268ef9282c5870aaf45375e3816d0a8c644b214 (patch)
tree49da5b28131e828ad32379f7478d715334216304 /boot/pxe_utils.c
parent0de448d03254617a902bc6081a7aba214b54b69d (diff)
downloadu-boot-4268ef9282c5870aaf45375e3816d0a8c644b214.tar.gz
u-boot-4268ef9282c5870aaf45375e3816d0a8c644b214.tar.bz2
u-boot-4268ef9282c5870aaf45375e3816d0a8c644b214.zip
pxe_utils: Increase feedback to user when fdt file is not found
extlinux.conf can set fdtdir. fdtdir look for fdt file using information found in the environment variable. The function does not report any error in the case the file is not found Scanning for bootflows in all bootdevs Seq Method State Uclass Part Name Filename --- ----------- ------ -------- ---- ------------------------ ---------------- Scanning global bootmeth 'efi_mgr': No EFI system partition No EFI system partition Failed to persist EFI variables Scanning bootdev 'mmc@fa10000.bootdev': 0 extlinux ready mmc 1 mmc@fa10000.bootdev.part_ /boot/extlinux/extlinux.conf ** Booting bootflow 'mmc@fa10000.bootdev.part_1' with extlinux 1: am62x-sk-buildroot Retrieving file: /boot/Image append: console=ttyS2,115200n8 root=PARTUUID=c586a30c-0bf1-4323-aba8-779c814ee135 rw rootfstype=ext4 rootwait earlycon=ns16550a,mmio32,0x02800000 Retrieving file: /boot/k3-am623_ccm_m3.dtb Skipping fdtdir /boot/ for failure retrieving dts Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/pxe_utils.c')
-rw-r--r--boot/pxe_utils.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/boot/pxe_utils.c b/boot/pxe_utils.c
index a92bb896c6..83bc167785 100644
--- a/boot/pxe_utils.c
+++ b/boot/pxe_utils.c
@@ -700,6 +700,11 @@ static int label_boot(struct pxe_context *ctx, struct pxe_label *label)
label->name);
goto cleanup;
}
+
+ if (label->fdtdir) {
+ printf("Skipping fdtdir %s for failure retrieving dts\n",
+ label->fdtdir);
+ }
}
if (label->kaslrseed)