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 linux-4.12.0 #1629

Merged
merged 40 commits into from
Jul 16, 2017
Merged

linux: update to linux-4.12.0 #1629

merged 40 commits into from
Jul 16, 2017

Conversation

MilhouseVH
Copy link
Contributor

@MilhouseVH MilhouseVH commented May 18, 2017

Work in progress....

  1. nvidia-legacy doesn't currently build
  2. media_build doesn't currently build
  3. XBOX remote patch isn't compatible, needs reworking?
  4. RTL8723BS added as module - ping @sorhtyre, RTL8723BS: add support for OBDA8723 - Bluetooth #1601

I've submitted fixes for RTL8812AU, RTL8192CU and RTL8192EU upstream, will bump and remove as those packages are updated.

4.12 announcement: https://lkml.org/lkml/2017/7/2/164


Test build posts

Kernel RPi/RPi2 Generic Build
4.12-rc1 Link Link #0518x
4.12-rc2 Link Link #0522x
4.12-rc3 Link Link #0529x
4.12-rc4 Link Link #0605x
4.12-rc5 Link Link #0614x
4.12-rc6 Link Link #0619x
4.12-rc7 Link Link #0628x
4.12.0 Link Link #0704x
4.12.1 Link Link #0714

@MilhouseVH MilhouseVH changed the title linux: update to 4.12.0 linux: update to linux-4.12.0 May 18, 2017
@MilhouseVH
Copy link
Contributor Author

Updated XBOX remote script - thanks @HiassofT. Added latest RPi support commits.

@MilhouseVH
Copy link
Contributor Author

Added commit to install all firmwares from linux-firmware/rtlwifi for all projects - adds extra 924Kb. This will mean the firmwares for rtl8723bs are installed.

@MilhouseVH
Copy link
Contributor Author

MilhouseVH commented May 19, 2017

On reflection I've reverted the rtlwifi firmware change as we already install rtlwifi from wlan-firmware. However the wlan-firmware package needs updating, ideally with the removal of files that are (or can be) provided by kernel-firmware. I'll see what I can do over the weekend.

Edit: Additional firmware is now installed via #1635

@MilhouseVH
Copy link
Contributor Author

@sorhtyre & @piotrasd: is this service still required for RTL8723BS in this PR?

@HiassofT
Copy link
Member

HiassofT commented Jul 6, 2017

@MilhouseVH could you please add these 2 options on RPi and RPi2?

CONFIG_REGULATOR_ARIZONA_LDO1=m
CONFIG_REGULATOR_ARIZONA_MICSUPP=m

The old CONFIG_REGULATOR_ARIZONA was split up into 2 separate options. See also here:
raspberrypi/linux#2101

@MilhouseVH
Copy link
Contributor Author

Thanks @HiassofT - RPi/RPi2 configs updated.

@MilhouseVH
Copy link
Contributor Author

Rebased. Build tested on RPi/RPi2/Generic OK.

@sorhtyre & @piotrasd: if additional work is required for RTL8723BS you'll need to sort it out yourself.

4,12.1 is already available so I'll push a PR for that (merge about 4.12.4, I guess).

@HiassofT
Copy link
Member

Please add this patch to media_build 8a24ffd - it fixes non-working lircd.

Also since lirc_rpi will be broken by the media_build bump (and probably won't get fixed) it's better to remove it from the kernel configs.

I'm not sure if lirc_xbox still works, but since that would be the only lirc driver remaining I think it's best to remove the downstream patch and disable CONFIG_LIRC_STAGING (which should remove both LIRC_RPI and LIRC_XBOX).

@MilhouseVH
Copy link
Contributor Author

media_build patches updated.

Dropped LIRC_RPI and LIRC_STAGING from RPi/RPi2/Generic due to media_build conflicts. Not sure about other projects - will add if needed.

Looks like LIRC_XBOX is now dead, so perhaps we can drop https://github.com/LibreELEC/LibreELEC.tv/blob/master/packages/linux/patches/default/linux-052-XBOX_remote_support.patch ?

@MilhouseVH
Copy link
Contributor Author

Can we merge this, I'm on 4.12.1 already... if we need more changes they can come later.

@MilhouseVH
Copy link
Contributor Author

And 4.12.2 is now available...

@chewitt chewitt merged commit d8db9d5 into LibreELEC:master Jul 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants