Tool/software: Linux
I want Change debug port from ttyS2 to others.For example, ttyS2 -> ttyS1
But now uboot and kernel can output messages normally. MLO can't output message.
My configuration is as follows:
device tree:
chosen {
stdout-path = &uart2;
};
pinmux:
const struct pad_conf_entry early_padconf[] = {
{UART2_RXD, (M4 | PIN_INPUT)}, /* uart2_rxd.uart2_rxd */
{UART2_TXD, (M4 | PIN_OUTPUT)}, /* uart2_txd.uart2_txd */
{I2C2_SDA, (PIN_INPUT_PULLUP | M0)}, /* I2C2_SDA */
{I2C2_SCL, (PIN_INPUT_PULLUP | M0)}, /* I2C2_SCL */
{I2C1_SDA, (PIN_INPUT_PULLUP | M0)}, /* I2C1_SDA */
{I2C1_SCL, (PIN_INPUT_PULLUP | M0)}, /* I2C1_SCL */
};
whether there is anything else need to configure?