From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Subject: Re: remoteproc: Load coprocessor code to the specific main memory location Date: Wed, 15 Feb 2012 13:47:30 +0100 Message-ID: <4F3BA962.9040109@monstr.eu> References: <4F1EE861.4030405@monstr.eu> <4F1FF870.3000105@monstr.eu> <4F200F64.9060203@monstr.eu> <4F212E9E.9060807@monstr.eu> <4F391C1D.9020402@monstr.eu> Reply-To: monstr@monstr.eu Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Ohad Ben-Cohen Cc: LKML , John Williams , linux-arm , "Grosen, Mark" , Arnd Bergmann , Grant Likely , devicetree-discuss@lists.ozlabs.org List-Id: devicetree@vger.kernel.org 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. 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