aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/base-files/etc/uci-defaults/05_fix-compat-version
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2022-02-24 18:31:48 +0200
committerChristian Lamparter <chunkeey@gmail.com>2022-02-26 19:52:06 +0100
commitec32c4ef01055228de9412fc8bf4a3e80929c88d (patch)
tree53051ee75b927cb9c2c406cb4f96ae3f7c4bca76 /target/linux/ipq806x/base-files/etc/uci-defaults/05_fix-compat-version
parent7ac8da00609f42b8aba74b7efc6b0d055b7cef3e (diff)
downloadupstream-ec32c4ef01055228de9412fc8bf4a3e80929c88d.tar.gz
upstream-ec32c4ef01055228de9412fc8bf4a3e80929c88d.tar.bz2
upstream-ec32c4ef01055228de9412fc8bf4a3e80929c88d.zip
ipq806x: Increase kernel size to 4 MB for EA8500/EA7500v1
Increase the kernel size from 3 MB to 4 MB for EA8500 and EA7500v1. * modify the common .dtsi * modify the kernel size in the image recipes Define compat-version 2.0 to force factory image usage for sysupgrade. Add explanation message. Reenable both devices. As for 4MiB (and not more): Hannu Nyman noted that: "We have lots of ipq806x devices with 4 MB kernel, so will need action at that point in future in any case. (Assuming that the bootloader did not have a 4 MB limit that has been tested...)" Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> (squashed, added 4MiB notice of support in ipq806x) Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/ipq806x/base-files/etc/uci-defaults/05_fix-compat-version')
-rw-r--r--target/linux/ipq806x/base-files/etc/uci-defaults/05_fix-compat-version11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ipq806x/base-files/etc/uci-defaults/05_fix-compat-version b/target/linux/ipq806x/base-files/etc/uci-defaults/05_fix-compat-version
new file mode 100644
index 0000000000..3b9dd4e028
--- /dev/null
+++ b/target/linux/ipq806x/base-files/etc/uci-defaults/05_fix-compat-version
@@ -0,0 +1,11 @@
+. /lib/functions.sh
+
+case "$(board_name)" in
+ linksys,ea7500-v1|\
+ linksys,ea8500)
+ uci set system.@system[0].compat_version="2.0"
+ uci commit system
+ ;;
+esac
+
+exit 0