UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor gupta_niti
Visitor
5,105 Views
Registered: ‎07-17-2013

Regarding audio on Zedboard

From past few days, I am trying to build Linux kernel for Avnet Zedboard (Xilinx zynq) usinghttp://www.zedboard.org/sites/default/files/design/Ubuntu_on_Zedboard_Tutorial_v14.4_02.pdf.

Although I successfully build the standard configuration having HDMI audio but I don't want HDMI I want ADAU61 linein and lineout audio and I tried to build kernel again using audio_zynq branch but failed to get the sound.

During the boot time I am getting

adv7511-hdmi-snd adv7511_hdmi_snd.5: ASoC: CODEC <null> not registered

platform adv7511_hdmi_snd.5: Driver adv7511-hdmi-snd requests probe deferral

 

Also after booting I am getting the following result of aplay -l

***List of PLAYBACK Hardware  Devices***

card 0: ADAU1761 [ZED ADAU1761], device 0: adau1761 adau-hifi-0 []

Subdevices: 1/1

Subdevice #0: subdevice #0

 

But according to the document I should get both HDMI and ADAU1761.

Also when I tried to restore the ADAU1761 state as written in the document using alsactl restore –f zed_audio.state

I am getting the following result

 

No state is present for card ADAU1761

Found hardware: "ZED_ADAU1761" "" "" "" ""

Hardware is initialized using the generic method

/usr/share/alsa/init/default:60: value write error: Device or resource is busy

/usr/share/alsa/init/default:60: value write error: Device or resource is busy

/usr/share/alsa/init/default:239: value write error: Device or resource is busy

/usr/share/alsa/init/default:239: value write error: Device or resource is busy

No state is present for card ADAU1761

 

I am using the attached files for this

a serious help is required

Thanks in advance

0 Kudos
3 Replies
Scholar milosoftware
Scholar
5,091 Views
Registered: ‎10-26-2012

Re: Regarding audio on Zedboard

Use the ADI reference design for the zedboard, and get the kernel from ADI as well. That has a complete working set.

 

If you're using OpenEmbedded, "my" overlay will build the ADI design and everything else that you need to get audio from the ADAU chip.

 

I've used the Zed as a (darn expensive) MP3 player, so the hardware, software, logic and drivers work just fine together.

 

See this thread on the ADI forum:

http://ez.analog.com/message/109452

0 Kudos
Visitor gupta_niti
Visitor
5,074 Views
Registered: ‎07-17-2013

Re: Regarding audio on Zedboard

Thanx for the reply

I have taken the reference design from http://wiki.analog.com/resources/fpga/xilinx/kc705/adv7511 and for the kernel I just use git://github.com/analogdevicesinc/linux.git audio-linux and then switch to the branch audio_zynq .

 

I am new in Linux having no idea how to take kernel image from ADI.

Please help in this matter.  

0 Kudos
Scholar milosoftware
Scholar
5,044 Views
Registered: ‎10-26-2012

Re: Regarding audio on Zedboard

This one:

 

https://github.com/analogdevicesinc/linux/tree/xcomm_zynq

 

I'd stronly suggest using Yocto and/or OpenEmbedded instead of hand-crafting...

0 Kudos