高通平臺bootloader裏面串口log輸出配置方法 .

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了

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章