[coreboot] [commit] r4933 - trunk/src/lib
svn at coreboot.org
svn at coreboot.org
Wed Nov 11 20:31:53 CET 2009
Author: oxygene
Date: 2009-11-11 19:31:53 +0000 (Wed, 11 Nov 2009)
New Revision: 4933
Modified:
trunk/src/lib/cbfs.c
Log:
Help track down enable_rom issues in CBFS. If the magic
looks like unmapped memory, point to the wiki page with
more information.
Signed-off-by: Patrick Georgi <patrick.georgi at coresystems.de>
Acked-by: Peter Stuge <peter at stuge.se>
Modified: trunk/src/lib/cbfs.c
===================================================================
--- trunk/src/lib/cbfs.c 2009-11-10 22:17:15 UTC (rev 4932)
+++ trunk/src/lib/cbfs.c 2009-11-11 19:31:53 UTC (rev 4933)
@@ -66,6 +66,10 @@
printk_spew("magic is %08x\n", ntohl(header->magic));
if (ntohl(header->magic) != CBFS_HEADER_MAGIC) {
printk_err("ERROR: No valid CBFS header found!\n");
+ if (header->magic == 0xffffffff) {
+ printk_err("Maybe the ROM isn't entirely mapped yet?\n"
+ "See (and report to) http://www.coreboot.org/Infrastructure_Projects#CBFS\n");
+ }
return NULL;
}
More information about the coreboot
mailing list