public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-Boot for AMCC Sequoia Board (PPC440EPX) fails to boot for version 2009.11-rc1 onwards
Date: Fri, 9 Sep 2011 16:37:37 +0200	[thread overview]
Message-ID: <201109091637.38102.sr@denx.de> (raw)
In-Reply-To: <39A385F269A9E349AA6606AD4E327D76021F857DD1@BEL1EXCH02.amer.sfnt.local>

Doug,

(Please keep the list on CC. Other might have comments or be interested in 
this thread).

On Friday 09 September 2011 15:54:29 Hayes,Doug wrote:
> Removed a 2nd call to ppc4xx_pci_sync_clock_config()  in checkBoard() and
> now I get to the U-Boot prompt.  Perhaps this function has a problem with
> 66MHz PCI or something about the set up of my card?  I will try removing
> those calls in the latest U-boot to see if it will run.  Let me know if
> you have any ideas about this code.  Thanks again.

This reminds me of a problem with PCI clocks on 440EP(x)/GR(x). Please take a 
look at this commit:

---
commit 5e47f9535f53fd4cc05f32fb6166870f976fbb4e
Author: Stefan Roese <sr@denx.de>
Date:   Mon Oct 19 14:06:23 2009 +0200

    ppc4xx: Add function to check and dynamically change PCI sync clock
    
    PPC440EP(x)/PPC440GR(x):
    In asynchronous PCI mode, the synchronous PCI clock must meet
    certain requirements. The following equation describes the
    relationship that must be maintained between the asynchronous PCI
    clock and synchronous PCI clock. Select an appropriate PCI:PLB
    ratio to maintain the relationship:
    
    AsyncPCIClk - 1MHz <= SyncPCIclock <= (2 * AsyncPCIClk) - 1MHz
    
    This patch now adds a function to check and reconfigure the sync
    PCI clock to meet this requirement. This is in preparation for
    some AMCC boards (Sequoia/Rainier and Yosemite/Yellowstone) using this
    function to not violate the PCI clocking rules.

    Signed-off-by: Stefan Roese <sr@denx.de>
---

This commit is included in v2009.11-rc1. So it definitely seems to point to 
the problem you are seeing on your board. I have to admit though, that I don't 
understand why this doesn't work for your Sequoia.

Could you check if the board boots fine with PCI sync clock forced to 33MHz 
(switch SW2). And please re-check if the equation from the commit text above 
is met in your case.

BTW: Why do you use a fixed strapping (non-bootstrap EEPROM)? You could alwys 
use "chip_config" to configure the EEPROM and configure the board to use the 
EEPROM strapping values.

Best regards,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de

  parent reply	other threads:[~2011-09-09 14:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-08 20:24 [U-Boot] U-Boot for AMCC Sequoia Board (PPC440EPX) fails to boot for version 2009.11-rc1 onwards Hayes, Doug
2011-09-09  6:30 ` Stefan Roese
     [not found]   ` <39A385F269A9E349AA6606AD4E327D76021F857DD1@BEL1EXCH02.amer.sfnt.local>
2011-09-09 14:37     ` Stefan Roese [this message]
2011-09-09 20:04       ` Hayes, Doug
2011-09-13  8:10         ` Stefan Roese
2011-09-15 15:08           ` Hayes, Doug
  -- strict thread matches above, loose matches on Subject: below --
2011-09-08 21:31 Hayes, Doug

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=201109091637.38102.sr@denx.de \
    --to=sr@denx.de \
    --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