All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-ti] prueth-hsr/prp: add hsr/prp firmware recipe for version 2.15.23
@ 2020-07-06 21:59 Murali
  2020-07-07 16:17 ` Denys Dmytriyenko
  0 siblings, 1 reply; 11+ messages in thread
From: Murali @ 2020-07-06 21:59 UTC (permalink / raw)
  To: meta-ti, denys

This patch adds recipe for hsr/prp firmware on am3/4/5 SoCs. The binary
files are located on ti-linux-firmware.git. This is a forward port of
the recipe from processor sdk 6.3

Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
---
 recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb | 36 +++++++++++++++++++++++++
 recipes-bsp/pruprp-fw/pruprp-fw_git.bb | 37 ++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)
 create mode 100644 recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
 create mode 100644 recipes-bsp/pruprp-fw/pruprp-fw_git.bb

diff --git a/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb b/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
new file mode 100644
index 000000000000..fd6665f29d17
--- /dev/null
+++ b/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
@@ -0,0 +1,36 @@
+DESCRIPTION = "PRU HSR firmware for AM57xx"
+
+LICENSE = "TI-TFL"
+LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
+
+PV = "2.15.23"
+PE = "1"
+PR = "r0"
+
+COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29"
+BRANCH ?= "ti-linux-firmware"
+
+SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+TARGET = ""
+TARGET_ti33x = "am335x-pru0-pruhsr-fw.elf am335x-pru1-pruhsr-fw.elf"
+TARGET_ti43x = "am437x-pru0-pruhsr-fw.elf am437x-pru1-pruhsr-fw.elf"
+TARGET_am57xx-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
+TARGET_am57xx-hs-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
+
+do_install() {
+	install -d ${D}${base_libdir}/firmware/ti-pruss
+	for f in ${TARGET}; do
+		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
+	done
+}
+
+FILES_${PN} = "${base_libdir}/firmware"
+
+INSANE_SKIP_${PN} = "arch"
diff --git a/recipes-bsp/pruprp-fw/pruprp-fw_git.bb b/recipes-bsp/pruprp-fw/pruprp-fw_git.bb
new file mode 100644
index 000000000000..0b9991a5a0a3
--- /dev/null
+++ b/recipes-bsp/pruprp-fw/pruprp-fw_git.bb
@@ -0,0 +1,37 @@
+DESCRIPTION = "PRU PRP firmware for AM57xx"
+
+LICENSE = "TI-TFL"
+LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
+
+PV = "2.15.23"
+PE = "1"
+PR = "r0"
+
+COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29"
+BRANCH ?= "ti-linux-firmware"
+
+SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+TARGET = ""
+TARGET_ti33x = "am335x-pru0-pruprp-fw.elf am335x-pru1-pruprp-fw.elf"
+TARGET_ti43x = "am437x-pru0-pruprp-fw.elf am437x-pru1-pruprp-fw.elf"
+TARGET_am57xx-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
+TARGET_am57xx-hs-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
+
+
+do_install() {
+	install -d ${D}${base_libdir}/firmware/ti-pruss
+	for f in ${TARGET}; do
+		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
+	done
+}
+
+FILES_${PN} = "${base_libdir}/firmware"
+
+INSANE_SKIP_${PN} = "arch"
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [meta-ti] prueth-hsr/prp: add hsr/prp firmware recipe for version 2.15.23
  2020-07-06 21:59 [meta-ti] prueth-hsr/prp: add hsr/prp firmware recipe for version 2.15.23 Murali
@ 2020-07-07 16:17 ` Denys Dmytriyenko
  2020-07-07 16:29   ` Murali
  0 siblings, 1 reply; 11+ messages in thread
From: Denys Dmytriyenko @ 2020-07-07 16:17 UTC (permalink / raw)
  To: Murali Karicheri; +Cc: meta-ti

Thank you, everything looks fine. Could you please replace DESCRIPTION with 
SUMMARY? Thanks.

Denys


On Mon, Jul 06, 2020 at 05:59:58PM -0400, Murali Karicheri wrote:
> This patch adds recipe for hsr/prp firmware on am3/4/5 SoCs. The binary
> files are located on ti-linux-firmware.git. This is a forward port of
> the recipe from processor sdk 6.3
> 
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
> ---
>  recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb | 36 +++++++++++++++++++++++++
>  recipes-bsp/pruprp-fw/pruprp-fw_git.bb | 37 ++++++++++++++++++++++++++
>  2 files changed, 73 insertions(+)
>  create mode 100644 recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
>  create mode 100644 recipes-bsp/pruprp-fw/pruprp-fw_git.bb
> 
> diff --git a/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb b/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
> new file mode 100644
> index 000000000000..fd6665f29d17
> --- /dev/null
> +++ b/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
> @@ -0,0 +1,36 @@
> +DESCRIPTION = "PRU HSR firmware for AM57xx"
> +
> +LICENSE = "TI-TFL"
> +LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
> +
> +PV = "2.15.23"
> +PE = "1"
> +PR = "r0"
> +
> +COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29"
> +BRANCH ?= "ti-linux-firmware"
> +
> +SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
> +
> +S = "${WORKDIR}/git"
> +
> +TARGET = ""
> +TARGET_ti33x = "am335x-pru0-pruhsr-fw.elf am335x-pru1-pruhsr-fw.elf"
> +TARGET_ti43x = "am437x-pru0-pruhsr-fw.elf am437x-pru1-pruhsr-fw.elf"
> +TARGET_am57xx-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
> +TARGET_am57xx-hs-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
> +
> +do_install() {
> +	install -d ${D}${base_libdir}/firmware/ti-pruss
> +	for f in ${TARGET}; do
> +		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
> +	done
> +}
> +
> +FILES_${PN} = "${base_libdir}/firmware"
> +
> +INSANE_SKIP_${PN} = "arch"
> diff --git a/recipes-bsp/pruprp-fw/pruprp-fw_git.bb b/recipes-bsp/pruprp-fw/pruprp-fw_git.bb
> new file mode 100644
> index 000000000000..0b9991a5a0a3
> --- /dev/null
> +++ b/recipes-bsp/pruprp-fw/pruprp-fw_git.bb
> @@ -0,0 +1,37 @@
> +DESCRIPTION = "PRU PRP firmware for AM57xx"
> +
> +LICENSE = "TI-TFL"
> +LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
> +
> +PV = "2.15.23"
> +PE = "1"
> +PR = "r0"
> +
> +COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29"
> +BRANCH ?= "ti-linux-firmware"
> +
> +SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
> +
> +S = "${WORKDIR}/git"
> +
> +TARGET = ""
> +TARGET_ti33x = "am335x-pru0-pruprp-fw.elf am335x-pru1-pruprp-fw.elf"
> +TARGET_ti43x = "am437x-pru0-pruprp-fw.elf am437x-pru1-pruprp-fw.elf"
> +TARGET_am57xx-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
> +TARGET_am57xx-hs-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
> +
> +
> +do_install() {
> +	install -d ${D}${base_libdir}/firmware/ti-pruss
> +	for f in ${TARGET}; do
> +		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
> +	done
> +}
> +
> +FILES_${PN} = "${base_libdir}/firmware"
> +
> +INSANE_SKIP_${PN} = "arch"
> -- 
> 2.17.1
> 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [meta-ti] prueth-hsr/prp: add hsr/prp firmware recipe for version 2.15.23
  2020-07-07 16:17 ` Denys Dmytriyenko
@ 2020-07-07 16:29   ` Murali
  2020-07-07 16:40     ` Denys Dmytriyenko
       [not found]     ` <161F85EEADC37350.28965@lists.yoctoproject.org>
  0 siblings, 2 replies; 11+ messages in thread
From: Murali @ 2020-07-07 16:29 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti

Denys,

On 7/7/20 12:17 PM, Denys Dmytriyenko wrote:
> Thank you, everything looks fine. Could you please replace DESCRIPTION with
> SUMMARY? Thanks.
> 

You mean the below right? Once you confirm I will spin v2 and send it.

Thanks

> Denys
> 
> 
> On Mon, Jul 06, 2020 at 05:59:58PM -0400, Murali Karicheri wrote:
>> This patch adds recipe for hsr/prp firmware on am3/4/5 SoCs. The binary
>> files are located on ti-linux-firmware.git. This is a forward port of
>> the recipe from processor sdk 6.3
>>
>> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
>> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
>> ---
>>   recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb | 36 +++++++++++++++++++++++++
>>   recipes-bsp/pruprp-fw/pruprp-fw_git.bb | 37 ++++++++++++++++++++++++++
>>   2 files changed, 73 insertions(+)
>>   create mode 100644 recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
>>   create mode 100644 recipes-bsp/pruprp-fw/pruprp-fw_git.bb
>>
>> diff --git a/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb b/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
>> new file mode 100644
>> index 000000000000..fd6665f29d17
>> --- /dev/null
>> +++ b/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
>> @@ -0,0 +1,36 @@
>> +DESCRIPTION = "PRU HSR firmware for AM57xx"

SUMMARY = "PRU HSR firmware for AM57xx"

>> +
>> +LICENSE = "TI-TFL"
>> +LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
>> +
>> +PV = "2.15.23"
>> +PE = "1"
>> +PR = "r0"
>> +
>> +COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
>> +
>> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>> +
>> +SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29"
>> +BRANCH ?= "ti-linux-firmware"
>> +
>> +SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
>> +
>> +S = "${WORKDIR}/git"
>> +
>> +TARGET = ""
>> +TARGET_ti33x = "am335x-pru0-pruhsr-fw.elf am335x-pru1-pruhsr-fw.elf"
>> +TARGET_ti43x = "am437x-pru0-pruhsr-fw.elf am437x-pru1-pruhsr-fw.elf"
>> +TARGET_am57xx-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
>> +TARGET_am57xx-hs-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
>> +
>> +do_install() {
>> +	install -d ${D}${base_libdir}/firmware/ti-pruss
>> +	for f in ${TARGET}; do
>> +		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
>> +	done
>> +}
>> +
>> +FILES_${PN} = "${base_libdir}/firmware"
>> +
>> +INSANE_SKIP_${PN} = "arch"
>> diff --git a/recipes-bsp/pruprp-fw/pruprp-fw_git.bb b/recipes-bsp/pruprp-fw/pruprp-fw_git.bb
>> new file mode 100644
>> index 000000000000..0b9991a5a0a3
>> --- /dev/null
>> +++ b/recipes-bsp/pruprp-fw/pruprp-fw_git.bb
>> @@ -0,0 +1,37 @@
>> +DESCRIPTION = "PRU PRP firmware for AM57xx"

SUMMARY = "PRU PRP firmware for AM57xx"

>> +
>> +LICENSE = "TI-TFL"
>> +LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
>> +
>> +PV = "2.15.23"
>> +PE = "1"
>> +PR = "r0"
>> +
>> +COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
>> +
>> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>> +
>> +SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29"
>> +BRANCH ?= "ti-linux-firmware"
>> +
>> +SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
>> +
>> +S = "${WORKDIR}/git"
>> +
>> +TARGET = ""
>> +TARGET_ti33x = "am335x-pru0-pruprp-fw.elf am335x-pru1-pruprp-fw.elf"
>> +TARGET_ti43x = "am437x-pru0-pruprp-fw.elf am437x-pru1-pruprp-fw.elf"
>> +TARGET_am57xx-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
>> +TARGET_am57xx-hs-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
>> +
>> +
>> +do_install() {
>> +	install -d ${D}${base_libdir}/firmware/ti-pruss
>> +	for f in ${TARGET}; do
>> +		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
>> +	done
>> +}
>> +
>> +FILES_${PN} = "${base_libdir}/firmware"
>> +
>> +INSANE_SKIP_${PN} = "arch"
>> -- 
>> 2.17.1
>>

-- 
Murali Karicheri
Texas Instruments

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [meta-ti] prueth-hsr/prp: add hsr/prp firmware recipe for version 2.15.23
  2020-07-07 16:29   ` Murali
@ 2020-07-07 16:40     ` Denys Dmytriyenko
  2020-07-07 16:47       ` Murali
       [not found]     ` <161F85EEADC37350.28965@lists.yoctoproject.org>
  1 sibling, 1 reply; 11+ messages in thread
From: Denys Dmytriyenko @ 2020-07-07 16:40 UTC (permalink / raw)
  To: Murali Karicheri; +Cc: meta-ti

On Tue, Jul 07, 2020 at 12:29:53PM -0400, Murali Karicheri wrote:
> Denys,
> 
> On 7/7/20 12:17 PM, Denys Dmytriyenko wrote:
> >Thank you, everything looks fine. Could you please replace DESCRIPTION with
> >SUMMARY? Thanks.
> >
> 
> You mean the below right? Once you confirm I will spin v2 and send it.
> 
> Thanks
> 
> >Denys
> >
> >
> >On Mon, Jul 06, 2020 at 05:59:58PM -0400, Murali Karicheri wrote:
> >>This patch adds recipe for hsr/prp firmware on am3/4/5 SoCs. The binary
> >>files are located on ti-linux-firmware.git. This is a forward port of
> >>the recipe from processor sdk 6.3
> >>
> >>Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> >>Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
> >>---
> >>  recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb | 36 +++++++++++++++++++++++++
> >>  recipes-bsp/pruprp-fw/pruprp-fw_git.bb | 37 ++++++++++++++++++++++++++
> >>  2 files changed, 73 insertions(+)
> >>  create mode 100644 recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
> >>  create mode 100644 recipes-bsp/pruprp-fw/pruprp-fw_git.bb
> >>
> >>diff --git a/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb b/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
> >>new file mode 100644
> >>index 000000000000..fd6665f29d17
> >>--- /dev/null
> >>+++ b/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
> >>@@ -0,0 +1,36 @@
> >>+DESCRIPTION = "PRU HSR firmware for AM57xx"
> 
> SUMMARY = "PRU HSR firmware for AM57xx"

Correct.


> >>+
> >>+LICENSE = "TI-TFL"
> >>+LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
> >>+
> >>+PV = "2.15.23"
> >>+PE = "1"
> >>+PR = "r0"
> >>+
> >>+COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
> >>+
> >>+PACKAGE_ARCH = "${MACHINE_ARCH}"
> >>+
> >>+SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29"
> >>+BRANCH ?= "ti-linux-firmware"
> >>+
> >>+SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
> >>+
> >>+S = "${WORKDIR}/git"
> >>+
> >>+TARGET = ""
> >>+TARGET_ti33x = "am335x-pru0-pruhsr-fw.elf am335x-pru1-pruhsr-fw.elf"
> >>+TARGET_ti43x = "am437x-pru0-pruhsr-fw.elf am437x-pru1-pruhsr-fw.elf"
> >>+TARGET_am57xx-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
> >>+TARGET_am57xx-hs-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
> >>+
> >>+do_install() {
> >>+	install -d ${D}${base_libdir}/firmware/ti-pruss
> >>+	for f in ${TARGET}; do
> >>+		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
> >>+	done
> >>+}
> >>+
> >>+FILES_${PN} = "${base_libdir}/firmware"
> >>+
> >>+INSANE_SKIP_${PN} = "arch"
> >>diff --git a/recipes-bsp/pruprp-fw/pruprp-fw_git.bb b/recipes-bsp/pruprp-fw/pruprp-fw_git.bb
> >>new file mode 100644
> >>index 000000000000..0b9991a5a0a3
> >>--- /dev/null
> >>+++ b/recipes-bsp/pruprp-fw/pruprp-fw_git.bb
> >>@@ -0,0 +1,37 @@
> >>+DESCRIPTION = "PRU PRP firmware for AM57xx"
> 
> SUMMARY = "PRU PRP firmware for AM57xx"
> 
> >>+
> >>+LICENSE = "TI-TFL"
> >>+LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
> >>+
> >>+PV = "2.15.23"
> >>+PE = "1"
> >>+PR = "r0"
> >>+
> >>+COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
> >>+
> >>+PACKAGE_ARCH = "${MACHINE_ARCH}"
> >>+
> >>+SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29"
> >>+BRANCH ?= "ti-linux-firmware"
> >>+
> >>+SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
> >>+
> >>+S = "${WORKDIR}/git"
> >>+
> >>+TARGET = ""
> >>+TARGET_ti33x = "am335x-pru0-pruprp-fw.elf am335x-pru1-pruprp-fw.elf"
> >>+TARGET_ti43x = "am437x-pru0-pruprp-fw.elf am437x-pru1-pruprp-fw.elf"
> >>+TARGET_am57xx-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
> >>+TARGET_am57xx-hs-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
> >>+
> >>+
> >>+do_install() {
> >>+	install -d ${D}${base_libdir}/firmware/ti-pruss
> >>+	for f in ${TARGET}; do
> >>+		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
> >>+	done
> >>+}
> >>+
> >>+FILES_${PN} = "${base_libdir}/firmware"
> >>+
> >>+INSANE_SKIP_${PN} = "arch"
> >>-- 
> >>2.17.1
> >>
> 
> -- 
> Murali Karicheri
> Texas Instruments

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [meta-ti] prueth-hsr/prp: add hsr/prp firmware recipe for version 2.15.23
  2020-07-07 16:40     ` Denys Dmytriyenko
@ 2020-07-07 16:47       ` Murali
  2020-07-07 17:16         ` Denys Dmytriyenko
  0 siblings, 1 reply; 11+ messages in thread
From: Murali @ 2020-07-07 16:47 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti

Denys,

On 7/7/20 12:40 PM, Denys Dmytriyenko wrote:
> On Tue, Jul 07, 2020 at 12:29:53PM -0400, Murali Karicheri wrote:
>> Denys,
>>
>> On 7/7/20 12:17 PM, Denys Dmytriyenko wrote:
>>> Thank you, everything looks fine. Could you please replace DESCRIPTION with
>>> SUMMARY? Thanks.
>>>
Is there any other recipe needed to get this into the file system or
this is it?

I would be sending a iproute2 recipe update as well. Would need a file
system with these two in next few days.

Regards,

Murali
>>
>> You mean the below right? Once you confirm I will spin v2 and send it.
>>
>> Thanks
>>
>>> Denys
>>>
>>>
>>> On Mon, Jul 06, 2020 at 05:59:58PM -0400, Murali Karicheri wrote:
>>>> This patch adds recipe for hsr/prp firmware on am3/4/5 SoCs. The binary
>>>> files are located on ti-linux-firmware.git. This is a forward port of
>>>> the recipe from processor sdk 6.3
>>>>
>>>> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
>>>> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
>>>> ---
>>>>   recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb | 36 +++++++++++++++++++++++++
>>>>   recipes-bsp/pruprp-fw/pruprp-fw_git.bb | 37 ++++++++++++++++++++++++++
>>>>   2 files changed, 73 insertions(+)
>>>>   create mode 100644 recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
>>>>   create mode 100644 recipes-bsp/pruprp-fw/pruprp-fw_git.bb
>>>>
>>>> diff --git a/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb b/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
>>>> new file mode 100644
>>>> index 000000000000..fd6665f29d17
>>>> --- /dev/null
>>>> +++ b/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
>>>> @@ -0,0 +1,36 @@
>>>> +DESCRIPTION = "PRU HSR firmware for AM57xx"
>>
>> SUMMARY = "PRU HSR firmware for AM57xx"
> 
> Correct.
> 
> 
>>>> +
>>>> +LICENSE = "TI-TFL"
>>>> +LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
>>>> +
>>>> +PV = "2.15.23"
>>>> +PE = "1"
>>>> +PR = "r0"
>>>> +
>>>> +COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
>>>> +
>>>> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>>>> +
>>>> +SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29"
>>>> +BRANCH ?= "ti-linux-firmware"
>>>> +
>>>> +SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
>>>> +
>>>> +S = "${WORKDIR}/git"
>>>> +
>>>> +TARGET = ""
>>>> +TARGET_ti33x = "am335x-pru0-pruhsr-fw.elf am335x-pru1-pruhsr-fw.elf"
>>>> +TARGET_ti43x = "am437x-pru0-pruhsr-fw.elf am437x-pru1-pruhsr-fw.elf"
>>>> +TARGET_am57xx-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
>>>> +TARGET_am57xx-hs-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
>>>> +
>>>> +do_install() {
>>>> +	install -d ${D}${base_libdir}/firmware/ti-pruss
>>>> +	for f in ${TARGET}; do
>>>> +		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
>>>> +	done
>>>> +}
>>>> +
>>>> +FILES_${PN} = "${base_libdir}/firmware"
>>>> +
>>>> +INSANE_SKIP_${PN} = "arch"
>>>> diff --git a/recipes-bsp/pruprp-fw/pruprp-fw_git.bb b/recipes-bsp/pruprp-fw/pruprp-fw_git.bb
>>>> new file mode 100644
>>>> index 000000000000..0b9991a5a0a3
>>>> --- /dev/null
>>>> +++ b/recipes-bsp/pruprp-fw/pruprp-fw_git.bb
>>>> @@ -0,0 +1,37 @@
>>>> +DESCRIPTION = "PRU PRP firmware for AM57xx"
>>
>> SUMMARY = "PRU PRP firmware for AM57xx"
>>
>>>> +
>>>> +LICENSE = "TI-TFL"
>>>> +LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
>>>> +
>>>> +PV = "2.15.23"
>>>> +PE = "1"
>>>> +PR = "r0"
>>>> +
>>>> +COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
>>>> +
>>>> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>>>> +
>>>> +SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29"
>>>> +BRANCH ?= "ti-linux-firmware"
>>>> +
>>>> +SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
>>>> +
>>>> +S = "${WORKDIR}/git"
>>>> +
>>>> +TARGET = ""
>>>> +TARGET_ti33x = "am335x-pru0-pruprp-fw.elf am335x-pru1-pruprp-fw.elf"
>>>> +TARGET_ti43x = "am437x-pru0-pruprp-fw.elf am437x-pru1-pruprp-fw.elf"
>>>> +TARGET_am57xx-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
>>>> +TARGET_am57xx-hs-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
>>>> +
>>>> +
>>>> +do_install() {
>>>> +	install -d ${D}${base_libdir}/firmware/ti-pruss
>>>> +	for f in ${TARGET}; do
>>>> +		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
>>>> +	done
>>>> +}
>>>> +
>>>> +FILES_${PN} = "${base_libdir}/firmware"
>>>> +
>>>> +INSANE_SKIP_${PN} = "arch"
>>>> -- 
>>>> 2.17.1
>>>>
>>
>> -- 
>> Murali Karicheri
>> Texas Instruments

-- 
Murali Karicheri
Texas Instruments

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [meta-ti] prueth-hsr/prp: add hsr/prp firmware recipe for version 2.15.23
       [not found]     ` <161F85EEADC37350.28965@lists.yoctoproject.org>
@ 2020-07-07 17:15       ` Denys Dmytriyenko
  2020-07-07 17:23         ` Murali
  0 siblings, 1 reply; 11+ messages in thread
From: Denys Dmytriyenko @ 2020-07-07 17:15 UTC (permalink / raw)
  To: Murali Karicheri, meta-ti

On Tue, Jul 07, 2020 at 12:40:50PM -0400, Denys Dmytriyenko via lists.yoctoproject.org wrote:
> On Tue, Jul 07, 2020 at 12:29:53PM -0400, Murali Karicheri wrote:
> > Denys,
> > 
> > On 7/7/20 12:17 PM, Denys Dmytriyenko wrote:
> > >Thank you, everything looks fine. Could you please replace DESCRIPTION with
> > >SUMMARY? Thanks.
> > >
> > 
> > You mean the below right? Once you confirm I will spin v2 and send it.
> > 
> > Thanks
> > 
> > >Denys
> > >
> > >
> > >On Mon, Jul 06, 2020 at 05:59:58PM -0400, Murali Karicheri wrote:
> > >>This patch adds recipe for hsr/prp firmware on am3/4/5 SoCs. The binary
> > >>files are located on ti-linux-firmware.git. This is a forward port of
> > >>the recipe from processor sdk 6.3
> > >>
> > >>Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> > >>Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
> > >>---
> > >>  recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb | 36 +++++++++++++++++++++++++
> > >>  recipes-bsp/pruprp-fw/pruprp-fw_git.bb | 37 ++++++++++++++++++++++++++
> > >>  2 files changed, 73 insertions(+)
> > >>  create mode 100644 recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
> > >>  create mode 100644 recipes-bsp/pruprp-fw/pruprp-fw_git.bb
> > >>
> > >>diff --git a/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb b/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
> > >>new file mode 100644
> > >>index 000000000000..fd6665f29d17
> > >>--- /dev/null
> > >>+++ b/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
> > >>@@ -0,0 +1,36 @@
> > >>+DESCRIPTION = "PRU HSR firmware for AM57xx"
> > 
> > SUMMARY = "PRU HSR firmware for AM57xx"
> 
> Correct.

Actually, just noticed that it says here AM57xx, while the FW is for AM3/4/5. 
Should this be fixed?


> > >>+
> > >>+LICENSE = "TI-TFL"
> > >>+LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
> > >>+
> > >>+PV = "2.15.23"
> > >>+PE = "1"
> > >>+PR = "r0"
> > >>+
> > >>+COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
> > >>+
> > >>+PACKAGE_ARCH = "${MACHINE_ARCH}"
> > >>+
> > >>+SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29"
> > >>+BRANCH ?= "ti-linux-firmware"
> > >>+
> > >>+SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
> > >>+
> > >>+S = "${WORKDIR}/git"
> > >>+
> > >>+TARGET = ""
> > >>+TARGET_ti33x = "am335x-pru0-pruhsr-fw.elf am335x-pru1-pruhsr-fw.elf"
> > >>+TARGET_ti43x = "am437x-pru0-pruhsr-fw.elf am437x-pru1-pruhsr-fw.elf"
> > >>+TARGET_am57xx-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
> > >>+TARGET_am57xx-hs-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
> > >>+
> > >>+do_install() {
> > >>+	install -d ${D}${base_libdir}/firmware/ti-pruss
> > >>+	for f in ${TARGET}; do
> > >>+		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
> > >>+	done
> > >>+}
> > >>+
> > >>+FILES_${PN} = "${base_libdir}/firmware"
> > >>+
> > >>+INSANE_SKIP_${PN} = "arch"
> > >>diff --git a/recipes-bsp/pruprp-fw/pruprp-fw_git.bb b/recipes-bsp/pruprp-fw/pruprp-fw_git.bb
> > >>new file mode 100644
> > >>index 000000000000..0b9991a5a0a3
> > >>--- /dev/null
> > >>+++ b/recipes-bsp/pruprp-fw/pruprp-fw_git.bb
> > >>@@ -0,0 +1,37 @@
> > >>+DESCRIPTION = "PRU PRP firmware for AM57xx"
> > 
> > SUMMARY = "PRU PRP firmware for AM57xx"
> > 
> > >>+
> > >>+LICENSE = "TI-TFL"
> > >>+LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
> > >>+
> > >>+PV = "2.15.23"
> > >>+PE = "1"
> > >>+PR = "r0"
> > >>+
> > >>+COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
> > >>+
> > >>+PACKAGE_ARCH = "${MACHINE_ARCH}"
> > >>+
> > >>+SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29"
> > >>+BRANCH ?= "ti-linux-firmware"
> > >>+
> > >>+SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
> > >>+
> > >>+S = "${WORKDIR}/git"
> > >>+
> > >>+TARGET = ""
> > >>+TARGET_ti33x = "am335x-pru0-pruprp-fw.elf am335x-pru1-pruprp-fw.elf"
> > >>+TARGET_ti43x = "am437x-pru0-pruprp-fw.elf am437x-pru1-pruprp-fw.elf"
> > >>+TARGET_am57xx-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
> > >>+TARGET_am57xx-hs-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
> > >>+
> > >>+
> > >>+do_install() {
> > >>+	install -d ${D}${base_libdir}/firmware/ti-pruss
> > >>+	for f in ${TARGET}; do
> > >>+		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
> > >>+	done
> > >>+}
> > >>+
> > >>+FILES_${PN} = "${base_libdir}/firmware"
> > >>+
> > >>+INSANE_SKIP_${PN} = "arch"
> > >>-- 
> > >>2.17.1
> > >>
> > 
> > -- 
> > Murali Karicheri
> > Texas Instruments

> 


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [meta-ti] prueth-hsr/prp: add hsr/prp firmware recipe for version 2.15.23
  2020-07-07 16:47       ` Murali
@ 2020-07-07 17:16         ` Denys Dmytriyenko
  2020-07-07 17:24           ` Murali
                             ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Denys Dmytriyenko @ 2020-07-07 17:16 UTC (permalink / raw)
  To: Murali Karicheri; +Cc: meta-ti

On Tue, Jul 07, 2020 at 12:47:30PM -0400, Murali Karicheri wrote:
> Denys,
> 
> On 7/7/20 12:40 PM, Denys Dmytriyenko wrote:
> >On Tue, Jul 07, 2020 at 12:29:53PM -0400, Murali Karicheri wrote:
> >>Denys,
> >>
> >>On 7/7/20 12:17 PM, Denys Dmytriyenko wrote:
> >>>Thank you, everything looks fine. Could you please replace DESCRIPTION with
> >>>SUMMARY? Thanks.
> >>>
> Is there any other recipe needed to get this into the file system or
> this is it?
> 
> I would be sending a iproute2 recipe update as well. Would need a file
> system with these two in next few days.

You'd need to add it to a correspinding packagegroup in meta-arago.

Denys


> Regards,
> 
> Murali
> >>
> >>You mean the below right? Once you confirm I will spin v2 and send it.
> >>
> >>Thanks
> >>
> >>>Denys
> >>>
> >>>
> >>>On Mon, Jul 06, 2020 at 05:59:58PM -0400, Murali Karicheri wrote:
> >>>>This patch adds recipe for hsr/prp firmware on am3/4/5 SoCs. The binary
> >>>>files are located on ti-linux-firmware.git. This is a forward port of
> >>>>the recipe from processor sdk 6.3
> >>>>
> >>>>Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> >>>>Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
> >>>>---
> >>>>  recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb | 36 +++++++++++++++++++++++++
> >>>>  recipes-bsp/pruprp-fw/pruprp-fw_git.bb | 37 ++++++++++++++++++++++++++
> >>>>  2 files changed, 73 insertions(+)
> >>>>  create mode 100644 recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
> >>>>  create mode 100644 recipes-bsp/pruprp-fw/pruprp-fw_git.bb
> >>>>
> >>>>diff --git a/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb b/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
> >>>>new file mode 100644
> >>>>index 000000000000..fd6665f29d17
> >>>>--- /dev/null
> >>>>+++ b/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
> >>>>@@ -0,0 +1,36 @@
> >>>>+DESCRIPTION = "PRU HSR firmware for AM57xx"
> >>
> >>SUMMARY = "PRU HSR firmware for AM57xx"
> >
> >Correct.
> >
> >
> >>>>+
> >>>>+LICENSE = "TI-TFL"
> >>>>+LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
> >>>>+
> >>>>+PV = "2.15.23"
> >>>>+PE = "1"
> >>>>+PR = "r0"
> >>>>+
> >>>>+COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
> >>>>+
> >>>>+PACKAGE_ARCH = "${MACHINE_ARCH}"
> >>>>+
> >>>>+SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29"
> >>>>+BRANCH ?= "ti-linux-firmware"
> >>>>+
> >>>>+SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
> >>>>+
> >>>>+S = "${WORKDIR}/git"
> >>>>+
> >>>>+TARGET = ""
> >>>>+TARGET_ti33x = "am335x-pru0-pruhsr-fw.elf am335x-pru1-pruhsr-fw.elf"
> >>>>+TARGET_ti43x = "am437x-pru0-pruhsr-fw.elf am437x-pru1-pruhsr-fw.elf"
> >>>>+TARGET_am57xx-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
> >>>>+TARGET_am57xx-hs-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
> >>>>+
> >>>>+do_install() {
> >>>>+	install -d ${D}${base_libdir}/firmware/ti-pruss
> >>>>+	for f in ${TARGET}; do
> >>>>+		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
> >>>>+	done
> >>>>+}
> >>>>+
> >>>>+FILES_${PN} = "${base_libdir}/firmware"
> >>>>+
> >>>>+INSANE_SKIP_${PN} = "arch"
> >>>>diff --git a/recipes-bsp/pruprp-fw/pruprp-fw_git.bb b/recipes-bsp/pruprp-fw/pruprp-fw_git.bb
> >>>>new file mode 100644
> >>>>index 000000000000..0b9991a5a0a3
> >>>>--- /dev/null
> >>>>+++ b/recipes-bsp/pruprp-fw/pruprp-fw_git.bb
> >>>>@@ -0,0 +1,37 @@
> >>>>+DESCRIPTION = "PRU PRP firmware for AM57xx"
> >>
> >>SUMMARY = "PRU PRP firmware for AM57xx"
> >>
> >>>>+
> >>>>+LICENSE = "TI-TFL"
> >>>>+LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
> >>>>+
> >>>>+PV = "2.15.23"
> >>>>+PE = "1"
> >>>>+PR = "r0"
> >>>>+
> >>>>+COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
> >>>>+
> >>>>+PACKAGE_ARCH = "${MACHINE_ARCH}"
> >>>>+
> >>>>+SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29"
> >>>>+BRANCH ?= "ti-linux-firmware"
> >>>>+
> >>>>+SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
> >>>>+
> >>>>+S = "${WORKDIR}/git"
> >>>>+
> >>>>+TARGET = ""
> >>>>+TARGET_ti33x = "am335x-pru0-pruprp-fw.elf am335x-pru1-pruprp-fw.elf"
> >>>>+TARGET_ti43x = "am437x-pru0-pruprp-fw.elf am437x-pru1-pruprp-fw.elf"
> >>>>+TARGET_am57xx-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
> >>>>+TARGET_am57xx-hs-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
> >>>>+
> >>>>+
> >>>>+do_install() {
> >>>>+	install -d ${D}${base_libdir}/firmware/ti-pruss
> >>>>+	for f in ${TARGET}; do
> >>>>+		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
> >>>>+	done
> >>>>+}
> >>>>+
> >>>>+FILES_${PN} = "${base_libdir}/firmware"
> >>>>+
> >>>>+INSANE_SKIP_${PN} = "arch"
> >>>>-- 
> >>>>2.17.1
> >>>>
> >>
> >>-- 
> >>Murali Karicheri
> >>Texas Instruments
> 
> -- 
> Murali Karicheri
> Texas Instruments

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [meta-ti] prueth-hsr/prp: add hsr/prp firmware recipe for version 2.15.23
  2020-07-07 17:15       ` Denys Dmytriyenko
@ 2020-07-07 17:23         ` Murali
  0 siblings, 0 replies; 11+ messages in thread
From: Murali @ 2020-07-07 17:23 UTC (permalink / raw)
  To: Denys Dmytriyenko, meta-ti



On 7/7/20 1:15 PM, Denys Dmytriyenko wrote:
> On Tue, Jul 07, 2020 at 12:40:50PM -0400, Denys Dmytriyenko via lists.yoctoproject.org wrote:
>> On Tue, Jul 07, 2020 at 12:29:53PM -0400, Murali Karicheri wrote:
>>> Denys,
>>>
>>> On 7/7/20 12:17 PM, Denys Dmytriyenko wrote:
>>>> Thank you, everything looks fine. Could you please replace DESCRIPTION with
>>>> SUMMARY? Thanks.
>>>>
>>>
>>> You mean the below right? Once you confirm I will spin v2 and send it.
>>>
>>> Thanks
>>>
>>>> Denys
>>>>
>>>>
>>>> On Mon, Jul 06, 2020 at 05:59:58PM -0400, Murali Karicheri wrote:
>>>>> This patch adds recipe for hsr/prp firmware on am3/4/5 SoCs. The binary
>>>>> files are located on ti-linux-firmware.git. This is a forward port of
>>>>> the recipe from processor sdk 6.3
>>>>>
>>>>> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
>>>>> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
>>>>> ---
>>>>>   recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb | 36 +++++++++++++++++++++++++
>>>>>   recipes-bsp/pruprp-fw/pruprp-fw_git.bb | 37 ++++++++++++++++++++++++++
>>>>>   2 files changed, 73 insertions(+)
>>>>>   create mode 100644 recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
>>>>>   create mode 100644 recipes-bsp/pruprp-fw/pruprp-fw_git.bb
>>>>>
>>>>> diff --git a/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb b/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
>>>>> new file mode 100644
>>>>> index 000000000000..fd6665f29d17
>>>>> --- /dev/null
>>>>> +++ b/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
>>>>> @@ -0,0 +1,36 @@
>>>>> +DESCRIPTION = "PRU HSR firmware for AM57xx"
>>>
>>> SUMMARY = "PRU HSR firmware for AM57xx"
>>
>> Correct.
> 
> Actually, just noticed that it says here AM57xx, while the FW is for AM3/4/5.
> Should this be fixed?
> 
> 
Yes. it should be fixed. Will update.
>>>>> +
>>>>> +LICENSE = "TI-TFL"
>>>>> +LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
>>>>> +
>>>>> +PV = "2.15.23"
>>>>> +PE = "1"
>>>>> +PR = "r0"
>>>>> +
>>>>> +COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
>>>>> +
>>>>> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>>>>> +
>>>>> +SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29"
>>>>> +BRANCH ?= "ti-linux-firmware"
>>>>> +
>>>>> +SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
>>>>> +
>>>>> +S = "${WORKDIR}/git"
>>>>> +
>>>>> +TARGET = ""
>>>>> +TARGET_ti33x = "am335x-pru0-pruhsr-fw.elf am335x-pru1-pruhsr-fw.elf"
>>>>> +TARGET_ti43x = "am437x-pru0-pruhsr-fw.elf am437x-pru1-pruhsr-fw.elf"
>>>>> +TARGET_am57xx-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
>>>>> +TARGET_am57xx-hs-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
>>>>> +
>>>>> +do_install() {
>>>>> +	install -d ${D}${base_libdir}/firmware/ti-pruss
>>>>> +	for f in ${TARGET}; do
>>>>> +		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
>>>>> +	done
>>>>> +}
>>>>> +
>>>>> +FILES_${PN} = "${base_libdir}/firmware"
>>>>> +
>>>>> +INSANE_SKIP_${PN} = "arch"
>>>>> diff --git a/recipes-bsp/pruprp-fw/pruprp-fw_git.bb b/recipes-bsp/pruprp-fw/pruprp-fw_git.bb
>>>>> new file mode 100644
>>>>> index 000000000000..0b9991a5a0a3
>>>>> --- /dev/null
>>>>> +++ b/recipes-bsp/pruprp-fw/pruprp-fw_git.bb
>>>>> @@ -0,0 +1,37 @@
>>>>> +DESCRIPTION = "PRU PRP firmware for AM57xx"
>>>
>>> SUMMARY = "PRU PRP firmware for AM57xx"
>>>
>>>>> +
>>>>> +LICENSE = "TI-TFL"
>>>>> +LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
>>>>> +
>>>>> +PV = "2.15.23"
>>>>> +PE = "1"
>>>>> +PR = "r0"
>>>>> +
>>>>> +COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
>>>>> +
>>>>> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>>>>> +
>>>>> +SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29"
>>>>> +BRANCH ?= "ti-linux-firmware"
>>>>> +
>>>>> +SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
>>>>> +
>>>>> +S = "${WORKDIR}/git"
>>>>> +
>>>>> +TARGET = ""
>>>>> +TARGET_ti33x = "am335x-pru0-pruprp-fw.elf am335x-pru1-pruprp-fw.elf"
>>>>> +TARGET_ti43x = "am437x-pru0-pruprp-fw.elf am437x-pru1-pruprp-fw.elf"
>>>>> +TARGET_am57xx-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
>>>>> +TARGET_am57xx-hs-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
>>>>> +
>>>>> +
>>>>> +do_install() {
>>>>> +	install -d ${D}${base_libdir}/firmware/ti-pruss
>>>>> +	for f in ${TARGET}; do
>>>>> +		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
>>>>> +	done
>>>>> +}
>>>>> +
>>>>> +FILES_${PN} = "${base_libdir}/firmware"
>>>>> +
>>>>> +INSANE_SKIP_${PN} = "arch"
>>>>> -- 
>>>>> 2.17.1
>>>>>
>>>
>>> -- 
>>> Murali Karicheri
>>> Texas Instruments
> 
>> 
> 

-- 
Murali Karicheri
Texas Instruments

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [meta-ti] prueth-hsr/prp: add hsr/prp firmware recipe for version 2.15.23
  2020-07-07 17:16         ` Denys Dmytriyenko
@ 2020-07-07 17:24           ` Murali
  2020-07-07 18:01           ` Murali
  2020-07-08 12:24           ` Murali
  2 siblings, 0 replies; 11+ messages in thread
From: Murali @ 2020-07-07 17:24 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti



On 7/7/20 1:16 PM, Denys Dmytriyenko wrote:
> On Tue, Jul 07, 2020 at 12:47:30PM -0400, Murali Karicheri wrote:
>> Denys,
>>
>> On 7/7/20 12:40 PM, Denys Dmytriyenko wrote:
>>> On Tue, Jul 07, 2020 at 12:29:53PM -0400, Murali Karicheri wrote:
>>>> Denys,
>>>>
>>>> On 7/7/20 12:17 PM, Denys Dmytriyenko wrote:
>>>>> Thank you, everything looks fine. Could you please replace DESCRIPTION with
>>>>> SUMMARY? Thanks.
>>>>>
>> Is there any other recipe needed to get this into the file system or
>> this is it?
>>
>> I would be sending a iproute2 recipe update as well. Would need a file
>> system with these two in next few days.
> 
> You'd need to add it to a correspinding packagegroup in meta-arago.

Could you help me identify that change? No clue on this.

Murali
> 
> Denys
> 
> 
>> Regards,
>>
>> Murali
>>>>
>>>> You mean the below right? Once you confirm I will spin v2 and send it.
>>>>
>>>> Thanks
>>>>
>>>>> Denys
>>>>>
>>>>>
>>>>> On Mon, Jul 06, 2020 at 05:59:58PM -0400, Murali Karicheri wrote:
>>>>>> This patch adds recipe for hsr/prp firmware on am3/4/5 SoCs. The binary
>>>>>> files are located on ti-linux-firmware.git. This is a forward port of
>>>>>> the recipe from processor sdk 6.3
>>>>>>
>>>>>> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
>>>>>> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
>>>>>> ---
>>>>>>   recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb | 36 +++++++++++++++++++++++++
>>>>>>   recipes-bsp/pruprp-fw/pruprp-fw_git.bb | 37 ++++++++++++++++++++++++++
>>>>>>   2 files changed, 73 insertions(+)
>>>>>>   create mode 100644 recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
>>>>>>   create mode 100644 recipes-bsp/pruprp-fw/pruprp-fw_git.bb
>>>>>>
>>>>>> diff --git a/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb b/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
>>>>>> new file mode 100644
>>>>>> index 000000000000..fd6665f29d17
>>>>>> --- /dev/null
>>>>>> +++ b/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
>>>>>> @@ -0,0 +1,36 @@
>>>>>> +DESCRIPTION = "PRU HSR firmware for AM57xx"
>>>>
>>>> SUMMARY = "PRU HSR firmware for AM57xx"
>>>
>>> Correct.
>>>
>>>
>>>>>> +
>>>>>> +LICENSE = "TI-TFL"
>>>>>> +LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
>>>>>> +
>>>>>> +PV = "2.15.23"
>>>>>> +PE = "1"
>>>>>> +PR = "r0"
>>>>>> +
>>>>>> +COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
>>>>>> +
>>>>>> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>>>>>> +
>>>>>> +SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29"
>>>>>> +BRANCH ?= "ti-linux-firmware"
>>>>>> +
>>>>>> +SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
>>>>>> +
>>>>>> +S = "${WORKDIR}/git"
>>>>>> +
>>>>>> +TARGET = ""
>>>>>> +TARGET_ti33x = "am335x-pru0-pruhsr-fw.elf am335x-pru1-pruhsr-fw.elf"
>>>>>> +TARGET_ti43x = "am437x-pru0-pruhsr-fw.elf am437x-pru1-pruhsr-fw.elf"
>>>>>> +TARGET_am57xx-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
>>>>>> +TARGET_am57xx-hs-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
>>>>>> +
>>>>>> +do_install() {
>>>>>> +	install -d ${D}${base_libdir}/firmware/ti-pruss
>>>>>> +	for f in ${TARGET}; do
>>>>>> +		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
>>>>>> +	done
>>>>>> +}
>>>>>> +
>>>>>> +FILES_${PN} = "${base_libdir}/firmware"
>>>>>> +
>>>>>> +INSANE_SKIP_${PN} = "arch"
>>>>>> diff --git a/recipes-bsp/pruprp-fw/pruprp-fw_git.bb b/recipes-bsp/pruprp-fw/pruprp-fw_git.bb
>>>>>> new file mode 100644
>>>>>> index 000000000000..0b9991a5a0a3
>>>>>> --- /dev/null
>>>>>> +++ b/recipes-bsp/pruprp-fw/pruprp-fw_git.bb
>>>>>> @@ -0,0 +1,37 @@
>>>>>> +DESCRIPTION = "PRU PRP firmware for AM57xx"
>>>>
>>>> SUMMARY = "PRU PRP firmware for AM57xx"
>>>>
>>>>>> +
>>>>>> +LICENSE = "TI-TFL"
>>>>>> +LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
>>>>>> +
>>>>>> +PV = "2.15.23"
>>>>>> +PE = "1"
>>>>>> +PR = "r0"
>>>>>> +
>>>>>> +COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
>>>>>> +
>>>>>> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>>>>>> +
>>>>>> +SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29"
>>>>>> +BRANCH ?= "ti-linux-firmware"
>>>>>> +
>>>>>> +SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
>>>>>> +
>>>>>> +S = "${WORKDIR}/git"
>>>>>> +
>>>>>> +TARGET = ""
>>>>>> +TARGET_ti33x = "am335x-pru0-pruprp-fw.elf am335x-pru1-pruprp-fw.elf"
>>>>>> +TARGET_ti43x = "am437x-pru0-pruprp-fw.elf am437x-pru1-pruprp-fw.elf"
>>>>>> +TARGET_am57xx-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
>>>>>> +TARGET_am57xx-hs-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
>>>>>> +
>>>>>> +
>>>>>> +do_install() {
>>>>>> +	install -d ${D}${base_libdir}/firmware/ti-pruss
>>>>>> +	for f in ${TARGET}; do
>>>>>> +		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
>>>>>> +	done
>>>>>> +}
>>>>>> +
>>>>>> +FILES_${PN} = "${base_libdir}/firmware"
>>>>>> +
>>>>>> +INSANE_SKIP_${PN} = "arch"
>>>>>> -- 
>>>>>> 2.17.1
>>>>>>
>>>>
>>>> -- 
>>>> Murali Karicheri
>>>> Texas Instruments
>>
>> -- 
>> Murali Karicheri
>> Texas Instruments

-- 
Murali Karicheri
Texas Instruments

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [meta-ti] prueth-hsr/prp: add hsr/prp firmware recipe for version 2.15.23
  2020-07-07 17:16         ` Denys Dmytriyenko
  2020-07-07 17:24           ` Murali
@ 2020-07-07 18:01           ` Murali
  2020-07-08 12:24           ` Murali
  2 siblings, 0 replies; 11+ messages in thread
From: Murali @ 2020-07-07 18:01 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti

Denys,

On 7/7/20 1:16 PM, Denys Dmytriyenko wrote:
> On Tue, Jul 07, 2020 at 12:47:30PM -0400, Murali Karicheri wrote:
>> Denys,
>>
>> On 7/7/20 12:40 PM, Denys Dmytriyenko wrote:
>>> On Tue, Jul 07, 2020 at 12:29:53PM -0400, Murali Karicheri wrote:
>>>> Denys,
>>>>
>>>> On 7/7/20 12:17 PM, Denys Dmytriyenko wrote:
>>>>> Thank you, everything looks fine. Could you please replace DESCRIPTION with
>>>>> SUMMARY? Thanks.
>>>>>
>> Is there any other recipe needed to get this into the file system or
>> this is it?
>>
>> I would be sending a iproute2 recipe update as well. Would need a file
>> system with these two in next few days.
> 
> You'd need to add it to a correspinding packagegroup in meta-arago.
> 

Did some research on this.

Should I add this to 
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons.bb

I see pru-icss there. I assume that is for prueth and prusw firmwares.
If so, I will add pruhsr-fw and pruprp-fw to the list. Please confirm
as I am not familiar with it.

Regards,

Murali
> Denys
> 
> 
>> Regards,
>>
>> Murali
>>>>
>>>> You mean the below right? Once you confirm I will spin v2 and send it.
>>>>
>>>> Thanks
>>>>
>>>>> Denys
>>>>>
>>>>>
>>>>> On Mon, Jul 06, 2020 at 05:59:58PM -0400, Murali Karicheri wrote:
>>>>>> This patch adds recipe for hsr/prp firmware on am3/4/5 SoCs. The binary
>>>>>> files are located on ti-linux-firmware.git. This is a forward port of
>>>>>> the recipe from processor sdk 6.3
>>>>>>
>>>>>> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
>>>>>> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
>>>>>> ---
>>>>>>   recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb | 36 +++++++++++++++++++++++++
>>>>>>   recipes-bsp/pruprp-fw/pruprp-fw_git.bb | 37 ++++++++++++++++++++++++++
>>>>>>   2 files changed, 73 insertions(+)
>>>>>>   create mode 100644 recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
>>>>>>   create mode 100644 recipes-bsp/pruprp-fw/pruprp-fw_git.bb
>>>>>>
>>>>>> diff --git a/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb b/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
>>>>>> new file mode 100644
>>>>>> index 000000000000..fd6665f29d17
>>>>>> --- /dev/null
>>>>>> +++ b/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
>>>>>> @@ -0,0 +1,36 @@
>>>>>> +DESCRIPTION = "PRU HSR firmware for AM57xx"
>>>>
>>>> SUMMARY = "PRU HSR firmware for AM57xx"
>>>
>>> Correct.
>>>
>>>
>>>>>> +
>>>>>> +LICENSE = "TI-TFL"
>>>>>> +LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
>>>>>> +
>>>>>> +PV = "2.15.23"
>>>>>> +PE = "1"
>>>>>> +PR = "r0"
>>>>>> +
>>>>>> +COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
>>>>>> +
>>>>>> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>>>>>> +
>>>>>> +SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29"
>>>>>> +BRANCH ?= "ti-linux-firmware"
>>>>>> +
>>>>>> +SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
>>>>>> +
>>>>>> +S = "${WORKDIR}/git"
>>>>>> +
>>>>>> +TARGET = ""
>>>>>> +TARGET_ti33x = "am335x-pru0-pruhsr-fw.elf am335x-pru1-pruhsr-fw.elf"
>>>>>> +TARGET_ti43x = "am437x-pru0-pruhsr-fw.elf am437x-pru1-pruhsr-fw.elf"
>>>>>> +TARGET_am57xx-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
>>>>>> +TARGET_am57xx-hs-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
>>>>>> +
>>>>>> +do_install() {
>>>>>> +	install -d ${D}${base_libdir}/firmware/ti-pruss
>>>>>> +	for f in ${TARGET}; do
>>>>>> +		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
>>>>>> +	done
>>>>>> +}
>>>>>> +
>>>>>> +FILES_${PN} = "${base_libdir}/firmware"
>>>>>> +
>>>>>> +INSANE_SKIP_${PN} = "arch"
>>>>>> diff --git a/recipes-bsp/pruprp-fw/pruprp-fw_git.bb b/recipes-bsp/pruprp-fw/pruprp-fw_git.bb
>>>>>> new file mode 100644
>>>>>> index 000000000000..0b9991a5a0a3
>>>>>> --- /dev/null
>>>>>> +++ b/recipes-bsp/pruprp-fw/pruprp-fw_git.bb
>>>>>> @@ -0,0 +1,37 @@
>>>>>> +DESCRIPTION = "PRU PRP firmware for AM57xx"
>>>>
>>>> SUMMARY = "PRU PRP firmware for AM57xx"
>>>>
>>>>>> +
>>>>>> +LICENSE = "TI-TFL"
>>>>>> +LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
>>>>>> +
>>>>>> +PV = "2.15.23"
>>>>>> +PE = "1"
>>>>>> +PR = "r0"
>>>>>> +
>>>>>> +COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
>>>>>> +
>>>>>> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>>>>>> +
>>>>>> +SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29"
>>>>>> +BRANCH ?= "ti-linux-firmware"
>>>>>> +
>>>>>> +SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
>>>>>> +
>>>>>> +S = "${WORKDIR}/git"
>>>>>> +
>>>>>> +TARGET = ""
>>>>>> +TARGET_ti33x = "am335x-pru0-pruprp-fw.elf am335x-pru1-pruprp-fw.elf"
>>>>>> +TARGET_ti43x = "am437x-pru0-pruprp-fw.elf am437x-pru1-pruprp-fw.elf"
>>>>>> +TARGET_am57xx-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
>>>>>> +TARGET_am57xx-hs-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
>>>>>> +
>>>>>> +
>>>>>> +do_install() {
>>>>>> +	install -d ${D}${base_libdir}/firmware/ti-pruss
>>>>>> +	for f in ${TARGET}; do
>>>>>> +		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
>>>>>> +	done
>>>>>> +}
>>>>>> +
>>>>>> +FILES_${PN} = "${base_libdir}/firmware"
>>>>>> +
>>>>>> +INSANE_SKIP_${PN} = "arch"
>>>>>> -- 
>>>>>> 2.17.1
>>>>>>
>>>>
>>>> -- 
>>>> Murali Karicheri
>>>> Texas Instruments
>>
>> -- 
>> Murali Karicheri
>> Texas Instruments

-- 
Murali Karicheri
Texas Instruments

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [meta-ti] prueth-hsr/prp: add hsr/prp firmware recipe for version 2.15.23
  2020-07-07 17:16         ` Denys Dmytriyenko
  2020-07-07 17:24           ` Murali
  2020-07-07 18:01           ` Murali
@ 2020-07-08 12:24           ` Murali
  2 siblings, 0 replies; 11+ messages in thread
From: Murali @ 2020-07-08 12:24 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti

Denys,

On 7/7/20 1:16 PM, Denys Dmytriyenko wrote:
> On Tue, Jul 07, 2020 at 12:47:30PM -0400, Murali Karicheri wrote:
>> Denys,
>>
>> On 7/7/20 12:40 PM, Denys Dmytriyenko wrote:
>>> On Tue, Jul 07, 2020 at 12:29:53PM -0400, Murali Karicheri wrote:
>>>> Denys,
>>>>
>>>> On 7/7/20 12:17 PM, Denys Dmytriyenko wrote:
>>>>> Thank you, everything looks fine. Could you please replace DESCRIPTION with
>>>>> SUMMARY? Thanks.
>>>>>
>> Is there any other recipe needed to get this into the file system or
>> this is it?
>>
>> I would be sending a iproute2 recipe update as well. Would need a file
>> system with these two in next few days.
> 
> You'd need to add it to a correspinding packagegroup in meta-arago.
> 
I have posted a patch for this similar in line with what Vignesh has
done to add prusw-fw. Hope that is what is needed to get the firmware
included in the file system.

Regards,

Murali
> Denys
> 
> 
>> Regards,
>>
>> Murali
>>>>
>>>> You mean the below right? Once you confirm I will spin v2 and send it.
>>>>
>>>> Thanks
>>>>
>>>>> Denys
>>>>>
>>>>>
>>>>> On Mon, Jul 06, 2020 at 05:59:58PM -0400, Murali Karicheri wrote:
>>>>>> This patch adds recipe for hsr/prp firmware on am3/4/5 SoCs. The binary
>>>>>> files are located on ti-linux-firmware.git. This is a forward port of
>>>>>> the recipe from processor sdk 6.3
>>>>>>
>>>>>> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
>>>>>> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
>>>>>> ---
>>>>>>   recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb | 36 +++++++++++++++++++++++++
>>>>>>   recipes-bsp/pruprp-fw/pruprp-fw_git.bb | 37 ++++++++++++++++++++++++++
>>>>>>   2 files changed, 73 insertions(+)
>>>>>>   create mode 100644 recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
>>>>>>   create mode 100644 recipes-bsp/pruprp-fw/pruprp-fw_git.bb
>>>>>>
>>>>>> diff --git a/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb b/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
>>>>>> new file mode 100644
>>>>>> index 000000000000..fd6665f29d17
>>>>>> --- /dev/null
>>>>>> +++ b/recipes-bsp/pruhsr-fw/pruhsr-fw_git.bb
>>>>>> @@ -0,0 +1,36 @@
>>>>>> +DESCRIPTION = "PRU HSR firmware for AM57xx"
>>>>
>>>> SUMMARY = "PRU HSR firmware for AM57xx"
>>>
>>> Correct.
>>>
>>>
>>>>>> +
>>>>>> +LICENSE = "TI-TFL"
>>>>>> +LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
>>>>>> +
>>>>>> +PV = "2.15.23"
>>>>>> +PE = "1"
>>>>>> +PR = "r0"
>>>>>> +
>>>>>> +COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
>>>>>> +
>>>>>> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>>>>>> +
>>>>>> +SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29"
>>>>>> +BRANCH ?= "ti-linux-firmware"
>>>>>> +
>>>>>> +SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
>>>>>> +
>>>>>> +S = "${WORKDIR}/git"
>>>>>> +
>>>>>> +TARGET = ""
>>>>>> +TARGET_ti33x = "am335x-pru0-pruhsr-fw.elf am335x-pru1-pruhsr-fw.elf"
>>>>>> +TARGET_ti43x = "am437x-pru0-pruhsr-fw.elf am437x-pru1-pruhsr-fw.elf"
>>>>>> +TARGET_am57xx-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
>>>>>> +TARGET_am57xx-hs-evm = "am57xx-pru0-pruhsr-fw.elf am57xx-pru1-pruhsr-fw.elf"
>>>>>> +
>>>>>> +do_install() {
>>>>>> +	install -d ${D}${base_libdir}/firmware/ti-pruss
>>>>>> +	for f in ${TARGET}; do
>>>>>> +		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
>>>>>> +	done
>>>>>> +}
>>>>>> +
>>>>>> +FILES_${PN} = "${base_libdir}/firmware"
>>>>>> +
>>>>>> +INSANE_SKIP_${PN} = "arch"
>>>>>> diff --git a/recipes-bsp/pruprp-fw/pruprp-fw_git.bb b/recipes-bsp/pruprp-fw/pruprp-fw_git.bb
>>>>>> new file mode 100644
>>>>>> index 000000000000..0b9991a5a0a3
>>>>>> --- /dev/null
>>>>>> +++ b/recipes-bsp/pruprp-fw/pruprp-fw_git.bb
>>>>>> @@ -0,0 +1,37 @@
>>>>>> +DESCRIPTION = "PRU PRP firmware for AM57xx"
>>>>
>>>> SUMMARY = "PRU PRP firmware for AM57xx"
>>>>
>>>>>> +
>>>>>> +LICENSE = "TI-TFL"
>>>>>> +LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
>>>>>> +
>>>>>> +PV = "2.15.23"
>>>>>> +PE = "1"
>>>>>> +PR = "r0"
>>>>>> +
>>>>>> +COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
>>>>>> +
>>>>>> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>>>>>> +
>>>>>> +SRCREV = "313e20f312a286bc07b97ef9aca70ef3ce96af29"
>>>>>> +BRANCH ?= "ti-linux-firmware"
>>>>>> +
>>>>>> +SRC_URI = "git://git.ti.com/processor-firmware/ti-linux-firmware.git;protocol=git;branch=${BRANCH}"
>>>>>> +
>>>>>> +S = "${WORKDIR}/git"
>>>>>> +
>>>>>> +TARGET = ""
>>>>>> +TARGET_ti33x = "am335x-pru0-pruprp-fw.elf am335x-pru1-pruprp-fw.elf"
>>>>>> +TARGET_ti43x = "am437x-pru0-pruprp-fw.elf am437x-pru1-pruprp-fw.elf"
>>>>>> +TARGET_am57xx-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
>>>>>> +TARGET_am57xx-hs-evm = "am57xx-pru0-pruprp-fw.elf am57xx-pru1-pruprp-fw.elf"
>>>>>> +
>>>>>> +
>>>>>> +do_install() {
>>>>>> +	install -d ${D}${base_libdir}/firmware/ti-pruss
>>>>>> +	for f in ${TARGET}; do
>>>>>> +		install -m 0644 ${S}/ti-pruss/$f ${D}${base_libdir}/firmware/ti-pruss/$f
>>>>>> +	done
>>>>>> +}
>>>>>> +
>>>>>> +FILES_${PN} = "${base_libdir}/firmware"
>>>>>> +
>>>>>> +INSANE_SKIP_${PN} = "arch"
>>>>>> -- 
>>>>>> 2.17.1
>>>>>>
>>>>
>>>> -- 
>>>> Murali Karicheri
>>>> Texas Instruments
>>
>> -- 
>> Murali Karicheri
>> Texas Instruments

-- 
Murali Karicheri
Texas Instruments

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-07-08 12:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-06 21:59 [meta-ti] prueth-hsr/prp: add hsr/prp firmware recipe for version 2.15.23 Murali
2020-07-07 16:17 ` Denys Dmytriyenko
2020-07-07 16:29   ` Murali
2020-07-07 16:40     ` Denys Dmytriyenko
2020-07-07 16:47       ` Murali
2020-07-07 17:16         ` Denys Dmytriyenko
2020-07-07 17:24           ` Murali
2020-07-07 18:01           ` Murali
2020-07-08 12:24           ` Murali
     [not found]     ` <161F85EEADC37350.28965@lists.yoctoproject.org>
2020-07-07 17:15       ` Denys Dmytriyenko
2020-07-07 17:23         ` Murali

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.