kirkwood: disable image for Linksys EA3500 (Audi)
[openwrt/staging/wigyori.git] / target / linux / kirkwood / image / Makefile
1 #
2 # Copyright (C) 2009-2013 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/image.mk
10
11 KERNEL_LOADADDR:=0x8000
12
13 define Device/Default
14 PROFILES := Default
15 DEVICE_DTS = $$(if $$(BOARD_NAME),kirkwood-$$(BOARD_NAME),)
16 KERNEL_DEPENDS = $$(wildcard $(DTS_DIR)/$$(DEVICE_DTS).dts)
17 KERNEL := kernel-bin | append-dtb | uImage none
18 KERNEL_NAME := zImage
19 KERNEL_SUFFIX := -uImage
20 KERNEL_IN_UBI := 1
21
22 PAGESIZE := 2048
23 SUBPAGESIZE := 512
24 BLOCKSIZE := 128k
25 IMAGES := sysupgrade.bin factory.bin
26 IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
27 IMAGE/factory.bin := append-ubi
28 SUPPORTED_DEVICES = $(subst _,$(comma),$(1)) $$(BOARD_NAME)
29 endef
30
31 define Device/cisco_on100
32 DEVICE_VENDOR := Cisco Systems
33 DEVICE_MODEL := ON100
34 KERNEL_SIZE := 5376k
35 KERNEL_IN_UBI :=
36 UBINIZE_OPTS := -E 5
37 IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi
38 BOARD_NAME := on100
39 endef
40 TARGET_DEVICES += cisco_on100
41
42 define Device/cloudengines_pogoe02
43 DEVICE_VENDOR := Cloud Engines
44 DEVICE_MODEL := Pogoplug E02
45 BOARD_NAME := pogo_e02
46 endef
47 TARGET_DEVICES += cloudengines_pogoe02
48
49 define Device/cloudengines_pogoplugv4
50 DEVICE_VENDOR := Cloud Engines
51 DEVICE_MODEL := Pogoplug V4
52 DEVICE_DTS := kirkwood-pogoplug-series-4
53 DEVICE_PACKAGES := kmod-usb3
54 endef
55 TARGET_DEVICES += cloudengines_pogoplugv4
56
57 define Device/iom_iconnect-1.1
58 DEVICE_VENDOR := Iomega
59 DEVICE_MODEL := Iconnect
60 BOARD_NAME := iconnect
61 endef
62 TARGET_DEVICES += iom_iconnect-1.1
63
64 define Device/iom_ix2-200
65 DEVICE_VENDOR := Iomega
66 DEVICE_MODEL := StorCenter ix2-200
67 DEVICE_DTS := kirkwood-iomega_ix2_200
68 DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-hwmon-lm63
69 DEVICE_TYPE:=nas
70 PAGESIZE := 512
71 SUBPAGESIZE := 256
72 BLOCKSIZE := 16k
73 KERNEL_SIZE := 3072k
74 KERNEL_IN_UBI :=
75 UBINIZE_OPTS := -E 5
76 IMAGE_SIZE := 31744k
77 IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi | \
78 check-size
79 endef
80 TARGET_DEVICES += iom_ix2-200
81
82 define Device/linksys_audi
83 DEVICE_VENDOR := Linksys
84 DEVICE_MODEL := EA3500 (Audi)
85 DEVICE_PACKAGES := kmod-mwl8k wpad-basic kmod-gpio-button-hotplug
86 PAGESIZE := 512
87 SUBPAGESIZE := 256
88 BLOCKSIZE := 16k
89 KERNEL_SIZE := 2624k
90 KERNEL_IN_UBI :=
91 UBINIZE_OPTS := -E 5
92 IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi
93 BOARD_NAME := linksys-audi
94 DEFAULT := n
95 endef
96 TARGET_DEVICES += linksys_audi
97
98 define Device/linksys_viper
99 DEVICE_VENDOR := Linksys
100 DEVICE_MODEL := E4200v2 / EA4500 (Viper)
101 DEVICE_PACKAGES := kmod-mwl8k wpad-basic kmod-gpio-button-hotplug
102 KERNEL_SIZE := 2688k
103 KERNEL_IN_UBI :=
104 UBINIZE_OPTS := -E 5
105 IMAGE/factory.bin := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi
106 BOARD_NAME := linksys-viper
107 endef
108 TARGET_DEVICES += linksys_viper
109
110 define Device/raidsonic_ib-nas62x0
111 DEVICE_VENDOR := RaidSonic
112 DEVICE_MODEL := ICY BOX IB-NAS62x0
113 BOARD_NAME := ib62x0
114 endef
115 TARGET_DEVICES += raidsonic_ib-nas62x0
116
117 define Device/seagate_dockstar
118 DEVICE_VENDOR := Seagate
119 DEVICE_MODEL := FreeAgent Dockstar
120 BOARD_NAME := dockstar
121 endef
122 TARGET_DEVICES += seagate_dockstar
123
124 define Device/seagate_goflexnet
125 DEVICE_VENDOR := Seagate
126 DEVICE_MODEL := GoFlexNet
127 BOARD_NAME := goflexnet
128 endef
129 TARGET_DEVICES += seagate_goflexnet
130
131 define Device/seagate_goflexhome
132 DEVICE_VENDOR := Seagate
133 DEVICE_MODEL := GoFlexHome
134 BOARD_NAME := goflexhome
135 endef
136 TARGET_DEVICES += seagate_goflexhome
137
138 define Device/zyxel_nsa310b
139 DEVICE_VENDOR := ZyXEL
140 DEVICE_MODEL := NSA310b
141 DEVICE_PACKAGES := kmod-r8169 kmod-gpio-button-hotplug kmod-hwmon-lm85
142 BOARD_NAME := nsa310b
143 endef
144 TARGET_DEVICES += zyxel_nsa310b
145
146 define Device/zyxel_nsa325
147 DEVICE_VENDOR := ZyXEL
148 DEVICE_MODEL := NSA325
149 DEVICE_VARIANT := v1/v2
150 DEVICE_PACKAGES := kmod-gpio-button-hotplug kmod-rtc-pcf8563 kmod-usb3
151 BOARD_NAME := nsa325
152 endef
153 TARGET_DEVICES += zyxel_nsa325
154
155 $(eval $(call BuildImage))