From b150f9097b1e7ac6373a89b22c9590d143b78f87 Mon Sep 17 00:00:00 2001 From: Anton Midyukov Date: Fri, 2 Aug 2019 01:24:06 +0700 Subject: [PATCH] armh-mcom02: use xorg-drv-fbturbo xorg-drv-fbturbo is recommended by ELVIS and supports working with the proprietary mali driver. --- features.in/armh-mcom02/config.mk | 3 +++ features.in/armh-mcom02/image-scripts.d/90-fbturbo | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100755 features.in/armh-mcom02/image-scripts.d/90-fbturbo diff --git a/features.in/armh-mcom02/config.mk b/features.in/armh-mcom02/config.mk index 37d2f28e..b7b45785 100644 --- a/features.in/armh-mcom02/config.mk +++ b/features.in/armh-mcom02/config.mk @@ -4,4 +4,7 @@ use/armh-mcom02: use/uboot use/tty/S0 @$(call add_feature) @$(call set,KFLAVOURS,mcom02) @$(call add,THE_PACKAGES,u-boot-mcom02-firmware-tools u-boot-mcom02) + +use/armh-mcom02/x11: use/armh-mcom02 + @$(call add,THE_PACKAGES,xorg-drv-fbturbo) endif diff --git a/features.in/armh-mcom02/image-scripts.d/90-fbturbo b/features.in/armh-mcom02/image-scripts.d/90-fbturbo new file mode 100755 index 00000000..1d5153d9 --- /dev/null +++ b/features.in/armh-mcom02/image-scripts.d/90-fbturbo @@ -0,0 +1,13 @@ +#!/bin/sh -x + +[ -d /etc/X11/xorg.conf.d ] || exit 0 +cat > /etc/X11/xorg.conf.d/10-monitor.conf << EOF +Section "Monitor" + Identifier "Monitor0" +EndSection + +Section "Device" + Identifier "Card0" + Driver "fbturbo" +EndSection +EOF