From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Wed, 4 Jan 2012 16:12:09 -0600 Subject: [U-Boot] add nand spl boot for qi_lb60 board In-Reply-To: <4F04CC32.6030309@freescale.com> References: <1325417461-13537-1-git-send-email-xiangfu@openmobilefree.net> <4F04CC32.6030309@freescale.com> Message-ID: <4F04CEB9.8010205@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/04/2012 04:01 PM, Scott Wood wrote: > 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? Or compare the resulting binaries, see what's actually changed. -Scott