ipq40xx: re-enable EA6350v3, EA8300, MR8300 builds
authorTony Ambardar <itugrok@yahoo.com>
Thu, 1 Dec 2022 04:10:59 +0000 (20:10 -0800)
committerTony Ambardar <itugrok@yahoo.com>
Sat, 31 Dec 2022 13:02:38 +0000 (05:02 -0800)
commitcda6f1c832f96bd24e5398e156a0e8d639c691a0
tree68f6837653aec842b08f45b2e3c5c2286046403b
parentaf3c9b74e177019b18055c263099a42c1c6c3453
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>
target/linux/ipq40xx/base-files/etc/uci-defaults/05_fix-compat-version
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ea6350v3.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-xx8300.dtsi
target/linux/ipq40xx/image/generic.mk