[U-Boot] [PATCH 6/7] Enable print log file to lcd
eric.gao at rock-chips.com
eric.gao at rock-chips.com
Sat Apr 1 14:42:56 UTC 2017
From: "eric.gao" <eric.gao at rock-chips.com>
Signed-off-by: eric.gao <eric.gao at rock-chips.com>
---
configs/evb-rk3399_defconfig | 1 +
include/configs/rk3399_common.h | 5 ++++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig
index b9cb0e8..89b2e17 100644
--- a/configs/evb-rk3399_defconfig
+++ b/configs/evb-rk3399_defconfig
@@ -68,3 +68,4 @@ CONFIG_DM_VIDEO=y
CONFIG_DISPLAY=y
CONFIG_VIDEO_ROCKCHIP=y
CONFIG_DISPLAY_MIPI=y
+CONFIG_VIDCONSOLE_AS_LCD=y
diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h
index 4ba81ac..6183f4e 100644
--- a/include/configs/rk3399_common.h
+++ b/include/configs/rk3399_common.h
@@ -69,7 +69,10 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
ENV_MEM_LAYOUT_SETTINGS \
"partitions=" PARTS_DEFAULT \
- BOOTENV
+ BOOTENV \
+ "stdin=serial,cros-ec-keyb\0" \
+ "stdout=serial,vidconsole\0" \
+ "stderr=serial,vidconsole\0"
#endif
--
1.9.1
More information about the U-Boot
mailing list