can anyone give me some insight on the differences between
https://github.com/raspberrypi/linux
and the sources on kernel.org ?
i.e should the rpi-kernel not be 'mainline' by now, or are there still somemodules etc. that haven't
found their way into the kernel tree ?
the obvious thing is that there's no bcm2711_defconfig on kernel.org.....
I don't know specifically the state of mainline support for the RPi, but in general changes to the Linux kernel are developed out-of-tree, in a separate repo, and then patches are submitted for merging into mainline. That means mainline always lags the development tree. The github.com/raspberrypi/linux tree is the repo where the RPi folks develop their kernel, and any patches may only be submitted to mainline later on. So the RPi tree is likely to be more up to date.
In addition, the RPi tree contains files that probably wouldn't be accepted into mainline, like device tree overlays specific to Pi peripherals.
Theo
can anyone give me some insight on the differences between
https://github.com/raspberrypi/linux
and the sources on kernel.org ?
i.e should the rpi-kernel not be 'mainline' by now, or are there
still somemodules etc. that haven't
found their way into the kernel tree ?
the obvious thing is that there's no bcm2711_defconfig on
kernel.org.....
Theo wrote on 8/16/21 12:57 AM:
[...]
I don't know specifically the state of mainline support for the RPi, but in general changes to the Linux kernel are developed out-of-tree, in a separate
repo, and then patches are submitted for merging into mainline. That means mainline always lags the development tree. The github.com/raspberrypi/linux
tree is the repo where the RPi folks develop their kernel, and any patches may only be submitted to mainline later on. So the RPi tree is likely to be
more up to date.
the commits ahead/behind mostly tell different....
Unless something has changed recently (I doubt it), the dwc-otg USB
driver is specific to the RPi kernel (or at least the RPi version
of it, extensively modified from existing sources). It's the
default USB driver in RPi OS (for the Pi Zero at least), whereas on
distros based on the official Linux kernel the dwc2 driver is used
instead (also optionally usable in RPi OS).
The dwc-otg driver has extra performance (uses FIQ interrupts) and functionality (USB On-The-Go) improvements.
Sysop: | deepend |
---|---|
Location: | Calgary, Alberta |
Users: | 253 |
Nodes: | 10 (0 / 10) |
Uptime: | 03:35:10 |
Calls: | 1,647 |
Files: | 4,003 |
Messages: | 387,134 |