[U-Boot] [PATCH] rockchip: Turn on CONFIG_DEBUG_LL for firefly

Ariel D'Alessandro ariel at vanguardiasur.com.ar
Thu Nov 12 22:42:46 CET 2015


CONFIG_DEBUG_UART is enabled in defconfig, but there's no Low-level
debugging functions implemented, so build fails because of undefined
references to `printch' in common/console.c.
In order to fix this, enable CONFIG_DEBUG_LL.

Signed-off-by: Ariel D'Alessandro <ariel at vanguardiasur.com.ar>
---
 configs/firefly-rk3288_defconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/configs/firefly-rk3288_defconfig b/configs/firefly-rk3288_defconfig
index edb2db2..446ade9 100644
--- a/configs/firefly-rk3288_defconfig
+++ b/configs/firefly-rk3288_defconfig
@@ -3,9 +3,11 @@ CONFIG_ARCH_ROCKCHIP=y
 CONFIG_SYS_MALLOC_F_LEN=0x2000
 CONFIG_ROCKCHIP_RK3288=y
 CONFIG_TARGET_FIREFLY_RK3288=y
+CONFIG_SPL_STACK_R_ADDR=0x80000
+CONFIG_DEBUG_LL=y
+CONFIG_DEBUG_UART_PHYS=0xff690000
 CONFIG_DEFAULT_DEVICE_TREE="rk3288-firefly"
 CONFIG_SPL_STACK_R=y
-CONFIG_SPL_STACK_R_ADDR=0x80000
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_CMD_PMIC=y
-- 
2.6.2



More information about the U-Boot mailing list