LS1028 - ATF Logs using LPUART

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

LS1028 - ATF Logs using LPUART

616 Views
cguer
Contributor I

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  

0 Kudos
3 Replies

570 Views
yipingwang
NXP TechSupport
NXP TechSupport

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.

0 Kudos

564 Views
cguer
Contributor I

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.

0 Kudos

555 Views
yipingwang
NXP TechSupport
NXP TechSupport

ATF doesn't provide LPUART driver for ls1028a processor.

0 Kudos