public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] [PATCH] SRAM timings for SA1100  (Assabet with Neponset)
@ 2001-07-25  9:27 Stefan Eletzhofer
  2001-07-25  9:35 ` [ECOS] [PATCH] SRAM timings for SA1100 (Assabet with Nepons Gary Thomas
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Eletzhofer @ 2001-07-25  9:27 UTC (permalink / raw)
  To: ecos

Hello,
below is my patch against the current 1.2 CVS version of hal_platform_setup.h
to get the Neponset Expansion Board working unter Ecos/RedBoot.

This patch uses the timings as in the bootldr bootloader for LINUX. It works
perfectly for me (i use BootLdr to boot a 2.4.6 Linux kernel and use PCMCIA
through the SA1111 quite heavily).

--- hal_platform_setup.h.orig	Wed Jul 25 18:19:21 2001
+++ hal_platform_setup.h	Mon Jul  2 19:44:00 2001
@@ -195,18 +195,26 @@
         
 // DRAM controller initialization        
 dram_table:
+// msc0 = 4b384370
+// msc1 = 22212419
+// msc2 = 42196669
+// mecr = 994a994a
         .word   SA11X0_DRAM0_CAS_0,           0xAAAAAA7F
         .word   SA11X0_DRAM0_CAS_1,           0xAAAAAAAA
         .word   SA11X0_DRAM0_CAS_2,           0xAAAAAAAA
-//        .word   SA11X0_STATIC_CONTROL_0,      0x4B384B38
-//        .word   SA11X0_STATIC_CONTROL_1,      0x22212419
+        //.word   SA11X0_STATIC_CONTROL_0,      0x4B384B38
+        //.word   SA11X0_STATIC_CONTROL_1,      0x22212419
+        .word   SA11X0_STATIC_CONTROL_0,      0x4b384370
+        .word   SA11X0_STATIC_CONTROL_1,      0x22212419
         .word   SA11X0_EXP_BUS_CONFIGURATION, 0x994A994A
         .word   SA11X0_REFRESH_CONFIGURATION, 0x49FC0327
         .word   SA11X0_DRAM2_CAS_0,           0xAAAAAA7F
         .word   SA11X0_DRAM2_CAS_1,           0xAAAAAAAA
         .word   SA11X0_DRAM2_CAS_2,           0xAAAAAAAA
-//        .word   SA11X0_STATIC_CONTROL_2,      0x42194449
+        //.word   SA11X0_STATIC_CONTROL_2,      0x42194449
+        .word   SA11X0_STATIC_CONTROL_2,      0x42196669
         .word   SA11X0_SMROM_CONFIGURATION,   0xAFCCAFCC
+        //.word   SA11X0_SMROM_CONFIGURATION,   0x994a994a
         .word   SA11X0_DRAM_CONFIGURATION,    0x72547254        // Disabled
         .word   0, 0
 19:

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [ECOS] [PATCH] SRAM timings for SA1100  (Assabet with Nepons
  2001-07-25  9:27 [ECOS] [PATCH] SRAM timings for SA1100 (Assabet with Neponset) Stefan Eletzhofer
@ 2001-07-25  9:35 ` Gary Thomas
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2001-07-25  9:35 UTC (permalink / raw)
  To: schuehle; +Cc: ecos

I plan to look at this, but it may require some configury since these changes
seem to be very dependent upon the Assabet revision.

I'll let you know when & how they have been integrated into the CVS sources.

On 25-Jul-2001 Stefan Eletzhofer wrote:
> Hello,
> below is my patch against the current 1.2 CVS version of hal_platform_setup.h
> to get the Neponset Expansion Board working unter Ecos/RedBoot.
> 
> This patch uses the timings as in the bootldr bootloader for LINUX. It works
> perfectly for me (i use BootLdr to boot a 2.4.6 Linux kernel and use PCMCIA
> through the SA1111 quite heavily).
> 
> --- hal_platform_setup.h.orig Wed Jul 25 18:19:21 2001
> +++ hal_platform_setup.h      Mon Jul  2 19:44:00 2001
> @@ -195,18 +195,26 @@
>          
>  // DRAM controller initialization        
>  dram_table:
> +// msc0 = 4b384370
> +// msc1 = 22212419
> +// msc2 = 42196669
> +// mecr = 994a994a
>          .word   SA11X0_DRAM0_CAS_0,           0xAAAAAA7F
>          .word   SA11X0_DRAM0_CAS_1,           0xAAAAAAAA
>          .word   SA11X0_DRAM0_CAS_2,           0xAAAAAAAA
> -//        .word   SA11X0_STATIC_CONTROL_0,      0x4B384B38
> -//        .word   SA11X0_STATIC_CONTROL_1,      0x22212419
> +        //.word   SA11X0_STATIC_CONTROL_0,      0x4B384B38
> +        //.word   SA11X0_STATIC_CONTROL_1,      0x22212419
> +        .word   SA11X0_STATIC_CONTROL_0,      0x4b384370
> +        .word   SA11X0_STATIC_CONTROL_1,      0x22212419
>          .word   SA11X0_EXP_BUS_CONFIGURATION, 0x994A994A
>          .word   SA11X0_REFRESH_CONFIGURATION, 0x49FC0327
>          .word   SA11X0_DRAM2_CAS_0,           0xAAAAAA7F
>          .word   SA11X0_DRAM2_CAS_1,           0xAAAAAAAA
>          .word   SA11X0_DRAM2_CAS_2,           0xAAAAAAAA
> -//        .word   SA11X0_STATIC_CONTROL_2,      0x42194449
> +        //.word   SA11X0_STATIC_CONTROL_2,      0x42194449
> +        .word   SA11X0_STATIC_CONTROL_2,      0x42196669
>          .word   SA11X0_SMROM_CONFIGURATION,   0xAFCCAFCC
> +        //.word   SA11X0_SMROM_CONFIGURATION,   0x994a994a
>          .word   SA11X0_DRAM_CONFIGURATION,    0x72547254        // Disabled
>          .word   0, 0
>  19:

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-07-25  9:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-25  9:27 [ECOS] [PATCH] SRAM timings for SA1100 (Assabet with Neponset) Stefan Eletzhofer
2001-07-25  9:35 ` [ECOS] [PATCH] SRAM timings for SA1100 (Assabet with Nepons Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).