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
= $$(if
$$(BOARD_NAME
),kirkwood-
$$(BOARD_NAME
),)
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
33 SUPPORTED_DEVICES
= $(subst _
,$(comma
),$(1)) $$(BOARD_NAME
)
36 define Device
/checkpoint_l-50
37 DEVICE_VENDOR
:= Check Point
39 DEVICE_DTS
:= kirkwood-l-50
40 DEVICE_PACKAGES
:= kmod-ath9k kmod-gpio-button-hotplug kmod-mvsdio \
41 kmod-rtc-s35390a kmod-usb-ledtrig-usbport wpad-basic
42 IMAGES
:= sysupgrade.bin
44 TARGET_DEVICES
+= checkpoint_l-50
46 define Device
/cisco_on100
47 DEVICE_VENDOR
:= Cisco Systems
52 IMAGE
/factory.bin
:= append-kernel | pad-to
$$$$(KERNEL_SIZE
) | append-ubi
54 DEVICE_PACKAGES
:= kmod-mvsdio
56 TARGET_DEVICES
+= cisco_on100
58 define Device
/cloudengines_pogoe02
59 DEVICE_VENDOR
:= Cloud Engines
60 DEVICE_MODEL
:= Pogoplug E02
61 BOARD_NAME
:= pogo_e02
63 TARGET_DEVICES
+= cloudengines_pogoe02
65 define Device
/cloudengines_pogoplugv4
66 DEVICE_VENDOR
:= Cloud Engines
67 DEVICE_MODEL
:= Pogoplug V4
68 DEVICE_DTS
:= kirkwood-pogoplug-series-4
69 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4 kmod-mvsdio kmod-usb3 \
70 kmod-gpio-button-hotplug
72 TARGET_DEVICES
+= cloudengines_pogoplugv4
74 define Device
/iom_iconnect-1.1
75 DEVICE_VENDOR
:= Iomega
76 DEVICE_MODEL
:= Iconnect
77 BOARD_NAME
:= 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 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
112 DEVICE_DTS
:= kirkwood-e4200-v2
114 SUPPORTED_DEVICES
+= linksys
,viper linksys-viper
116 TARGET_DEVICES
+= linksys_e4200-v2
118 define Device
/linksys_ea3500
120 $(Device
/dsa-migration
)
121 DEVICE_MODEL
:= EA3500
122 DEVICE_DTS
:= kirkwood-ea3500
127 SUPPORTED_DEVICES
+= linksys
,audi linksys-audi
129 TARGET_DEVICES
+= linksys_ea3500
131 define Device
/linksys_ea4500
133 $(Device
/dsa-migration
)
134 DEVICE_MODEL
:= EA4500
135 DEVICE_DTS
:= kirkwood-ea4500
137 SUPPORTED_DEVICES
+= linksys
,viper linksys-viper
139 TARGET_DEVICES
+= linksys_ea4500
141 define Device
/raidsonic_ib-nas62x0
142 DEVICE_VENDOR
:= RaidSonic
143 DEVICE_MODEL
:= ICY BOX IB-NAS62x0
145 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4
147 TARGET_DEVICES
+= raidsonic_ib-nas62x0
149 define Device
/seagate_dockstar
150 DEVICE_VENDOR
:= Seagate
151 DEVICE_MODEL
:= FreeAgent Dockstar
152 BOARD_NAME
:= dockstar
154 TARGET_DEVICES
+= seagate_dockstar
156 define Device
/seagate_goflexnet
157 DEVICE_VENDOR
:= Seagate
158 DEVICE_MODEL
:= GoFlexNet
159 BOARD_NAME
:= goflexnet
160 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4
162 TARGET_DEVICES
+= seagate_goflexnet
164 define Device
/seagate_goflexhome
165 DEVICE_VENDOR
:= Seagate
166 DEVICE_MODEL
:= GoFlexHome
167 BOARD_NAME
:= goflexhome
168 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4
170 TARGET_DEVICES
+= seagate_goflexhome
172 define Device
/zyxel_nsa310b
173 DEVICE_VENDOR
:= ZyXEL
174 DEVICE_MODEL
:= NSA310b
175 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-r8169 kmod-fs-ext4 \
176 kmod-gpio-button-hotplug kmod-hwmon-lm85
177 BOARD_NAME
:= nsa310b
179 TARGET_DEVICES
+= zyxel_nsa310b
181 define Device
/zyxel_nsa310s
182 DEVICE_VENDOR
:= ZyXEL
183 DEVICE_MODEL
:= NSA310S
184 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4 kmod-gpio-button-hotplug
185 DEVICE_DTS
:= kirkwood-nsa310s
187 TARGET_DEVICES
+= zyxel_nsa310s
189 define Device
/zyxel_nsa325
190 DEVICE_VENDOR
:= ZyXEL
191 DEVICE_MODEL
:= NSA325
192 DEVICE_VARIANT
:= v1
/v2
193 DEVICE_PACKAGES
:= kmod-ata-marvell-sata kmod-fs-ext4 \
194 kmod-gpio-button-hotplug kmod-rtc-pcf8563 kmod-usb3
197 TARGET_DEVICES
+= zyxel_nsa325
199 $(eval
$(call BuildImage
))