This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Static RAM timings on Assabet/Neponset
- To: ecos <ecos-discuss at sourceware dot cygnus dot com>
- Subject: [ECOS] Static RAM timings on Assabet/Neponset
- From: schuehle at t-online dot de (Stefan Eletzhofer)
- Date: Thu, 28 Jun 2001 17:43:30 +0200
- Reply-To: stefan dot eletzhofer at pruftechnik-rv dot com
Hello,
I am using an Assabet Dev Board with Neponset expansion board attached. I use
RedBoot to boot Linux, Kernel 2.4.5-rmk6-np1. I use a precompiled version of
Redboot, which works fine (TFTP over CF card etc.).
However, when the Kernel tries to detect the SA1111 companion Chip on the
extension board, it cannot correctly read the chip id. People on the arm-kernel
list have pointed me to the fact that static ram timings has to be set
correctly to detect/use the sa1111. Using the BLOB bootloader the kernel was
able to detect the sa1111, so my hardware is ok.
I searched a bit and found that in hal_platform_setup.h initialization of
static memory control is disabled. Why? How do i best enable/change this? Or am
I completely wrong here?
Thanks,
Stefan
-----------[snip]--------------
// DRAM controller initialization
dram_table:
.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_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_SMROM_CONFIGURATION, 0xAFCCAFCC
.word SA11X0_DRAM_CONFIGURATION, 0x72547254 // Disabled
.word 0, 0
--------[snap]--------------------