12/18/2012

enable uart debug in lk on QRD8x25

uart1 is default to use for debug

1.Set uart
bootable/bootloader/lk/platform/msm_shared/uart.c
static unsigned uart_base = MSM_UART1_BASE;

2.Set WITH_DEBUG_UART
bootable\bootloader\lk\project\msm7627a.mk
DEFINES += WITH_DEBUG_UART=1

3.Set debug level
Bootable/bootloader/lk/include/Debug.h
#define DEBUGLEVEL 2

No comments:

Post a Comment