From 2e28f625a630a61e765954f5e0cf7b816e6b431b Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Sat, 4 Jul 2020 11:21:50 +0200 Subject: [PATCH] RPi: sync config.txt with RPi4 We only need a bit of gpu mem for H264 decoding, vc4/v3d uses cma. Signed-off-by: Matthias Reichl --- .../files/3rdparty/bootloader/config.txt | 26 +------------ projects/RPi/devices/RPi4/config/config.txt | 38 ------------------- 2 files changed, 2 insertions(+), 62 deletions(-) delete mode 100644 projects/RPi/devices/RPi4/config/config.txt diff --git a/packages/tools/bcm2835-bootloader/files/3rdparty/bootloader/config.txt b/packages/tools/bcm2835-bootloader/files/3rdparty/bootloader/config.txt index 2a326c2121..f6d03777a6 100644 --- a/packages/tools/bcm2835-bootloader/files/3rdparty/bootloader/config.txt +++ b/packages/tools/bcm2835-bootloader/files/3rdparty/bootloader/config.txt @@ -9,13 +9,8 @@ # Memory (System/GPU configuration ) ################################################################################ -# Default GPU memory split (do not change if you do not know what you are doing) - gpu_mem=128 - -# Configure GPU memory based on SDRAM size - overrides above setting - gpu_mem_256=112 - gpu_mem_512=160 - gpu_mem_1024=256 +# Default GPU memory split +gpu_mem=76 ################################################################################ # For overclocking and various other settings, see: @@ -24,15 +19,6 @@ # Set 'force_turbo=1' to disable dynamic overclocking and enable overclocking always. force_turbo=0 -# Make display smaller to stop text spilling off the screen -# -# Note that the overscan settings only affect the splash screen and not Kodi. -# -# If you experience overscan/underscan issues the best solution is to adjust -# your TV settings ("full pixel", "1-1 pixel" etc.). Alternatively, there is a -# calibration menu in the Kodi GUI. -# disable_overscan=1 - # Force HDMI even if unplugged or powered off # hdmi_force_hotplug=1 @@ -41,14 +27,6 @@ force_turbo=0 # rebooting. hdmi_ignore_cec_init=1 -################################################################################ -# License keys to enable GPU hardware decoding for various codecs -# to obtain keys visit the shop at http://www.raspberrypi.com -################################################################################ - -# decode_MPG2=0x00000000 -# decode_WVC1=0x00000000 - ################################################################################ # End of default configuration ################################################################################ diff --git a/projects/RPi/devices/RPi4/config/config.txt b/projects/RPi/devices/RPi4/config/config.txt deleted file mode 100644 index f6d03777a6..0000000000 --- a/projects/RPi/devices/RPi4/config/config.txt +++ /dev/null @@ -1,38 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-or-later -# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv) -# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv) -################################################################################ -# Bootloader configuration - config.txt -################################################################################ - -################################################################################ -# Memory (System/GPU configuration ) -################################################################################ - -# Default GPU memory split -gpu_mem=76 - -################################################################################ -# For overclocking and various other settings, see: -# https://www.raspberrypi.org/documentation/configuration/config-txt.md -################################################################################ -# Set 'force_turbo=1' to disable dynamic overclocking and enable overclocking always. -force_turbo=0 - -# Force HDMI even if unplugged or powered off -# hdmi_force_hotplug=1 - -# Doesn't sent initial active source message. -# Avoids bringing CEC (enabled TV) out of standby and channel switch when -# rebooting. -hdmi_ignore_cec_init=1 - -################################################################################ -# End of default configuration -################################################################################ - -################################################################################ -# Include distribution specific config file if it exists. -################################################################################ -[all] -include distroconfig.txt