Subject: Using all 64MB RAM on an HP Jornada 728
To: None <port-hpcarm@netbsd.org>
From: Michael W . Lucas <mwlucas@blackhelicopters.org>
List: port-hpcarm
Date: 04/16/2003 13:03:08
--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi,
Thanks, to Ignatios Souvatzis, I was able to get my Jornada 728 to
recognize and apparently use all 64MB of RAM. I've tested this patch
through a build of XFree86 and Emacs, so it seems fairly stable.
Just apply the attached patch to sys/arch/hpcarm/hpcarm/hcp_machdep.c,
recompile, and reboot. The credit goes to Ignatios, I just tested.
I'm not sure how this would interact with other hpcarm systems, but it
works nicely on mine. :-)
==ml
--
Michael Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org
http://www.BlackHelicopters.org/~mwlucas/
Absolute BSD: http://www.AbsoluteBSD.com/
--J2SCkAp4GZ/dPZZf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=jornada64mb
--- /usr/src/sys/arch/hpcarm/hpcarm/hpc_machdep.c-dist 2003-04-16 08:01:02.000000000 -0400
+++ /usr/src/sys/arch/hpcarm/hpcarm/hpc_machdep.c 2003-04-16 08:01:25.000000000 -0400
@@ -319,7 +319,7 @@
* XXX kill bootconfig and directly call uvm_physload
*/
bootconfig.dram[0].address = 0xc0000000;
- bootconfig.dram[0].pages = 8192;
+ bootconfig.dram[0].pages = 16384;
bootconfig.dramblocks = 1;
kerneldatasize = (u_int32_t)&end - (u_int32_t)KERNEL_TEXT_BASE;
--J2SCkAp4GZ/dPZZf--