From fd1e972ceb457e3b139723023ab6428ed6166e1c Mon Sep 17 00:00:00 2001 From: Anton Midyukov Date: Wed, 10 Mar 2021 02:33:12 +0700 Subject: [PATCH] armh-mcom02: Don't overwrite extlinux.conf, set screen resolution 1366x768 - No need to do double work. - With screen resolution '1920x1080' there are errors getting EDID when using fbturbo videodriver. There is a cyclical shift of the screen image to the right. --- features.in/armh-mcom02/config.mk | 1 + .../armh-mcom02/image-scripts.d/01-uboot-prepare | 15 --------------- 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100755 features.in/armh-mcom02/image-scripts.d/01-uboot-prepare diff --git a/features.in/armh-mcom02/config.mk b/features.in/armh-mcom02/config.mk index 864f2a25..d8f2c06f 100644 --- a/features.in/armh-mcom02/config.mk +++ b/features.in/armh-mcom02/config.mk @@ -8,6 +8,7 @@ use/armh-mcom02: use/uboot use/tty/S0 use/no-sleep use/auto-resize use/armh-mcom02/x11: use/armh-mcom02 @$(call add,THE_PACKAGES,xorg-drv-fbturbo) + @$(call add,UBOOT_BOOTARGS,video=HDMI:1366x768) use/armh-mcom02/mali: use/armh-mcom02/x11 @$(call add,THE_KMODULES,mali) diff --git a/features.in/armh-mcom02/image-scripts.d/01-uboot-prepare b/features.in/armh-mcom02/image-scripts.d/01-uboot-prepare deleted file mode 100755 index 5d31e7d0..00000000 --- a/features.in/armh-mcom02/image-scripts.d/01-uboot-prepare +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# Rewrite extlinux.conf -mkdir -p /boot/extlinux -cat > /boot/extlinux/extlinux.conf << EOF -menu title ALT Boot Options - -default linux -timeout 20 - -label linux - kernel /boot/vmlinuz - initrd /boot/initrd.img - append root=LABEL=ROOT ro console=ttyS0,115200 video=HDMI:1920x1080 -EOF