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
/globalscale_sheevaplug
71 DEVICE_VENDOR
:= Globalscale
72 DEVICE_MODEL
:= Sheevaplug
73 DEVICE_PACKAGES
:= kmod-mvsdio
75 TARGET_DEVICES
+= globalscale_sheevaplug
77 define Device
/iom_iconnect-1.1
78 DEVICE_VENDOR
:= Iomega
79 DEVICE_MODEL
:= Iconnect
80 DEVICE_DTS
:= kirkwood-iconnect
81 SUPPORTED_DEVICES
+= iconnect
83 TARGET_DEVICES
+= iom_iconnect-1.1
85 define Device
/iom_ix2-200
86 DEVICE_VENDOR
:= Iomega
87 DEVICE_MODEL
:= StorCenter ix2-200
88 DEVICE_DTS
:= kirkwood-iomega_ix2_200
89 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4 \
90 kmod-gpio-button-hotplug kmod-hwmon-lm63
98 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | \
101 TARGET_DEVICES
+= iom_ix2-200
103 define Device
/linksys
104 DEVICE_VENDOR
:= Linksys
105 DEVICE_PACKAGES
:= kmod-mwl8k wpad-basic-wolfssl kmod-gpio-button-hotplug
108 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi
111 define Device
/linksys_e4200-v2
113 $(Device
/dsa-migration
)
114 DEVICE_MODEL
:= E4200
117 SUPPORTED_DEVICES
+= linksys
,viper linksys-viper
119 TARGET_DEVICES
+= linksys_e4200-v2
121 define Device
/linksys_ea3500
123 $(Device
/dsa-migration
)
124 DEVICE_MODEL
:= EA3500
129 SUPPORTED_DEVICES
+= linksys
,audi linksys-audi
131 TARGET_DEVICES
+= linksys_ea3500
133 define Device
/linksys_ea4500
135 $(Device
/dsa-migration
)
136 DEVICE_MODEL
:= EA4500
138 SUPPORTED_DEVICES
+= linksys
,viper linksys-viper
140 TARGET_DEVICES
+= linksys_ea4500
142 define Device
/raidsonic_ib-nas62x0
143 DEVICE_VENDOR
:= RaidSonic
144 DEVICE_MODEL
:= ICY BOX IB-NAS62x0
145 DEVICE_DTS
:= kirkwood-ib62x0
146 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4
147 SUPPORTED_DEVICES
+= ib62x0
149 TARGET_DEVICES
+= raidsonic_ib-nas62x0
151 define Device
/seagate_blackarmor-nas220
152 DEVICE_VENDOR
:= Seagate
153 DEVICE_MODEL
:= Blackarmor NAS220
154 DEVICE_PACKAGES
:= kmod-hwmon-adt7475 kmod-fs-ext4 kmod-ata-marvell-sata \
155 mdadm kmod-gpio-button-hotplug
161 TARGET_DEVICES
+= seagate_blackarmor-nas220
163 define Device
/seagate_dockstar
164 DEVICE_VENDOR
:= Seagate
165 DEVICE_MODEL
:= FreeAgent Dockstar
166 SUPPORTED_DEVICES
+= dockstar
168 TARGET_DEVICES
+= seagate_dockstar
170 define Device
/seagate_goflexnet
171 DEVICE_VENDOR
:= Seagate
172 DEVICE_MODEL
:= GoFlexNet
173 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4
174 SUPPORTED_DEVICES
+= goflexnet
176 TARGET_DEVICES
+= seagate_goflexnet
178 define Device
/seagate_goflexhome
179 DEVICE_VENDOR
:= Seagate
180 DEVICE_MODEL
:= GoFlexHome
181 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4
182 SUPPORTED_DEVICES
+= goflexhome
184 TARGET_DEVICES
+= seagate_goflexhome
186 define Device
/zyxel_nsa310b
187 DEVICE_VENDOR
:= ZyXEL
188 DEVICE_MODEL
:= NSA310b
189 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-r8169 kmod-fs-ext4 \
190 kmod-gpio-button-hotplug kmod-hwmon-lm85
191 SUPPORTED_DEVICES
+= nsa310b
193 TARGET_DEVICES
+= zyxel_nsa310b
195 define Device
/zyxel_nsa310s
196 DEVICE_VENDOR
:= ZyXEL
197 DEVICE_MODEL
:= NSA310S
198 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4 kmod-gpio-button-hotplug
200 TARGET_DEVICES
+= zyxel_nsa310s
202 define Device
/zyxel_nsa325
203 DEVICE_VENDOR
:= ZyXEL
204 DEVICE_MODEL
:= NSA325
205 DEVICE_VARIANT
:= v1
/v2
206 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4 \
207 kmod-gpio-button-hotplug kmod-rtc-pcf8563 kmod-usb3
208 SUPPORTED_DEVICES
+= nsa325
210 TARGET_DEVICES
+= zyxel_nsa325
212 $(eval
$(call BuildImage
))