Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 550D7E007DC; Thu, 28 Aug 2014 22:42:40 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [207.46.163.242 listed in list.dnswl.org] Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2lp0242.outbound.protection.outlook.com [207.46.163.242]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id DB246E00798 for ; Thu, 28 Aug 2014 22:42:35 -0700 (PDT) Received: from BN3PR0301CA0080.namprd03.prod.outlook.com (25.160.152.176) by BLUPR03MB278.namprd03.prod.outlook.com (10.255.213.16) with Microsoft SMTP Server (TLS) id 15.0.1015.19; Fri, 29 Aug 2014 05:42:34 +0000 Received: from BL2FFO11FD024.protection.gbl (2a01:111:f400:7c09::145) by BN3PR0301CA0080.outlook.office365.com (2a01:111:e400:401e::48) with Microsoft SMTP Server (TLS) id 15.0.1015.19 via Frontend Transport; Fri, 29 Aug 2014 05:42:34 +0000 Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11FD024.mail.protection.outlook.com (10.173.161.103) with Microsoft SMTP Server (TLS) id 15.0.1010.11 via Frontend Transport; Fri, 29 Aug 2014 05:42:34 +0000 Received: from ubuntu.ap.freescale.net (ubuntu-010192241089.ap.freescale.net [10.192.241.89]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id s7T5gOch032646; Thu, 28 Aug 2014 22:42:32 -0700 From: Zidan Wang To: Date: Fri, 29 Aug 2014 13:42:52 +0800 Message-ID: <1409290973-586-5-git-send-email-b50113@freescale.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1409290973-586-1-git-send-email-b50113@freescale.com> References: <1409290973-586-1-git-send-email-b50113@freescale.com> X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:CAL; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(6009001)(24433001)(5423002)(199003)(189002)(87936001)(88136002)(79102001)(2351001)(104166001)(26826002)(93916002)(62966002)(44976005)(50986999)(19580405001)(92566001)(97736001)(99396002)(76176999)(87286001)(31966008)(575784001)(74662001)(86362001)(21056001)(74502001)(102836001)(110136001)(83322001)(105606002)(95666004)(106466001)(81156004)(89996001)(84676001)(77982001)(6806004)(85306004)(76482001)(107046002)(92726001)(229853001)(36756003)(64706001)(230783001)(20776003)(80022001)(47776003)(46102001)(77156001)(90102001)(83072002)(69596002)(48376002)(19580395003)(33646002)(85852003)(104016003)(50466002)(81542001)(50226001)(4396001)(68736004)(81342001)(42262002); DIR:OUT; SFP:; SCL:1; SRVR:BLUPR03MB278; H:az84smr01.freescale.net; FPR:; MLV:ovrnspm; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;UriScan:; X-Forefront-PRVS: 0318501FAE Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=B50113@freescale.com; X-OriginatorOrg: freescale.com Subject: [meta-fsl-arm][PATCH 4/5] libfslvpuwrap: Upgrade from version 1.0.46 to 1.0.54 X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Aug 2014 05:42:40 -0000 Content-Type: text/plain From: Wang Zidan - Remove the IOVirtmem patch as it is part of the 3.10.31 release. - Include some bug fix. - Add support for mx6s. Signed-off-by: Wang Zidan --- ...-fix-tests-of-return-value-from-IOGetVirt.patch | 41 -------------------- ...slvpuwrap_1.0.46.bb => libfslvpuwrap_1.0.54.bb} | 8 ++-- 2 files changed, 4 insertions(+), 45 deletions(-) delete mode 100644 recipes-multimedia/libfslvpuwrap/libfslvpuwrap/0001-vpu_wrapper-fix-tests-of-return-value-from-IOGetVirt.patch rename recipes-multimedia/libfslvpuwrap/{libfslvpuwrap_1.0.46.bb => libfslvpuwrap_1.0.54.bb} (66%) diff --git a/recipes-multimedia/libfslvpuwrap/libfslvpuwrap/0001-vpu_wrapper-fix-tests-of-return-value-from-IOGetVirt.patch b/recipes-multimedia/libfslvpuwrap/libfslvpuwrap/0001-vpu_wrapper-fix-tests-of-return-value-from-IOGetVirt.patch deleted file mode 100644 index ccd2d9e..0000000 --- a/recipes-multimedia/libfslvpuwrap/libfslvpuwrap/0001-vpu_wrapper-fix-tests-of-return-value-from-IOGetVirt.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 7ca66c10c05168c7d342df7c7a70d4a1ae0629f7 Mon Sep 17 00:00:00 2001 -From: Eric Nelson -Date: Sat, 28 Jun 2014 09:45:09 -0700 -Subject: [PATCH] vpu_wrapper: fix tests of return value from IOGetVirtMem - -IOGetVirtMem() returns a pointer or specifically -1 (MAP_FAILED) -in the case of failure. - -Upstream-Status: Pending - -Signed-off-by: Laci Tele -Signed-off-by: Eric Nelson ---- - vpu_wrapper.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/vpu_wrapper.c b/vpu_wrapper.c -index 9249174..148c5df 100755 ---- a/vpu_wrapper.c -+++ b/vpu_wrapper.c -@@ -6653,7 +6653,7 @@ VpuDecRetCode VPU_DecGetMem(VpuMemDesc* pInOutMem) - return VPU_DEC_RET_FAILURE; - } - ret=IOGetVirtMem(&buff); -- if(ret==0) //if(ret!=RETCODE_SUCCESS) -+ if(ret == -1) //if(ret==MAP_FAILED) - { - VPU_ERROR("%s: get virtual memory failure: size=%d, ret=%d \r\n",__FUNCTION__,buff.size,ret); - return VPU_DEC_RET_FAILURE; -@@ -8277,7 +8277,7 @@ VpuEncRetCode VPU_EncGetMem(VpuMemDesc* pInOutMem) - return VPU_ENC_RET_FAILURE; - } - ret=IOGetVirtMem(&buff); -- if(ret==0) //if(ret!=RETCODE_SUCCESS) -+ if(ret == -1) //if(ret==MAP_FAILED) - { - VPU_ENC_ERROR("%s: get virtual memory failure: size=%d, ret=%d \r\n",__FUNCTION__,buff.size,(UINT32)ret); - return VPU_ENC_RET_FAILURE; --- -1.9.1 - diff --git a/recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.46.bb b/recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.54.bb similarity index 66% rename from recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.46.bb rename to recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.54.bb index 8cc1523..63350e6 100644 --- a/recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.46.bb +++ b/recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.54.bb @@ -7,10 +7,10 @@ SECTION = "multimedia" LIC_FILES_CHKSUM = "file://EULA.txt;md5=93b784b1c11b3fffb1638498a8dde3f6" SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" -SRC_URI[md5sum] = "1f50110cb6de8ebf767fb9c5f8baf20d" -SRC_URI[sha256sum] = "7fc1258de338339d19a1a35167393fdc4d773682dfd9b951b197403a075f85fd" +S = "${WORKDIR}/${PN}-${PV}" -SRC_URI_append = " file://0001-vpu_wrapper-fix-tests-of-return-value-from-IOGetVirt.patch" +SRC_URI[md5sum] = "b07a2d4e7bf44225353106ed209f6dac" +SRC_URI[sha256sum] = "eef2cc0c65d96d3a0f75d7134eef8ef0099ece2502d093fc13739edcb343e1dd" inherit fsl-eula-unpack autotools pkgconfig @@ -20,4 +20,4 @@ do_install_append() { } PACKAGE_ARCH = "${MACHINE_ARCH}" -COMPATIBLE_MACHINE = "(mx6q|mx6dl)" +COMPATIBLE_MACHINE = "(mx6q|mx6dl|mx6s)" -- 1.7.9.5