Non-contiguous physical memory

Kumar Gala galak at kernel.crashing.org
Sat Jan 24 06:50:16 EST 2009


On Jan 23, 2009, at 11:52 AM, Michele Pallaro wrote:

> Hello,
> 	I have a similar problem with my custom board CPU mpc8548 (E500V2)  
> with
> 4Gbytes of RAM
>
> 	  0x0000_0000 --    0x7FFF_FFFF  2Gbytes
> 	0x1_0000_0000 -- 0x1_7FFF_FFFF   2Gbytes
>
> I Enable the option PHYS_64BIT, and set in dts
>
> memory {
>                #address-cells = <2>;
>                #size-cells = <1>;
>                device_type = "memory";
>                reg = <00000000 00000000 00000000 7FFFFFFF
>                       00000001 00000000 00000000 7FFFFFFF>;
>        };
>
> But the kernel can see just 2Gbytes of memory.
> How the kernel can see the other 2Gbytes ?
>
> 	Michele

This should be:

reg = < 0x00000000 0x00000000 0x00000000 0x80000000
         0x00000001 0x00000000 0x00000000 0x80000000 >;

Its a start, size pair.

- k



More information about the Linuxppc-dev mailing list