aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/base-files/etc
diff options
context:
space:
mode:
authorTony Ambardar <itugrok@yahoo.com>2022-11-30 20:10:59 -0800
committerTony Ambardar <itugrok@yahoo.com>2022-12-31 05:02:38 -0800
commitcda6f1c832f96bd24e5398e156a0e8d639c691a0 (patch)
tree68f6837653aec842b08f45b2e3c5c2286046403b /target/linux/ipq40xx/base-files/etc
parentaf3c9b74e177019b18055c263099a42c1c6c3453 (diff)
downloadupstream-cda6f1c832f96bd24e5398e156a0e8d639c691a0.tar.gz
upstream-cda6f1c832f96bd24e5398e156a0e8d639c691a0.tar.bz2
upstream-cda6f1c832f96bd24e5398e156a0e8d639c691a0.zip
ipq40xx: re-enable EA6350v3, EA8300, MR8300 builds
Raise the kernel size from 3 MB to 5 MB for EA6350v3, EA8300 and MR8300, and correspondingly reduce the rootfs size by 2 MB: * modify partition definitions in related .dts files * modify device kernel/image sizes in generic.mk Update to compat-version 2.0 to force factory image usage on sysupgrade, noting the current version 1.1 is an unreleased update for DSA migration. Also update the compat-version message, explaining the need to run one of the following console commands to update U-Boot's kernel-size variable before flashing the OpenWrt factory image. fw_setenv kernsize 500000 # (OpenWrt command line) setenv kernsize 500000 ; saveenv # (U-Boot serial console) Finally, re-enable the 3 devices. Reviewed-by: Robert Marko <robimarko@gmail.com> Tested-by: Nicolas TORMO <badulesia.granieri@gmail.com> # MR8300 Tested-by: Tony Ambardar <itugrok@yahoo.com> # EA6350v3 Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Diffstat (limited to 'target/linux/ipq40xx/base-files/etc')
-rw-r--r--target/linux/ipq40xx/base-files/etc/uci-defaults/05_fix-compat-version3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ipq40xx/base-files/etc/uci-defaults/05_fix-compat-version b/target/linux/ipq40xx/base-files/etc/uci-defaults/05_fix-compat-version
index 44873b9df4..c011920897 100644
--- a/target/linux/ipq40xx/base-files/etc/uci-defaults/05_fix-compat-version
+++ b/target/linux/ipq40xx/base-files/etc/uci-defaults/05_fix-compat-version
@@ -1,6 +1,9 @@
. /lib/functions.sh
case "$(board_name)" in
+linksys,ea6350v3|\
+linksys,ea8300|\
+linksys,mr8300|\
ezviz,cs-w3-wd1200g-eup)
uci set system.@system[0].compat_version="2.0"
uci commit system