Difference between revisions of "Board:asus/kfsn4-dre"

From coreboot
Jump to: navigation, search
Line 18: Line 18:
 
|None
 
|None
 
|}
 
|}
 +
 +
The following patch is the cause of the dirty flag on status reports; no other changes are made to the source.  This patch specifically allows the test stand to recover from a bad build that transfers control from coreboot properly but subsequently fails to boot Linux, and will never be merged to master.
 +
 +
<pre>
 +
diff --git a/src/lib/fallback_boot.c b/src/lib/fallback_boot.c
 +
index b956c94..3bd71b3 100644
 +
--- a/src/lib/fallback_boot.c
 +
+++ b/src/lib/fallback_boot.c
 +
@@ -21,9 +21,6 @@ static void set_boot_successful(void)
 +
        byte &= 0xfe;
 +
        byte |= (byte & (1 << 1)) >> 1;
 +
 +
-      /* If we are in normal mode set the boot count to 0 */
 +
-      if(byte & 1)
 +
-              byte &= 0x0f;
 +
        outb(byte, RTC_PORT(1));
 +
}
 +
#else
 +
</pre>

Revision as of 07:46, 16 March 2015

The KFSN4-DRE is a relatively modern AMD Family 10h motherboard. It is well supported and stable under Coreboot, with all CPUs, RAM, and peripherals functioning normally.

Raptor Engineering hosts an automated test system which checks this board for proper functionality every night. Successful test results are recorded to the board status repository, while failed tests are reported to the coreboot mailing list.

Test stand details
CPU 2x Opteron 2431 (Fam10h @ 2.4GHz / 6 cores ea.)
RAM 6GB DDR2-667 on Node 0 channel 1
OS Debian Jessie 64-bit, kernel 3.16.0
Add-on cards None

The following patch is the cause of the dirty flag on status reports; no other changes are made to the source. This patch specifically allows the test stand to recover from a bad build that transfers control from coreboot properly but subsequently fails to boot Linux, and will never be merged to master.

diff --git a/src/lib/fallback_boot.c b/src/lib/fallback_boot.c
index b956c94..3bd71b3 100644
--- a/src/lib/fallback_boot.c
+++ b/src/lib/fallback_boot.c
@@ -21,9 +21,6 @@ static void set_boot_successful(void)
        byte &= 0xfe;
        byte |= (byte & (1 << 1)) >> 1;

-       /* If we are in normal mode set the boot count to 0 */
-       if(byte & 1)
-               byte &= 0x0f;
        outb(byte, RTC_PORT(1));
 }
 #else