Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932465Ab2BPJNN (ORCPT ); Thu, 16 Feb 2012 04:13:13 -0500 Received: from mail-bk0-f46.google.com ([209.85.214.46]:39105 "EHLO mail-bk0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932239Ab2BPJNC (ORCPT ); Thu, 16 Feb 2012 04:13:02 -0500 Message-ID: <4F3CC899.4070302@monstr.eu> Date: Thu, 16 Feb 2012 10:12:57 +0100 From: Michal Simek Reply-To: monstr@monstr.eu User-Agent: Thunderbird 2.0.0.22 (X11/20090625) MIME-Version: 1.0 CC: Ohad Ben-Cohen , LKML , John Williams , linux-arm , "Grosen, Mark" , Arnd Bergmann , Grant Likely , devicetree-discuss@lists.ozlabs.org Subject: Re: remoteproc: Load coprocessor code to the specific main memory location References: <4F1EE861.4030405@monstr.eu> <4F1FF870.3000105@monstr.eu> <4F200F64.9060203@monstr.eu> <4F212E9E.9060807@monstr.eu> <4F391C1D.9020402@monstr.eu> <4F3BA962.9040109@monstr.eu> <4F3BC30A.4030301@monstr.eu> In-Reply-To: <4F3BC30A.4030301@monstr.eu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1924 Lines: 57 Michal Simek wrote: > Michal Simek wrote: >> Ohad Ben-Cohen wrote: >>> On Mon, Feb 13, 2012 at 3:20 PM, Michal Simek wrote: >>>> Here is how it is achieve >>>> ret = dma_declare_coherent_memory(&zynq_freertos.dev, 0, >>>> 0, 0x10000000, DMA_MEMORY_MAP); >>>> >>>> which is fully compatible with remoteproc. >>> >>> Great, this is what we've been doing with davinci too. >> >> Cool. >> >>> >>>> Do you have any example of using it? >>> >>> What exactly are you looking for ? RTOS or Linux side ? >> >> Both side will be great. Rtos is freertos. >> >>> >>> On the Linux side, you can just make the rpmsg sample work (it's part >>> of the rpmsg patch set). For the RTOS side, feel free to just take our >>> code (it's BSD licensed and hosted on github) and adapt it to your >>> environment. >> >> You mean that server_sample and rpmsg_omx right? >> I have also found rpmsg-omx demo application. >> What I am missing is how to probe rpmsg bus. >> Do you have any working example? >> >> Communication between cpus is done through swirqs. I have test sending >> it from linux to rtos. > > ok. How that rpmsg channels are created? Is it based on data sent from > remoteproc? > Or based on resource table? I should be more specific. Can you point me to remoteproc code which publish remote service based on them Linux rpmsg driver will be probed? It is rtos part of code. In your ELCE presentation is called rpmsg-client-sample service. Thanks, Michal -- Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/ Microblaze U-BOOT custodian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/