[coreboot] Memtest86+ failing on coreboot system.

Patrick Georgi patrick at georgi-clan.de
Tue Jan 26 10:58:36 CET 2010


Am 25.01.2010 17:13, schrieb Knut Kujat:
> - booting interrupts for about 4 minutes on "Stage: loading
> fallback/coreboot_ram @ 0x200000 (360448 bytes), entry @ 0x200000"
>   
For this issue, the following change might help:
--- src/cpu/amd/mtrr/amd_earlymtrr.c    (revision 5054)
+++ src/cpu/amd/mtrr/amd_earlymtrr.c    (working copy)
@@ -45,8 +45,13 @@
         /* enable write through caching so we can do execute in place
          * on the flash rom.
          */
-        set_var_mtrr(1, CONFIG_XIP_ROM_BASE, CONFIG_XIP_ROM_SIZE,
MTRR_TYPE_WRBACK);
+#if defined(CONFIG_TINY_BOOTBLOCK) && CONFIG_TINY_BOOTBLOCK
+#define REAL_XIP_ROM_BASE AUTO_XIP_ROM_BASE
+#else
+#define REAL_XIP_ROM_BASE CONFIG_XIP_ROM_BASE
 #endif
+        set_var_mtrr(1, REAL_XIP_ROM_BASE, CONFIG_XIP_ROM_SIZE,
MTRR_TYPE_WRBACK);
+#endif

         /* Set the default memory type and enable fixed and variable MTRRs
          */

If it does, please let us know, so we can add it to the tree.

Regards,
Patrick




More information about the coreboot mailing list