[s3c6410 BSP] Funnies and questions

Andy Green andy at openmoko.com
Mon Nov 3 15:38:20 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:

| That's something your bootloader should really setup, all this code
| is doing is reading the current settings for where the clocks are
| sourced from. Either set this in the bootloader, or it should be
| allowable to set these registers early in the machine specific
| setup.

|> [1] This nearly caused a heart attack when I noticed it yesterday since
|> it looked like the iROM was using the (NC on GTA03) 27MHz source, but I
|> verified in bootloader it's EPll.
|
| Hmm, iirc the EPLL is selected via the mmc_bus clock, it might be using
| the HCLK fed into the unit which is another possible clock source?

CLK_SRC is 0x00002007 early in the bootloader, b19b18 = 00 = MMC0 =
MOUTepll; 11 there would be 27MHz source.  I didn't spot where the
bootloader MMC stuff changes the clock source to 27MHz, so something is
fishy somewhere.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkkO9xkACgkQOjLpvpq7dMqQPgCfU6P8RLesIYswXE2enuN1ZGBZ
u3AAnijeaayDpKdXpIGJhj+pj5SZNHTV
=TFrM
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list