svn commit: r283579 - head/sys/boot/uboot/lib
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Tue May 26 20:32:15 UTC 2015
Author: gonzo
Date: Tue May 26 20:32:14 2015
New Revision: 283579
URL: https://svnweb.freebsd.org/changeset/base/283579
Log:
Print error message if autoload fails due to missing DTB blob, otherwise
ubldr just falls back to loader prompt with no apparent reason
Modified:
head/sys/boot/uboot/lib/module.c
Modified: head/sys/boot/uboot/lib/module.c
==============================================================================
--- head/sys/boot/uboot/lib/module.c Tue May 26 19:46:41 2015 (r283578)
+++ head/sys/boot/uboot/lib/module.c Tue May 26 20:32:14 2015 (r283579)
@@ -47,8 +47,10 @@ uboot_autoload(void)
#if defined(LOADER_FDT_SUPPORT)
int err;
- if ((err = fdt_setup_fdtp()) != 0)
+ if ((err = fdt_setup_fdtp()) != 0) {
+ printf("No valid device tree blob found!\n");
return (err);
+ }
#endif
return(0);
More information about the svn-src-all
mailing list