On Tue, Apr 19, 2016 at 4:41 AM, Rick Mann <[email protected]> wrote:

> The following .dtsi file:
>
>
> https://github.com/RobertCNelson/dtb-rebuilder/blob/4.4.x/src/arm/am33xx-overlay-edma-fix.dtsi
>
> causes the mcasp davinci audio driver to load during boot,
> and prevents overlays (like BB-BONE-AUDI-02) from setting
> audio parameters. The result is hardware configuration errors
> when trying to use ALSA commands:
>
> > Unable to set hw params for playback: Invalid argument
> > Setting of hwparams failed: Invalid argument
>
> That .dtsi file enables spi0/1, and mcasp0/1. By removing
> the mcasp0/1 entries, the BB-BONE-AUDI-02 overlay is able
> to enable mcasp while configuring it properly, and allowing
> the driver to work.
>
> It's not clear to me how that file is an eDMA fix, nor why
> it enables mcasp.
>
> Here's the thread on the alsa-devel list where we figured it
> out:
>
> http://mailman.alsa-project.org/pipermail/alsa-devel/2016-April/107061.html
>
> Is the best way to report this problem here on the list like
> this, or to open an issue on github/dtb-rebuilder?
>
> Note that this is all with kernel 4.4.7-bone-rt-r9. Not sure
> to how many other versions it applies.
>

Correct, don't add [#include "am33xx-overlay-edma-fix.dtsi
<https://github.com/RobertCNelson/dtb-rebuilder/blob/4.4.x/src/arm/am33xx-overlay-edma-fix.dtsi>"]
to the base dtb if your going to load the audio cape.

I didn't in the example...

https://github.com/RobertCNelson/dtb-rebuilder/blob/4.1-ti/src/arm/am335x-boneblack-audio.dts

https://github.com/RobertCNelson/dtb-rebuilder/blob/4.4-ti/src/arm/am335x-boneblack-audio.dts

But i didn't spell out why, but from your testing, you see why now. ;)

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYipqhzvXgY_o7rmsN8tXAT%3Db7rjvzWn5JsQxCxBxFBX5w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to