From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Wed, 4 Jan 2012 16:01:22 -0600 Subject: [U-Boot] add nand spl boot for qi_lb60 board In-Reply-To: <1325417461-13537-1-git-send-email-xiangfu@openmobilefree.net> References: <1325417461-13537-1-git-send-email-xiangfu@openmobilefree.net> Message-ID: <4F04CC32.6030309@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 01/01/2012 05:31 AM, Xiangfu Liu wrote: > Hi Scott Wood > > this is the patch I try to add nand spl boot for qi_lb60 board > > this patch works fine under qi_lb60(ben nanonote) but there are three > 'extern' lines under: nand_spl/board/qi/qi_lb60/nand_spl.c > > those 'extern' lines already in jz4740.h, my question is when I remove > those three lines under nand_spl/board/qi/qi_lb60/nand_spl.c, it will > make u-boot-nand.bin break. can't boot the device anymore. Are you *sure* that's the only difference between the working and non-working versions? Could you double-check? By "can't boot", you mean that it builds cleanly (no errors or warnings), but nothing happens after power on? > Please give me some advice how to debug the error. JTAG? Serial output? -Scott