Subject: Kernel Config Support for 64 MB of Ram on Jornada 728
To: None <port-hpcarm@netbsd.org>
From: Bryan Vyhmeister <bsd@hub3.net>
List: port-hpcarm
Date: 09/15/2003 10:26:50
I should preface this by stating that I know very little about programming and
this is just an idea I would like to implement. I could be totally wrong about
how to do it though.
Wouldn't it be possible to implement this patch with an ifdef?
--- /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;
This is a patch by Ignatios Souvatzis to enable all 64 MB of RAM on a Jornada
728. Michael W. Lucas posted this to the list. Wouldn't the following work?
(Disclaimer: I really don't know what I am talking about but it looks good in
theory.)
bootconfig.dram[0].address = 0xc0000000;
#ifdef JORNADA728
bootconfig.dram[0].pages = 16384;
#else
bootconfig.dram[0].pages = 8192;
#endif
bootconfig.dramblocks = 1;
kerneldatasize = (u_int32_t)&end - (u_int32_t)KERNEL_TEXT_BASE;
In the kernel config you would have:
options JORNADA728
Then this would theoretically enable all 64 MB of RAM. Am I even on the right
track at all?
I would just like to have a more permanent solution to the 64 MB issue. Thank
you for your time.
Bryan