Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 3A541E0079A; Tue, 12 Aug 2014 13:03:55 -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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [206.46.173.19 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from vms173019pub.verizon.net (vms173019pub.verizon.net [206.46.173.19]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 90711E00796 for ; Tue, 12 Aug 2014 13:03:51 -0700 (PDT) Received: from gandalf.denix.org ([unknown] [108.18.33.160]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0NA700LWXMEE7K40@vms173019.mailsrvcs.net> for meta-ti@yoctoproject.org; Tue, 12 Aug 2014 15:03:50 -0500 (CDT) Received: from localhost.localdomain (elrond [192.168.0.7]) by gandalf.denix.org (Postfix) with ESMTP id DACF620015; Tue, 12 Aug 2014 16:03:49 -0400 (EDT) From: Denys Dmytriyenko To: meta-ti@yoctoproject.org Date: Tue, 12 Aug 2014 16:03:49 -0400 Message-id: <1407873829-3045-1-git-send-email-denis@denix.org> X-Mailer: git-send-email 2.0.4 Subject: [PATCH v2] am33x-cm3: update with version 1.8.7 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: Tue, 12 Aug 2014 20:03:55 -0000 From: Denys Dmytriyenko * Move repo to git.ti.com * Bump PE due to versioning schema change * Drop init scripts needed back in 3.8 days Signed-off-by: Denys Dmytriyenko --- v2 - also drop init scripts recipes-bsp/am33x-cm3/am33x-cm3/init-am33x-cm3 | 6 ---- recipes-bsp/am33x-cm3/am33x-cm3/init-am43x-cm3 | 6 ---- recipes-bsp/am33x-cm3/am33x-cm3_git.bb | 43 +++++--------------------- 3 files changed, 7 insertions(+), 48 deletions(-) delete mode 100644 recipes-bsp/am33x-cm3/am33x-cm3/init-am33x-cm3 delete mode 100644 recipes-bsp/am33x-cm3/am33x-cm3/init-am43x-cm3 diff --git a/recipes-bsp/am33x-cm3/am33x-cm3/init-am33x-cm3 b/recipes-bsp/am33x-cm3/am33x-cm3/init-am33x-cm3 deleted file mode 100644 index 56c17b3..0000000 --- a/recipes-bsp/am33x-cm3/am33x-cm3/init-am33x-cm3 +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -# Load the PM CM3 firmware -echo 1 > /sys/devices/ocp.2/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/loading -cat /lib/firmware/am335x-pm-firmware.bin > /sys/devices/ocp.2/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/data -echo 0 > /sys/devices/ocp.2/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/loading diff --git a/recipes-bsp/am33x-cm3/am33x-cm3/init-am43x-cm3 b/recipes-bsp/am33x-cm3/am33x-cm3/init-am43x-cm3 deleted file mode 100644 index 0a75c1f..0000000 --- a/recipes-bsp/am33x-cm3/am33x-cm3/init-am43x-cm3 +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -# Load the PM CM3 firmware -echo 1 > /sys/devices/44000000.ocp/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/loading -cat /lib/firmware/am335x-pm-firmware.bin > /sys/devices/44000000.ocp/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/data -echo 0 > /sys/devices/44000000.ocp/44d00000.wkup_m3/firmware/am335x-pm-firmware.bin/loading diff --git a/recipes-bsp/am33x-cm3/am33x-cm3_git.bb b/recipes-bsp/am33x-cm3/am33x-cm3_git.bb index 42f20da..51ec9bd 100644 --- a/recipes-bsp/am33x-cm3/am33x-cm3_git.bb +++ b/recipes-bsp/am33x-cm3/am33x-cm3_git.bb @@ -3,35 +3,14 @@ DESCRIPTION = "Cortex-M3 binary blob for suspend-resume" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://License.txt;md5=7bdc54a749ab7a7dea999d25d99a41b8" -PV = "05.00.00.03" -PR = "r1" +PV = "1.8.7" +PR = "r0" +PE = "1" -# Make package machine specific due to different init scripts -PACKAGE_ARCH = "${MACHINE_ARCH}" +SRCREV = "fb0117edd5810a8d3bd9b1cd8abe34e12ff2d0ba" +BRANCH ?= "next" -# SRCREV corresponds to tag v05.00.00.03 -SRCREV = "a0ddffb63147e2079a08944c0e399c75538201a9" -BRANCH ?= "master" - -# This init script is only used for older kernels that do not support -# hotplug of the firmware. Newer kernels do not require the initscript -# package. -INITSCRIPT_NAME = "am335x-pm-firmware-load" -INITSCRIPT_PARAMS = "defaults 96" - -inherit update-rc.d - -UPDATERCPN = "${PN}-initscript" - -RDEPENDS_${PN}-initscript = "am33x-cm3" - -SRC_URI = "git://arago-project.org/git/projects/am33x-cm3.git;protocol=git;branch=${BRANCH} \ - file://init-am33x-cm3 \ - file://init-am43x-cm3 \ - " - -SCRIPT_ti33x = "init-am33x-cm3" -SCRIPT_ti43x = "init-am43x-cm3" +SRC_URI = "git://git.ti.com/ti-cm3-pm-firmware/amx3-cm3.git;protocol=git;branch=${BRANCH}" S = "${WORKDIR}/git" @@ -41,15 +20,7 @@ do_compile() { do_install() { install -d ${D}${base_libdir}/firmware - install -m 0644 bin/am335x-pm-firmware.bin ${D}${base_libdir}/firmware/ - - # Install the init script to load the PM firmware at boot - install -d ${D}${sysconfdir}/init.d - install -m 0755 ${WORKDIR}/${SCRIPT} ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} + install -m 0644 bin/am335x-pm-firmware.elf ${D}${base_libdir}/firmware/ } -PACKAGES =+ "${PN}-initscript" - FILES_${PN} += "${base_libdir}/firmware" - -FILES_${PN}-initscript = "${sysconfdir}/*" -- 2.0.4