[U-Boot] SMDK5250 not booting on latest U-boot-samsung

Albert ARIBAUD albert.u.boot at aribaud.net
Tue Dec 10 10:57:37 CET 2013


Hi again Rajeshwari,

On Mon, 9 Dec 2013 20:35:18 +0100, Albert ARIBAUD
<albert.u.boot at aribaud.net> wrote:

> Hi Rajeshwari,
> 
> On Mon, 9 Dec 2013 13:24:28 +0530, Rajeshwari Birje
> <rajeshwari.birje at gmail.com> 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 <albert.u.boot at aribaud.net>
> > 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 <albert.u.boot at aribaud.net>
> >     Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau at advansee.com>
> > 
> > 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.


More information about the U-Boot mailing list