From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Thu, 26 Feb 2015 11:38:21 +0100 Subject: [U-Boot] U-Boot stuck after relocation attempt on MX51 board In-Reply-To: References: <1424830787325-206738.post@n7.nabble.com> <1424899387250-206846.post@n7.nabble.com> <1424902136989-206862.post@n7.nabble.com> Message-ID: <20150226113821.2e46750f@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Beno?t, On Thu, 26 Feb 2015 00:56:00 +0100, Beno?t Th?baudeau wrote: > Dear Dave Kucharczyk, > > On Wed, Feb 25, 2015 at 11:08 PM, DaveKucharczyk > wrote: > > Fabio Estevam-2 wrote > >> Also, you said that your 512MB board version works fine, but the 256MB > >> fails. > >> > >> I suppose you are using two different binaries for each board, right? > >> You can't have a single binary for the two boards, unless you use the > >> SPL approach. > > > > Fabio, we use one binary. It has runtime memory discovery via gpio's > > (resistor reads). DRAM size is reported correctly from both boards. It just > > hangs on the 256MB board. > > > > We do not have SPL setup. > > You should try with 2015.01 as Fabio suggested. > > Also, check the CONFIG_SYS_TEXT_BASE of your board. From your log, I'm > wondering if it's not set too high, resulting in an overlap of the > pre- and post-relocation addresses occupied by your binary in the > 256-MiB case. /me wonders whether we should not add a test for this situation, with a conspicuous error message on the console stating that relocation will probably fail due to overlap. > Best regards, > Beno?t Amicalement, -- Albert.