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 <[email protected]> Acked-by: Peter Stuge <[email protected]> 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; } -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

