From: "Denys Dmytriyenko" <denys@ti.com>
To: Lokesh Vutla <lokeshvutla@ti.com>
Cc: <meta-ti@lists.yoctoproject.org>, Sekhar Nori <nsekhar@ti.com>,
<m-erdahl@ti.com>, <m-karicheri2@ti.com>
Subject: Re: [PATCH 3/3] prusw-fw: Package the firmware images from ti-linux-firmware
Date: Fri, 21 Aug 2020 14:54:55 -0400 [thread overview]
Message-ID: <20200821185455.GL29812@beryl> (raw)
In-Reply-To: <20200821073238.18926-4-lokeshvutla@ti.com>
On Fri, Aug 21, 2020 at 01:02:38PM +0530, Lokesh Vutla wrote:
> Directly take the images from ti-linux-firmware instead of using pdk
>
> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
> ---
> recipes-bsp/prusw-fw/prusw-fw_3.0.0.bb | 38 ++++++++++++++++++++++++
> recipes-bsp/prusw-fw/prusw-fw_git.bb | 40 --------------------------
> 2 files changed, 38 insertions(+), 40 deletions(-)
> create mode 100644 recipes-bsp/prusw-fw/prusw-fw_3.0.0.bb
> delete mode 100644 recipes-bsp/prusw-fw/prusw-fw_git.bb
>
> diff --git a/recipes-bsp/prusw-fw/prusw-fw_3.0.0.bb b/recipes-bsp/prusw-fw/prusw-fw_3.0.0.bb
> new file mode 100644
> index 00000000..514237eb
> --- /dev/null
> +++ b/recipes-bsp/prusw-fw/prusw-fw_3.0.0.bb
> @@ -0,0 +1,38 @@
> +DESCRIPTION = "PRU Switch firmware for AM57xx, AM437x and AM335x"
Use SUMMARY here
> +LICENSE = "TI-TFL"
> +LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=b5aebf0668bdf95621259288c4a46d76"
> +
> +PV = "3.0.3"
So, the filename sets PV to 3.0.0, but here it's 3.0.3?
> +PR = "r1"
Drop PR
> +CLEANBROKEN = "1"
> +
> +COMPATIBLE_MACHINE = "ti33x|ti43x|am57xx-evm|am57xx-hs-evm"
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +SRCREV = "7ba9722b74608ad4472790972917e1205eb3c049"
> +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-prusw-fw.elf am335x-pru1-prusw-fw.elf"
> +TARGET_ti43x = "am437x-pru0-prusw-fw.elf am437x-pru1-prusw-fw.elf"
> +TARGET_am57xx-evm = "am57xx-pru0-prusw-fw.elf am57xx-pru1-prusw-fw.elf"
> +TARGET_am57xx-hs-evm = "am57xx-pru0-prusw-fw.elf am57xx-pru1-prusw-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/prusw-fw/prusw-fw_git.bb b/recipes-bsp/prusw-fw/prusw-fw_git.bb
> deleted file mode 100644
> index 2921fb1d..00000000
> --- a/recipes-bsp/prusw-fw/prusw-fw_git.bb
> +++ /dev/null
> @@ -1,40 +0,0 @@
> -DESCRIPTION = "PRU Switch firmware for AM57xx"
> -
> -require recipes-ti/includes/ti-paths.inc
> -require recipes-bsp/icss-emac-lld/icss-emac-lld.inc
> -
> -LICENSE = "TI-TFL"
> -LIC_FILES_CHKSUM = "file://icss_dualemac/src/firmware_version.h;beginline=6;endline=53;md5=1f0a640a261059cdcbbcf01e6a739ff3"
> -
> -PR = "${INC_PR}.0"
> -
> -TI_PDK_COMP = "ti.drv.icss_emac.firmware"
> -
> -B = "${S}/icss_switch"
> -
> -COMPATIBLE_MACHINE = "dra7xx"
> -
> -PACKAGE_ARCH = "${MACHINE_ARCH}"
> -
> -DEPENDS = "ti-cgt-pru-native"
> -
> -PRU_VERSION = ""
> -PRU_VERSION_dra7xx = "REV2"
> -
> -FW_PREFIX = ""
> -FW_PREFIX_dra7xx = "am57xx"
> -
> -
> -EXTRA_OEMAKE += "CL_PRU_INSTALL_PATH="${TI_CGT_PRU_INSTALL_DIR}" PRU_VERSION_LIST="${PRU_VERSION}""
> -
> -do_install() {
> - install -d ${D}${base_libdir}/firmware/ti-pruss
> - install -m 0644 ./elf/${PRU_VERSION}/icss_stp_switch_PRU0.elf \
> - ${D}${base_libdir}/firmware/ti-pruss/${FW_PREFIX}-pru0-prusw-fw.elf
> - install -m 0644 ./elf/${PRU_VERSION}/icss_stp_switch_PRU1.elf \
> - ${D}${base_libdir}/firmware/ti-pruss/${FW_PREFIX}-pru1-prusw-fw.elf
> -}
> -
> -FILES_${PN} = "${base_libdir}/firmware"
> -
> -INSANE_SKIP_${PN} = "arch"
> --
> 2.23.0
>
next prev parent reply other threads:[~2020-08-21 18:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-21 7:32 [PATCH 0/3] prueth: Update all prueth firmwares lokeshvutla
2020-08-21 7:32 ` [PATCH 1/3] prueth-hsr/prp: Update hsr/prp firmwares to latest Lokesh Vutla
2020-08-21 18:40 ` Denys Dmytriyenko
2020-08-23 9:40 ` Lokesh Vutla
2020-08-25 16:54 ` Denys Dmytriyenko
2020-08-21 7:32 ` [PATCH 2/3] prueth-fw: Package the firmware images from ti-linux-firmware Lokesh Vutla
2020-08-21 18:53 ` Denys Dmytriyenko
2020-08-24 15:29 ` Suman Anna
2020-08-25 16:45 ` Denys Dmytriyenko
2020-08-21 7:32 ` [PATCH 3/3] prusw-fw: " Lokesh Vutla
2020-08-21 18:54 ` Denys Dmytriyenko [this message]
2020-08-23 9:54 ` Lokesh Vutla
2020-08-25 16:23 ` Lokesh Vutla
2020-08-25 16:57 ` Denys Dmytriyenko
2020-08-21 18:34 ` [PATCH 0/3] prueth: Update all prueth firmwares Denys Dmytriyenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200821185455.GL29812@beryl \
--to=denys@ti.com \
--cc=lokeshvutla@ti.com \
--cc=m-erdahl@ti.com \
--cc=m-karicheri2@ti.com \
--cc=meta-ti@lists.yoctoproject.org \
--cc=nsekhar@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.