add UART5 in uboot and need to send or receive data

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

add UART5 in uboot and need to send or receive data

550 Views
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 Kudos
1 Reply

427 Views
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 Kudos