[yocto] [meta-raspberrypi][PATCH 19/23] rpi-config: Upgrade to tip of tree to get GPU_MEM_1024
Khem Raj
raj.khem at gmail.com
Sat Feb 27 07:26:58 PST 2016
Document it in README
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
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
--
1.9.1
More information about the yocto
mailing list