From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Machalek Subject: Re: X-loader / U-Boot query Date: Thu, 08 Oct 2009 09:46:42 -0500 Message-ID: <4ACDFB52.2080100@astc-design.com> References: <4ACDE1DF.1010303@mlbassoc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from 75-150-230-173-Illinois.hfc.comcastbusiness.net ([75.150.230.173]:46658 "HELO us2.astc-design.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with SMTP id S1751567AbZJHPFj (ORCPT ); Thu, 8 Oct 2009 11:05:39 -0400 In-Reply-To: <4ACDE1DF.1010303@mlbassoc.com> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Gary Thomas Cc: "linux-omap@vger.kernel.org" The problem is located in u-boot/cpu/arm_cortexa8/omap3/mem.c Function do_sdrc_init() There is an assumption that the RAM size on each CS is maximum of 128M. See this line: writel(RASWIDTH_13BITS | CASWIDTH_10BITS | ADDRMUXLEGACY | RAMSIZE_128 | BANKALLOCATION | B32NOT16 | B32NOT16 | DEEPPD | DDR_SDRAM, &sdrc_base->cs[cs].mcfg); Adam Gary Thomas wrote: > I have a new board - OMAP 3530 with 512MB DRAM & NAND > I've build X-loader and U-Boot for it and it mostly comes > up. The sources I used (based on recommendations from the > BeagleBoard pages) were: > http://git.gitorious.org/x-load-omap3/mainline.git > git://git.denx.de/u-boot.git > > I had to make a small change to get it to recognize the > larger NAND FLASH device. > > The problem I have now is that it's only seeing 1/2 (256MB) > of the available DRAM. > > * Does anyone know how to get it to see all 512MB? > * Is there a better place to ask/discuss these questions? > A cursory look around did not point to anything fresh (most > of the web pages & Wikis I looked are are _years_ old) > > Thanks for any help/pointers >