Hello @fabrizio.camagna,
I am glad the @ToradexAI was able to help you with part of your problem.
Regarding the ability to disable UARTA for debug, this should be possible, but you will need to change both how the serial is setup in Linux and in u-boot.
You can see an example here: Redirecting console to UARTC from UARTA
This post used an older BSP, but using a newer BSP would be very similar.
Also, looking at the device tree, you can see which UART corresponds to each node on the device tree:
/* Colibri UART_A */
&uart1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart1 &pinctrl_uart1_ctrl1>;
uart-has-rtscts;
fsl,dte-mode;
};
/* Colibri UART_B */
&uart2 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart2>;
uart-has-rtscts;
fsl,dte-mode;
};
/* Colibri UART_C */
&uart5 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart5>;
fsl,dte-mode;
};
Best Regards,
Bruno