public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] SMDK5250 not booting on latest U-boot-samsung
Date: Tue, 10 Dec 2013 10:57:37 +0100	[thread overview]
Message-ID: <20131210105737.03d3d017@lilith> (raw)
In-Reply-To: <20131209203518.6f61c160@lilith>

Hi again Rajeshwari,

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

> Hi Rajeshwari,
> 
> On Mon, 9 Dec 2013 13:24:28 +0530, Rajeshwari Birje
> <rajeshwari.birje@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@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@aribaud.net>
> >     Reviewed-by: Beno?t Th?baudeau <benoit.thebaudeau@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.

  reply	other threads:[~2013-12-10  9:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-09  7:54 [U-Boot] SMDK5250 not booting on latest U-boot-samsung Rajeshwari Birje
2013-12-09 19:35 ` Albert ARIBAUD
2013-12-10  9:57   ` Albert ARIBAUD [this message]
2013-12-13  7:09     ` Albert ARIBAUD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131210105737.03d3d017@lilith \
    --to=albert.u.boot@aribaud.net \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox