add UART5 in uboot and need to send or receive data

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

add UART5 in uboot and need to send or receive data

1,161 次查看
runrunrun
Contributor I

Hi,

I use im6dl,kernel version is 3.10.53,android version is 4.4.3

I want to add another uart5 in uboot,and can send or receive data.

I change below code,but the uart5 is not open.what should I config anywhere in uboot?

please help me.

......

iomux_v3_cfg_t const uart5_pads[] = {
MX6_PAD_KEY_COL1__UART5_TX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),
MX6_PAD_KEY_ROW1__UART5_RX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),
};

.....

imx_iomux_v3_setup_multiple_pads(uart5_pads, ARRAY_SIZE(uart5_pads));

------

Thanks

0 项奖励
回复
1 回复

1,036 次查看
igorpadykov
NXP Employee
NXP Employee

Hi honglei

one can check console kernel parameter described in sect.5.4.2 Kernel command line (bootargs)

attached Android User Guide. In uboot one can check #define CONFIG_MXC_UART_BASE,

#define CONFIG_CONSOLE_DEV in uboot/include/configs/mx6sabresd.h

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复