Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: -current 2004/03/13 on evbppc (explora451) only see 32 MB of RAM



On Sun, Mar 14, 2004 at 05:18:46PM +0100, Juergen Hannken-Illjes wrote:
> 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
...
> 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.

bingo! that fixed the memory detection :D

Mar 14 17:46:52 explora450 /netbsd: NetBSD 1.6ZK (EXPLORA451) #13: Sun Mar 14 
18:06:00 CET 2004
Mar 14 17:46:52 explora450 /netbsd:     
tru@kim:/home/NetBSD-current/obj/evbppc/home/tru/cvs/NetBSD-current/src/sys/arch/evbppc/compile/EXPLORA451
Mar 14 17:46:52 explora450 /netbsd: NCD Explora451
Mar 14 17:46:52 explora450 /netbsd: total memory = 65536 KB
Mar 14 17:46:52 explora450 /netbsd: avail memory = 61536 KB

Thanks a lot,

Tru



Home | Main Index | Thread Index | Old Index