Subject: Re: -current 2004/03/13 on evbppc (explora451) only see 32 MB of RAM
To: None <port-powerpc@netbsd.org>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: port-powerpc
Date: 03/14/2004 17:18:46
On Sun, Mar 14, 2004 at 05:13:22PM +0100, Tru Huynh wrote:
> Hi,
> 
> My explora 450 (small footprint explora 451) only detect 32 MB of the 64 MB of
> RAM installed(correctly detected by the firmware). Did I overlooked something ?
> 
> Mar 14 14:40:48 explora450 /netbsd: NetBSD 1.6ZK (EXPLORA451) #12: Sat Mar 13 22:37:28 CET 2004
> Mar 14 14:40:48 explora450 /netbsd:     tru@kim:/home/NetBSD-current/obj/evbppc/home/tru/cvs/NetBSD-current/src/sys/arch/evbppc/compile/EXPLORA451
> Mar 14 14:40:48 explora450 /netbsd: NCD Explora451
> Mar 14 14:40:48 explora450 /netbsd: total memory = 32768 KB
> Mar 14 14:40:48 explora450 /netbsd: avail memory = 28960 KB
> Mar 14 14:40:48 explora450 /netbsd: elb0 (root)
> Mar 14 14:40:48 explora450 /netbsd: cpu0 at elb0: 66MHz 403 (Revision 20.1)

The pmap has only TLB_NRESERVED (4) reserved entries for memory and console
device. The framebuffer uses two, so only two entries are available for memory.

In file sys/arch/powerpc/include/ibm4xx/tlb.h you could set TLB_NRESERVED to 6
and see if it gets all memory.
-- 
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)