From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Tue, 10 Dec 2013 10:57:37 +0100 Subject: [U-Boot] SMDK5250 not booting on latest U-boot-samsung In-Reply-To: <20131209203518.6f61c160@lilith> References: <20131209203518.6f61c160@lilith> Message-ID: <20131210105737.03d3d017@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi again Rajeshwari, On Mon, 9 Dec 2013 20:35:18 +0100, Albert ARIBAUD wrote: > Hi Rajeshwari, > > On Mon, 9 Dec 2013 13:24:28 +0530, Rajeshwari Birje > wrote: > > > Hi All, > > > > I have tried booting SMDK5250 on the latest U-boot-Samsung branch, It > > builds fine but does not boot. > > Observation: > > If revert the following patch it works fine: > > commit 47ed5dd031d7d2c587e6afd386e79ccec1a1b7f7 > > Author: Albert ARIBAUD > > Date: Thu Nov 7 14:21:46 2013 +0100 > > > > arm: keep all sections in ELF file > > > > Current LDS files /DISCARD/ a lot of sections when linking ELF > > files, causing diagnostic tools such as readelf or objdump to > > produce partial output. Keep all section at link stage, filter > > only at objcopy time so that .bin remains minimal. > > > > Signed-off-by: Albert ARIBAUD > > Reviewed-by: Beno?t Th?baudeau > > > > Kindly do let me know if any changes to be made. > > Can you try a debug build? Meanwhile, I have done a test branch on the u-boot-arm repo that you can use to perform tests. The branch is 'test-smdk5250-full-ELF'. You should try progressively: - test-smdk5250-full-ELF^^^^ -- this is the commit before the ELF patch - test-smdk5250-full-ELF^^^ -- this limits sections that objcopy uses - test-smdk5250-full-ELF^^ -- this adds harmless sections to the ELF - test-smdk5250-full-ELF^ -- this moves .hash out of the .bin - test-smdk5250-full-ELF -- this moves .got.plt out of the .bin Please let me know which branch works and which does not. Amicalement, -- Albert.