From: Ira Snyder <iws@ovro.caltech.edu>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Freescale MPC8349EMDS hang on boot
Date: Thu, 17 Jul 2008 16:18:00 -0700 [thread overview]
Message-ID: <20080717231800.GD29634@ovro.caltech.edu> (raw)
In-Reply-To: <20080717165453.8080f4ff.kim.phillips@freescale.com>
On Thu, Jul 17, 2008 at 04:54:53PM -0500, Kim Phillips wrote:
> On Wed, 16 Jul 2008 15:28:21 -0700
> Ira Snyder <iws@ovro.caltech.edu> wrote:
>
> > During the development, I noticed that adding and removing certain
> > pieces of debugging code (which did not change any program state) caused
> > the board to hang on boot, like so:
> > ================================================================================
> >
> > U-Boot 1.3.4-rc1-00001-gb89881c-dirty (Jul 16 2008 - 14:54:56) MPC83XX
> >
> > Reset Status: External/Internal Soft, External/Internal Hard
> >
> > CPU: e300c1, MPC8349EA, Rev: 3.0 at 528 MHz, CSB: 264 MHz
> > Board: Freescale MPC8349EMDS
> > I2C:
>
> try reverting this commit:
>
> commit 1c3dd43338a077165e7e0309cb3994e65d2bdbf8
> Author: Grant Likely <grant.likely@secretlab.ca>
> Date: Tue Nov 13 22:18:33 2007 -0700
>
> powerpc: Backout relocation changes.
>
> Ugh. I *hate* to back this change out, but these compiler flags don't
> work for relocation on all versions of GCC. I've not been able to
> reproduce the environment in my setup (and hence, not been able to
> find a combination that *does* work), so I've got no choice but to go
> back to the old gcc flags and linker script.
>
> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
>
> Kim
Ok, I have tried reverting this commit. With the patch from my previous
email that aligns the .data section start address to a multiple of 32
bytes, the board still hangs on boot.
I removed the ". = ALIGN(32);" from the mpc83xx linker script, and (by
coincidence the .data section start address was still aligned to 32
bytes (the board still hung on boot). I added ". = . + 4;" in the same
place as the ALIGN so I did not have to make any code changes. This
moved the start address of .data off of the 32 byte boundary. The board
booted up fine in this case.
So the revert didn't seem to help. The board still breaks when .data
starts on a 32 byte boundary.
I hope this helps narrow down the problem.
Thanks again for the help,
Ira
prev parent reply other threads:[~2008-07-17 23:18 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-16 22:28 [U-Boot-Users] Freescale MPC8349EMDS hang on boot Ira Snyder
2008-07-17 21:54 ` Kim Phillips
2008-07-17 22:50 ` Ira Snyder
2008-07-18 11:59 ` Jerry Van Baren
2008-07-18 17:28 ` Ira Snyder
2008-07-18 18:17 ` Jerry Van Baren
2008-07-18 19:24 ` Ira Snyder
2008-07-18 19:57 ` Jerry Van Baren
2008-07-19 1:52 ` David Hawkins
2008-07-19 5:32 ` Timur Tabi
2008-07-19 17:17 ` David Hawkins
2008-07-19 17:49 ` [U-Boot-Users] RFQ: disable flash writes until after relocation? David Hawkins
2008-07-20 20:07 ` Wolfgang Denk
2008-07-21 15:48 ` Timur Tabi
2008-07-21 17:46 ` David Hawkins
2008-07-21 18:43 ` Timur Tabi
2008-07-21 18:33 ` Wolfgang Denk
2008-07-21 17:22 ` David Hawkins
2008-07-21 11:58 ` Jerry Van Baren
2008-07-21 17:36 ` David Hawkins
2008-07-21 17:56 ` Jerry Van Baren
2008-07-21 18:45 ` David Hawkins
2008-07-22 23:14 ` [U-Boot-Users] Freescale MPC8349EMDS BCSR corruption David Hawkins
2008-07-23 6:16 ` Dave Liu
2008-07-23 6:34 ` Dave Liu
2008-07-23 17:25 ` Ira Snyder
2008-07-29 1:36 ` David Hawkins
2008-07-29 3:42 ` David Hawkins
2008-10-08 3:50 ` [U-Boot] " David Hawkins
2008-10-09 5:46 ` Liu Dave-R63238
2008-07-17 23:18 ` Ira Snyder [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=20080717231800.GD29634@ovro.caltech.edu \
--to=iws@ovro.caltech.edu \
--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