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 ipq40xx: DTS style updates for OpenMesh devices 2020-11-23 13:44:47 +01:00
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 ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4018-dap-2610.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4018-ea6350v3.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4018-eap1300.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4018-ecw5211.dts ipq40xx: improve support for Edgecore ECW5211 2020-10-07 18:07:54 +02:00
qcom-ipq4018-emd1.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4018-emr3500.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4018-ens620ext.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4018-ex61x0v2.dtsi ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4018-ex6100v2.dts ipq40xx: tidy up dts-v1 statements 2020-09-25 21:10:41 +02:00
qcom-ipq4018-ex6150v2.dts ipq40xx: tidy up dts-v1 statements 2020-09-25 21:10:41 +02:00
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 ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4018-nbg6617.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4018-pa1200.dts ipq40xx: add support for Plasma Cloud PA1200 2020-12-22 19:11:50 +01:00
qcom-ipq4018-rt-ac58u.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
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 ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4018-wrtq-329acn.dts ipq40xx: tidy up dts-v1 statements 2020-09-25 21:10:41 +02:00
qcom-ipq4019-a62.dts ipq40xx: DTS style updates for OpenMesh devices 2020-11-23 13:44:47 +01:00
qcom-ipq4019-cm520-79f.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4019-e2600ac-c1.dts
qcom-ipq4019-e2600ac-c2.dts
qcom-ipq4019-e2600ac.dtsi ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4019-ea8300.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4019-eap2200.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4019-fritzbox-7530.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4019-fritzrepeater-1200.dts ipq40xx: remove non-existent ethernet PHY 2020-12-30 23:41:03 +01:00
qcom-ipq4019-fritzrepeater-3000.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4019-habanero-dvk.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4019-map-ac2200.dts ipq40xx: fix 5Ghz tx/rx power on the ASUS MAP-AC2200 2020-12-13 16:12:45 +01:00
qcom-ipq4019-mr8300.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
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 ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4019-u4019-32m.dts ipq40xx: tidy up dts-v1 statements 2020-09-25 21:10:41 +02:00
qcom-ipq4019-u4019.dtsi ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4019-wpj419.dts ipq40xx: support reset button for WPJ419 2020-07-23 12:56:58 +02:00
qcom-ipq4019-wtr-m2133hp.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4019-xx8300.dtsi ipq40xx: tidy up dts-v1 statements 2020-09-25 21:10:41 +02:00
qcom-ipq4028-wpj428.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
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 ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
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 ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4029-gl-s1300.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00
qcom-ipq4029-mr33.dts ipq40xx: remove model name from LED labels 2020-10-07 01:31:37 +02:00