Re: How to expend the SDRAM size from 64M bytes to 128MBytes. by Dean
Dean
Wed Dec 28 07:47:33 CST 2005
There will be a number of places where you need to make modifications.
1) SDRAM initialization code. This will be an assembly language .s file.
You need to make sure the SDRAM controller in your CPU is configured to
match the SDRAM on your board.
2) OEMAddressTable needs to map the additional physical memory to virtual
memory. This makes the memory available to the kernel.
3) config.bib should change to allow the OS to make use of the additional
RAM. This is a build time change. Alternatively, there are functions that
can be implemented to report the additional RAM at run time.
The minimal change you need to make is #1. That will not allow you to use
any additional RAM, but it will at least allow your new RAM to work like
your old RAM did.
--
Dean Ramsier - eMVP
BSQUARE Corporation
"cang.zhang" <cang.zhang@cpit.com.hk> wrote in message
news:O95k6W5CGHA.140@TK2MSFTNGP12.phx.gbl...
> Platform:samsung2410
> SDRAM 64M
>
> now I will expand my SDRAM from 64 Mbytes to 128M bytes , how can i do
> it?
>
> I searched the SDRAM from my platform,
> there has two points :
> kernel\arm\power.c
>
>
> After I replaced the sDRAM , my device display has some mistake, the
> screen is discorrect.
>
>