From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Sun, 03 Apr 2011 19:50:12 +0200 Subject: [U-Boot] [PATCH 1/2] MX31: mx31pdk: fix nand_spl In-Reply-To: <4D986353.5090505@free.fr> References: <1301824909-26108-1-git-send-email-sbabic@denx.de> <4D986353.5090505@free.fr> Message-ID: <4D98B354.8000606@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 04/03/2011 02:08 PM, Albert ARIBAUD wrote: > Hi Stefano, > Hi Albert, > Le 03/04/2011 12:01, Stefano Babic a ?crit : >> Commit f326cbba98bae21d41df8daac0bd78121d557af1 breaks mx31pdk, >> as the _end section in u-boot.lds is missing for the nand_spl >> production. > > What command line should one use to reproduce the issue? you should issue mx31pdk_nand. I do not know why there is a special target in the Makefile, I do not think this is necessary and only boards.cfg could be used. But this has nothing to do with the reported error, answering your question I have seen something else strange ;-) > I just did a > ./MAKEALL mx31pdk from the current u-boot-arm master branch and it > builds fine, which I suspect sould not be possible if it missed the _end > symbol. The mx31pdk supports booting from NOR or from NAND, using two different configuration. You compiled for NOR, and everything works fine - only the nand_spl part has this issue. Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================