Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756690Ab2BNQ2y (ORCPT ); Tue, 14 Feb 2012 11:28:54 -0500 Received: from mail-iy0-f174.google.com ([209.85.210.174]:42438 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751600Ab2BNQ2x convert rfc822-to-8bit (ORCPT ); Tue, 14 Feb 2012 11:28:53 -0500 MIME-Version: 1.0 X-Originating-IP: [108.60.121.130] In-Reply-To: <4F391C1D.9020402@monstr.eu> References: <4F1EE861.4030405@monstr.eu> <4F1FF870.3000105@monstr.eu> <4F200F64.9060203@monstr.eu> <4F212E9E.9060807@monstr.eu> <4F391C1D.9020402@monstr.eu> From: Ohad Ben-Cohen Date: Tue, 14 Feb 2012 17:28:33 +0100 Message-ID: Subject: Re: remoteproc: Load coprocessor code to the specific main memory location To: monstr@monstr.eu Cc: LKML , John Williams , linux-arm , "Grosen, Mark" , Arnd Bergmann , Grant Likely , devicetree-discuss@lists.ozlabs.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 905 Lines: 24 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. > Do you have any example of using it? What exactly are you looking for ? RTOS or Linux side ? 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. Ohad. -- 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/