I am trying to change the debug interface on my custom i.MX93 board. By default, it uses UART1, but I want to switch it to UART2. I have read related topics and followed the suggested steps, but it still doesn’t work.
What could be the possible reasons for this issue? Any help would be appreciated!
std-out = &lpuart2
changed BASE Adress
#define IMX_LPUART_BASE U(0x44390000)
changed imx93_evk.c :
static iomux_v3_cfg_t const uart_pads[] = {
MX93_PAD_UART2_RXD__LPUART2_RX | MUX_PAD_CTRL(UART_PAD_CTRL),
MX93_PAD_UART2_TXD__LPUART2_TX | MUX_PAD_CTRL(UART_PAD_CTRL),
};
Hello,
The code init_uart_clk in arch/arm/mach-imx/imx9/native/clock.c only contain UART1, you need add UART2.
Best Regards,
Zhiming