Return-Path: Received: from mail.chez-thomas.org (mail.mlbassoc.com [65.100.170.105]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 195A3E007F6 for ; Tue, 17 Dec 2013 08:59:51 -0800 (PST) Received: by mail.chez-thomas.org (Postfix, from userid 1998) id F0246F811D8; Tue, 17 Dec 2013 09:59:49 -0700 (MST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hermes.chez-thomas.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.3.2 Received: from zeus.chez-thomas.org (zeus [192.168.1.114]) by mail.chez-thomas.org (Postfix) with ESMTP id 76974F811EA; Tue, 17 Dec 2013 09:59:47 -0700 (MST) From: Gary Thomas To: yocto@yoctoproject.org Date: Tue, 17 Dec 2013 09:59:51 -0700 Message-Id: <1387299591-29254-3-git-send-email-gary@mlbassoc.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1387299591-29254-1-git-send-email-gary@mlbassoc.com> References: <1387299591-29254-1-git-send-email-gary@mlbassoc.com> Cc: Gary Thomas Subject: [meta-raspberrypi][PATCH 2/2] rpi-config: Add video camera control X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Dec 2013 16:59:52 -0000 Add video camera enable 'VIDEO_CAMERA' for config.txt Signed-off-by: Gary Thomas --- recipes-bcm/bootfiles/rpi-config_git.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recipes-bcm/bootfiles/rpi-config_git.bb b/recipes-bcm/bootfiles/rpi-config_git.bb index 4328070..66a8fa8 100644 --- a/recipes-bcm/bootfiles/rpi-config_git.bb +++ b/recipes-bcm/bootfiles/rpi-config_git.bb @@ -52,6 +52,12 @@ do_deploy() { if [ -n "${GPU_MEM_512}" ]; then sed -i '/#gpu_mem_512/ c\gpu_mem_512=${GPU_MEM_512}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt fi + + # Video camera support + if [ -n "${VIDEO_CAMERA}" ]; then + echo "# Enable video camera" >>${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt + echo "start_x=1" >>${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt + fi } PACKAGE_ARCH = "${MACHINE_ARCH}" -- 1.7.9.5