Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 2F8C4E009CB; Mon, 20 Jun 2016 13:04:24 -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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [198.47.26.152 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id DA8CCE0091D for ; Mon, 20 Jun 2016 13:04:16 -0700 (PDT) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id u5KK3Z5L013009 for ; Mon, 20 Jun 2016 15:03:35 -0500 Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id u5KK4FIO022189 for ; Mon, 20 Jun 2016 15:04:15 -0500 Received: from dflp33.itg.ti.com (10.64.6.16) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.294.0; Mon, 20 Jun 2016 15:04:15 -0500 Received: from uda0862859a.am.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id u5KK4FJC009666; Mon, 20 Jun 2016 15:04:15 -0500 From: Sam Nelson To: Date: Mon, 20 Jun 2016 16:04:12 -0400 Message-ID: <1466453053-11731-1-git-send-email-sam.nelson@ti.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Subject: [PATCH v2 1/2] uio-module-drv: Update to new version 2.1.0.0 X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2016 20:04:24 -0000 Content-Type: text/plain One API change in read/write Additional test code added Signed-off-by: Sam Nelson --- recipes-bsp/uio-module-drv/uio-module-drv-test_git.bb | 18 +++++++++++++++--- recipes-bsp/uio-module-drv/uio-module-drv.inc | 6 +++--- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/recipes-bsp/uio-module-drv/uio-module-drv-test_git.bb b/recipes-bsp/uio-module-drv/uio-module-drv-test_git.bb index 3134a03..1923b36 100644 --- a/recipes-bsp/uio-module-drv/uio-module-drv-test_git.bb +++ b/recipes-bsp/uio-module-drv/uio-module-drv-test_git.bb @@ -2,16 +2,28 @@ DESCRIPTION = "Test code for user space IO (UIO) driver" include uio-module-drv.inc -PR = "r1" +PR = "r0" -COMPATIBLE_MACHINE = "keystone" +COMPATIBLE_MACHINE = "keystone|am57xx-evm" + +DEVICE_NAME_am57xx-evm = "am57xx" +DEVICE_NAME_keystone-evm = "keystone" RDEPENDS_${PN} = "uio-module-drv" do_compile() { - oe_runmake -C ${S} test + oe_runmake -C ${S} test "DEVICE=${DEVICE_NAME}" } do_install() { install -d ${D}${bindir}/ + install -c -m 755 ${S}/test/uio_mem_test ${D}${bindir}/. + install -c -m 755 ${S}/test/uio_int_test ${D}${bindir}/. +} + +do_install_append_keystone () { install -c -m 755 ${S}/test/uio_cic2_int_multithread_test ${D}${bindir}/. } + +do_install_append_am57xx-evm () { + install -c -m 755 ${S}/test/prussdrv_test/test/pruss_uio_test ${D}${bindir}/. +} diff --git a/recipes-bsp/uio-module-drv/uio-module-drv.inc b/recipes-bsp/uio-module-drv/uio-module-drv.inc index 161c45b..88eab76 100644 --- a/recipes-bsp/uio-module-drv/uio-module-drv.inc +++ b/recipes-bsp/uio-module-drv/uio-module-drv.inc @@ -2,10 +2,10 @@ LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2b7c96eb2aed7b0f6f922214dbde9016" BRANCH = "master" -# This corresponds to version 02.00.00.00 -SRCREV = "6a7eda36e390658593a5b8d87b0f00beb3997240" +# This corresponds to version 02.01.00.00 +SRCREV = "19761495883bf8fb2670b0929d255135bd295dcb" -PV = "2.0.0.0+git${SRCPV}" +PV = "2.1.0.0+git${SRCPV}" SRC_URI = "git://git.ti.com/keystone-linux/uio-module-drv.git;protocol=git;branch=${BRANCH}" -- 1.9.1