diff options
| author | Linus Walleij | 2025-09-16 20:43:42 +0000 |
|---|---|---|
| committer | Linus Walleij | 2025-09-26 21:40:40 +0000 |
| commit | f4cc539f0ced46bccd318047b005962d1d89f800 (patch) | |
| tree | 5567a51c1e25c393c2c28f94dfd7cf6f8a843d59 | |
| parent | cfb371a79652b26177953f7521e83cfe77e3eedb (diff) | |
| download | openwrt-f4cc539f0ced46bccd318047b005962d1d89f800.tar.gz | |
ixp4xx: Add back Actiontec MI424WR A/C/D
Prior to the deletion of the old IXP4xx codebase we supported
Actiontec MI424WR A, C and D.
This brings back the support using the upstream device trees
from Linux.
Link: https://github.com/openwrt/openwrt/pull/20066
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
| -rw-r--r-- | target/linux/ixp4xx/base-files/etc/board.d/02_network | 10 | ||||
| -rw-r--r-- | target/linux/ixp4xx/image/Makefile | 28 |
2 files changed, 38 insertions, 0 deletions
diff --git a/target/linux/ixp4xx/base-files/etc/board.d/02_network b/target/linux/ixp4xx/base-files/etc/board.d/02_network index c321e3fb27..1b6db82d4f 100644 --- a/target/linux/ixp4xx/base-files/etc/board.d/02_network +++ b/target/linux/ixp4xx/base-files/etc/board.d/02_network @@ -4,6 +4,16 @@ board_config_update case "$(board_name)" in +actiontec,mi424wr-ac) + # LAN ports connected to eth1 thru the KS8995 DSA switch + ucidef_set_interface "eth" device "eth1" protocol "none" + ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "eth0" + ;; +actiontec,mi424wr-d) + # LAN ports connected to eth0 thru the KS8995 DSA switch + ucidef_set_interface "eth" device "eth0" protocol "none" + ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "eth1" + ;; freecom,fsg-3|\ gateworks,gw2348|\ gateworks,gw2358) diff --git a/target/linux/ixp4xx/image/Makefile b/target/linux/ixp4xx/image/Makefile index 32a16fd135..2b80476560 100644 --- a/target/linux/ixp4xx/image/Makefile +++ b/target/linux/ixp4xx/image/Makefile @@ -46,6 +46,34 @@ define Device/Default BLOCKSIZE := 128k endef +define Device/actiontec_mi424wr_ac + DEVICE_VENDOR := Actiontec + DEVICE_MODEL := MI424WR rev A/C + # Only 8 MB of Flash so not building by default + DEFAULT := n + DEVICE_PACKAGES := ixp4xx-microcode-ethernet kmod-dsa-ks8995 + DEVICE_DTS := intel-ixp42x-actiontec-mi424wr-ac + KERNEL := kernel-bin | append-dtb + IMAGES := kernel.bin rootfs.bin + IMAGE/kernel.bin := append-kernel + IMAGE/rootfs.bin := append-rootfs | pad-rootfs | pad-to 128k +endef +TARGET_DEVICES += actiontec_mi424wr_ac + +define Device/actiontec_mi424wr_d + DEVICE_VENDOR := Actiontec + DEVICE_MODEL := MI424WR rev D + # Only 8 MB of Flash so not building by default + DEFAULT := n + DEVICE_PACKAGES := ixp4xx-microcode-ethernet kmod-dsa-ks8995 + DEVICE_DTS := intel-ixp42x-actiontec-mi424wr-d + KERNEL := kernel-bin | append-dtb + IMAGES := kernel.bin rootfs.bin + IMAGE/kernel.bin := append-kernel + IMAGE/rootfs.bin := append-rootfs | pad-rootfs | pad-to 128k +endef +TARGET_DEVICES += actiontec_mi424wr_d + define Device/dlink_dsm_g600_a DEVICE_VENDOR := D-Link DEVICE_MODEL := DSM G600 A |