Hi All,
I have a customize board using i.mx6. Because we need using 16bit camera I/F, so we change uart1 console pad for CSI0_DAT10 and CSI0_DAT11 to SD3_DAT7 and SD3_DAT6.
I modify uart1_pad[] in u-boot. It's working properly, I can get and wrire command on u-boot.
But It's not workin on the kernel (boot.img). I did the modification as below:
in <imx6qdl-sabresd.dtsi> I modify ::
---->>> Original <<<-----
pinctrl_uart1: uart1grp {
fsl,pins = <
MX6QDL_PAD_CSI0_DAT10__UART1_TX_DATA 0x1b0b1
MX6QDL_PAD_CSI0_DAT11__UART1_RX_DATA 0x1b0b1
>;
};
---->>> My Board <<<-----
pinctrl_uart1: uart1grp {
fsl,pins = <
MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1
MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1
>;
};
and Remove PAD_SD3_DAT4 ~ PAD_SD3_DAT7 on <pinctrl_usdhc3>
----------------------------------------------------------------------------------------------
My problems:
1). I got kernel log form pad SD3_DAT7, But I cann't input any command or characters.
2). I also can got kernel log form pad SD3_DAT7 if i using default pad config (CSI0_DAT10),
How do i to modify pads for My boad ? Thanks!
BR.
David Wu
Hi David
one can try make fresh build with new dts settings, as
probably old dtb settings were used in image. If console output
works one can add debug printfs and check uart iomux settings,
in particular check register IOMUXC_UART1_UART_RX_DATA_SELECT_INPUT.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Igor,
I spent some time to clean and rebuilded my project. But got same result. The Reg "IOMUXC_UART1_UART_RX_DATA_SELECT_INPUT" is 0x03. Does it correct ?
BR.
David Wu