From: Haiying Wang Date: Thu, 4 Nov 2010 14:22:52 -0400 Subject: [U-Boot] patch for gc-sections In-Reply-To: <1288888571.8967.1598.camel@petert> References: <1288811250.1820.96.camel@haiying-laptop> <1288816705.8967.1571.camel@petert> <1288880387.1796.111.camel@haiying-laptop> <1288885548.8967.1590.camel@petert> <1288887364.1796.237.camel@haiying-laptop> <1288888571.8967.1598.camel@petert> Message-ID: <1288894972.1796.292.camel@haiying-laptop> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 2010-11-04 at 09:36 -0700, Peter Tyser wrote: > Glad to hear. I'll submit an official patch shortly. Just to make > sure, have you tried running one of the nand-spl images after the > patch > I sent yesterday? It'd be good to get confirmation that the > -gc-sections doesn't have any accidental side effects as I wasn't able > to test it. Because of the second bug, I can not test it based on the top of the uboot tree. I just use 2010.06 version plus your two patches, and run the nand-spl image on MPC8569MDS board. Only "NAND boot... transfering control" is printed out in the terminal. It means the final u-boot image doesn't work. Then I make changes to u-boot-nand.lds and u-boot-nand_spl.lds, following the changes you made for u-boot.lds, I get the first u-boot line "U-Boot 2010.06..." printed out which means the final u-boot image can work a little bit. But nothing else is showed up in terminal. Do you have any idea on how to make changes to u-boot-nand/_spl.lds? Thanks. Haiying