diff mbox series

[v3,18/19] configs: imxrt1050-evk: enable video support/console

Message ID 20200408151108.20642-3-giulio.benetti@benettiengineering.com
State Superseded
Headers show
Series i.MXRT1050 add LCDIF support | expand

Commit Message

Giulio Benetti April 8, 2020, 3:11 p.m. UTC
Enable DM_VIDEO subsystem and its BACKLIGHT_GPIO. Then enable
SYS_WHITE_ON_BLACK to have classic black background on display. Need
also to enable CONFIG_SYS_CONSOLE_ENV_OVERWRITE to retrieve
stdin/stdout/stderr from CONFIG_EXTRA_ENV_SETTINGS.

Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
---
 configs/imxrt1050-evk_defconfig | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Anatolij Gustschin April 17, 2020, 6:32 p.m. UTC | #1
On Wed,  8 Apr 2020 17:11:07 +0200
Giulio Benetti giulio.benetti at benettiengineering.com wrote:

> Enable DM_VIDEO subsystem and its BACKLIGHT_GPIO. Then enable
> SYS_WHITE_ON_BLACK to have classic black background on display. Need
> also to enable CONFIG_SYS_CONSOLE_ENV_OVERWRITE to retrieve
> stdin/stdout/stderr from CONFIG_EXTRA_ENV_SETTINGS.
> 
> Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>

Reviewed-by: Anatolij Gustschin <agust at denx.de>

--
Anatolij
Stefano Babic April 19, 2020, 9:08 a.m. UTC | #2
> Enable DM_VIDEO subsystem and its BACKLIGHT_GPIO. Then enable
> SYS_WHITE_ON_BLACK to have classic black background on display. Need
> also to enable CONFIG_SYS_CONSOLE_ENV_OVERWRITE to retrieve
> stdin/stdout/stderr from CONFIG_EXTRA_ENV_SETTINGS.
> Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>
> Reviewed-by: Anatolij Gustschin <agust at denx.de>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/configs/imxrt1050-evk_defconfig b/configs/imxrt1050-evk_defconfig
index 71970552c0..810f391fdc 100644
--- a/configs/imxrt1050-evk_defconfig
+++ b/configs/imxrt1050-evk_defconfig
@@ -17,6 +17,7 @@  CONFIG_SPL_TEXT_BASE=0x20209000
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_SD_BOOT=y
 # CONFIG_USE_BOOTCOMMAND is not set
+CONFIG_SYS_CONSOLE_ENV_OVERWRITE=y
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_SPL_BOARD_INIT=y
 # CONFIG_SPL_RAW_IMAGE_SUPPORT is not set
@@ -62,6 +63,9 @@  CONFIG_IMXRT_SDRAM=y
 CONFIG_FSL_LPUART=y
 CONFIG_TIMER=y
 CONFIG_SPL_TIMER=y
+CONFIG_DM_VIDEO=y
+CONFIG_BACKLIGHT_GPIO=y
+CONFIG_SYS_WHITE_ON_BLACK=y
 CONFIG_SHA1=y
 CONFIG_SHA256=y
 CONFIG_HEXDUMP=y