读书人

高通平台bootloader里头串口logo输出配

发布时间: 2012-09-03 09:48:39 作者: rapoo

高通平台bootloader里面串口logo输出配置方法

1:在modem端将相应的gpio设置成相应功能。

2:在/lk/project/xxx.mk打开uart输出logo功能。

3:在platform/msm_shared/uart.c中定义uart几输出logo,

#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就可以打印logo了

读书人网 >移动开发

热点推荐