Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux: Update to 4.8.1 #759

Merged
merged 15 commits into from Oct 13, 2016

Conversation

@MilhouseVH
Copy link
Contributor

commented Sep 22, 2016

Currently based on rc7, but there's going to be an rc8.

I've released rc6 and rc7 builds based on these patches with good feedback - 4.8-rc6/7 fixes at least one resume bug present in 4.7.x.

@piotrasd: I've had to drop the linux-030-BYT-CHT-SOC-audio-support.patch, is there a version for 4.8-rcX? Can add once 4.8.0 is released.

@mglae: Unfortunately the ddbridge patch isn't compiling against 4.8-rcX. Not entirely sure why, could you take a look? It fails with these errors. Same errors with gcc-5.4 and gcc-6.2.

linux-231-Terratec-Cinergy-S2-Rev.3.patch is now included in mainline.

A few lirc hacks are necessary:

  1. I've had to use the development version of lirc due to lirc-related 4.8 kernel changes (changelog). Since the lirc project is hosted on SourceForge there's no easy way to pull the master version (I can pull it as a zip, but not a tar) so I've just packaged it and stuck it on the mirror for now.

  2. There's a race condition while building this version of lirc - it tries to use the generated paths.h file before it's generated. Since the content of this file is (for us) static, creating it before the build avoids the build failure. Other solutions welcome...

  3. There's a problem when referencing remotes.list and irdb-get - I'm assuming it's an bug, have patched it for now.

I can report 2 & 3 upstream if anyone else is able to confirm them as lirc errors (and not the result of something weird we do in LibreELEC).

@piotrasd

This comment has been minimized.

Copy link
Contributor

commented Sep 22, 2016

@piotrasd: I've had to drop the linux-030-BYT-CHT-SOC-audio-support.patch, is there a version for 4.8-rcX? Can add once 4.8.0 is released.

Not yet, usual Pierre making new patch after official release kernel

@mglae

This comment has been minimized.

Copy link
Contributor

commented Sep 22, 2016

@mglae: Unfortunately the ddbridge patch isn't compiling against 4.8-rcX. Not entirely sure why, could you take a look? It fails with these errors. Same errors with gcc-5.4 and gcc-6.2.

I always expecting this on new kernel versions. Fortunately an update is available:

wget -q -O - 'https://github.com/herrnst/dddvb-linux-kernel/raw/master-ddbridge-features/Makefile'|head -n 4
VERSION = 4
PATCHLEVEL = 8
SUBLEVEL = 0
EXTRAVERSION = -rc7

I did not build it yet but if you like to give it a try:

wget -O linux-221-ddbridge-features.patch 'https://github.com/herrnst/dddvb-linux-kernel/compare/master...master-ddbridge-features.diff'

@MilhouseVH MilhouseVH force-pushed the MilhouseVH:linux480 branch from 2dbb3b4 to e29ec56 Sep 22, 2016

@MilhouseVH

This comment has been minimized.

Copy link
Contributor Author

commented Sep 22, 2016

@mglae: Many thanks, have pushed the update.

@MilhouseVH MilhouseVH force-pushed the MilhouseVH:linux480 branch 3 times, most recently from f122611 to 84d127b Sep 26, 2016

@MilhouseVH

This comment has been minimized.

Copy link
Contributor Author

commented Sep 29, 2016

Rebased and updated to 4.8-rc8.

@MilhouseVH MilhouseVH force-pushed the MilhouseVH:linux480 branch 2 times, most recently from 909ca9a to e366fcd Sep 30, 2016

@MilhouseVH

This comment has been minimized.

Copy link
Contributor Author

commented Sep 30, 2016

Updated to use lirc 0.9.4 patched with 4.8 backport, plus build hack.

@MilhouseVH MilhouseVH force-pushed the MilhouseVH:linux480 branch 2 times, most recently from 311c23b to f99d417 Sep 30, 2016

@escalade

This comment has been minimized.

Copy link
Contributor

commented Oct 2, 2016

Missing config symbol NET_CLS_MATCHALL.

@MilhouseVH

This comment has been minimized.

Copy link
Contributor Author

commented Oct 2, 2016

Missing in what sense, are you being prompted for this? These are all defaults from make oldconfig and for whatever reason this option isn't being included... Will double check later this evening but if you could provide a little more information (which project, what you are building - just this PR or others etc.)

@escalade

This comment has been minimized.

Copy link
Contributor

commented Oct 2, 2016

Disregard that, it's probably because I added the fq_codel PR. I'm on generic btw, and there seems to be an issue with the RTL8192EU patch:

APPLY PATCH (common) /root/LibreELEC.tv/packages/linux-drivers/RTL8192EU/patches/RTL8192EU-kernel-4.8.patch patching file os_dep/linux/ioctl_cfg80211.c Hunk #1 FAILED at 1891 (different line endings). 1 out of 1 hunk FAILED -- saving rejects to file os_dep/linux/ioctl_cfg80211.c.rej

@MilhouseVH

This comment has been minimized.

Copy link
Contributor Author

commented Oct 2, 2016

Thanks, I'll double check the patch later this evening - pretty sure it applied cleanly though (I built this PR yesterday, with no issues) - do you have any other RTL8192EU patches in your build?

@escalade

This comment has been minimized.

Copy link
Contributor

commented Oct 2, 2016

No, I do not.

EDIT: The RPi patches seems to need a rework as well.

@MilhouseVH

This comment has been minimized.

Copy link
Contributor Author

commented Oct 3, 2016

@escalade regarding the RTL8192EU patch, have you stripped the carriage returns off the patch when downloading it? The RTL8192EU kernel 4.8 patch needs (and in this PR, has) carriage returns - without the carriage returns you will get the different line endings error you posted when applying the patch.

I've added the latest 4.8.y RPi patches to this PR now.

@escalade

This comment has been minimized.

Copy link
Contributor

commented Oct 3, 2016

Yeah, that was indeed the issue. I applied the PR using git am and it strips the CR's by default.

@MilhouseVH MilhouseVH force-pushed the MilhouseVH:linux480 branch 2 times, most recently from e7d5f15 to 7a2174c Oct 3, 2016

@MilhouseVH

This comment has been minimized.

Copy link
Contributor Author

commented Oct 3, 2016

Rebased on 4.8.0, with latest RPi commits.

RPi issues still to resolve.

@MilhouseVH MilhouseVH force-pushed the MilhouseVH:linux480 branch 2 times, most recently from 8a2471d to e78a1fa Oct 4, 2016

@MilhouseVH

This comment has been minimized.

Copy link
Contributor Author

commented Oct 4, 2016

Updated with a couple of i915 patches I've been using.

@MilhouseVH MilhouseVH force-pushed the MilhouseVH:linux480 branch from 77e2ea4 to b992425 Oct 5, 2016

@MilhouseVH MilhouseVH force-pushed the MilhouseVH:linux480 branch 2 times, most recently from 760631c to 7023098 Oct 11, 2016

@MilhouseVH

This comment has been minimized.

Copy link
Contributor Author

commented Oct 11, 2016

Updated with linux-030-BYT-CHT-SOC-audio-support.patch (source)

Suggest leaving this open for a couple of days to get some testing in.

@MilhouseVH MilhouseVH force-pushed the MilhouseVH:linux480 branch 4 times, most recently from 7686885 to 7a0ec3c Oct 11, 2016

@MilhouseVH

This comment has been minimized.

Copy link
Contributor Author

commented Oct 11, 2016

Updated with latest RPi kernel patches, and associated firmware update (RPi kernel is dependent on this firmware).

@MilhouseVH MilhouseVH force-pushed the MilhouseVH:linux480 branch 3 times, most recently from 624428c to 003638f Oct 12, 2016

@MilhouseVH MilhouseVH force-pushed the MilhouseVH:linux480 branch from 003638f to ce7111f Oct 13, 2016

@MilhouseVH

This comment has been minimized.

Copy link
Contributor Author

commented Oct 13, 2016

@piotrasd has confirmed the Cherry Trail/Bay Trail audio support is working.

Merge away...

@lrusak lrusak merged commit 4fab066 into LibreELEC:master Oct 13, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.