From 68b18fa80e90e3a3ca2b7b684f4664bf0a4a1635 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 27 Feb 2016 15:26:58 +0000 Subject: rpi-config: Upgrade to tip of tree to get GPU_MEM_1024 Document it in README Signed-off-by: Khem Raj --- README | 2 ++ recipes-bsp/bootfiles/rpi-config_git.bb | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README b/README index 16ac1cb..efe885b 100644 --- a/README +++ b/README @@ -90,6 +90,8 @@ GPU_MEM_256 : GPU memory in megabyte for the 256MB Raspberry Pi. Ignored by the 512MB RP. Overrides gpu_mem. Max 192. Default not set. GPU_MEM_512 : GPU memory in megabyte for the 512MB Raspberry Pi. Ignored by the 256MB RP. Overrides gpu_mem. Max 448. Default not set. +GPU_MEM_1024: GPU memory in megabyte for the 1024MB Raspberry Pi. Ignored by the + 256MB/512MB RP. Overrides gpu_mem. Max 944. Default not set. 2.C.Optional - Add purchased license codecs: ============================================ diff --git a/recipes-bsp/bootfiles/rpi-config_git.bb b/recipes-bsp/bootfiles/rpi-config_git.bb index aa11b25..4cdffca 100644 --- a/recipes-bsp/bootfiles/rpi-config_git.bb +++ b/recipes-bsp/bootfiles/rpi-config_git.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384 COMPATIBLE_MACHINE = "raspberrypi" -SRCREV = "5d2ca5f9bcb1b239c051e20c05a233fd79cf09d5" +SRCREV = "648ffc470824c43eb0d16c485f4c24816b32cd6f" SRC_URI = "git://github.com/Evilpaul/RPi-config.git;protocol=git;branch=master \ " @@ -54,6 +54,9 @@ do_deploy() { if [ -n "${GPU_MEM_512}" ]; then sed -i '/#gpu_mem_512/ c\gpu_mem_512=${GPU_MEM_512}' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt fi + if [ -n "${GPU_MEM_1024}" ]; then + sed -i '/#gpu_mem_1024/ c\gpu_mem_1024=${GPU_MEM_1024}' ${DEPLOYDIR}/bcm2835-bootfiles/config.txt + fi # Video camera support if [ -n "${VIDEO_CAMERA}" ]; then -- cgit v1.2.3-54-g00ecf