From: Denys Dmytriyenko <denys@ti.com>
To: Jacob Stiffler <j-stiffler@ti.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: [PATCH v2 2/2] pru-icss: Add PRU software package version 4.0.0.0
Date: Thu, 29 Oct 2015 12:14:45 -0400 [thread overview]
Message-ID: <20151029161445.GF8780@edge> (raw)
In-Reply-To: <1446134989-3367-2-git-send-email-j-stiffler@ti.com>
On Thu, Oct 29, 2015 at 12:09:49PM -0400, Jacob Stiffler wrote:
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> ---
> v2 changes:
> * Remove SRCPV from PV, drop BASE_PV
> * Add COMPATIBLE_MACHINES, remove dummy do_install()
> * Use ti-paths.inc's "TI_CGT_PRU_INSTALL_DIR" to get toolchain path
>
> recipes-bsp/pru/pru-icss_git.bb | 66 +++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 66 insertions(+)
> create mode 100644 recipes-bsp/pru/pru-icss_git.bb
>
> diff --git a/recipes-bsp/pru/pru-icss_git.bb b/recipes-bsp/pru/pru-icss_git.bb
> new file mode 100644
> index 0000000..75179a5
> --- /dev/null
> +++ b/recipes-bsp/pru/pru-icss_git.bb
> @@ -0,0 +1,66 @@
> +DESCRIPTION = "Programmable Real-time Unit Software Package"
> +HOMEPAGE = "http://processors.wiki.ti.com/index.php/PRU-ICSS"
> +LICENSE = "BSD-3-Clause & GPL-2.0 & PD"
> +
> +LIC_FILES_CHKSUM = "file://PRU-Package-v4.0-Manifest.html;md5=5ea937e4ff2c924a735d42e61ad8cbe3"
> +
> +BRANCH = "master"
> +SRC_URI = "git://git.ti.com/pru-software-support-package/pru-software-support-package.git;protocol=git;branch=${BRANCH}"
> +SRCREV = "476289eb7c3a91977bae84aea55c56f3120b48ea"
> +
> +PV = "4.0.0.0"
> +PR = "r0"
> +
> +require recipes-ti/includes/ti-paths.inc
> +
> +COMPATIBLE_MACHINE = "am335x-evm|am437x-evm|am57xx-evm"
Well, the problem with this is exclusion of compatible non-EVM targets. Why
not use SOC family instead here in COMPATIBLE_MACHINE as well as below
do_install overrides?
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +DEPENDS = "ti-cgt-pru-native"
> +
> +S = "${WORKDIR}/git"
> +
> +export PRU_CGT = "${TI_CGT_PRU_INSTALL_DIR}"
> +
> +SUBDIRS = "examples pru_cape/pru_fw lib/src labs"
> +
> +do_compile() {
> + for dir in ${SUBDIRS}
> + do
> + make -C ${S}/$dir
> + done
> +}
> +
> +do_install_am335x-evm() {
> + install -d ${D}/lib/firmware
> + for i in 0 1
> + do
> + install -m 0644 ${S}/examples/am335x/PRU_RPMsg_Echo_Interrupt${i}/gen/PRU_RPMsg_Echo_Interrupt${i}.out \
> + ${D}/lib/firmware/am335x-pru${i}-fw
> + done
> +}
> +
> +do_install_am437x-evm() {
> + install -d ${D}/lib/firmware
> + for i in 0 1
> + do
> + install -m 0644 ${S}/examples/am437x/PRU_RPMsg_Echo_Interrupt${i}/gen/PRU_RPMsg_Echo_Interrupt${i}.out \
> + ${D}/lib/firmware/am437x-pru1_${i}-fw
> + done
> +}
> +
> +do_install_am57xx-evm() {
> + install -d ${D}/lib/firmware
> + for i in 1 2
> + do
> + for j in 0 1
> + do
> + install -m 0644 ${S}/examples/am572x/PRU_RPMsg_Echo_Interrupt${i}_${j}/gen/PRU_RPMsg_Echo_Interrupt${i}_${j}.out \
> + ${D}/lib/firmware/am57xx-pru${i}_${j}-fw
> + done
> + done
> +}
> +
> +FILES_${PN} += "/lib/firmware"
> +
> +INSANE_SKIP_${PN} = "arch"
> --
> 1.9.1
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
prev parent reply other threads:[~2015-10-29 16:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-29 16:09 [PATCH v2 1/2] ti-cgt-pru: Add version 2.1.1 Jacob Stiffler
2015-10-29 16:09 ` [PATCH v2 2/2] pru-icss: Add PRU software package version 4.0.0.0 Jacob Stiffler
2015-10-29 16:14 ` Denys Dmytriyenko [this message]
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=20151029161445.GF8780@edge \
--to=denys@ti.com \
--cc=j-stiffler@ti.com \
--cc=meta-ti@yoctoproject.org \
/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.