From: Szabolcs Erki Subject: Re: Developing and cross-compiling an ASoC driver Date: Thu, 22 Oct 2009 16:40:34 +0200 Message-ID: <786228398.20091022164034@szabolcserki.com> References: <1608652916.20091022160818@szabolcserki.com> <20091022142148.GE3776@sirena.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from relay01.digicable.hu (relay01.digicable.hu [92.249.128.189]) by alsa0.perex.cz (Postfix) with ESMTP id C874310385D for ; Thu, 22 Oct 2009 16:40:38 +0200 (CEST) In-Reply-To: <20091022142148.GE3776@sirena.org.uk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Mark Brown Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org Ok, so ASoC is totally platform-independent, there is no patch to be applied against ASoC in order to make it feasible for the target. Is it correct? In this case I have to compile it in the kernel, using the gcc-arm-elf cross compiler. How to do that? Hard copy the files and hacking makefiles together? Because the descriptions I found applied to installing ASoC on a desktop environment, like Ubuntu. Thanks again. Szabolcs Thursday, October 22, 2009, 4:21:48 PM, you wrote: > On Thu, Oct 22, 2009 at 04:08:18PM +0200, Szabolcs Erki wrote: >> I didn't find any suitable description how to do a cross-platform driver development process. >> Could you please give me some introduction how to: >> - cross compile alsa-driver (AFAIK ASoC is part of it, and ALSA is >> part of the linux kernel), and alsa-utils (for getting arecord) >> - cross compile the newly developed alsa driver >> - integrate ASoC and the custom driver to the patched kernel >> (Linux4SAM) and cross compile them to one image. > There is nothing particularly special about building when you're > developing a new driver - the kernel is built in exactly the same way. > There's certainly nothing ASoC specific here. You'll probably get more > useful advice by asking people who normally use the same distribution > that you do how they develop. > Many people build a system as they normally would with the distribution > they usually use (eg, OpenEmbedded) and then use the toolchain that has > to compile a kernel by hand from a regular git checkout, copying the > resulting kernel into whatever images they normally use. > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel -- Szabolcs Erki szabolcs@szabolcserki.com Read my blog at http://www.szabolcserki.com/