mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
bcm2835-bootloader: set gpu memory to 100MB for 256MB boards
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
53b78bb5ed
commit
5cd56586b9
@ -44,6 +44,9 @@
|
||||
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=128,gpu_mem_256=100,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user