dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5106
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Moving Linux kernel to 4.14

Tue Nov 14, 2017 2:25 pm

We are planning to move to the 4.14 kernel in the near future.
One advantage is there is a lot more raspberry pi specific support in the newer upstream kernels which reduces the number of downstream raspberry pi patches and so reduces maintenance effort.
The 4.14 kernel is planned to be an LTS kernel (long term support).

Obviously a newer kernel will bring additional kernel features and support for more devices (e.g. USB devices like wifi and dvb).
You can read up on what appeared in 4.10, 4.11 ,4.12, 4.13 and 4.14.

We will do this in a few stages. Starting now, we are updating the "next" firmware branch to the 4.14 kernel.
Assuming testing is positive, we'll update the master rpi-update firmware branch.
Eventually the 4.14 kernel will appear in "apt-get upgrade" and on new raspbian images in the future.

The 4.14 kernel has been used in LibreELEC nightly builds (as an optional build over last couple of months, and now the default for last couple of days).

Update with:

Code: Select all

sudo BRANCH=next rpi-update
and reboot. Ideally nothing much will change.
Please report if there are any regressions compared to the 4.9 kernel.

Obviously this release is for testers who like to live on the bleeding edge. It's not intended for beginners, or users who need stability.
Backing up is always advisable. There may be regressions. There may be improvements. But we won't know without testers trying it and reporting back.

beta-tester
Posts: 1152
Joined: Fri Jan 04, 2013 1:57 pm
Location: de_DE

Re: Moving Linux kernel to 4.14

Tue Nov 14, 2017 4:20 pm

Code: Select all

NICE  __
      ) )
     / /_____
____/  (_____)
       (_____)
       (_____)
---\___(____)
{ I only give negative feedback }
RPi Model B (rev1, 256MB) & B (rev2, 512MB) & B+, RPi2B (1GB), 64GB microSDXC1 class 10, HDMI 1920x1080, keyboard-mouse-combo (wireless), PiCamera, ethernet-cable, 5V/1.2A power supply, Wifi dongle (rt5370)

jahboater
Posts: 1937
Joined: Wed Feb 04, 2015 6:38 pm

Re: Moving Linux kernel to 4.14

Tue Nov 14, 2017 5:23 pm

Works fine for me, as you predicted its much the same!
Pi3 full Raspbian accessed over VNC and ssh.
No special drivers.

beta-tester
Posts: 1152
Joined: Fri Jan 04, 2013 1:57 pm
Location: de_DE

Re: Moving Linux kernel to 4.14

Tue Nov 14, 2017 6:16 pm

RPi2B, Raspbian Stretch,

Code: Select all

Linux ... 4.14.0-v7+ #1050 SMP Tue Nov 14 13:28:57 GMT 2017 armv7l GNU/Linux
so far no issues...
no errors in dmesg...
nfs/exports/tftp working...
used additional packages are working:
samba, dnsmasq, nfs-kernel-server, rpcbind, chrony, ...
the RPi is acting as PXE-server.
{ I only give negative feedback }
RPi Model B (rev1, 256MB) & B (rev2, 512MB) & B+, RPi2B (1GB), 64GB microSDXC1 class 10, HDMI 1920x1080, keyboard-mouse-combo (wireless), PiCamera, ethernet-cable, 5V/1.2A power supply, Wifi dongle (rt5370)

sphinxou
Posts: 1
Joined: Tue Nov 14, 2017 10:16 pm

Re: Moving Linux kernel to 4.14

Tue Nov 14, 2017 10:19 pm

bonjour

depuis mise à jour je ne peux plus utiliser les GPIO.

merci

cjan
Posts: 484
Joined: Sun May 06, 2012 12:00 am

Re: Moving Linux kernel to 4.14

Wed Nov 15, 2017 12:04 am

enable FKMS boot fail, black screen.

User avatar
DougieLawson
Posts: 30431
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: Moving Linux kernel to 4.14

Wed Nov 15, 2017 1:30 am

beta-tester wrote:
Tue Nov 14, 2017 4:20 pm

Code: Select all

NICE  __
      ) )
     / /_____
____/  (_____)
       (_____)
       (_____)
---\___(____)
+1

I've got one RPi3B running a locally built 4.14 kernel. BRANCH=next will save me the bother of kernel building.
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

Since 2012: 1B*5, 2B*2, B+, A+, Zero*2, 3B*3

Please post ALL technical questions on the forum. Do not send private messages.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5106
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Moving Linux kernel to 4.14

Wed Nov 15, 2017 3:00 pm

sphinxou wrote:
Tue Nov 14, 2017 10:19 pm
depuis mise à jour je ne peux plus utiliser les GPIO.
English only here. You'll need to report exactly what you are doing (e.g. which gpio library and what commands you ran and what was the output).

notro
Posts: 686
Joined: Tue Oct 16, 2012 6:21 pm
Location: Drammen, Norway

Re: Moving Linux kernel to 4.14

Wed Nov 15, 2017 9:48 pm

It seems that the papirus overlay and tinydrm defconfig from PR 2119 didn't make it over to rpi-4.14.y (the drivers are present).
https://github.com/raspberrypi/linux/pu ... 271466d7bd
https://github.com/raspberrypi/linux/pu ... 9fcb9c3ad8

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5106
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Moving Linux kernel to 4.14

Thu Nov 16, 2017 4:57 pm

notro wrote:
Wed Nov 15, 2017 9:48 pm
It seems that the papirus overlay and tinydrm defconfig from PR 2119 didn't make it over to rpi-4.14.y (the drivers are present).
https://github.com/raspberrypi/linux/pu ... 271466d7bd
https://github.com/raspberrypi/linux/pu ... 9fcb9c3ad8
No problem - will add.

cjan
Posts: 484
Joined: Sun May 06, 2012 12:00 am

Re: Moving Linux kernel to 4.14

Thu Nov 16, 2017 10:56 pm

cjan wrote:
Wed Nov 15, 2017 12:04 am
enable FKMS boot fail, black screen.
so, ignore it or it just me?

User avatar
DougieLawson
Posts: 30431
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: Moving Linux kernel to 4.14

Fri Nov 17, 2017 1:13 am

cjan wrote:
Thu Nov 16, 2017 10:56 pm
cjan wrote:
Wed Nov 15, 2017 12:04 am
enable FKMS boot fail, black screen.
so, ignore it or it just me?
What do you expect running a still very broken pre-alpha testing graphics module on a beta testing kernel?
Microprocessor, Raspberry Pi & Arduino Hacker
Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson

Since 2012: 1B*5, 2B*2, B+, A+, Zero*2, 3B*3

Please post ALL technical questions on the forum. Do not send private messages.

User avatar
Gavinmc42
Posts: 1553
Joined: Wed Aug 28, 2013 3:31 am

Re: Moving Linux kernel to 4.14

Fri Nov 17, 2017 1:51 am

Been wondering when this was going to happen.
Does that mean Eric Anholt can relax about back porting all his new stuff to Raspbian 4.9.x?
4.15 is just out, too soon?

Bleeding edge? Yep, some people like to live there, some like Eric have Obsidian scalpels.
Others like me follow behind with old bread knives, good enough to hack a loaf of bread to make toast :lol:
I have bandaids ;)
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

cjan
Posts: 484
Joined: Sun May 06, 2012 12:00 am

Re: Moving Linux kernel to 4.14

Fri Nov 17, 2017 1:52 am

DougieLawson wrote:
Fri Nov 17, 2017 1:13 am
cjan wrote:
Thu Nov 16, 2017 10:56 pm
cjan wrote:
Wed Nov 15, 2017 12:04 am
enable FKMS boot fail, black screen.
so, ignore it or it just me?
What do you expect running a still very broken pre-alpha testing graphics module on a beta testing kernel?
NO, i don't use VC4 driver just test, OP ask feedback then I do, but no respond.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4738
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Moving Linux kernel to 4.14

Fri Nov 17, 2017 12:30 pm

cjan wrote:
Fri Nov 17, 2017 1:52 am
NO, i don't use VC4 driver just test, OP ask feedback then I do, but no respond.
It's probably something that will take some looking into and can't be addressed straight away.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 18199
Joined: Sat Jul 30, 2011 7:41 pm

Re: Moving Linux kernel to 4.14

Fri Nov 17, 2017 1:26 pm

cjan wrote:
Fri Nov 17, 2017 1:52 am
DougieLawson wrote:
Fri Nov 17, 2017 1:13 am
cjan wrote:
Thu Nov 16, 2017 10:56 pm


so, ignore it or it just me?
What do you expect running a still very broken pre-alpha testing graphics module on a beta testing kernel?
NO, i don't use VC4 driver just test, OP ask feedback then I do, but no respond.
We cannot respond to every post of a bug request thread like this, since there are usually loads of them for a new release. But all reports are useful, and they are all kept in one place in this thread so we have easy access to them.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Please direct all questions to the forum, I do not do support via PM.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5106
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Moving Linux kernel to 4.14

Fri Nov 17, 2017 3:27 pm

notro wrote:
Wed Nov 15, 2017 9:48 pm
It seems that the papirus overlay and tinydrm defconfig from PR 2119 didn't make it over to rpi-4.14.y (the drivers are present).
Commits are cherry-picked (but untested) to 4.14 tree. Will be in next rpi-update.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5106
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Moving Linux kernel to 4.14

Fri Nov 17, 2017 3:29 pm

cjan wrote:
Wed Nov 15, 2017 12:04 am
enable FKMS boot fail, black screen.
Noted. I believe I have seen FKMS driver working on an earlier 4.14 kernel, but haven't tested very recently. Wil do soon.

asavah
Posts: 299
Joined: Thu Aug 14, 2014 12:49 am

Re: Moving Linux kernel to 4.14

Sat Nov 18, 2017 8:20 pm

Can anyone running 4.14 confirm RPi.GPIO not working?

Code: Select all

Nov 18 22:06:42 rpi3 systemd[1]: Started keypad handler.
Nov 18 22:06:43 rpi3 keypad.py[1234]: starting button: 21
Nov 18 22:06:43 rpi3 keypad.py[1234]: starting button: 20
Nov 18 22:06:43 rpi3 keypad.py[1234]: button 21 (kodi) pid: 1237
Nov 18 22:06:43 rpi3 keypad.py[1234]: button 20 (reboot) pid: 1238
Nov 18 22:06:43 rpi3 keypad.py[1234]: button 16 (poweroff) pid: 1239
Nov 18 22:06:43 rpi3 keypad.py[1234]: button 12 (toggle_clock) pid: 1240
Nov 18 22:06:43 rpi3 keypad.py[1234]: tmon pid: 1241
Nov 18 22:06:43 rpi3 keypad.py[1234]: clock pid: 1242
Nov 18 22:06:43 rpi3 kernel: export_store: invalid GPIO 21
Nov 18 22:06:43 rpi3 keypad.py[1234]: starting button: 16
Nov 18 22:06:43 rpi3 kernel: export_store: invalid GPIO 20
Nov 18 22:06:43 rpi3 kernel: export_store: invalid GPIO 16
Nov 18 22:06:43 rpi3 keypad.py[1234]: starting button: 12
Nov 18 22:06:43 rpi3 keypad.py[1234]: starting tmon: 26
Nov 18 22:06:43 rpi3 kernel: export_store: invalid GPIO 12
This seems to be reported here https://sourceforge.net/p/raspberry-gpi ... ckets/150/

Haven't tried the patch yet, will do and report later.

Code: Select all

ls /sys/class/gpio/ -alh
total 0
drwxrwx---  2 root gpio    0 Nov 18 00:24 .
drwxr-xr-x 51 root root    0 Nov 18 00:24 ..
-rwxrwx---  1 root gpio 4.0K Nov 18 00:24 export
lrwxrwxrwx  1 root gpio    0 Nov 18 00:24 gpiochip100 -> ../../devices/gpiochip2/gpio/gpiochip100
lrwxrwxrwx  1 root gpio    0 Nov 18 00:24 gpiochip128 -> ../../devices/gpiochip1/gpio/gpiochip128
lrwxrwxrwx  1 root gpio    0 Nov 18 00:24 gpiochip458 -> ../../devices/platform/soc/3f200000.gpio/gpio/gpiochip458
-rwxrwx---  1 root gpio 4.0K Nov 18 00:24 unexport

Kordon
Posts: 7
Joined: Fri Aug 05, 2016 7:45 am

Re: Moving Linux kernel to 4.14

Sat Nov 18, 2017 8:28 pm

Tested both kms and fkms driver. The kms boots but with black screen (tested with any parameters like hdmi_boost), fkms doesn't boot.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5106
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Moving Linux kernel to 4.14

Tue Nov 21, 2017 5:13 pm

Updated to upstream 4.14.1. Also includes some missing commits from this PR.
Also added a commit that fixes the gpio numbering to start from zero which could fix asavah's issue.
As usual, to update run:

Code: Select all

sudo BRANCH=next rpi-update

asavah
Posts: 299
Joined: Thu Aug 14, 2014 12:49 am

Re: Moving Linux kernel to 4.14

Thu Nov 23, 2017 2:55 pm

dom wrote:
Tue Nov 21, 2017 5:13 pm
.
Also added a commit that fixes the gpio numbering to start from zero which could fix asavah's issue.
Thanks.
Yep, that's fixed, built the kernel yesterday and RPi.GPIO/gpiozero work as expected.
Haven't tried that RPi.GPIO patch I linked, busy week ...

djlegge
Posts: 11
Joined: Tue Jul 07, 2015 1:55 pm

Re: Moving Linux kernel to 4.14

Thu Nov 30, 2017 1:40 pm

This does not seem to work with a version 1 compute module. I have stripped everything down to :
- Flash CM1 with 2017-09-07-raspbian-stretch-lite.img
- Enable ssh, use USB ethernet adaptor.

Code: Select all

sudo apt update
sudo apt upgrade
sudo reboot
All okay. Now :

Code: Select all

sudo BRANCH=next rpi-update
reboot
Fails to boot (stuck on rainbow screen). It does this even on the original CM1 I/O carrier board.
Replacing the /boot contents with the backup reverts the update and it boots up once more.
It's not actually an issue for me but as I don't need to upgrade but I'd be interested to know what's going on...

Return to “Advanced users”

Who is online

Users browsing this forum: No registered users and 26 guests