You are not logged in.

#1 2016-09-09 10:17:03

basica
Member
From: Australia
Registered: 2012-10-31
Posts: 217

[SOLVED] No sound on the up-board / cherry trail devices

I thought I'd post this here to help someone else in a similar situation. Feel free to move this to another area if it's better suited.

I'm using an up-board running Arch. Unfortunately there is no mainline kernel support for the sound at the moment, though it will be coming at some point. If you're looking to get it in the mean time here's a quick rundown:

Download the patched kernel from here.

Download a copy of the current kernel and extract them both. Arch's version of gcc has issues with the use of inline statements in one of the headers, remove them by running

sed -i 's/inline//g' sound-byt-cht-hdmi-v4.7/sound/hdmi_audio/intel_mid_hdmi_audio.h

Once you've done that run a diff on the following folders, like so:

diff -ENwbur {linux-4.7.2,sound-byt-cht-hdmi-v4.7}/drivers/gpu/drm/i915 >> cherry.patch
diff -ENwbur {linux-4.7.2,sound-byt-cht-hdmi-v4.7}/sound >> cherry.patch

If you plan on using ABS, after you downloaded the sources, copy the cherry.patch file across and run "echo "CONFIG_SUPPORT_HDMI=y" >> config.x86_64" to enable the sound option. Run updpkgsums to update the PKGBUILD to detect the changes and the new patch. Lastly, add the patch into the PKGBUILD and you should be right to go. Of course make any other relevant changes as you wish. If you're thinking of compiling this on your up-board, FYI it's gonna take ~5hrs. If you plan on keeping up to date, you'd want to do the compilation on a desktop/laptop and maybe installing ccache would be a good idea too.

Hope this helps someone else smile

EDIT: Wiki article can be found here which will contain the most up to date information.

Last edited by basica (2016-10-05 02:39:21)

Offline

#2 2016-09-09 11:18:36

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,356
Website

Re: [SOLVED] No sound on the up-board / cherry trail devices

Information like this is better suited to the wiki, where it is maintainable and more likely to be seen.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2016-09-09 11:48:10

basica
Member
From: Australia
Registered: 2012-10-31
Posts: 217

Re: [SOLVED] No sound on the up-board / cherry trail devices

Yeah, that's probably best. I'll go ahead and do that.

Offline

Board footer

Powered by FluxBB