This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: [PATCH] SRAM timings for SA1100 (Assabet with Nepons


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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]