bcm2835-bootloader: update initial config.txt, dont change gpu_mem values anymore on update

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2014-03-18 10:41:59 +01:00
parent ed6c301e05
commit b5a9271e03
2 changed files with 11 additions and 5 deletions

View File

@ -28,8 +28,8 @@
gpu_mem=128
# SDRAM size based GPU memory split, uncomment and setup to override 'gpu_mem'
gpu_mem_256=128
gpu_mem_512=128
# gpu_mem_256=128
# gpu_mem_512=128
################################################################################
# Overclocking settings
@ -86,6 +86,11 @@
# 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
################################################################################
# License keys to enable GPU hardware decoding for various codecs
# to obtain keys visit the shop at http://www.raspberrypi.com

View File

@ -42,9 +42,10 @@
mv $BOOT_ROOT/config.txt $BOOT_ROOT/config.txt.bk
cat $SYSTEM_ROOT/usr/share/bootloader/config.txt \
$BOOT_ROOT/config.txt.bk > $BOOT_ROOT/config.txt
else
sed -e "s,# gpu_mem_256=100,gpu_mem_256=128,g" -i $BOOT_ROOT/config.txt
sed -e "s,# gpu_mem_512=128,gpu_mem_512=128,g" -i $BOOT_ROOT/config.txt
# else
# sed -e "s,gpu_mem=100,gpu_mem=128,g" -i $BOOT_ROOT/config.txt
# sed -e "s,gpu_mem_256=100,# gpu_mem_256=128,g" -i $BOOT_ROOT/config.txt
# sed -e "s,gpu_mem_512=128,# gpu_mem_512=128,g" -i $BOOT_ROOT/config.txt
fi
# mount $BOOT_ROOT r/o