lantiq/xrx200: move 8M flash devices to a small flash subtarget
authorAndrew MacIntyre <andymac@pcug.org.au>
Fri, 29 Nov 2024 06:06:02 +0000 (17:06 +1100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 15 Dec 2024 23:59:55 +0000 (00:59 +0100)
commite63326e26a82cb083eec602b3a2f71d4cd8e2ea4
tree7bb4dd1eeb44770fb4f9367e97a3680f9b08e349
parenta3c484c3b9468a7bd9190b0fee027bb133cee3d5
lantiq/xrx200: move 8M flash devices to a small flash subtarget

Images for xrx200 8M flash are either not building due to image
size (TD-W8970, TD-W8980) or building such that the available
free space in the overlayfs is too little to be useful.

To keep images for these devices buildable, move them into a
small flash variant of the xrx200 subtarget.  As these devices
are NOR flash only, remove NAND and UBI references from the
kernel config to gain some additional image size reduction.

The apparent 8M flash devices Arcadyan VGV7510KW22-brn,
Arcadyan VGV7519-brn and Lantiq Easy80920-nor seem to exist in
order to create special "factory" installation images for these
devices (which actually have larger flash: 16MB for the
Arcardyan devices; 64MB for the Lantiq device).  As a
considerable amount of surgery would appear to be required to
the uboot-lantiq package structure to separate the "factory"
from the "sysupgrade" device recipes for these devices they
remain in the xrx200 target - if factory images aren't now
created, 23.05.x factory images should suffice for initial
installation.

Tested on: Netgear DM200, TP-Link TD-W8980,
           AVM Fritz7490 (xrx200 subtarget: image build only)

Fixes: https://github.com/openwrt/openwrt/issues/16761
Signed-off-by: Andrew MacIntyre <andymac@pcug.org.au>
Link: https://github.com/openwrt/openwrt/pull/17113
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
28 files changed:
package/firmware/lantiq/dsl-vrx200-firmware-xdsl/Makefile
package/kernel/lantiq/ltq-atm/Makefile
package/kernel/lantiq/ltq-deu/Makefile
package/kernel/lantiq/ltq-ptm/Makefile
package/kernel/lantiq/ltq-vdsl-fw/Makefile
package/kernel/lantiq/ltq-vdsl-vr9-mei/Makefile
package/kernel/lantiq/ltq-vdsl-vr9/Makefile
package/kernel/lantiq/ltq-vectoring/Makefile
package/network/config/ltq-vdsl-vr9-app/Makefile
target/linux/lantiq/Makefile
target/linux/lantiq/image/Makefile
target/linux/lantiq/image/tp-link.mk
target/linux/lantiq/image/tp-link_legacy.mk [new file with mode: 0644]
target/linux/lantiq/image/vr9.mk
target/linux/lantiq/image/vr9_legacy.mk [new file with mode: 0644]
target/linux/lantiq/xrx200/base-files/etc/board.d/01_leds
target/linux/lantiq/xrx200/base-files/etc/board.d/02_network
target/linux/lantiq/xrx200/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom
target/linux/lantiq/xrx200/base-files/etc/uci-defaults/01_led_migration
target/linux/lantiq/xrx200_legacy/base-files/etc/board.d/01_leds [new file with mode: 0644]
target/linux/lantiq/xrx200_legacy/base-files/etc/board.d/02_network [new file with mode: 0644]
target/linux/lantiq/xrx200_legacy/base-files/etc/board.d/05_compat-version [new file with mode: 0644]
target/linux/lantiq/xrx200_legacy/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom [new file with mode: 0644]
target/linux/lantiq/xrx200_legacy/base-files/etc/uci-defaults/01_led_migration [new file with mode: 0644]
target/linux/lantiq/xrx200_legacy/base-files/lib/upgrade/platform.sh [new file with mode: 0755]
target/linux/lantiq/xrx200_legacy/config-6.6 [new file with mode: 0644]
target/linux/lantiq/xrx200_legacy/profiles/00-default.mk [new file with mode: 0644]
target/linux/lantiq/xrx200_legacy/target.mk [new file with mode: 0644]