UART configuration for MPC8548CDS_20071214-ltib

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

UART configuration for MPC8548CDS_20071214-ltib

ソリューションへジャンプ
999件の閲覧回数
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 解決策
988件の閲覧回数
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 返信
989件の閲覧回数
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 件の賞賛
返信