2 # Copyright (C) 2009-2013 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
9 include $(INCLUDE_DIR
)/image.mk
11 KERNEL_LOADADDR
:=0x8000
13 define Device
/dsa-migration
14 DEVICE_COMPAT_VERSION
:= 1.1
15 DEVICE_COMPAT_MESSAGE
:= Config cannot be migrated from swconfig to DSA
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
/iom_iconnect-1.1
74 DEVICE_VENDOR
:= Iomega
75 DEVICE_MODEL
:= Iconnect
76 DEVICE_DTS
:= kirkwood-iconnect
77 SUPPORTED_DEVICES
+= iconnect
79 TARGET_DEVICES
+= iom_iconnect-1.1
81 define Device
/iom_ix2-200
82 DEVICE_VENDOR
:= Iomega
83 DEVICE_MODEL
:= StorCenter ix2-200
84 DEVICE_DTS
:= kirkwood-iomega_ix2_200
85 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4 \
86 kmod-gpio-button-hotplug kmod-hwmon-lm63
94 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi | \
97 TARGET_DEVICES
+= iom_ix2-200
100 DEVICE_VENDOR
:= Linksys
101 DEVICE_PACKAGES
:= kmod-mwl8k wpad-basic-wolfssl kmod-gpio-button-hotplug
104 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi
107 define Device
/linksys_e4200-v2
109 $(Device
/dsa-migration
)
110 DEVICE_MODEL
:= E4200
113 SUPPORTED_DEVICES
+= linksys
,viper linksys-viper
115 TARGET_DEVICES
+= linksys_e4200-v2
117 define Device
/linksys_ea3500
119 $(Device
/dsa-migration
)
120 DEVICE_MODEL
:= EA3500
125 SUPPORTED_DEVICES
+= linksys
,audi linksys-audi
127 TARGET_DEVICES
+= linksys_ea3500
129 define Device
/linksys_ea4500
131 $(Device
/dsa-migration
)
132 DEVICE_MODEL
:= EA4500
134 SUPPORTED_DEVICES
+= linksys
,viper linksys-viper
136 TARGET_DEVICES
+= linksys_ea4500
138 define Device
/raidsonic_ib-nas62x0
139 DEVICE_VENDOR
:= RaidSonic
140 DEVICE_MODEL
:= ICY BOX IB-NAS62x0
141 DEVICE_DTS
:= kirkwood-ib62x0
142 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4
143 SUPPORTED_DEVICES
+= ib62x0
145 TARGET_DEVICES
+= raidsonic_ib-nas62x0
147 define Device
/seagate_blackarmor-nas220
148 DEVICE_VENDOR
:= Seagate
149 DEVICE_MODEL
:= Blackarmor NAS220
150 DEVICE_PACKAGES
:= kmod-hwmon-adt7475 kmod-fs-ext4 kmod-ata-marvell-sata \
151 mdadm kmod-gpio-button-hotplug
157 TARGET_DEVICES
+= seagate_blackarmor-nas220
159 define Device
/seagate_dockstar
160 DEVICE_VENDOR
:= Seagate
161 DEVICE_MODEL
:= FreeAgent Dockstar
162 SUPPORTED_DEVICES
+= dockstar
164 TARGET_DEVICES
+= seagate_dockstar
166 define Device
/seagate_goflexnet
167 DEVICE_VENDOR
:= Seagate
168 DEVICE_MODEL
:= GoFlexNet
169 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4
170 SUPPORTED_DEVICES
+= goflexnet
172 TARGET_DEVICES
+= seagate_goflexnet
174 define Device
/seagate_goflexhome
175 DEVICE_VENDOR
:= Seagate
176 DEVICE_MODEL
:= GoFlexHome
177 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4
178 SUPPORTED_DEVICES
+= goflexhome
180 TARGET_DEVICES
+= seagate_goflexhome
182 define Device
/zyxel_nsa310b
183 DEVICE_VENDOR
:= ZyXEL
184 DEVICE_MODEL
:= NSA310b
185 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-r8169 kmod-fs-ext4 \
186 kmod-gpio-button-hotplug kmod-hwmon-lm85
187 SUPPORTED_DEVICES
+= nsa310b
189 TARGET_DEVICES
+= zyxel_nsa310b
191 define Device
/zyxel_nsa310s
192 DEVICE_VENDOR
:= ZyXEL
193 DEVICE_MODEL
:= NSA310S
194 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4 kmod-gpio-button-hotplug
196 TARGET_DEVICES
+= zyxel_nsa310s
198 define Device
/zyxel_nsa325
199 DEVICE_VENDOR
:= ZyXEL
200 DEVICE_MODEL
:= NSA325
201 DEVICE_VARIANT
:= v1
/v2
202 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4 \
203 kmod-gpio-button-hotplug kmod-rtc-pcf8563 kmod-usb3
204 SUPPORTED_DEVICES
+= nsa325
206 TARGET_DEVICES
+= zyxel_nsa325
208 $(eval
$(call BuildImage
))