Skip to content

Instantly share code, notes, and snippets.

@Consolatis
Last active August 1, 2019 18:18
Show Gist options
  • Save Consolatis/b2b52b5766f57b2ef2d47c62ab88d0ad to your computer and use it in GitHub Desktop.
Save Consolatis/b2b52b5766f57b2ef2d47c62ab88d0ad to your computer and use it in GitHub Desktop.
uboot-odroid-c2-mainline: Enable video console
--- .config 2019-07-29 20:33:56.395614205 +0000
+++ .config.video.new 2019-07-29 20:35:50.438050884 +0000
@@ -486,11 +486,13 @@
#
# Misc commands
#
+# CONFIG_CMD_BMP is not set
# CONFIG_CMD_BSP is not set
# CONFIG_CMD_BKOPS_ENABLE is not set
CONFIG_CMD_BLOCK_CACHE=y
# CONFIG_CMD_CACHE is not set
# CONFIG_CMD_CONITRACE is not set
+# CONFIG_CMD_CLS is not set
# CONFIG_CMD_EFIDEBUG is not set
# CONFIG_CMD_EXCEPTION is not set
# CONFIG_CMD_DATE is not set
@@ -945,7 +947,8 @@
#
# Power Domain Support
#
-# CONFIG_POWER_DOMAIN is not set
+CONFIG_POWER_DOMAIN=y
+CONFIG_MESON_GX_VPU_POWER_DOMAIN=y
# CONFIG_DM_PMIC is not set
# CONFIG_PMIC_AS3722 is not set
# CONFIG_POWER_MC34VR500 is not set
@@ -1073,25 +1076,42 @@
#
# Graphics support
#
-# CONFIG_DM_VIDEO is not set
-# CONFIG_SYS_WHITE_ON_BLACK is not set
+CONFIG_DM_VIDEO=y
+# CONFIG_BACKLIGHT_GPIO is not set
+CONFIG_VIDEO_BPP8=y
+CONFIG_VIDEO_BPP16=y
+CONFIG_VIDEO_BPP32=y
+CONFIG_VIDEO_ANSI=y
+CONFIG_CONSOLE_NORMAL=y
+# CONFIG_CONSOLE_ROTATION is not set
+# CONFIG_CONSOLE_TRUETYPE is not set
+CONFIG_SYS_WHITE_ON_BLACK=y
# CONFIG_NO_FB_CLEAR is not set
#
# TrueType Fonts
#
+# CONFIG_VIDCONSOLE_AS_LCD is not set
# CONFIG_VIDEO_VESA is not set
# CONFIG_VIDEO_LCD_ANX9804 is not set
# CONFIG_VIDEO_LCD_SSD2828 is not set
+CONFIG_VIDEO_MESON=y
# CONFIG_VIDEO_MVEBU is not set
-# CONFIG_I2C_EDID is not set
-# CONFIG_DISPLAY is not set
+CONFIG_I2C_EDID=y
+CONFIG_DISPLAY=y
+# CONFIG_NXP_TDA19988 is not set
+# CONFIG_ATMEL_HLCD is not set
+# CONFIG_LOGICORE_DP_TX is not set
+# CONFIG_VIDEO_ROCKCHIP is not set
+# CONFIG_VIDEO_ARM_MALIDP is not set
+# CONFIG_VIDEO_STM32 is not set
# CONFIG_VIDEO_TEGRA20 is not set
+# CONFIG_VIDEO_TEGRA124 is not set
# CONFIG_VIDEO_BRIDGE is not set
-# CONFIG_VIDEO is not set
+CONFIG_CONSOLE_SCROLL_LINES=1
# CONFIG_LCD is not set
# CONFIG_VIDEO_SIMPLE is not set
-# CONFIG_VIDEO_DT_SIMPLEFB is not set
+CONFIG_VIDEO_DT_SIMPLEFB=y
# CONFIG_OSD is not set
#
@Consolatis
Copy link
Author

For release Das U-Boot 2019-07:

wget 'https://gist.github.com/Consolatis/b2b52b5766f57b2ef2d47c62ab88d0ad/raw/31364a8682326fe4efe0078a8f65249ef54c2b3e/enable_video_console.patch'
make odroid-c2_defconfig
patch < enable_video_console.patch
make

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment