[s3c6410 BSP] Funnies and questions
Andy Green
andy at openmoko.com
Mon Nov 3 16:46:02 CET 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Somebody in the thread at some point said:
| Somebody in the thread at some point said:
|
| | 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.
|
| |> -#define S3C6400_CLKSRC_MMC0_MASK (0xf << 1)
| |> -#define S3C6400_CLKSRC_MMC0_SHIFT (1)
| |> +#define S3C6400_CLKSRC_MMC0_MASK (0x3 << 18)
| |> +#define S3C6400_CLKSRC_MMC0_SHIFT (18)
|
| |> merged into s3c64xx and pushed out.
|
| Thanks for the fix.
This is solved
[ 0.000000] mmc_bus: source is mout_epll (0), rate is 24000000
but the fourth UART is still borked
[42949376.300000] s3c6400-uart: probe of s3c6400-uart.3 failed with
error -22
static struct s3c2410_uartcfg om_gta03_uartcfgs[] __initdata = {
[0] = {
.hwport = 0,
.flags = 0,
.ucon = 0x3c5,
.ulcon = 0x03,
.ufcon = 0x51,
},
[1] = {
.hwport = 1,
.flags = 0,
.ucon = 0x3c5,
.ulcon = 0x03,
.ufcon = 0x51,
},
[2] = {
.hwport = 2,
.flags = 0,
.ucon = 0x3c5,
.ulcon = 0x03,
.ufcon = 0x51,
},
[3] = {
.hwport = 3,
.flags = 0,
.ucon = 0x3c5,
.ulcon = 0x03,
.ufcon = 0x51,
},
};
- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkkPHLoACgkQOjLpvpq7dMpsXQCcCt4vdiSBmtymhwU6ZYvctP86
thgAn2dOKlMvbEjnPgDsAwQSUhRlciFo
=O8+O
-----END PGP SIGNATURE-----
More information about the openmoko-kernel
mailing list