All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Sam Nelson <sam.nelson@ti.com>
Cc: meta-arago@arago-project.org
Subject: Re: [PATCH] ti-edma3: Add recipe for EDMA3 user space low level driver
Date: Tue, 4 Mar 2014 22:09:37 -0500	[thread overview]
Message-ID: <20140305030936.GU22125@edge> (raw)
In-Reply-To: <1393801987-6753-1-git-send-email-sam.nelson@ti.com>

Is this a re-submit or v2 of the previous submission?


On Sun, Mar 02, 2014 at 06:13:07PM -0500, Sam Nelson wrote:
> - Low level user space driver and test code for TI EDMA3
> 
> Signed-off-by: Sam Nelson <sam.nelson@ti.com>
> ---
>  .../recipes-bsp/ti-edma3/ti-edma3_git.bb           |   69 ++++++++++++++++++++
>  1 file changed, 69 insertions(+)
>  create mode 100755 meta-arago-extras/recipes-bsp/ti-edma3/ti-edma3_git.bb
> 
> diff --git a/meta-arago-extras/recipes-bsp/ti-edma3/ti-edma3_git.bb b/meta-arago-extras/recipes-bsp/ti-edma3/ti-edma3_git.bb
> new file mode 100755
> index 0000000..82b980f
> --- /dev/null
> +++ b/meta-arago-extras/recipes-bsp/ti-edma3/ti-edma3_git.bb
> @@ -0,0 +1,69 @@
> +DESCRIPTION = "TI EDMA3 low level driver and test code"
> +LICENSE = "TI-BSD"
> +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
> +
> +BRANCH="master"
> +SRC_URI = "git://git.ti.com/keystone-rtos/edma3_lld.git"
> +# The following commit corresponds to tag DEV_EDMA3_LLD_02_11_11_15_RC01
> +SRCREV = "b73a262bf6f6d366e3bf83d0c116be2b61a86dde"
> +
> +PV="2.11.11"
> +
> +COMPATIBLE_MACHINE = "keystone-evm"
> +
> +PR = "r0"
> +DEPENDS="ti-csl"
> +
> +PLATFORMLIST = "tci6636k2h-evm \
> +	tci6638k2k-evm \
> +	tci6630k2l-evm \
> +	c66ak2e-evm \
> +	"
> +
> +PACKAGES =+ "${PN}-bin"
> +
> +FILES_${PN}-bin = "${bindir}/*"
> +
> +S = "${WORKDIR}/git"
> +
> +do_compile () {
> +	cd ${S}/packages
> +	for platform in ${PLATFORMLIST}
> +	do
> +		ROOTDIR=${S} CROSSCC="${TARGET_PREFIX}gcc" CROSSAR="${TARGET_PREFIX}ar" \
> +		CROSSLNK="${TARGET_PREFIX}gcc" INTERNAL_SW_ROOT=${S} make \
> +		PLATFORM=${platform} TARGET=a15 TOOLCHAIN_a15=GCC FORMAT=ELF SONAME=libedma3.so all
> +	done
> +}
> +
> +do_install () {
> +	install -d ${D}/${libdir}
> +
> +	# Static Libraries
> +	cp ${S}/packages/ti/sdo/edma3/drv/lib/a15/release/edma3_lld_drv.aa15fg ${D}/${libdir}/libedma3.a
> +	cp ${S}/packages/ti/sdo/edma3/rm/lib/tci6636k2h-evm/a15/release/edma3_lld_rm.aa15fg ${D}/${libdir}/libedma3rm.a
> +
> +	# Shared Libraries
> +	cp -a ${S}/packages/ti/sdo/edma3/drv/lib/a15/release/libedma* ${D}/${libdir}
> +	cp -a ${S}/packages/ti/sdo/edma3/rm/lib/tci6636k2h-evm/a15/release/libedma* ${D}/${libdir}
> +
> +	# Copy Headers
> +	install -d ${D}/${includedir}/ti/sdo/edma3/drv/
> +	install -d ${D}/${includedir}/ti/sdo/edma3/rm
> +	cp ${S}/packages/ti/sdo/edma3/drv/*.h ${D}/${includedir}/ti/sdo/edma3/drv/
> +	cp ${S}/packages/ti/sdo/edma3/rm/*.h ${D}/${includedir}/ti/sdo/edma3/rm/
> +
> +	# Copy Sample Config
> +	install -d ${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
> +	cp ${S}/examples/edma3_user_space_driver/evmTCI6636K2H/evmTCI6636K2HSample.c ${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
> +	cp ${S}/examples/edma3_user_space_driver/evmTCI6638K2K/evmTCI6638K2KSample.c ${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
> +	cp ${S}/examples/edma3_user_space_driver/evmTCI6630K2L/evmTCI6630K2LSample.c ${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
> +	cp ${S}/examples/edma3_user_space_driver/evmC66AK2E/evmC66AK2ESample.c ${D}/${includedir}/ti/sdo/edma3/drv/sample/src/platforms
> +
> +	install -d ${D}/${bindir}
> +	install -c -m 755 ${S}/examples/edma3_user_space_driver/evmTCI6636K2H/bin/tci6636k2h-evm/edma3_drv_6636k2h_a15_sample_a15host_release.xa15fg ${D}/${bindir}/edma3_drv_6636k2h_a15_sample_a15host_release.xa15fg
> +	install -c -m 755 ${S}/examples/edma3_user_space_driver/evmTCI6638K2K/bin/tci6638k2k-evm/edma3_drv_6638k2k_a15_sample_a15host_release.xa15fg ${D}/${bindir}/edma3_drv_6638k2k_a15_sample_a15host_release.xa15fg
> +	install -c -m 755 ${S}/examples/edma3_user_space_driver/evmTCI6630K2L/bin/tci6630k2l-evm/edma3_drv_6630k2l_a15_sample_a15host_release.xa15fg ${D}/${bindir}/edma3_drv_6630k2l_a15_sample_a15host_release.xa15fg
> +	install -c -m 755 ${S}/examples/edma3_user_space_driver/evmC66AK2E/bin/c66ak2e-evm/edma3_drv_c66ak2e_a15_sample_a15host_release.xa15fg ${D}/${bindir}/edma3_drv_c66ak2e_a15_sample_a15host_release.xa15fg
> +}
> +
> -- 
> 1.7.9.5
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


  reply	other threads:[~2014-03-05  3:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-02 23:13 [PATCH] ti-edma3: Add recipe for EDMA3 user space low level driver Sam Nelson
2014-03-05  3:09 ` Denys Dmytriyenko [this message]
2014-03-05  3:35   ` Nelson, Sam
2014-03-05  3:38     ` 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=20140305030936.GU22125@edge \
    --to=denys@ti.com \
    --cc=meta-arago@arago-project.org \
    --cc=sam.nelson@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.