public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Freescale MPC8349EMDS hang on boot
Date: Fri, 18 Jul 2008 15:57:56 -0400	[thread overview]
Message-ID: <4880F5C4.8060009@ge.com> (raw)
In-Reply-To: <20080718192417.GF29634@ovro.caltech.edu>

Ira Snyder wrote:
> On Fri, Jul 18, 2008 at 02:17:48PM -0400, Jerry Van Baren wrote:
>>> I checked include/configs/MPC8349EMDS.h and didn't find any obvious
>>> config options for disabling the cache.
>>>
>>> The hang happens before the relocation to RAM. The "I2C:" line where it
>>> hangs is printed before the relocation. There are "SPI:" and "DRAM:"
>>> lines that should also be printed before the relocation to RAM.
>> I2C is used to read the SPD configuration off the memory DIMM. 
>> Interesting, but I'm not sure what it is telling us...
>>
> 
> Yep. Note that there is an access to the BCSR registers that I added.
> Removing the access makes the problem go away, even with the .data
> section 32 byte aligned. There shouldn't be any problem reading the
> BCSR registers, though.
> 
> What I'm getting at is maybe it is neither of these that is the real
> problem, it could just be that the BCSR access plus the alignment of the
> .data section triggers the real problem, whatever it may be.

Hmmm, interesting point: reading the BCSR is implicated.  Are you sure 
that reading the BCSR is safe *at this point in time*?  Have you 
confirmed CS1 is configured this early in the boot sequence?

[snip]

>> What is your build host running (OS, distribution)?  Any chance of doing 
>> a clean OS and ELDK installation on a different machine?
>>
> 
> I'm running Ubuntu Hardy. My test machine here has a completely clean,
> not updated installation of Hardy on it as well, I could try installing
> and building with that. I also have access to a CentOS 4 machine that I
> could install ELDK-4.2 onto. It has ELDK-4.1 already installed. I'll try
> ELDK-4.2 on the CentOS machine as soon as the install media is finished
> downloading, which will take a while. It might be Monday before I have a
> chance to get back to you with the results.

That is so low a probability that I wouldn't bother unless I were really 
desperate.

> Thanks again,
> Ira

Have a good weekend,
gvb

  reply	other threads:[~2008-07-18 19:57 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 [this message]
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   ` [U-Boot-Users] Freescale MPC8349EMDS hang on boot Ira Snyder

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=4880F5C4.8060009@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox