[yocto] [meta-raspberrypi][PATCH] make sound work out of the box for raspberrypi2

Alex J Lennon ajlennon at dynamicdevices.co.uk
Mon Mar 23 09:42:52 PDT 2015



On 23/03/2015 16:59, Gary Thomas wrote:
> On 2015-03-22 14:21, Andreas Müller wrote:
>> Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
>> ---
>>   ...-during-boot-by-compiling-SND_BCM2835-int.patch | 38
>> ++++++++++++++++++++++
>>   recipes-kernel/linux/linux-raspberrypi_3.18.bb     |  8 +++--
>>   2 files changed, 43 insertions(+), 3 deletions(-)
>>   create mode 100644
>> recipes-kernel/linux/linux-raspberrypi/0001-start-sound-during-boot-by-compiling-SND_BCM2835-int.patch
>
> I tried this patch (which downloaded very strangely using Thunderbird)
> and the
> kernel rebuilt fine.  I now have the audio detected, but still no
> sound :-(
> Again I've tried the internal (phono) speakers as well as HDMI audio.
>
> Just to prove a point on the [brand new] hardware, I installed
> OpenELEC (XBMC)
> and it works fine using the HDMI audio.  Sadly when I tried Raspbian
> and Ubuntu
> there was no sound either...
>
> Were you (Andreas) able to get any sound with this patch? 

Sorry to jump in on your conversation Gary but I am also doing some bits
and pieces with meta-raspberrypi myself to test out my new-ish RPiv2.

I'll have a look at changing the kernel configuration here later, but I
did also try changing TEST_MODE in the config.txt which is billed as
giving analogue audio and video out at startup. Sure enough I hear the
startup beeps.

Perhaps this would enable you to verify the hardware is working too?

The docs would seem to indicate that it should output a/v for the
configured number of seconds whereas I see this continuously until I
power cycle, but maybe that is a typo.

http://www.raspberrypi.org/documentation/configuration/config-txt.md

Regards, Alex




More information about the yocto mailing list