-
Notifications
You must be signed in to change notification settings - Fork 7
/
clone_and_prepare_git.sh
executable file
·43 lines (34 loc) · 1.82 KB
/
clone_and_prepare_git.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/usr/bin/env sh
git clone --depth 100 --branch mw/rk35/pinenote-next-t1 https://github.com/m-weigand/linux
# git clone --depth 100 --branch rk35/pinenote-next https://github.com/smaeul/linux.git
# # external patches
# # Battery-level patch
# wget -nc https://github.com/DorianRudolph/linux/commit/822294664906499682b55264ae0553ee05caa352.patch
# cd linux
# git apply ../822294664906499682b55264ae0553ee05caa352.patch
# cd ..
# # touchscreen driver
# wget -nc https://gitlab.com/pgwipeout/linux-next/-/commit/a24cb29eca1a72afb1037f5468d3036b34ea1b66.patch
# wget -nc https://gitlab.com/pgwipeout/linux-next/-/commit/d6bb8a6b5a5210fea70bc590350bfca3a9e3a7a2.patch
# cd linux
# git apply ../a24cb29eca1a72afb1037f5468d3036b34ea1b66.patch
# git apply ../d6bb8a6b5a5210fea70bc590350bfca3a9e3a7a2.patch
# cd ..
# # suspend fix for the PMIC
# wget -nc https://gitlab.com/hrdl/pinenote-shared/-/raw/main/patches/linux/0001-Rudimentary-attempt-to-keep-PMIC-usable-after-suspen.patch
# cd linux
# git apply ../0001-Rudimentary-attempt-to-keep-PMIC-usable-after-suspen.patch
# cd ..
# # My modifications
# wget -nc https://raw.githubusercontent.com/m-weigand/mw_pinenote_misc/main/custom_kernel/pinenote_defconfig.patch
# wget -nc https://raw.githubusercontent.com/m-weigand/mw_pinenote_misc/main/custom_kernel/rk3566-pinenote_dtsi.patch
# # the rockchip_ebc modifications
# wget -nc https://raw.githubusercontent.com/m-weigand/mw_pinenote_misc/main/rockchip_ebc/patches/rockchip_ebc_patches_mw_20220808.patch
# # USB patches
# wget -nc https://raw.githubusercontent.com/m-weigand/mw_pinenote_misc/main/usb/wusb3801_patches_samsapti_20220725.patch
# cd linux
# git apply ../pinenote_defconfig.patch
# git apply ../rk3566-pinenote_dtsi.patch
# git apply ../rockchip_ebc_patches_mw_20220808.patch
# git apply ../wusb3801_patches_samsapti_20220725.patch
# cd ..