Skip to contentSkip to conversation

RaspberryPi2 - no audio?

meta-raspberrypi Gary Thomas 4 participants 4 messages Mar 22, 2015

lore
Share & tools
lore
#0 lore raw

I just built Poky/Yocto for the RaspberryPi2, straight out of the box using this configuration:

Build Configuration:

BB_VERSION        = "1.25.0"
BUILD_SYS         = "i686-linux"
NATIVELSBSTRING   = "Fedora-13"
TARGET_SYS        = "arm-amltd-linux-gnueabi"
MACHINE           = "raspberrypi2"
DISTRO            = "amltd"
DISTRO_VERSION    = "1.7+snapshot-20150321"
TUNE_FEATURES     = "arm armv7a vfp thumb neon callconvention-hard vfpv4 cortexa7"
TARGET_FPU        = "vfp-vfpv4-neon"
meta              = "master:12b6cf0f2212519b14333519746174a5b941f7bf"
meta-amltd        = "cutting-edge:d9350ea229c04d64111f38e638f372a1bac87be0"
meta-raspberrypi  = "master:b896a7da70dd7a16ba7ffd664f7747cb37e1d142"

All seemed to go OK, but when I try to play audio, there are no sound cards found. Is there some configuration I need? Once I get it going, how can I select between the internal (phono) audio and HDMI?

Note: I had this working just fine on my RaspberryPi (model B)

Thanks

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw

Hello,

Quoted 19 lines · Gary Thomas

I just built Poky/Yocto for the RaspberryPi2, straight out of the box using this configuration:

Build Configuration:

BB_VERSION        = "1.25.0"
BUILD_SYS         = "i686-linux"
NATIVELSBSTRING   = "Fedora-13"
TARGET_SYS        = "arm-amltd-linux-gnueabi"
MACHINE           = "raspberrypi2"
DISTRO            = "amltd"
DISTRO_VERSION    = "1.7+snapshot-20150321"
TUNE_FEATURES     = "arm armv7a vfp thumb neon callconvention-hard vfpv4
cortexa7"
TARGET_FPU        = "vfp-vfpv4-neon"
meta              = "master:12b6cf0f2212519b14333519746174a5b941f7bf"
meta-amltd        = "cutting-edge:d9350ea229c04d64111f38e638f372

a1bac87be0"
meta-raspberrypi = "master:b896a7da70dd7a16ba7ffd664f7747cb37e1d142"

Quoted 8 lines

All seemed to go OK, but when I try to play audio, there are no sound cards found. Is there some configuration I need? Once I get it going, how can I select between the internal (phono) audio and HDMI?

Note: I had this working just fine on my RaspberryPi (model B)

We didn't test audio on Raspberrypi 2. So, probably the best thing to do it to shoot a redmine bug and maybe help with some patches? Otherwise we will try to pick it as soon as possible.

Thanks a lot.

Signature · 1 line
*Andrei Gherzan*
#2 lore raw
Quoted 31 lines · Andrei Gherzan

Hello,

Quoted 20 lines · Gary Thomas

I just built Poky/Yocto for the RaspberryPi2, straight out of the box using this configuration:

Build Configuration:

BB_VERSION        = "1.25.0"
BUILD_SYS         = "i686-linux"
NATIVELSBSTRING   = "Fedora-13"
TARGET_SYS        = "arm-amltd-linux-gnueabi"
MACHINE           = "raspberrypi2"
DISTRO            = "amltd"
DISTRO_VERSION    = "1.7+snapshot-20150321"
TUNE_FEATURES     = "arm armv7a vfp thumb neon callconvention-hard vfpv4
cortexa7"
TARGET_FPU        = "vfp-vfpv4-neon"
meta              = "master:12b6cf0f2212519b14333519746174a5b941f7bf"
meta-amltd        =

"cutting-edge:d9350ea229c04d64111f38e638f372a1bac87be0" meta-raspberrypi = "master:b896a7da70dd7a16ba7ffd664f7747cb37e1d142"

Quoted 7 lines

All seemed to go OK, but when I try to play audio, there are no sound cards found. Is there some configuration I need? Once I get it going, how can I select between the internal (phono) audio and HDMI?

Note: I had this working just fine on my RaspberryPi (model B)

Quoted 9 lines

We didn't test audio on Raspberrypi 2. So, probably the best thing to do it to shoot a redmine bug and maybe help with some patches? Otherwise we will try to pick it as soon as possible.

Thanks a lot.

--
Andrei Gherzan

Had same - had no time to send yet [1]...

Andreas

[1] https://github.com/schnitzeltony/meta-raspberrypi/commit/d353859131ead0d45cab322d5e93b3f8391dd2ba

#3 lore raw
Quoted 36 lines · Andreas Müller
Quoted 35 lines · Andrei Gherzan

Hello,

Quoted 19 lines · Gary Thomas

I just built Poky/Yocto for the RaspberryPi2, straight out of the box using this configuration:

Build Configuration:

BB_VERSION        = "1.25.0"
BUILD_SYS         = "i686-linux"
NATIVELSBSTRING   = "Fedora-13"
TARGET_SYS        = "arm-amltd-linux-gnueabi"
MACHINE           = "raspberrypi2"
DISTRO            = "amltd"
DISTRO_VERSION    = "1.7+snapshot-20150321"
TUNE_FEATURES     = "arm armv7a vfp thumb neon callconvention-hard vfpv4
cortexa7"
TARGET_FPU        = "vfp-vfpv4-neon"
meta              = "master:12b6cf0f2212519b14333519746174a5b941f7bf"
meta-amltd        =

"cutting-edge:d9350ea229c04d64111f38e638f372a1bac87be0" meta-raspberrypi = "master:b896a7da70dd7a16ba7ffd664f7747cb37e1d142"

Quoted 7 lines

All seemed to go OK, but when I try to play audio, there are no sound cards found. Is there some configuration I need? Once I get it going, how can I select between the internal (phono) audio and HDMI?

Note: I had this working just fine on my RaspberryPi (model B)

We didn't test audio on Raspberrypi 2. So, probably the best thing to do it to shoot a redmine bug and maybe help with some patches? Otherwise we will try to pick it as soon as possible.

Thanks a lot.

Quoted 8 lines
Quoted 3 lines

--
Andrei Gherzan

Had same - had no time to send yet [1]...

Andreas

[1] https://github.com/schnitzeltony/meta-raspberrypi/commit/d353859131ead0d45cab322d5e93b3f8391dd2ba

CONFIG_SND=y would be a nice little config fragment

Alex