* Denys Dmytriyenko : am33x-cm3: update with version 1.8.7
@ 2014-08-12 22:11 Arago Project git
2014-08-25 17:14 ` Cooper Jr., Franklin
0 siblings, 1 reply; 6+ messages in thread
From: Arago Project git @ 2014-08-12 22:11 UTC (permalink / raw)
To: meta-ti
Module: meta-ti
Branch: master
Commit: dca184c6791df0195d5d0b927767296be684c3fe
URL: http://arago-project.org/git/meta-ti.git?a=commit;h=dca184c6791df0195d5d0b927767296be684c3fe
Author: Denys Dmytriyenko <denys@ti.com>
Date: Wed Aug 13 02:03:49 2014 +0000
am33x-cm3: update with version 1.8.7
* 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 <denys@ti.com>
---
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(-)
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}/*"
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: Denys Dmytriyenko : am33x-cm3: update with version 1.8.7
2014-08-12 22:11 Denys Dmytriyenko : am33x-cm3: update with version 1.8.7 Arago Project git
@ 2014-08-25 17:14 ` Cooper Jr., Franklin
2014-08-25 17:16 ` Denys Dmytriyenko
0 siblings, 1 reply; 6+ messages in thread
From: Cooper Jr., Franklin @ 2014-08-25 17:14 UTC (permalink / raw)
To: Arago Project git, meta-ti@yoctoproject.org
FYI
I already built this package before this patch was introduced and found that PM was never working.
The PV of this new firmware (1.8.7) is smaller than the old version of the package (05.00.00.03) so I kept getting the old version of the firmware.
So you need to clean out the old version of this package to make sure that the new version is picked up.
> -----Original Message-----
> From: meta-ti-bounces@yoctoproject.org [mailto:meta-ti-
> bounces@yoctoproject.org] On Behalf Of Arago Project git
> Sent: Tuesday, August 12, 2014 5:11 PM
> To: meta-ti@yoctoproject.org
> Subject: [meta-ti] Denys Dmytriyenko : am33x-cm3: update with version
> 1.8.7
>
> Module: meta-ti
> Branch: master
> Commit: dca184c6791df0195d5d0b927767296be684c3fe
> URL: http://arago-project.org/git/meta-
> ti.git?a=commit;h=dca184c6791df0195d5d0b927767296be684c3fe
>
> Author: Denys Dmytriyenko <denys@ti.com>
> Date: Wed Aug 13 02:03:49 2014 +0000
>
> am33x-cm3: update with version 1.8.7
>
> * 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 <denys@ti.com>
>
> ---
>
> 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(-)
>
> 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}/*"
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Denys Dmytriyenko : am33x-cm3: update with version 1.8.7
2014-08-25 17:14 ` Cooper Jr., Franklin
@ 2014-08-25 17:16 ` Denys Dmytriyenko
2014-08-25 17:24 ` Cooper Jr., Franklin
0 siblings, 1 reply; 6+ messages in thread
From: Denys Dmytriyenko @ 2014-08-25 17:16 UTC (permalink / raw)
To: Cooper Jr., Franklin; +Cc: meta-ti@yoctoproject.org, Arago Project git
> > * Bump PE due to versioning schema change
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
On Mon, Aug 25, 2014 at 05:14:22PM +0000, Cooper Jr., Franklin wrote:
> FYI
> I already built this package before this patch was introduced and found that
> PM was never working.
>
> The PV of this new firmware (1.8.7) is smaller than the old version of the
> package (05.00.00.03) so I kept getting the old version of the firmware.
> So you need to clean out the old version of this package to make sure that
> the new version is picked up.
>
> > -----Original Message-----
> > From: meta-ti-bounces@yoctoproject.org [mailto:meta-ti-
> > bounces@yoctoproject.org] On Behalf Of Arago Project git
> > Sent: Tuesday, August 12, 2014 5:11 PM
> > To: meta-ti@yoctoproject.org
> > Subject: [meta-ti] Denys Dmytriyenko : am33x-cm3: update with version
> > 1.8.7
> >
> > Module: meta-ti
> > Branch: master
> > Commit: dca184c6791df0195d5d0b927767296be684c3fe
> > URL: http://arago-project.org/git/meta-
> > ti.git?a=commit;h=dca184c6791df0195d5d0b927767296be684c3fe
> >
> > Author: Denys Dmytriyenko <denys@ti.com>
> > Date: Wed Aug 13 02:03:49 2014 +0000
> >
> > am33x-cm3: update with version 1.8.7
> >
> > * 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 <denys@ti.com>
> >
> > ---
> >
> > 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(-)
> >
> > 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}/*"
> >
> > --
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Denys Dmytriyenko : am33x-cm3: update with version 1.8.7
2014-08-25 17:16 ` Denys Dmytriyenko
@ 2014-08-25 17:24 ` Cooper Jr., Franklin
2014-08-26 0:33 ` Denys Dmytriyenko
0 siblings, 1 reply; 6+ messages in thread
From: Cooper Jr., Franklin @ 2014-08-25 17:24 UTC (permalink / raw)
To: Dmytriyenko, Denys; +Cc: meta-ti@yoctoproject.org, Arago Project git
I have that and it seems like the package was built but in terms of what was installed into the fs I'm still getting the old version of the firmware
On Aug 25, 2014, at 12:16 PM, "Dmytriyenko, Denys" <denys@ti.com> wrote:
>>> * Bump PE due to versioning schema change
>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>
>> On Mon, Aug 25, 2014 at 05:14:22PM +0000, Cooper Jr., Franklin wrote:
>> FYI
>> I already built this package before this patch was introduced and found that
>> PM was never working.
>>
>> The PV of this new firmware (1.8.7) is smaller than the old version of the
>> package (05.00.00.03) so I kept getting the old version of the firmware.
>> So you need to clean out the old version of this package to make sure that
>> the new version is picked up.
>>
>>> -----Original Message-----
>>> From: meta-ti-bounces@yoctoproject.org [mailto:meta-ti-
>>> bounces@yoctoproject.org] On Behalf Of Arago Project git
>>> Sent: Tuesday, August 12, 2014 5:11 PM
>>> To: meta-ti@yoctoproject.org
>>> Subject: [meta-ti] Denys Dmytriyenko : am33x-cm3: update with version
>>> 1.8.7
>>>
>>> Module: meta-ti
>>> Branch: master
>>> Commit: dca184c6791df0195d5d0b927767296be684c3fe
>>> URL: http://arago-project.org/git/meta-
>>> ti.git?a=commit;h=dca184c6791df0195d5d0b927767296be684c3fe
>>>
>>> Author: Denys Dmytriyenko <denys@ti.com>
>>> Date: Wed Aug 13 02:03:49 2014 +0000
>>>
>>> am33x-cm3: update with version 1.8.7
>>>
>>> * 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 <denys@ti.com>
>>>
>>> ---
>>>
>>> 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(-)
>>>
>>> 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}/*"
>>>
>>> --
>>> _______________________________________________
>>> meta-ti mailing list
>>> meta-ti@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/meta-ti
>> --
>> _______________________________________________
>> meta-ti mailing list
>> meta-ti@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: Denys Dmytriyenko : am33x-cm3: update with version 1.8.7
2014-08-25 17:24 ` Cooper Jr., Franklin
@ 2014-08-26 0:33 ` Denys Dmytriyenko
0 siblings, 0 replies; 6+ messages in thread
From: Denys Dmytriyenko @ 2014-08-26 0:33 UTC (permalink / raw)
To: Cooper Jr., Franklin; +Cc: meta-ti@yoctoproject.org, Arago Project git
Ok, I was able to reproduce it. Among other changes, the package is no longer
marked as machine specific. And opkg is passed with --prefer-arch-to-version
flag by default, which selects old machine-specific package instead of the new
arch one.
It does indeed require cleanup in order for the new package to get installed
in the rootfs...
--
Denys
On Mon, Aug 25, 2014 at 01:24:27PM -0400, Cooper Jr., Franklin wrote:
> I have that and it seems like the package was built but in terms of what was
> installed into the fs I'm still getting the old version of the firmware
>
> On Aug 25, 2014, at 12:16 PM, "Dmytriyenko, Denys" <denys@ti.com> wrote:
>
> >>> * Bump PE due to versioning schema change
> >
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> >
> >> On Mon, Aug 25, 2014 at 05:14:22PM +0000, Cooper Jr., Franklin wrote:
> >> FYI
> >> I already built this package before this patch was introduced and found that
> >> PM was never working.
> >>
> >> The PV of this new firmware (1.8.7) is smaller than the old version of the
> >> package (05.00.00.03) so I kept getting the old version of the firmware.
> >> So you need to clean out the old version of this package to make sure that
> >> the new version is picked up.
> >>
> >>> -----Original Message-----
> >>> From: meta-ti-bounces@yoctoproject.org [mailto:meta-ti-
> >>> bounces@yoctoproject.org] On Behalf Of Arago Project git
> >>> Sent: Tuesday, August 12, 2014 5:11 PM
> >>> To: meta-ti@yoctoproject.org
> >>> Subject: [meta-ti] Denys Dmytriyenko : am33x-cm3: update with version
> >>> 1.8.7
> >>>
> >>> Module: meta-ti
> >>> Branch: master
> >>> Commit: dca184c6791df0195d5d0b927767296be684c3fe
> >>> URL: http://arago-project.org/git/meta-
> >>> ti.git?a=commit;h=dca184c6791df0195d5d0b927767296be684c3fe
> >>>
> >>> Author: Denys Dmytriyenko <denys@ti.com>
> >>> Date: Wed Aug 13 02:03:49 2014 +0000
> >>>
> >>> am33x-cm3: update with version 1.8.7
> >>>
> >>> * 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 <denys@ti.com>
> >>>
> >>> ---
> >>>
> >>> 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(-)
> >>>
> >>> 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}/*"
> >>>
> >>> --
> >>> _______________________________________________
> >>> meta-ti mailing list
> >>> meta-ti@yoctoproject.org
> >>> https://lists.yoctoproject.org/listinfo/meta-ti
> >> --
> >> _______________________________________________
> >> meta-ti mailing list
> >> meta-ti@yoctoproject.org
> >> https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 6+ messages in thread
* Denys Dmytriyenko : am33x-cm3: update with version 1.8.7
@ 2014-08-12 22:11 Arago Project git
0 siblings, 0 replies; 6+ messages in thread
From: Arago Project git @ 2014-08-12 22:11 UTC (permalink / raw)
To: meta-ti
Module: meta-ti
Branch: daisy
Commit: a817ad5826b1c35084a6abb093b89a3916ecb283
URL: http://arago-project.org/git/meta-ti.git?a=commit;h=a817ad5826b1c35084a6abb093b89a3916ecb283
Author: Denys Dmytriyenko <denys@ti.com>
Date: Wed Aug 13 02:03:49 2014 +0000
am33x-cm3: update with version 1.8.7
* 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 <denys@ti.com>
---
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(-)
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}/*"
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-08-26 0:33 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-12 22:11 Denys Dmytriyenko : am33x-cm3: update with version 1.8.7 Arago Project git
2014-08-25 17:14 ` Cooper Jr., Franklin
2014-08-25 17:16 ` Denys Dmytriyenko
2014-08-25 17:24 ` Cooper Jr., Franklin
2014-08-26 0:33 ` Denys Dmytriyenko
-- strict thread matches above, loose matches on Subject: below --
2014-08-12 22:11 Arago Project git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.