aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorLech Perczak <lech.perczak@gmail.com>2022-04-24 21:29:53 +0200
committerPiotr Dymacz <pepe2k@gmail.com>2022-07-11 14:14:01 +0200
commit0b7e8f44addaaeb53cef7de9aeea6dc67840ef39 (patch)
tree9b4925a097b490f6eb14bace87acfe6f2350fae0 /target
parentf430600d735d603b93b839a9a97a85d057a71172 (diff)
downloadupstream-0b7e8f44addaaeb53cef7de9aeea6dc67840ef39.tar.gz
upstream-0b7e8f44addaaeb53cef7de9aeea6dc67840ef39.tar.bz2
upstream-0b7e8f44addaaeb53cef7de9aeea6dc67840ef39.zip
imx: cortexa7: enable framebuffer console + DRM
The PICO-PI-IMX7D board is equipped with external LCD display with touchscreen. To allow displaying console on it, enable framebuffer, fbcon and DRM support at early boot. Signed-off-by: Lech Perczak <lech.perczak@gmail.com> [pepe2k@gmail.com: refreshed subtarget kernel config] Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/imx/cortexa7/config-default47
1 files changed, 47 insertions, 0 deletions
diff --git a/target/linux/imx/cortexa7/config-default b/target/linux/imx/cortexa7/config-default
index 08829c3c77..988b01dfa6 100644
--- a/target/linux/imx/cortexa7/config-default
+++ b/target/linux/imx/cortexa7/config-default
@@ -5,6 +5,8 @@ CONFIG_ARM_IMX_CPUFREQ_DT=y
CONFIG_ARM_PSCI=y
CONFIG_ARM_PSCI_FW=y
CONFIG_AT803X_PHY=y
+CONFIG_BACKLIGHT_CLASS_DEVICE=y
+CONFIG_BACKLIGHT_PWM=y
CONFIG_CLK_IMX6UL=y
CONFIG_CLK_IMX7D=y
CONFIG_CMA=y
@@ -12,17 +14,57 @@ CONFIG_CMA_AREAS=7
# CONFIG_CMA_DEBUG is not set
# CONFIG_CMA_DEBUGFS is not set
# CONFIG_CMA_SYSFS is not set
+CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_CONTIG_ALLOC=y
# CONFIG_DMA_CMA is not set
+CONFIG_DMA_SHARED_BUFFER=y
+CONFIG_DRM=y
+CONFIG_DRM_BRIDGE=y
+CONFIG_DRM_DISPLAY_CONNECTOR=y
+CONFIG_DRM_DP_AUX_BUS=y
+CONFIG_DRM_FBDEV_EMULATION=y
+CONFIG_DRM_FBDEV_OVERALLOC=100
+CONFIG_DRM_GEM_CMA_HELPER=y
+CONFIG_DRM_KMS_CMA_HELPER=y
+CONFIG_DRM_KMS_HELPER=y
+CONFIG_DRM_MXS=y
+CONFIG_DRM_MXSFB=y
+CONFIG_DRM_PANEL=y
+CONFIG_DRM_PANEL_BRIDGE=y
+CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y
+CONFIG_DRM_PANEL_SIMPLE=y
+CONFIG_DRM_SIMPLE_BRIDGE=y
+CONFIG_DUMMY_CONSOLE=y
CONFIG_EXTRA_FIRMWARE="imx/sdma/sdma-imx7d.bin"
CONFIG_EXTRA_FIRMWARE_DIR="firmware"
+CONFIG_FB=y
+CONFIG_FB_CFB_COPYAREA=y
+CONFIG_FB_CFB_FILLRECT=y
+CONFIG_FB_CFB_IMAGEBLIT=y
+CONFIG_FB_CMDLINE=y
+CONFIG_FB_DEFERRED_IO=y
+CONFIG_FB_SYS_COPYAREA=y
+CONFIG_FB_SYS_FILLRECT=y
+CONFIG_FB_SYS_FOPS=y
+CONFIG_FB_SYS_IMAGEBLIT=y
CONFIG_FEC=y
+CONFIG_FONT_8x16=y
+CONFIG_FONT_8x8=y
+CONFIG_FONT_SUPPORT=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
+CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
CONFIG_FSL_GUTS=y
CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=y
+CONFIG_HDMI=y
+CONFIG_HW_CONSOLE=y
CONFIG_HW_RANDOM_IMX_RNGC=y
+CONFIG_I2C_ALGOBIT=y
CONFIG_IMX_GPCV2=y
CONFIG_IMX_GPCV2_PM_DOMAINS=y
+CONFIG_INPUT=y
CONFIG_JFFS2_FS=y
+CONFIG_KCMP=y
CONFIG_LEDS_GPIO=y
CONFIG_MEMORY_ISOLATION=y
CONFIG_MMC_SDHCI_ESDHC_IMX=y
@@ -45,3 +87,8 @@ CONFIG_SOC_IMX7D=y
CONFIG_SOC_IMX7D_CA7=y
CONFIG_SPI_FSL_QUADSPI=y
CONFIG_SPI_MEM=y
+CONFIG_SYNC_FILE=y
+CONFIG_VIDEOMODE_HELPERS=y
+CONFIG_VT=y
+CONFIG_VT_CONSOLE=y
+CONFIG_VT_HW_CONSOLE_BINDING=y