|To:||"David Daney" <email@example.com>|
|Subject:||Re: smp8634 add memory at dram1|
|From:||"David Kuk" <firstname.lastname@example.org>|
|Date:||Tue, 20 Nov 2007 12:22:30 +0800|
Thanks you all for helping.|
AS Daney suggested, I have map the dram1's first 64 MB memory (total 128) to remap register 3,
and add the remap register 3 into the BOOT_MEMROY_RAM use the method add_memory_region.
When i bootup the linux kernel print out that it have totally 176MB ram , which is 06fe0000@10020000(dram0) and 04000000@08000000(64mb dram1 at remap register3). How ever, This mapping shows that the total memory in the linux kernel is not contiguous. the OS can run, but as i see the source code, when the kernel divided these memory into pages, it did not consider if the memory is contiguous or not, is it ok ? and how should i allocate the memories into ZONE[DMA] and ZONE[NORMAL], is it possible if I wish all the 176MB memory can be allocate as ZONE[DMA]?
On 11/15/07, David Daney <email@example.com> wrote:
David Kuk wrote:
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||Re: [SPAM] how to use memory before kernel load address?, Markus Gothe|
|Next by Date:||Usage of mmap command, kaka|
|Previous by Thread:||RE: smp8634 add memory at dram1, Gustafsson Marcus-MGU001|
|Next by Thread:||Re: smp8634 add memory at dram1, David Kuk|
|Indexes:||[Date] [Thread] [Top] [All Lists]|