diff options
-rw-r--r-- | multitech/recipes/at91bootstrap/at91bootstrap-2.13/sdram_fast_slew_print.patch | 12 | ||||
-rw-r--r-- | multitech/recipes/at91bootstrap/at91bootstrap_2.13.bbappend | 13 |
2 files changed, 23 insertions, 2 deletions
diff --git a/multitech/recipes/at91bootstrap/at91bootstrap-2.13/sdram_fast_slew_print.patch b/multitech/recipes/at91bootstrap/at91bootstrap-2.13/sdram_fast_slew_print.patch new file mode 100644 index 0000000..06241cb --- /dev/null +++ b/multitech/recipes/at91bootstrap/at91bootstrap-2.13/sdram_fast_slew_print.patch @@ -0,0 +1,12 @@ +Index: at91bootstrap-2.13/board/at91sam9g20ek/at91sam9g20ek.c +=================================================================== +--- at91bootstrap-2.13.orig/board/at91sam9g20ek/at91sam9g20ek.c 2010-01-12 15:13:39.000000000 -0600 ++++ at91bootstrap-2.13/board/at91sam9g20ek/at91sam9g20ek.c 2014-04-25 15:05:10.415646999 -0500 +@@ -116,6 +116,7 @@ + #endif /* CONFIG_VERBOSE */ + + #ifdef CONFIG_SDRAM ++ dbg_print("SDRAM: fast slew rate\r\n"); + /* Initialize the matrix (memory voltage = 3.3) */ + writel((readl(AT91C_BASE_CCFG + CCFG_EBICSA)) | AT91C_EBI_CS1A_SDRAMC | (1<<16), AT91C_BASE_CCFG + CCFG_EBICSA); + diff --git a/multitech/recipes/at91bootstrap/at91bootstrap_2.13.bbappend b/multitech/recipes/at91bootstrap/at91bootstrap_2.13.bbappend index 9ebb283..a21dfa7 100644 --- a/multitech/recipes/at91bootstrap/at91bootstrap_2.13.bbappend +++ b/multitech/recipes/at91bootstrap/at91bootstrap_2.13.bbappend @@ -1,14 +1,23 @@ FILESEXTRA := "${THISDIR}" FILESPATHBASE =. "${FILESEXTRA}:" -PR .= ".corecdp5" +PR .= ".corecdp6" SRC_URI += "file://defconfig \ file://nand_ids_toshiba.patch \ - file://sdram_slow_slew_rate.patch \ file://memory_bus_1.8v.patch \ " +# fast SDRAM slew rate for mtcdp (print on boot) +SRC_URI_append_mtcdp = " file://sdram_fast_slew_print.patch" + +# slow SDRAM slew rate for mt100eocg +SRC_URI_append_mt100eocg = " file://sdram_slow_slew_rate.patch" +SRC_URI_append_mt100eocg-pcie-dk = " file://sdram_slow_slew_rate.patch" + # run memory bus at 1.8v for mt100eocg AT91BOOTSTRAP_FLAGS_append_mt100eocg = " -DCONFIG_USER_EBI_1V8" AT91BOOTSTRAP_FLAGS_append_mt100eocg-pcie-dk = " -DCONFIG_USER_EBI_1V8" + +# uncomment to enable watchdog in bootstrap +#SRC_URI += " file://at91bootstrap-2.13-enable-watchdog.patch" |