Hi everyboby,
I'm designing a custom board based on M5329EVB and the BSP m532xevb based on
kernel uClinux 2.6.17.7-uc1 by Freescale.
M5329EVB Sdram is 32MB.
My custom board has a 64MB SDRAM.
To configure the ram size I changed the built time option
CFG_SDRAM_SIZE from 0x2000000 to 0x400000.
I modified also chip select in the file /arch/m68knommu/platform/532x/config.c,
function sdram_init()
adding the line :
/* Initialize SDRAM chip select */
MCF_SDRAMC_SDCS0 = (0
| MCF_SDRAMC_SDCS_BA(SDRAM_ADDRESS)
| MCF_SDRAMC_SDCS_CSSZ(MCF_SDRAMC_SDCS_CSSZ_64MBYTE));
It works but accessing the SDRAM becomes 8 time slower!!!
I have no idea what could have caused this side effect,
but I have to notice, that in original M5329EVB board bsp, the function
sdram_init(), would have done nothing,
because SDRAM initialization is perfomed by the bootloader dBUG.
Is it necessary to inizialize the SDRAM in the bootloader, or is it also
possible do that into the kernel (sdram_init())?
Could the slow access to SDRAM be due to that?
Or does it depend on something else it is missing or wrong?
Thanks a lot for any help
Greetings
Claudia
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev