public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] BRGs on ep8248 after updating CLKIN
@ 2007-11-29 20:43 Alan Bennett
  2007-11-29 21:00 ` Jerry Van Baren
  2007-11-30  1:13 ` Erik Christiansen
  0 siblings, 2 replies; 7+ messages in thread
From: Alan Bennett @ 2007-11-29 20:43 UTC (permalink / raw)
  To: u-boot

When I originally supported my ep8248-style board, I had
#define CONFIG_8260_CLKIN	66000000	/* in Hz */

However, I noticed (after far too much time had passed) that my cpu
speed wasn't matching my expectations.  (reported 230 MHz, and
expected 350 MHz).

This was rather easily fixed by changing the CONFIG_8260_CLKIN to 100 MHz:
#define CONFIG_8260_CLKIN	100000000	/* in Hz */

However, my BRGs / SMC1 uart is now broke(baud-rate mismatch).  Does
anyone have experience with this section of u-boot that could help me
out?

My BRG7 is configured by u-boot(1.3+) = 0x00010078 ~ CD = 60 (0x3c).
And there is an apparent baud-rate mismatch and all the output is
garbled now.  (with a scope I measured ~ 25.5 / 26 K, when I'm
expecting 38.4k)

I think I'm missing something in the equation, but I'm not sure where
it is.  If I simply update the CD to be 162 (162*38400*16 = 99,532,800
~ 100 MHz) the serial port is still dead.

Any ideas?

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-11-30 14:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-29 20:43 [U-Boot-Users] BRGs on ep8248 after updating CLKIN Alan Bennett
2007-11-29 21:00 ` Jerry Van Baren
2007-11-29 22:39   ` Alan Bennett
2007-11-30  9:19     ` Laurent Pinchart
2007-11-30 14:37       ` Alan Bennett
2007-11-30  1:13 ` Erik Christiansen
2007-11-30  5:51   ` Alan Bennett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox