1:在modem端將相應的gpio設置成相應功能。
2:在/lk/project/xxx.mk打開uart輸出log功能。
3:在platform/msm_shared/uart.c中定義uart幾輸出log,
#if PLATFORM_MSM7X30
static unsigned uart_base = MSM_UART2_BASE;
#elif PLATFORM_MSM7X27A
static unsigned uart_base = MSM_UART1_BASE;
#else
static unsigned uart_base = MSM_UART3_BASE;
#endif
這樣appsboot就可以打印log了