UART configuration for MPC8548CDS_20071214-ltib

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

UART configuration for MPC8548CDS_20071214-ltib

跳至解决方案
751 次查看
s153022
Contributor III

Hi,

I've installed and built MPC8548CDS_20071214-ltib on ubuntu 9.04.

When I flash the u-boot image, I don't see any logs on the UART0.

 

I can see from disassembly that the U-Boot code is executing properly but there is no output on UART0. 

 

Do I need to configure the UART0 base address.

Where can I configure/check the UART0 base address?

 

I tried looking into u-boot-1.3.0/include/configs/MPC8548CDS.h but I don't see anything related to the UART base address. 

 

Best Regards

0 项奖励
回复
1 解答
740 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please use UART1, in include/configs/MPC8548CDS.h, you could find the following definition, it indicates UART1 is used.

#define CONFIG_CONS_INDEX 2

 

In addition, UART base addresses are defined as the following in include/configs/MPC8548CDS.h.

#define CONFIG_SYS_NS16550_COM1 (CONFIG_SYS_CCSRBAR+0x4500)
#define CONFIG_SYS_NS16550_COM2 (CONFIG_SYS_CCSRBAR+0x4600)

在原帖中查看解决方案

0 项奖励
回复
1 回复
741 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please use UART1, in include/configs/MPC8548CDS.h, you could find the following definition, it indicates UART1 is used.

#define CONFIG_CONS_INDEX 2

 

In addition, UART base addresses are defined as the following in include/configs/MPC8548CDS.h.

#define CONFIG_SYS_NS16550_COM1 (CONFIG_SYS_CCSRBAR+0x4500)
#define CONFIG_SYS_NS16550_COM2 (CONFIG_SYS_CCSRBAR+0x4600)

0 项奖励
回复