Posts: 169
Joined: Sun Jun 15, 2014 3:33 pm
Location: Russia

raspberry and mainline kernel trees

Wed Mar 16, 2016 12:14 am

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?

User avatar
Posts: 39602
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: raspberry and mainline kernel trees

Thu Mar 17, 2016 6:46 pm

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.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All fake doctors are on my foes list.

Posts: 9
Joined: Fri Jun 17, 2016 6:00 am
Location: Samara, Russia
Contact: Website

Re: raspberry and mainline kernel trees

Fri Jun 17, 2016 7:52 am

+1: question was "what about full RPi support in vanilla kernel" ?

Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: raspberry and mainline kernel trees

Fri Jun 17, 2016 8:29 am

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.
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

Return to “Linux Kernel”