Dose imx6 yocto BSP including fsl-alsa-plugin?

cancel
Showing results for 
Search instead for 
Did you mean: 

Dose imx6 yocto BSP including fsl-alsa-plugin?

Jump to solution
405 Views
Contributor II

Hi All,

I am trying to use hardware ASRC, and it supported by fsl-alsa-plugin.

But according to kernel log, while calling aplay or arecoed with alsa plugin, hardware ASRC doesn't be called.

Does iMX yocto BS support fsl-alsa-plugin or not, or how to use it, Thanks!

螢幕快照 2018-11-29 下午3.50.01.png

Labels (4)
Tags (4)
0 Kudos
1 Solution
21 Views
NXP TechSupport
NXP TechSupport

Hi Arc

for asrc usage one can check its driver description in sect.7.2

Asynchronous Sample Rate Converter (ASRC) attached Linux Manual.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
4 Replies
21 Views
NXP TechSupport
NXP TechSupport

Hi arc

hardware asrc is supported in i.mx official nxp bsps described on

i.MX Software|NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
21 Views
Contributor II

Hi Igor,

Do you know how to enable fsl-alsa-plugin ASRC feature in iMX BSP?

I'am follow the instruction modify /etc/asound.conf
螢幕快照 2018-11-30 上午11.29.15.png

but arecord -vD asrc result shows no ASRC was enabled.

Thanks!

Arc.

0 Kudos
22 Views
NXP TechSupport
NXP TechSupport

Hi Arc

for asrc usage one can check its driver description in sect.7.2

Asynchronous Sample Rate Converter (ASRC) attached Linux Manual.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
21 Views
Contributor II

Hi Igor,

I am simply copy tmp/sysroots/imx6qsabresd/usr/lib/alsa-lib/ directory from yocto to rootfs, and alsa-plugin executes successfully.

 

As follows i.MX_Reference_Manual.pdf, unit_tests works fine

螢幕快照 2018-12-03 下午5.39.47.png

"@@  fsl_asrc_ioctl_config_pair " is a printed log make sure ASRC has been called

But while using fsl-alsa-plugin to SPDIF device,

螢幕快照 2018-12-04 下午8.22.01.png

螢幕快照 2018-12-04 下午8.22.18.png

it shows

螢幕快照 2018-12-04 下午8.34.45.png

but without any SPDIF signal output

Should i open another thread for this discussion?

Thanks!
Arc.

0 Kudos