Build: add cpufreq driver for r1s

This commit is contained in:
John Doe
2022-04-24 18:04:01 +08:00
parent 0043e7d28d
commit fc4dee45c3

View File

@@ -86,5 +86,5 @@ cd ~ && git clone -b openwrt-21.02 https://github.com/immortalwrt/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 >> r1s.diff
cd ~/lede && chmod +x target/linux/sunxi/base-files/etc/board.d/* && git apply ~/immortalwrt/r1s.diff
wget https://github.com/immortalwrt/immortalwrt/raw/openwrt-21.02/target/linux/sunxi/cortexa53/config-5.4 -O target/linux/sunxi/cortexa53/config-5.4
echo "\nCONFIG_ARM_ALLWINNER_SUN50I_CPUFREQ_NVMEM=y\nCONFIG_ARM_SCPI_CPUFREQ=y" >> target/linux/sunxi/cortexa53/config-5.4
fi