All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] MPC8315 uboot hangs on relocation
Date: Thu, 07 Jan 2010 14:57:27 -0500	[thread overview]
Message-ID: <4B463CA7.1040409@ge.com> (raw)
In-Reply-To: <839118.2412.qm@web112320.mail.gq1.yahoo.com>

Sureshkumar Nagarathinam wrote:
> Hi All, 
> 
> I am porting the u-boot for a  customized board based on MPC8315
> processor. It has DDR2 SDRAM of 128 MB & 8 MB of flash.  I found that
> the code hangs during the relocation of the code, exactly in the
> following line  (@ relocation function in cpu/mpc83xx/start.S)
>              lwz  r5, GOT(__bss_start) 

Besides what Wolfgang wrote, are you sure you have your memory map set 
up properly so GOT(__bss_start) is mapped to a valid piece of memory? 
If your memory map is not configured properly, you might be getting a 
double bus fault (first fault due to unmapped memory, second fault due 
to the bus fault vector causing a bus fault), causing the processor to 
curl up and die.

Depending on processor, processor configuration, and phase of the moon, 
sometimes it is actually the next instruction that is causing the bus 
fault because the processor can prefetch and speculatively execute 
instructions.  Probably not in this case, but be warned.

[snip]

> Thank you in advance for helping
> Regards,
> Suresh

Good luck,
gvb

      parent reply	other threads:[~2010-01-07 19:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-07  1:46 [U-Boot] MPC8315 uboot hangs on relocation Sureshkumar Nagarathinam
2010-01-07 18:54 ` Wolfgang Denk
2010-01-07 19:57 ` Jerry Van Baren [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=4B463CA7.1040409@ge.com \
    --to=gerald.vanbaren@ge.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.