add UART5 in uboot and need to send or receive data

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

add UART5 in uboot and need to send or receive data

1,192件の閲覧回数
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,067件の閲覧回数
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 件の賞賛
返信