questions on memory in linux

Josh Fryman (fryman@cc.gatech.edu)
Tue, 10 Jul 2001 14:43:44 -0400


hi,

we've got some intel IXP 1200 (spin B0) eval boards, and are running
linux in them. we have some questions about how to do specific things
with (a) memory and (b) the cygmon mini-boot loader...

(a) memory:
the IXP 1200 boards have 32M of SDRAM in two 16MB banks. the
bottom 24MB are used for linux, the rest are free...
however, we want to allocate some memory in that first bank
and *tie* it down so that it's always available at that address
physically to the IXP microengines as well as virtually to the
linux system. can anyone provide pointers to FAQs or other
documents for handling this? eg, some way to do a
malloc( 1MB ) and then get the true physical address of the
malloc results?

(b) the IXP 1200 has a SA-1100 core running the cygmon mini loader from
flash. is there any way to specify kernel-load arguments,
similar to how LILO works, with this system? any pointers to
where we can find out more details for this? the process is to
boot the cygmon from flash, give it the parameters for where to
TFTP the kernel / ramdisk from, and then let it run. we'd like
to force the kernel to run with a "mem=4M" type of setting so
it doesn't suck down our very meager memory for buffers we don't
want/need. (note, if we can do this, the part (a) above doesn't
necessarily go away... it's something we still need to know how
to do...)

thanks for any input,

josh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/