Date: Thu, 8 Apr 2010 16:50:30 GMT From: Rafal Jaworowski <raj@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 176674 for review Message-ID: <201004081650.o38GoU9l080746@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@176674?ac=10 Change 176674 by raj@raj_fdt on 2010/04/08 16:49:41 Show warning if [verbose] booting without DTB loaded. This only applies when FDT is enabled. Affected files ... .. //depot/projects/fdt/sys/boot/uboot/common/metadata.c#6 edit Differences ... ==== //depot/projects/fdt/sys/boot/uboot/common/metadata.c#6 (text+ko) ==== @@ -366,7 +366,9 @@ #if defined(LOADER_FDT_SUPPORT) /* Handle device tree blob */ fdt_fixup(); - bfp = file_findfile(NULL, "dtb"); + if ((bfp = file_findfile(NULL, "dtb")) == NULL && + (howto & RB_VERBOSE)) + printf("**WARNING** Booting with no DTB loaded!\n"); #endif dtbp = bfp == NULL ? 0 : bfp->f_addr; file_addmetadata(kfp, MODINFOMD_DTBP, sizeof dtbp, &dtbp);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004081650.o38GoU9l080746>