Christian Gieseler
2013-03-26 06:54:30 UTC
Hi List,
Coldfire 5329 seems not be used with latest kernels. The Main Timer is not
running, so the scheduler won?t behave like expected.
To change this the following change has to be done in m532x.c arch setup.
There is probably more to be fixed.
diff git a/Linux3.6.11/arch/m68k/platform/coldfire/m532x.c
b/Linux3.6.11/arch/m68k/platform/coldfire/m532x.c
--- a/Linux3.6.11/arch/m68k/platform/coldfire/m532x.c
+++ b/Linux3.6.11/arch/m68k/platform/coldfire/m532x.c
@@ 120,6 +120,8 @@ static struct clk * const enable_clks[] __initconst = {
&__clk_0_25, /* mcfuart.1 */
&__clk_0_26, /* mcfuart.2 */
+ &__clk_0_28, /* mcftmr.0 */
+ &__clk_0_29, /* mcftmr.1 */
&__clk_0_32, /* mcfpit.0 */
&__clk_0_33, /* mcfpit.1 */
&__clk_0_37, /* mcfeport.0 */
@@ 135,8 +137,6 @@ static struct clk * const disable_clks[] __initconst = {
&__clk_0_17, /* edma */
&__clk_0_22, /* mcfi2c.0 */
&__clk_0_23, /* mcfqspi.0 */
- &__clk_0_28, /* mcftmr.0 */
- &__clk_0_29, /* mcftmr.1 */
&__clk_0_30, /* mcftmr.2 */
&__clk_0_31, /* mcftmr.3 */
&__clk_0_34, /* mcfpit.2 */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20130326/91065952/attachment.html>
Coldfire 5329 seems not be used with latest kernels. The Main Timer is not
running, so the scheduler won?t behave like expected.
To change this the following change has to be done in m532x.c arch setup.
There is probably more to be fixed.
diff git a/Linux3.6.11/arch/m68k/platform/coldfire/m532x.c
b/Linux3.6.11/arch/m68k/platform/coldfire/m532x.c
--- a/Linux3.6.11/arch/m68k/platform/coldfire/m532x.c
+++ b/Linux3.6.11/arch/m68k/platform/coldfire/m532x.c
@@ 120,6 +120,8 @@ static struct clk * const enable_clks[] __initconst = {
&__clk_0_25, /* mcfuart.1 */
&__clk_0_26, /* mcfuart.2 */
+ &__clk_0_28, /* mcftmr.0 */
+ &__clk_0_29, /* mcftmr.1 */
&__clk_0_32, /* mcfpit.0 */
&__clk_0_33, /* mcfpit.1 */
&__clk_0_37, /* mcfeport.0 */
@@ 135,8 +137,6 @@ static struct clk * const disable_clks[] __initconst = {
&__clk_0_17, /* edma */
&__clk_0_22, /* mcfi2c.0 */
&__clk_0_23, /* mcfqspi.0 */
- &__clk_0_28, /* mcftmr.0 */
- &__clk_0_29, /* mcftmr.1 */
&__clk_0_30, /* mcftmr.2 */
&__clk_0_31, /* mcftmr.3 */
&__clk_0_34, /* mcfpit.2 */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20130326/91065952/attachment.html>