Hi NXP community !
I wanted to know what to configure on ATF so that the ATF logs ( logs starting with NOTICE: ) could be prompted in the console using LPUART6?
I know that in ATF to link the console to the right device, we should define NXP_CONSOLE_ADDR with the ADDR of the device, like that :
#define NXP_CONSOLE_ADDR NXP_UART_ADDR
Than, I checked the file plat/nxp/soc-ls1028/include/soc.h to see which MACRO to use, and i see following ADDR related to UART:
#define NXP_UART_ADDR 0x021C0500
#define NXP_UART1_ADDR 0x021C0600
But nothing about LPUART.
So i tried to create my own define with the address of the LPUART but with no success.
Any suggestions?
Thanks in advance
You need to configure RCW[UART1_SOUTSIN_PMUX] and RCW[UART2_SOUTSIN_PMUX] as 3 to enable LPUART6
No need to modify ATF source code.
Hello,
It's already enabled. We do have the logs for U-Boot but not for ATF.
When we enable DUART1, we have both U-Boot and ATF Logs.
ATF doesn't provide LPUART driver for ls1028a processor.