LS1028 - ATF Logs using LPUART

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LS1028 - ATF Logs using LPUART

1,476 次查看
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 项奖励
回复
3 回复数

1,430 次查看
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 项奖励
回复

1,424 次查看
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 项奖励
回复

1,415 次查看
yipingwang
NXP TechSupport
NXP TechSupport

ATF doesn't provide LPUART driver for ls1028a processor.

0 项奖励
回复