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
已解决! 转到解答。
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)
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)