RE: [PATCH v4 0/9] ARM: davinci: remoteproc support

2012-12-21 Thread Tivy, Robert
I have uploaded the commits corresponding to this patch set to a public repo on 
GitHub, forked from Linus' v3.7-rc2 tag on his "linux" repo.  These commits are 
on a branch named "davinci-remoteproc", here is the URL: 
https://github.com/RTivy/linux/tree/davinci-remoteproc

This should make for an easier review of the changes.

Regards,

- Rob

> -Original Message-
> From: Tivy, Robert
> Sent: Wednesday, December 19, 2012 5:34 PM
> To: davinci-linux-open-source@linux.davincidsp.com; linux-arm-
> ker...@lists.infradead.org; Nori, Sekhar; o...@wizery.com;
> r...@landley.net; linux-...@vger.kernel.org; Ring, Chris; Grosen, Mark
> Cc: Tivy, Robert
> Subject: [PATCH v4 0/9] ARM: davinci: remoteproc support
> 
> This patch series adds remoteproc support for OMAP-L138, along with
> needed
> supporting mach-davinci infrastructure.
> 
> Some notes for reviewers...
> 
> DOCUMENTATION maintainers: patch 6/9 in this series contains a change
> to
> kernel-parameters.txt that adds a description for a new kernel command-
> line
> parameter, along with the code that defines the new kernel command-line
> parameter.  You are, of course, free to look at the whole series, but
> only
> patch 6/9 is of particular interest.
> 
> Robert Tivy (9):
>   ARM: davinci: da850 board: change pr_warning() to pr_warn()
>   ARM: davinci: devices-da8xx.c: change pr_warning() to pr_warn()
>   ARM: davinci: psc.c: change pr_warning() to pr_warn()
>   ARM: davinci: da850: added pll0_sysclk1 for DSP usage
>   New reset assert/deassert functionality/API provided for Davinci DSP
>   Remoteproc platform device creation data/code for DA8xx devices
>   Added .reserve function and rproc platform registration
>   Added dsp clock definition, keyed to "davinci-rproc.0"
>   Remoteproc driver support for OMAP-L138 DSP
> 
>  Documentation/kernel-parameters.txt|7 +
>  arch/arm/mach-davinci/board-da850-evm.c|  110 -
>  arch/arm/mach-davinci/board-omapl138-hawk.c|   38 +--
>  arch/arm/mach-davinci/clock.c  |   31 +++
>  arch/arm/mach-davinci/clock.h  |3 +
>  arch/arm/mach-davinci/da850.c  |   18 ++
>  arch/arm/mach-davinci/devices-da8xx.c  |   93 +++-
>  arch/arm/mach-davinci/include/mach/clock.h |3 +
>  arch/arm/mach-davinci/include/mach/da8xx.h |6 +
>  arch/arm/mach-davinci/include/mach/psc.h   |3 +
>  arch/arm/mach-davinci/psc.c|   32 ++-
>  drivers/remoteproc/Kconfig |   20 ++
>  drivers/remoteproc/Makefile|1 +
>  drivers/remoteproc/davinci_remoteproc.c|  303
> 
>  include/linux/platform_data/da8xx-remoteproc.h |   33 +++
>  15 files changed, 617 insertions(+), 84 deletions(-)
>  create mode 100644 drivers/remoteproc/davinci_remoteproc.c
>  create mode 100644 include/linux/platform_data/da8xx-remoteproc.h
> 
> --
> 1.7.9.4

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


Re: [PATCH v4 0/9] ARM: davinci: remoteproc support

2013-01-04 Thread Sekhar Nori
On 12/22/2012 3:39 AM, Tivy, Robert wrote:
> I have uploaded the commits corresponding to this patch set to a public repo 
> on GitHub, forked from Linus' v3.7-rc2 tag on his "linux" repo.  These 
> commits are on a branch named "davinci-remoteproc", here is the URL: 
> https://github.com/RTivy/linux/tree/davinci-remoteproc
> 
> This should make for an easier review of the changes.

Thanks. Is there a sample application we could use to exercise the
driver? Looks like we need some firmware to load on the DSP too.

Thanks,
Sekhar
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


RE: [PATCH v4 0/9] ARM: davinci: remoteproc support

2013-01-10 Thread Tivy, Robert
Sekhar,

At this point we have some examples/tests that exercise the davinci remoteproc 
framework using a socket layer that exists only in personal repos.  Ohad 
created rpmsg-based socket support for the kernel using vrings, and along with 
SYS/BIOS-based content developed by my TI team and others, it allows a 
SysLink-like MessageQ implementation to be used between the DSP and Linux user 
apps.  These apps consist of a Linux app communicating with the DSP firmware 
file loaded by remoteproc.  They rely on the rpmsg-based socket support, so 
they're of no use without that.

What I can do, for now, is provide a simple DSP firmware file that prints a 
"Hello, world" to a SYS/BIOS trace buffer that is known to remoteproc, and the 
remoteproc driver can be used to display the trace buffer contents through 
debugfs.  However, this won't exercise the run-time component of davinci 
remoteproc (which is really just interrupt support between the DSP and ARM).  I 
will do this and upload the firmware file and a README to my GitHub repo.  I 
will provide just the firmware binary since the capability to build it from 
source relies on SYS/BIOS, TI IPC, and XDC packages/installations.

Regards,

- Rob


> -Original Message-
> From: Nori, Sekhar
> Sent: Friday, January 04, 2013 4:11 AM
> To: Tivy, Robert
> Cc: davinci-linux-open-source@linux.davincidsp.com; linux-arm-
> ker...@lists.infradead.org; o...@wizery.com; r...@landley.net; linux-
> d...@vger.kernel.org; Ring, Chris; Grosen, Mark
> Subject: Re: [PATCH v4 0/9] ARM: davinci: remoteproc support
> 
> On 12/22/2012 3:39 AM, Tivy, Robert wrote:
> > I have uploaded the commits corresponding to this patch set to a
> public repo on GitHub, forked from Linus' v3.7-rc2 tag on his "linux"
> repo.  These commits are on a branch named "davinci-remoteproc", here
> is the URL: https://github.com/RTivy/linux/tree/davinci-remoteproc
> >
> > This should make for an easier review of the changes.
> 
> Thanks. Is there a sample application we could use to exercise the
> driver? Looks like we need some firmware to load on the DSP too.
> 
> Thanks,
> Sekhar
___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source