linux-mips
[Top] [All Lists]

Re: how to support more than 512MB RAM for MIPS32 ?

To: figo zhang <figo1802@gmail.com>
Subject: Re: how to support more than 512MB RAM for MIPS32 ?
From: Kevin Hickey <khickey@netlogicmicro.com>
Date: Wed, 25 Nov 2009 08:37:37 -0600
Cc: ralf@linux-mips.org, linux-mips@linux-mips.org
In-reply-to: <c6ed1ac50911242234p12817b55r1a062d59949308bf@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <c6ed1ac50911242234p12817b55r1a062d59949308bf@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
We use HIGHMEM on the Au1300 to access any memory spaces >256 MB.  Our
I/O area starts at 256 MB.  We just map the extra DRAM to any area
outside the I/O space, enable highmem, and register it as BOOT_MEM_RAM
with add_memory_region.  Works great.

=Kevin
--
Kevin Hickey
Netlogic Microsystems


On Wed, 2009-11-25 at 14:34 +0800, figo zhang wrote:
> hi all,
> 
> I am using 24KEC SOC, i want to support larger more than 512MB RAM.
> The mips32 architure  in Kseg0/Kseg1,
> such as:
> 0x8000,0000 ~ 0x92c0,0000  # 300MB for RAM
> 0x92c0,0000 ~ 0xa000,0000  # 212 for I/O register
> 
> so, mips32 only support 300MB memory, i dont how to support more than
> 512MB in linux-mips kernel , such as 2GB memory? it is using HIGHMEM
> strategy
> for kernel(ZONE_HIGHMEM)?
> 
> Best,
> Figo.zhang


<Prev in Thread] Current Thread [Next in Thread>