From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Eric_B=E9nard?= Date: Thu, 16 Jul 2009 18:02:17 +0200 Subject: [U-Boot] [PATCH 1/1] Add support for Eukrea CPU9260 SBC In-Reply-To: <20090716142229.C66BC832E416@gemini.denx.de> References: <1247735589-15527-1-git-send-email-eric@eukrea.com> <20090716122936.08360832E416@gemini.denx.de> <4A5F20DB.2000009@eukrea.com> <20090716142229.C66BC832E416@gemini.denx.de> Message-ID: <4A5F4F09.2090406@eukrea.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Wolfgang, Wolfgang Denk a ?crit : >> I'm not sure it's possible to use a generic geometry/timings there else >> u-boot may never relocate. >> How would you do this ? > > Well, normally you have 2 or 3 row/col combinations that have to be > considered; you try these in turn until you find one where > get_ram_size() returns a non-zero size; if several work, you use that > which returns the biggest size. > > See for example "board/tqc/tqm8xx/tqm8xx.c" - it tries 8, 9 and 10 > column mode... > I've tried something very close to what is done in tqm8xx but I don't manage to get something reliable : either it hangs or I get data abort. After checking the datasheet, I don't understand how we can change the geometry of this SDRAM controler while running from SDRAM : each time we increase the colum number, the address are modified thus we can't execute any more u-boot's code as it's no more where we are expecting it. Eric