How to enable console prints in UART2 in LS2085AQDS board?

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

How to enable console prints in UART2 in LS2085AQDS board?

1,000 次查看
pratikbhatt
Contributor II

Hi, actually i want to use UART2 for some other purpose so i want to check  UART2 interface is working or not for that i want to see console print is coming in UART2 or not.

For enabling the UART2 port I changed the PBL file with modified UART_BASE[384-385] field with binary value '10'. I also changed in U-boot code files './include/configs/ls2085a_common.h' './include/configs/LS2085AQDS_INTPSR.h' from u-boot source. In this files one Macro is define

#define CONFIG_CONS_INDEX       1

I make this Macro value as 2  for initializing the UART2 port using as console. With this modified u-boot image console is not coming in UART1 port but it is not coming in UART2 port also.

So is there any other changes i have to made for making console enable in UART2 ? Please let me know.

标签 (1)
0 项奖励
回复
2 回复数

857 次查看
yipingwang
NXP TechSupport
NXP TechSupport

There is hardware problem with UART1 on LS2085ARDB, that's why UART2 is configured as the default serial console in u-boot source.


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

857 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Pratik Bhatt,

Your procedure sounds reasonable.

Would you please provide your RCW?

Thanks,

Yiping

0 项奖励
回复