From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2569 invoked by alias); 10 May 2005 02:11:41 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 2520 invoked from network); 10 May 2005 02:11:33 -0000 Received: from unknown (HELO wproxy.gmail.com) (64.233.184.203) by sourceware.org with SMTP; 10 May 2005 02:11:33 -0000 Received: by wproxy.gmail.com with SMTP id 37so1458237wra for ; Mon, 09 May 2005 19:11:32 -0700 (PDT) Received: by 10.54.39.76 with SMTP id m76mr180254wrm; Mon, 09 May 2005 19:11:32 -0700 (PDT) Received: by 10.54.34.79 with HTTP; Mon, 9 May 2005 19:11:32 -0700 (PDT) Message-ID: <29f916510505091911a2bad0b@mail.gmail.com> Date: Tue, 10 May 2005 07:35:00 -0000 From: alfred hitch Reply-To: alfred hitch To: ecos-discuss@ecos.sourceware.org In-Reply-To: <29f91651050509011666a5febc@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <29f91651050509011666a5febc@mail.gmail.com> Subject: [ECOS] Fwd: dynamic memory size X-SW-Source: 2005-05/txt/msg00133.txt.bz2 Hi All, any suggestions ? how does memory probe work ? any sample code one can point to ? any dependencies in doing this one has on sdram memory configuration controller registers ? as I am not too sure if ixdp425 controller has this option also ? Cheers, Alfred ---------- Forwarded message ---------- From: alfred hitch Date: May 9, 2005 4:16 AM Subject: dynamic memory size To: ecos-discuss@ecos.sourceware.org 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=3DXXX 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