[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How can I change SDRAM size to 64M for CSB337 BSP?



Hello.

I have tried Rtems-4.7.1 on my own AT91RM9200 board, and the hello world worked well.
CSB337 board has 32MB SDRAM, but I have 64 MB.

I changed linkcmds:
.................
MEMORY
{
	sdram : ORIGIN = 0x20100000, LENGTH = 63M
	sram  : ORIGIN = 0x00200000, LENGTH = 16K
}

/*
 * Declare some sizes.
 */
_sdram_base = DEFINED(_sdram_base) ? _sdram_base : 0x20100000;
_sdram_size = DEFINED(_sdram_size) ? _sdram_size : 63M;
................. 

and memmap.c
.................
{0x20000000, 0x20000000,  64,    MMU_CACHE_WTHROUGH}, /* SDRAM */
.................

But the system hangs.
Any advice is welcome!