mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Igor Trevisan <igt1972@gmail.com>
To: barebox@lists.infradead.org
Subject: Re: iMX27 clock settings
Date: Wed, 15 Feb 2012 15:59:17 +0100	[thread overview]
Message-ID: <CALQ+5adPFLiwehAoeLoDKwzU5KLhQmMs92GxsT62yDYfppk+aA@mail.gmail.com> (raw)
In-Reply-To: <20120215120911.GB3852@pengutronix.de>

>
> One thing that might be interesting in such cases is the output of
> the dump_clocks command.

It's a useful debug command!
Here it is its output:

barebox:/ dump_clocks
chip id: [2,882,1,01d]
mpll:     600000000 Hz
spll:     240000000 Hz
arm:      400000000 Hz
perclk1:   20000000 Hz
perclk2:   40000000 Hz
perclk3:  100000000 Hz
perclk4:   40000000 Hz
clkin26:   26000000 Hz
ahb:      133333333 Hz
ipg:       66666666 Hz
barebox:/

This is what I get after the last configuration I tried:

writel(0x00262C15, MPCTL0)	
writel(0x040C2403, SPCTL0)	
writel(0x33F30207, CSCR)	/* Use DIV3 and AHBDIV=10 */

We have three different boards using iMX27L; on two of them
Barebox with this setting runs properly, on the third we frequently
see the system hanging (cyclic restarts).
Note: I have the same results with:
writel(0x33F30307, CSCR)	/* Use DIV3 and AHBDIV=11 */

Best regards,
I.

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  reply	other threads:[~2012-02-15 14:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-14 15:10 Igor Trevisan
2012-02-15  9:15 ` Kamel BOUHARA
2012-02-15 11:10   ` Igor Trevisan
2012-02-15  9:29 ` Juergen Beisert
2012-02-15 12:09 ` Sascha Hauer
2012-02-15 14:59   ` Igor Trevisan [this message]
2012-02-15 16:06     ` Igor Trevisan

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=CALQ+5adPFLiwehAoeLoDKwzU5KLhQmMs92GxsT62yDYfppk+aA@mail.gmail.com \
    --to=igt1972@gmail.com \
    --cc=barebox@lists.infradead.org \
    /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