This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
dynamic memory size
- From: alfred hitch <alfred dot hitch at gmail dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 9 May 2005 04:16:13 -0400
- Subject: [ECOS] dynamic memory size
- Reply-to: alfred hitch <alfred dot hitch at gmail dot com>
Hi,
I have a perhaps basic question on redboot.
Is redboot able to probe the actual physical memory on board and pass
it on linux command line ?
I could only see the #define which fix'es the installed memory.
Say we have 2 versions of board, with different h/w memory configurations,
how can we probe and pass to linux kernel the correct mem=XXX size.
Please point to me the reference code / exisiting code / any patch
which has such memory detection thing.
( I know it can be done, as I have done it once on netbsd plattform
from user plane memory chips register reading and all )
Cheers,
Alfred
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss