https://github.com/longsleep/linux_patches
My set of kernel patches
https://github.com/longsleep/linux_patches
Last synced: over 1 year ago
JSON representation
My set of kernel patches
- Host: GitHub
- URL: https://github.com/longsleep/linux_patches
- Owner: longsleep
- Created: 2013-10-12T22:42:00.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2016-11-26T20:58:15.000Z (over 9 years ago)
- Last Synced: 2025-03-29T04:48:18.020Z (over 1 year ago)
- Size: 41.8 MB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Linux patch tree
This is Simon Eisenmann"s (longsleep) patch tree for:
- Mainline Kernel 4.9
It is currently used to maintain and develop the following subsystems:
- Chromebook Pixel kernel patches
This tree is a set of patches, in quilt format[1] that are to be applied
to the latest kernel version. For more information on how to use this
set of patches, see the section USING below.
This tree is being managed by Simon Eisenmann
Please contact him for any questions relating to the code contained
within it, or any procedures relating to these patches.
Target platform is Ubuntu 16.04.
The tree style is based on the tree provided by Greg Kroah-Hartman
. Thank you for this great idea to maintain kernel
patches with quilt.
Useful documentation: https://wiki.debian.org/InstallingDebianOn/ChromebookPixel
## General usage
To use this tree, you should have git and quilt installed.
1. Clone the my patches git tree
2. Then push the tree of patches onto the a kernel tree:
`QUILT_PATCHES=../patches quilt push -a`
3. Now build and test the kernel as usual. See https://wiki.ubuntu.com/KernelTeam/GitKernelBuild
## Build Kernel
```bash
cp ../patches/config_PIXEL .config
make oldconfig
make clean
COUNT=1 DATE=`date +%y%j` VERSION=`make kernelversion` && CONCURRENCY_LEVEL=`getconf _NPROCESSORS_ONLN` fakeroot make-kpkg --initrd --append-to-version="-${DATE}-pixel" --revision="${VERSION}-${DATE}.${COUNT}" kernel_image kernel_headers
```
## Parameters and extra configuration
### Kernel parameters
Put those into `/etc/default/grub`.
```
tpm_tis.force=1 tpm_tis.interrupts=0 pcie_aspm=force i915.enable_fbc=1 i915.enable_rc6=7 i915.enable_psr=1
```
### Module parameters
Put them into `/etc/modprobe.d/etc-modules-parameters.conf` or something.
```
options i915 modeset=1
```
[1] quilt can be found included in all Linux distros, and its home page
is at http://savannah.nongnu.org/projects/quilt