Page 1 of 1

raspberry and mainline kernel trees

Posted: Wed Mar 16, 2016 12:14 am
by edo1
Sorry for a dumb questions (and for bad English), but I couldn't find any information about current state of PRI support in a different kernel trees.

1. What about vanilla kernel?
For example what is the difference between 4.5 vanilla branch and 4.5 raspberry branch?
What wouldn't work with vanilla kernel? (especially for PRO2/RPI3)
2. Which raspberry kernel branch is more complete in area of RPI support?
For example there is 4.5 branch in raspberry tree, are all actual RPI-specific patches from earlier branches included into this branch already?
3. Which branch should be considered as stable enough?

Re: raspberry and mainline kernel trees

Posted: Thu Mar 17, 2016 6:46 pm
by DougieLawson
Take a look here: https://github.com/raspberrypi/linux

You'll find 4.1.x and 4.4.x are the best supported kernels currently. 4.1.19 is the one you'll get with rpi-update, 4.4.5 is the one you'll get with BRANCH=next rpi-update.

To get the kernel source, install and run rpi-source from https://github.com/notro/rpi-source

The RPF developers have not yet moved to 4.5.x, they're still working on getting 4.4.x as their stable kernel.

Re: raspberry and mainline kernel trees

Posted: Fri Jun 17, 2016 7:52 am
by ponyatov
+1: question was "what about full RPi support in vanilla kernel" ?

Re: raspberry and mainline kernel trees

Posted: Fri Jun 17, 2016 8:29 am
by ghans
dom wrote:
Electron752 wrote: Since the foundation is slowly moving to the upstream version, I wonder what it would take for someone to get these changes merged back in the upstream tree?
If you are interested in the upstreaming effort then check the linux-rpi-kernel mailing list.
Work is going on continually to improve upstream support, but it is a slow, slow process.

It is unlikely we'll get everything we need upstream - e.g. vchiq and dwc_otg are controversial. But the aim is to use as few downstream patches as possible.
Currently upstream is significantly lacking in features compared to downstream.