I'm running montavista linux (2.4.18_mvl30-malta-mips_fp_le) on a board
that has 2 memory banks of physical memory.
1. 32MB from physical address 0x00000000
2. 16MB from physical address 0x20000000
Currently I can only access the first bank (by add_memory_region(0, 32
<< 20, BOOT_MEM_RAM) in prom_init() ).
I tried the obvious solution of adding another region at 0x20000000
(add_memory_region(0x20000000, 16 << 20, BOOT_MEM_RAM))
but that didn't seem to work. I've also tried to add a BOOT_MEM_RESERVED
region in between the regions in order to create a seemingly contiguous
memory, with no success.
My questions are:
Is it possible to access the second bank as well under MIPS ?
Is there a way to define a "hole" in the physical memory?
Do I have to use CONFIG_DISCONTIGMEM ? is it fully supported ?
Thanks for your help,
Direct : 972-4-9936237
Fax : 972-4-9890564
Email : firstname.lastname@example.org