Hi all
I'm using the latest patches (mxcuart_pm) from freescale and I seen to end up into the same situation.
I've been putting a lot of kprintf's to get here .. as soon as the uart code reaches... mxcuart_pm..
the data on the console is corrupted .....
Any hints ? the trick with the pll3 iso pll2 doens't seem to work for me.
Regards Noel
This is helpful
Hi Phil,
You can try this hack. We changed our u-boot to use pll3 like the previous kernel,
but this kernel assumes pll2. The linux code really should read the parent from registers.
diff --git a/arch/arm/mach-mx5/clock.c b/arch/arm/mach-mx5/clock.c
index d68d706..1139136 100644
--- a/arch/arm/mach-mx5/clock.c
+++ b/arch/arm/mach-mx5/clock.c
@@ -2126,7 +2126,7 @@ static int _clk_uart_set_parent(struct clk *clk, struct clk *parent)
static struct clk uart_main_clk = {
__INIT_CLK_DEBUG(uart_main_clk)
- .parent = &pll2_sw_clk,
+ .parent = &pll3_sw_clk,
.get_rate = _clk_uart_get_rate,
.set_parent = _clk_uart_set_parent,
};
You need to make sure that you have a version of U-Boot that matches the kernel. In your case, you will want to use a newer version of U-Boot (look at the new 2011.09 Linux BSP).