openwrt/target/linux/ipq40xx/files/arch/arm/boot/dts
Baptiste Jonglez f001bd226c ipq40xx: fix hard_config partition size on MikroTik hAP-ac2
The routerbootparts driver dynamically discovers the location of MikroTik
partitions, but it cannot determine their size (except by extending them
up to the start of the next discovered partition).

The hard_config partition has a default size of 0x1000 in the driver,
while it actually takes 0x2000 on the hAP-ac2.  Set the correct size in
the hAP-ac2 DTS.

On most devices, this isn't a problem as the actual data fits in 0x1000
bytes.  However, some devices have larger data that doesn't fit in 0x1000
bytes.  In any case, all devices seen so far have enough space for a
0x2000 hard_config partition before the start of the dtb_config partition.
With the current 0x1000 size:

0x00000000e000-0x00000000f000 : "hard_config"
0x000000010000-0x000000017bbc : "dtb_config"

With this patch extending the size to 0x2000:

0x00000000e000-0x000000010000 : "hard_config"
0x000000010000-0x000000017bbc : "dtb_config"

Other ipq40xx boards may need the same fix but it needs testing.

References: https://forum.openwrt.org/t/support-for-mikrotik-hap-ac2/23333/324
Acked-by: Thibaut VARÈNE <hacks@slashdirt.org>
Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>
(cherry picked from commit 979f406366)
2021-05-14 22:52:40 +02:00
..
qcom-ipq4018-a42.dts
qcom-ipq4018-ap120c-ac.dts ipq40xx: dts: convert PHY GPIO bindings 2020-12-23 16:36:08 +01:00
qcom-ipq4018-cs-w3-wd1200g-eup.dts
qcom-ipq4018-dap-2610.dts
qcom-ipq4018-ea6350v3.dts
qcom-ipq4018-eap1300.dts
qcom-ipq4018-ecw5211.dts
qcom-ipq4018-emd1.dts
qcom-ipq4018-emr3500.dts
qcom-ipq4018-ens620ext.dts
qcom-ipq4018-ex61x0v2.dtsi
qcom-ipq4018-ex6100v2.dts
qcom-ipq4018-ex6150v2.dts
qcom-ipq4018-fritzbox-4040.dts ipq40xx: dts: convert PHY GPIO bindings 2020-12-23 16:36:08 +01:00
qcom-ipq4018-gl-ap1300.dts ipq40xx: add support for GL.iNet GL-AP1300 2020-12-25 10:38:13 +01:00
qcom-ipq4018-hap-ac2.dts ipq40xx: fix hard_config partition size on MikroTik hAP-ac2 2021-05-14 22:52:40 +02:00
qcom-ipq4018-jalapeno.dts
qcom-ipq4018-jalapeno.dtsi
qcom-ipq4018-magic-2-wifi-next.dts ipq40xx: add support for devolo Magic 2 WiFi next 2020-12-22 20:55:40 +01:00
qcom-ipq4018-meshpoint-one.dts
qcom-ipq4018-nbg6617.dts
qcom-ipq4018-pa1200.dts
qcom-ipq4018-rt-ac58u.dts
qcom-ipq4018-sxtsq-5-ac.dts ipq40xx: add support for MikroTik SXTsq 5 ac 2021-05-03 14:57:29 +02:00
qcom-ipq4018-wre6606.dts
qcom-ipq4018-wrtq-329acn.dts
qcom-ipq4019-a62.dts
qcom-ipq4019-cm520-79f.dts
qcom-ipq4019-e2600ac-c1.dts
qcom-ipq4019-e2600ac-c2.dts
qcom-ipq4019-e2600ac.dtsi
qcom-ipq4019-ea8300.dts
qcom-ipq4019-eap2200.dts
qcom-ipq4019-fritzbox-7530.dts
qcom-ipq4019-fritzrepeater-1200.dts ipq40xx: remove non-existent ethernet PHY 2020-12-30 23:41:03 +01:00
qcom-ipq4019-fritzrepeater-3000.dts
qcom-ipq4019-habanero-dvk.dts
qcom-ipq4019-map-ac2200.dts
qcom-ipq4019-mr8300.dts
qcom-ipq4019-oap100.dts ipq40xx: remove unnecessary execute permission bit 2021-01-03 15:48:18 +01:00
qcom-ipq4019-pa2200.dts ipq40xx: add support for Plasma Cloud PA2200 2020-12-22 19:11:50 +01:00
qcom-ipq4019-rtl30vw.dts
qcom-ipq4019-u4019-32m.dts
qcom-ipq4019-u4019.dtsi
qcom-ipq4019-wpj419.dts
qcom-ipq4019-wtr-m2133hp.dts
qcom-ipq4019-xx8300.dtsi
qcom-ipq4028-wpj428.dts
qcom-ipq4029-ap-303.dts uboot-envtools: add support for Aruba AP-303 and AP-365 2021-01-14 01:04:02 +01:00
qcom-ipq4029-ap-303h.dts
qcom-ipq4029-ap-365.dts uboot-envtools: add support for Aruba AP-303 and AP-365 2021-01-14 01:04:02 +01:00
qcom-ipq4029-aruba-glenmorangie.dtsi ipq40xx: remove non-existent ethernet PHY 2020-12-30 23:41:03 +01:00
qcom-ipq4029-gl-b1300.dts
qcom-ipq4029-gl-s1300.dts
qcom-ipq4029-mr33.dts