Xen Backend for sound sharing for arm
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Hi,
Quoted 2 lines · On 08/10/2017 12:03 PM, ajmalmalib4u wrote:
Hi,
I need to do sound sharing in RCar H3.
Great that there is some interest in the work we do I'm just curious, what is the nature of your interest? Are you going to just use that sound solution or may want to contribute as well (development/design/testing)?
Quoted 3 lines
I am currently using Xen 4.8.0. Itried to patch the guest kernel(v 4.6.0) using the patch series [[RESEND1,01/12] ALSA: vsnd: Introduce Xen para-virtualized sound frontend driver] to add the support for Xen para-virtualized sound frontend driver which was made available a few days ago.
I got some errors which I guess were due to the old kernel version.
the series is based on [1] which is 4.13, this is why
Quoted 4 lines
So I downloaded the current stable Linux 4.12.5 from kernel.org <http://kernel.org> and tried to add the patches to it. But the patch failed due to missing fields in
snd_pcm_opsinpcm.h. As such, I had to patch the kernel with a different patch series[[v2,02/27] ALSA: pcm: Introducecopy_user,copy_kernelandfill_silenceops],[ALSA:sound/isa: constifysnd_kcontrol_newstructures][ALSA: gus: remove unused local flag] to add the new fields topcm.h. Also, I had to copy an SoC specific firmware file[r8a779x_usb3_v2.dlmem] to the firmware directory of the kernel directory. Finally after applying all these patches to v4.12.5 and building the kernel, I got the snd-xen-front.ko file insound/drivers/.How can I test whether the sound frontend is working? Is the backend for sound available for
sndif.h?
You also need to run a user-space backend [2] in Dom0 and configure Xen store values (not implemented yet)
Quoted 6 lines
Regards,
Ajmal
Thank you,
Oleksandr
Quoted 6 lines
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
[1] https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git/log/?h=for-next
[2] https://github.com/xen-troops/snd_be/tree/vgpu-dev
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Hi,
Thank You for the reply.
We are trying to learn virtualization done in xen. If we are doing any significant work in this, we will be happy to contribute.
regards,
Ajmal
On Thu, Aug 10, 2017 at 5:11 PM, Oleksandr Andrushchenko <[email protected]
Quoted 53 lines
wrote:
Hi,
Quoted 3 lines · On 08/10/2017 12:03 PM, ajmalmalib4u wrote:
Hi,
I need to do sound sharing in RCar H3.Great that there is some interest in the work we do I'm just curious, what is the nature of your interest? Are you going to just use that sound solution or may want to contribute as well (development/design/testing)?
Quoted 8 lines
I am currently using Xen 4.8.0. Itried to patch the guest kernel(v 4.6.0) using the patch series [[RESEND1,01/12] ALSA: vsnd: Introduce Xen para-virtualized sound frontend driver] to add the support for Xen para-virtualized sound frontend driver which was made available a few days ago.
I got some errors which I guess were due to the old kernel version.
the series is based on [1] which is 4.13, this is why
Quoted 11 lines
So I downloaded the current stable Linux 4.12.5 from kernel.org <
http://kernel.org> and tried to add the patches to it. But the patch failed due to missing fields insnd_pcm_opsinpcm.h. As such, I had to patch the kernel with a different patch series[[v2,02/27] ALSA: pcm:
Introducecopy_user,copy_kernelandfill_silenceops],[ALSA:sound/isa:
constifysnd_kcontrol_newstructures][ALSA: gus: remove unused local flag] to add the new fields topcm.h. Also, I had to copy an SoC specific firmware file[r8a779x_usb3_v2.dlmem] to the firmware directory of the kernel directory. Finally after applying all these patches to v4.12.5 and building the kernel, I got the snd-xen-front.ko file insound/drivers/.Quoted 4 lines
How can I test whether the sound frontend is working? Is the backend for sound available for
sndif.h?You also need to run a user-space backend [2] in Dom0 and configure Xen
store values
(not implemented yet)Quoted 7 lines
Regards,
Ajmal
Thank you,
Oleksandr
Quoted 2 lines
Quoted 9 lines
Quoted 5 lines
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel[1] https://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.
git/log/?h=for-next
[2] https://github.com/xen-troops/snd_be/tree/vgpu-dev
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel