From 87393a26235e2078f46002df35377900a94e54df Mon Sep 17 00:00:00 2001 From: John Doe Date: Sat, 30 Apr 2022 01:02:04 +0800 Subject: [PATCH] fix autocore for r1s --- scripts/patches.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/patches.sh b/scripts/patches.sh index 577626e..ac4e2b4 100644 --- a/scripts/patches.sh +++ b/scripts/patches.sh @@ -86,9 +86,9 @@ sed -i '/182.140.223.146/d;/\.cn\//d;/tencent/d' scripts/download.pl if [[ $DEVICE == 'r1s' ]]; then cd ~ && git clone -b openwrt-21.02 https://github.com/immortalwrt/immortalwrt && cd immortalwrt git log --grep r1s -i | grep '^commit ' | head -n -2 | cut -d' ' -f2 | tac | xargs git show | sed '0,/UENV/s//ATF/' > r1s.diff - git show 124116564e8a6081e79cb2e87b0d87b2af99c583 632c4c91e7640a354dc421fa324fd705b734252d 7fb1b00f5f6214bf7a29d3781d260a7e7c8547c9 0ab2aa1967454e3b44f65ea28074317b3611b332 >> r1s.diff + git show 124116564e8a6081e79cb2e87b0d87b2af99c583 632c4c91e7640a354dc421fa324fd705b734252d 7fb1b00f5f6214bf7a29d3781d260a7e7c8547c9 >> r1s.diff cd ~/lede && chmod +x target/linux/sunxi/base-files/etc/board.d/* && git apply ~/immortalwrt/r1s.diff - echo "\nCONFIG_ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM=y\nCONFIG_ARM_SCPI_CPUFREQ=y" >> target/linux/sunxi/cortexa53/config-5.4 + merge_package https://github.com/immortalwrt/immortalwrt/branches/openwrt-18.06-k5.4/package/emortal/autocore elif [[ $DEVICE == 'r2s' || $DEVICE == 'r2c' || $DEVICE == 'r1p' || $DEVICE == 'r1p-lts' ]]; then sed -i 's/5.15/5.4/g' target/linux/rockchip/Makefile fi \ No newline at end of file