1 # SPDX-License-Identifier: GPL-2.0-only
3 # Copyright (C) 2009-2013 OpenWrt.org
5 include $(TOPDIR
)/rules.mk
6 include $(INCLUDE_DIR
)/image.mk
8 KERNEL_LOADADDR
:=0x8000
10 define Device
/dsa-migration
11 DEVICE_COMPAT_VERSION
:= 1.1
12 DEVICE_COMPAT_MESSAGE
:= Config cannot be migrated from swconfig to DSA
17 DEVICE_DTS
= kirkwood-
$(lastword
$(subst _
, ,$(1)))
18 KERNEL_DEPENDS
= $$(wildcard $(DTS_DIR
)/$$(DEVICE_DTS
).dts
)
19 KERNEL
:= kernel-bin | append-dtb | uImage none
21 KERNEL_SUFFIX
:= -uImage
27 IMAGES
:= sysupgrade.bin factory.bin
28 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
29 IMAGE
/factory.bin
:= append-ubi
32 define Device
/checkpoint_l-50
33 DEVICE_VENDOR
:= Check Point
35 DEVICE_PACKAGES
:= kmod-ath9k kmod-gpio-button-hotplug kmod-mvsdio \
36 kmod-rtc-s35390a kmod-usb-ledtrig-usbport wpad-basic-wolfssl
37 IMAGES
:= sysupgrade.bin
39 TARGET_DEVICES
+= checkpoint_l-50
41 define Device
/cisco_on100
42 DEVICE_VENDOR
:= Cisco Systems
47 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi
48 DEVICE_PACKAGES
:= kmod-mvsdio
49 SUPPORTED_DEVICES
+= on100
51 TARGET_DEVICES
+= cisco_on100
53 define Device
/cloudengines_pogoe02
54 DEVICE_VENDOR
:= Cloud Engines
55 DEVICE_MODEL
:= Pogoplug E02
56 DEVICE_DTS
:= kirkwood-pogo_e02
57 SUPPORTED_DEVICES
+= pogo_e02
59 TARGET_DEVICES
+= cloudengines_pogoe02
61 define Device
/cloudengines_pogoplugv4
62 DEVICE_VENDOR
:= Cloud Engines
63 DEVICE_MODEL
:= Pogoplug V4
64 DEVICE_DTS
:= kirkwood-pogoplug-series-4
65 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4 kmod-mvsdio kmod-usb3 \
66 kmod-gpio-button-hotplug
68 TARGET_DEVICES
+= cloudengines_pogoplugv4
70 define Device
/iom_iconnect-1.1
71 DEVICE_VENDOR
:= Iomega
72 DEVICE_MODEL
:= Iconnect
73 DEVICE_DTS
:= kirkwood-iconnect
74 SUPPORTED_DEVICES
+= iconnect
76 TARGET_DEVICES
+= iom_iconnect-1.1
78 define Device
/iom_ix2-200
79 DEVICE_VENDOR
:= Iomega
80 DEVICE_MODEL
:= StorCenter ix2-200
81 DEVICE_DTS
:= kirkwood-iomega_ix2_200
82 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4 \
83 kmod-gpio-button-hotplug kmod-hwmon-lm63
91 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | \
94 TARGET_DEVICES
+= iom_ix2-200
97 DEVICE_VENDOR
:= Linksys
98 DEVICE_PACKAGES
:= kmod-mwl8k wpad-basic-wolfssl kmod-gpio-button-hotplug
101 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi
104 define Device
/linksys_e4200-v2
106 $(Device
/dsa-migration
)
107 DEVICE_MODEL
:= E4200
110 SUPPORTED_DEVICES
+= linksys
,viper linksys-viper
112 TARGET_DEVICES
+= linksys_e4200-v2
114 define Device
/linksys_ea3500
116 $(Device
/dsa-migration
)
117 DEVICE_MODEL
:= EA3500
122 SUPPORTED_DEVICES
+= linksys
,audi linksys-audi
124 TARGET_DEVICES
+= linksys_ea3500
126 define Device
/linksys_ea4500
128 $(Device
/dsa-migration
)
129 DEVICE_MODEL
:= EA4500
131 SUPPORTED_DEVICES
+= linksys
,viper linksys-viper
133 TARGET_DEVICES
+= linksys_ea4500
135 define Device
/raidsonic_ib-nas62x0
136 DEVICE_VENDOR
:= RaidSonic
137 DEVICE_MODEL
:= ICY BOX IB-NAS62x0
138 DEVICE_DTS
:= kirkwood-ib62x0
139 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4
140 SUPPORTED_DEVICES
+= ib62x0
142 TARGET_DEVICES
+= raidsonic_ib-nas62x0
144 define Device
/seagate_blackarmor-nas220
145 DEVICE_VENDOR
:= Seagate
146 DEVICE_MODEL
:= Blackarmor NAS220
147 DEVICE_PACKAGES
:= kmod-hwmon-adt7475 kmod-fs-ext4 kmod-ata-marvell-sata \
148 mdadm kmod-gpio-button-hotplug
154 TARGET_DEVICES
+= seagate_blackarmor-nas220
156 define Device
/seagate_dockstar
157 DEVICE_VENDOR
:= Seagate
158 DEVICE_MODEL
:= FreeAgent Dockstar
159 SUPPORTED_DEVICES
+= dockstar
161 TARGET_DEVICES
+= seagate_dockstar
163 define Device
/seagate_goflexnet
164 DEVICE_VENDOR
:= Seagate
165 DEVICE_MODEL
:= GoFlexNet
166 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4
167 SUPPORTED_DEVICES
+= goflexnet
169 TARGET_DEVICES
+= seagate_goflexnet
171 define Device
/seagate_goflexhome
172 DEVICE_VENDOR
:= Seagate
173 DEVICE_MODEL
:= GoFlexHome
174 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4
175 SUPPORTED_DEVICES
+= goflexhome
177 TARGET_DEVICES
+= seagate_goflexhome
179 define Device
/zyxel_nsa310b
180 DEVICE_VENDOR
:= ZyXEL
181 DEVICE_MODEL
:= NSA310b
182 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-r8169 kmod-fs-ext4 \
183 kmod-gpio-button-hotplug kmod-hwmon-lm85
184 SUPPORTED_DEVICES
+= nsa310b
186 TARGET_DEVICES
+= zyxel_nsa310b
188 define Device
/zyxel_nsa310s
189 DEVICE_VENDOR
:= ZyXEL
190 DEVICE_MODEL
:= NSA310S
191 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4 kmod-gpio-button-hotplug
193 TARGET_DEVICES
+= zyxel_nsa310s
195 define Device
/zyxel_nsa325
196 DEVICE_VENDOR
:= ZyXEL
197 DEVICE_MODEL
:= NSA325
198 DEVICE_VARIANT
:= v1
/v2
199 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4 \
200 kmod-gpio-button-hotplug kmod-rtc-pcf8563 kmod-usb3
201 SUPPORTED_DEVICES
+= nsa325
203 TARGET_DEVICES
+= zyxel_nsa325
205 $(eval
$(call BuildImage
))