Skip to content

Commit

Permalink
add patch to overclock nyan to 2.5 GHz
Browse files Browse the repository at this point in the history
  • Loading branch information
reey authored Jan 12, 2019
1 parent ec8f30b commit 957a7cc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/linux-nyan/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ source=("http://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz"
'99-linux.hook'
'drm-don-t-link-DP-aux-i2c-adapter-to-the-hardware-device-node.patch'
'enable-CPU-freq.patch'
'nyan-big_defconfig')
'nyan-big_defconfig'
'overclock-nyan.patch')
md5sums=('SKIP'
'SKIP'
'61c5ff73c136ed07a7aadbf58db3d96a'
Expand All @@ -31,16 +32,15 @@ md5sums=('SKIP'
'79fa396e3f9a09a85156d6d7c2d34b58'
'SKIP'
'SKIP'
'SKIP'
'SKIP')

prepare() {
cd "${srcdir}/${_srcname}"

#git apply ../i2c-of-Try-to-find-an-I2C-adapter-matching-the-parent.patch
patch -Rp1 < ../drm-don-t-link-DP-aux-i2c-adapter-to-the-hardware-device-node.patch
#git apply -R ../enable-CPU-freq.patch
patch arch/arm/boot/dts/tegra124-nyan.dtsi < ../enable-CPU-freq.patch
# patch -p1 < ../enable-CPU-freq.patch
patch drivers/clk/tegra/clk-tegra124-dfll-fcpu.c < ../overclock-nyan.patch
# cat "${srcdir}/config" > ./.config
cp ../nyan-big_defconfig arch/arm/configs/nyan-big_defconfig
# add pkgrel to extraversion
Expand Down
10 changes: 10 additions & 0 deletions core/linux-nyan/overclock-nyan.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- drivers/clk/tegra/clk-tegra124-dfll-fcpu.c 2019-01-09 16:46:05.000000000 +0000
@@ -32,7 +32,7 @@
static const unsigned long cpu_max_freq_table[] = {
[0] = 2014500000UL,
[1] = 2320500000UL,
- [2] = 2116500000UL,
+ [2] = 2524500000UL,
[3] = 2524500000UL,
};

0 comments on commit 957a7cc

Please sign in to comment.