openwrt-pf/target/linux/econet/dts
Ahmed Naseef 6ca3332676
econet: en7528: add UBI support to DASAN H660GM-A
Move the DASAN H660GM-A root filesystem from a raw squashfs in the tclinux
partition to UBI, following the layout already used by the en751221
ChinaMobile GS3101.

tclinux is split into an explicit 4MB tclinux_kernel partition holding the
raw LZMA kernel and a tclinux_rootfs partition covering the remainder. The
latter is concatenated with the unused "unknown" partition into a single UBI
volume, giving 153MB on the Airtel variant and 41MB on the Generic one. The
two regions are not adjacent, so this needs mtd virtual concat, which is
enabled for the subtarget.

The TRX plus UBI image recipe is identical to the one the GS3101 uses, so
factor it out into a Device/tclinux-ubi template instead of duplicating it.

The .trx is written linearly into tclinux by the vendor installer, so an
oversized image would run past its end into tclinux_slave and destroy the
vendor firmware in the alternate slot. FACTORY_SIZE guards against this and
is set to the size of the partition the .trx is written into.

Existing installations have to be reflashed with the .trx rather than
sysupgraded, since the ubi MTD only appears once the new device tree is
running.

Signed-off-by: Ahmed Naseef <naseefkm@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/24398
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2026-08-02 15:08:46 +02:00
..
en7526f.dtsi econet: add EN7526F chip variant 2026-07-22 17:11:23 +02:00
en7526f_chinamobile_gs3101.dts econet: add ChinaMobile GS3101 2026-07-22 17:11:24 +02:00
en7528.dtsi econet: en7528: manage the on-die MT7530 switch with DSA 2026-07-31 09:35:13 +02:00
en7528_dasan_h660gm-a-airtel.dts econet: en7528: add UBI support to DASAN H660GM-A 2026-08-02 15:08:46 +02:00
en7528_dasan_h660gm-a-generic.dts econet: en7528: add UBI support to DASAN H660GM-A 2026-08-02 15:08:46 +02:00
en7528_dasan_h660gm-a.dtsi econet: en7528: add UBI support to DASAN H660GM-A 2026-08-02 15:08:46 +02:00
en7528_generic.dts econet: en7528: manage the on-die MT7530 switch with DSA 2026-07-31 09:35:13 +02:00
en751221.dtsi econet: add GPIO/LEDs and mtd-concat support to EN751221 2026-07-22 17:11:23 +02:00
en751221_generic.dts
en751221_huawei_hg2821t-u.dts econet: en751221: add support for Huawei HG2821T-U 2026-05-14 20:52:09 +02:00
en751221_nokia_g240g-e.dts
en751221_smartfiber_xp8421-b.dts econet: add PCIe driver for EN751221 and enable wifi 2026-05-14 20:34:20 +02:00
en751221_tplink_archer-vr1200v-v2.dts econet: add PCIe driver for EN751221 and enable wifi 2026-05-14 20:34:20 +02:00
en751221_zyxel_pmg5617ga.dts econet: add PCIe driver for EN751221 and enable wifi 2026-05-14 20:34:20 +02:00
en751627.dtsi econet: add EN751627 subtarget and Zyxel EX3301-T0 board 2026-05-14 21:12:46 +02:00
en751627_zyxel_ex3301-t0.dts econet: add EN751627 subtarget and Zyxel EX3301-T0 board 2026-05-14 21:12:46 +02:00