From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ira W. Snyder Date: Fri, 6 Jan 2012 08:21:17 -0800 Subject: [U-Boot] A Problem of u-boot on TI PandaBoard porting In-Reply-To: <4F068820.5060301@logicpd.com> References: <4F068820.5060301@logicpd.com> Message-ID: <20120106162116.GA10470@ovro.caltech.edu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Jan 06, 2012 at 12:35:28AM -0500, Peter Barada wrote: > On 01/06/2012 12:21 AM, Qiao.HelloWorld at gmail.com wrote: > > 2012/1/6 John Rigby > > > >>> *u-boot/spl/u-boot-spl.lds:1: syntax error > >>> make[1]: *** [/home/qian/Desktop/u-boot/spl/u-boot-spl] Error 1 > >>> make[1]: Leaving directory `/home/qian/Desktop/u-boot/spl' > >>> make: *** [spl/u-boot-spl.bin] Error 2* > >>> > >>> I?ve check the file ?spl/u-boot-spl.lds?, the first line is a comment as > >>> below: > >>> *// add PandaTest Configuration* > >>> > >> Change that comment to a C style one like /* ..... */ and I think the > >> problem will go away. > > > > But it doesn't work...because the 'spl/u-boot-spl.lds' is automatically > > generated while building. Even if I modify this file, it will be replaced > > again when I rebuild. > > > > However, thanks for your reply. > Then dig through the build log to find where the file is generated from > and modify that file... > I've run into a problem similar to this before. You probably have a C++ style comment inside your board configuration file. Change it to a C style comment instead, and the problem goes away. Ira