public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marcel <korgull@home.nl>
To: u-boot@lists.denx.de
Subject: [U-Boot] {Spam?} u-boot relocation
Date: Thu, 30 Dec 2010 23:34:50 +0100	[thread overview]
Message-ID: <201012302334.50711.korgull@home.nl> (raw)
In-Reply-To: <201012302038.36444.korgull@home.nl>

On Thursday, December 30, 2010 08:38:36 pm Marcel wrote:
> On Tuesday, December 28, 2010 05:48:20 pm Simon Glass wrote:
> > Hi,
> > 
> > (Is there documentation about this somewhere? - I couldn't find it). I
> > assume your board is hanging during relocation.
> > 
> > You could try putting this function back (but without the __ prefix)
> > 
> > void dram_init_banksize(void)
> > {
> > 
> >        gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE;
> >        gd->bd->bi_dram[0].size =  gd->ram_size;
> > 
> > }
> 
> Unfortunately no change by doing this, but thanks for the suggestion.

I tried gdb, but the output doesn't get me much further. It detects an infinite 
loop, but 

BFD: /arm/u-boot-usb/u-boot: invalid string offset 37 >= 0 for section `'
BFD: /arm/u-boot-usb/u-boot: invalid string offset 1 >= 0 for section `'
BFD: /arm/u-boot-usb/u-boot: invalid string offset 20 >= 0 for section `'
BFD: /arm/u-boot-usb/u-boot: invalid string offset 82 >= 0 for section `'
BFD: /arm/u-boot-usb/u-boot: invalid string offset 67 >= 0 for section `'
BFD: /arm/u-boot-usb/u-boot: invalid string offset 32 >= 0 for section `'
BFD: /arm/u-boot-usb/u-boot: invalid string offset 53 >= 0 for section `'
Remote debugging using localhost:65501
_start () at start.S:56
56              b       reset
Current language:  auto; currently asm
(gdb) c
Continuing.
_start () at start.S:56
56              b       reset
Infinite loop detected       
(gdb)

I have no cpu_init_f, is this normal ?

(gdb) b board_init_f
Breakpoint 1 at 0xe20: file board.c, line 283.
(gdb) b cpu_init_f
Function "cpu_init_f" not defined.
Make breakpoint pending on future shared library load? (y or [n]) n

Regards,
Marcel

      reply	other threads:[~2010-12-30 22:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-26 12:28 [U-Boot] {Spam?} u-boot relocation Marcel
2010-12-26 13:38 ` Reinhard Meyer
2010-12-26 19:05   ` Marcel
2010-12-26 20:10     ` Reinhard Meyer
2010-12-26 21:09       ` Marcel
2010-12-27 10:02         ` Albert ARIBAUD
2010-12-28 16:48           ` Simon Glass
2010-12-30 19:38             ` Marcel
2010-12-30 22:34               ` Marcel [this message]

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=201012302334.50711.korgull@home.nl \
    --to=korgull@home.nl \
    --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