Skip to content
Joel Stanley edited this page Oct 2, 2015 · 17 revisions

Kernel Tree

The Petitboot kernel is currently based on the 4.2 series.

Bug fixes

Whenever a stable release is tagged in https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/, we will rebase our patches on top of that and create a new release.

Versioning

Versions are the upstream version number, followed by -openpowerN, where N is the revision that counts up from 1 for the given upstream version number. These versions will be present as tags in the git repository hosted at https://github.com/open-power/linux.

Tree and patches

The kernel tree hosted at https://github.com/open-power/linux contains the current release plus a set of patches that we carry. Ideally there would be no patches carried, as everything should be upstream.

We take the commits in this tree between the upstream tag and the openpower tag and generate a series of patches that are imported into the op-build Buildroot overlay, and placed in op-build/openpower/linux. op-build then fetches the upstream tarball and applies these patches. This way we don't have to clone an entire tree when doing an op-build build.

Submitting a patch

If you require a patch added to the firmware, follow these steps:

  1. Submit your patch upstream. It doesn't need to be upstream, but it should be on it's way
  2. Send a pull request or a git format-patch formatted patch series to [email protected]
Clone this wiki locally