Hi Christian,
2012/10/8 Christian Gmeiner <christian.gmeiner at gmail.com>:
> HI all
>
> I am running into some usb problems with coreboot & seabios:
I have similar problems with Geode GX2.
Kevin has helped me doing some debugging. (see archives)
It has been a while but i recall having memory corruptions while using
SeaBIOS.
With coreboot alone i had no memory problems.
I used a patched memtest86+ for testing.
See attached patch.
You have to adapt it to LX. (see memtest86 without the +)
Succes, Nils.
--- memtest86+-4.20/config.h
+++ memtest86+-4.20/config.h
@@ -13,13 +13,13 @@
/* SERIAL_CONSOLE_DEFAULT - The default state of the serial console. */
/* This is normally off since it slows down testing. Change to a 1 */
/* to enable. */
-#define SERIAL_CONSOLE_DEFAULT 0
+#define SERIAL_CONSOLE_DEFAULT 1
/* SERIAL_TTY - The default serial port to use. 0=ttyS0, 1=ttyS1 */
#define SERIAL_TTY 0
/* SERIAL_BAUD_RATE - Baud rate for the serial console */
-#define SERIAL_BAUD_RATE 9600
+#define SERIAL_BAUD_RATE 115200
/* START_FAIL_SAFE - Default 0 = normal. Change to 1 to always start in fail safe mode */
#define START_FAIL_SAFE 0
--- memtest86+-4.20/init.c
+++ memtest86+-4.20/init.c
@@ -477,6 +477,9 @@
l1_cache = 8;
off = 6;
break;
+ /* case 5 doesn't exist, because it would be the */
+ /* AMD Geode GX, but the vendor ID string for that */
+ /* part says "Geode by NSC", handled elsewhere. */
case 6:
case 7:
cprint(LINE_CPU, 0, "AMD K6");
@@ -667,6 +670,11 @@
}
l1_cache = cpu_id.cache_info[3] + cpu_id.cache_info[7];
l2_cache = (cpu_id.cache_info[11]*256) + cpu_id.cache_info[10];
+ } else if ( cpu_id.vend_id[9] == 'N' ) { /* Geode by NSC (now AMD) */
+ cprint(LINE_CPU, 0, "AMD Geode GX");
+ off = 12;
+ l1_cache = cpu_id.cache_info[3];
+ l1_cache += cpu_id.cache_info[7];
} else { /* GenuineIntel */
if (cpu_id.type == 4) {
switch(cpu_id.model) {
_______________________________________________
SeaBIOS mailing list
[email protected]
http://www.seabios.org/mailman/listinfo/seabios