From: "Gabriel M. Beddingfield" <gabrbedd@gmail.com>
To: alsa-devel@alsa-project.org
Subject: Re: Add ALSA driver to Buildroot image or add / load it after booting the image
Date: Sun, 10 Mar 2013 17:20:22 -0700 [thread overview]
Message-ID: <513D2346.9010306@gmail.com> (raw)
In-Reply-To: <CAMFO430h8z+gNbkjq0WHAbRQ48iLDtfvknEpnNAjuRKBgwzXSQ@mail.gmail.com>
Hi Marc,
On 03/10/2013 01:19 PM, Marc Schultz wrote:
> Hey ALSA-Devel community,
>
> I'm successfully booting a Buildroot made Linux image on my board.
> This board has an Cirrus Logic CS4270 sound chip and now I want to
> activate the specific sound card driver for it. Is there a good way to
> put the CS4270 driver files into the Linux Kernel folders of Buildroot
> to get them compressed into the Linux image or do I have to go one of
> the following ways after booting the image on my target hardware?
>
> http://www.alsa-project.org/main/index.php/Matrix:Module-cs4270
>
> http://www.alsa-project.org/main/index.php/Driver_Compilation)
>
> Do you have a good workflow for me to get this thing working?
Long story short... making this work is /very/ board-specific. If
someone hasn't already done the work for your specific board -- doing
the work isn't trivial. It's not like PC's where the sound card is on
the PCI bus and you simply have to load the driver module. Someone
experienced in ASoC and board bring-up would spend anywhere from 2 days
to a week to do this board-specific integration work.
If you're starting from less, then the lower estimate is "weeks."
So, if you're up for the journey... here's some starting points...
Start here: Documentation/sound/alsa/soc/*
One example of this kind of integration can be found for the BeagleBoard:
arch/arm/mach-omap2/board-omap3beagle.c (board file)
sound/soc/omap/omap-twl4030.c (ASoC machine driver)
Each component will need board-specific platform data added to the board
file (or device tree), and a machine driver will be needed to glue
together the audio components (CPU platform + CPU Driver + Audio Codec)
into a "sound card".
-gabriel
prev parent reply other threads:[~2013-03-11 0:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-10 20:19 Add ALSA driver to Buildroot image or add / load it after booting the image Marc Schultz
2013-03-11 0:20 ` Gabriel M. Beddingfield [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=513D2346.9010306@gmail.com \
--to=gabrbedd@gmail.com \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).