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
/kernel-size-migration
11 DEVICE_COMPAT_VERSION
:= 2.0
12 DEVICE_COMPAT_MESSAGE
:= Partition design has changed compared to \
13 older versions
(up to
21.02) due to kernel size restrictions. \
14 Upgrade via sysupgrade mechanism is not possible
, so new \
15 installation via factory style image is required.
20 DEVICE_DTS
= kirkwood-
$(lastword
$(subst _
, ,$(1)))
21 KERNEL_DEPENDS
= $$(wildcard $(DTS_DIR
)/$$(DEVICE_DTS
).dts
)
22 KERNEL
:= kernel-bin | append-dtb | uImage none
24 KERNEL_SUFFIX
:= -uImage
30 IMAGES
:= sysupgrade.bin factory.bin
31 IMAGE
/sysupgrade.bin
:= sysupgrade-tar | append-metadata
32 IMAGE
/factory.bin
:= append-ubi
35 define Device
/checkpoint_l-50
36 DEVICE_VENDOR
:= Check Point
38 DEVICE_PACKAGES
:= kmod-ath9k kmod-gpio-button-hotplug kmod-mvsdio \
39 kmod-rtc-s35390a kmod-usb-ledtrig-usbport wpad-basic-wolfssl
40 IMAGES
:= sysupgrade.bin
42 TARGET_DEVICES
+= checkpoint_l-50
44 define Device
/cisco_on100
45 DEVICE_VENDOR
:= Cisco Systems
50 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi
51 DEVICE_PACKAGES
:= kmod-mvsdio
52 SUPPORTED_DEVICES
+= on100
54 TARGET_DEVICES
+= cisco_on100
56 define Device
/cloudengines_pogoe02
57 DEVICE_VENDOR
:= Cloud Engines
58 DEVICE_MODEL
:= Pogoplug E02
59 DEVICE_DTS
:= kirkwood-pogo_e02
60 SUPPORTED_DEVICES
+= pogo_e02
62 TARGET_DEVICES
+= cloudengines_pogoe02
64 define Device
/cloudengines_pogoplugv4
65 DEVICE_VENDOR
:= Cloud Engines
66 DEVICE_MODEL
:= Pogoplug V4
67 DEVICE_DTS
:= kirkwood-pogoplug-series-4
68 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4 kmod-mvsdio kmod-usb3 \
69 kmod-gpio-button-hotplug
71 TARGET_DEVICES
+= cloudengines_pogoplugv4
73 define Device
/globalscale_sheevaplug
74 DEVICE_VENDOR
:= Globalscale
75 DEVICE_MODEL
:= Sheevaplug
76 DEVICE_PACKAGES
:= kmod-mvsdio
78 TARGET_DEVICES
+= globalscale_sheevaplug
80 define Device
/iom_iconnect-1.1
81 DEVICE_VENDOR
:= Iomega
82 DEVICE_MODEL
:= Iconnect
83 DEVICE_DTS
:= kirkwood-iconnect
84 SUPPORTED_DEVICES
+= iconnect
86 TARGET_DEVICES
+= iom_iconnect-1.1
88 define Device
/iom_ix2-200
89 DEVICE_VENDOR
:= Iomega
90 DEVICE_MODEL
:= StorCenter ix2-200
91 DEVICE_DTS
:= kirkwood-iomega_ix2_200
92 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4 \
93 kmod-gpio-button-hotplug kmod-hwmon-lm63
101 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | \
104 TARGET_DEVICES
+= iom_ix2-200
106 define Device
/linksys
107 DEVICE_VENDOR
:= Linksys
108 DEVICE_PACKAGES
:= kmod-mwl8k wpad-basic-wolfssl kmod-gpio-button-hotplug
111 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi
114 define Device
/linksys_e4200-v2
116 $(Device
/kernel-size-migration
)
117 DEVICE_MODEL
:= E4200
120 SUPPORTED_DEVICES
+= linksys
,viper linksys-viper
122 TARGET_DEVICES
+= linksys_e4200-v2
124 define Device
/linksys_ea3500
126 $(Device
/kernel-size-migration
)
127 DEVICE_MODEL
:= EA3500
132 SUPPORTED_DEVICES
+= linksys
,audi linksys-audi
134 TARGET_DEVICES
+= linksys_ea3500
136 define Device
/linksys_ea4500
138 $(Device
/kernel-size-migration
)
139 DEVICE_MODEL
:= EA4500
141 SUPPORTED_DEVICES
+= linksys
,viper linksys-viper
143 TARGET_DEVICES
+= linksys_ea4500
145 define Device
/raidsonic_ib-nas62x0
146 DEVICE_VENDOR
:= RaidSonic
147 DEVICE_MODEL
:= ICY BOX IB-NAS62x0
148 DEVICE_DTS
:= kirkwood-ib62x0
149 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4
150 SUPPORTED_DEVICES
+= ib62x0
152 TARGET_DEVICES
+= raidsonic_ib-nas62x0
154 define Device
/seagate_blackarmor-nas220
155 DEVICE_VENDOR
:= Seagate
156 DEVICE_MODEL
:= Blackarmor NAS220
157 DEVICE_PACKAGES
:= kmod-hwmon-adt7475 kmod-fs-ext4 kmod-ata-marvell-sata \
158 mdadm kmod-gpio-button-hotplug
164 TARGET_DEVICES
+= seagate_blackarmor-nas220
166 define Device
/seagate_dockstar
167 DEVICE_VENDOR
:= Seagate
168 DEVICE_MODEL
:= FreeAgent Dockstar
169 SUPPORTED_DEVICES
+= dockstar
171 TARGET_DEVICES
+= seagate_dockstar
173 define Device
/seagate_goflexnet
174 DEVICE_VENDOR
:= Seagate
175 DEVICE_MODEL
:= GoFlexNet
176 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4
177 SUPPORTED_DEVICES
+= goflexnet
179 TARGET_DEVICES
+= seagate_goflexnet
181 define Device
/seagate_goflexhome
182 DEVICE_VENDOR
:= Seagate
183 DEVICE_MODEL
:= GoFlexHome
184 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4
185 SUPPORTED_DEVICES
+= goflexhome
187 TARGET_DEVICES
+= seagate_goflexhome
189 define Device
/zyxel_nsa310b
190 DEVICE_VENDOR
:= ZyXEL
191 DEVICE_MODEL
:= NSA310b
192 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-r8169 kmod-fs-ext4 \
193 kmod-gpio-button-hotplug kmod-hwmon-lm85
194 SUPPORTED_DEVICES
+= nsa310b
196 TARGET_DEVICES
+= zyxel_nsa310b
198 define Device
/zyxel_nsa310s
199 DEVICE_VENDOR
:= ZyXEL
200 DEVICE_MODEL
:= NSA310S
201 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4 kmod-gpio-button-hotplug
203 TARGET_DEVICES
+= zyxel_nsa310s
205 define Device
/zyxel_nsa325
206 DEVICE_VENDOR
:= ZyXEL
207 DEVICE_MODEL
:= NSA325
208 DEVICE_VARIANT
:= v1
/v2
209 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4 \
210 kmod-gpio-button-hotplug kmod-rtc-pcf8563 kmod-usb3
211 SUPPORTED_DEVICES
+= nsa325
213 TARGET_DEVICES
+= zyxel_nsa325
215 $(eval
$(call BuildImage
))