ath79: add support for Pisen WMM003N (Cloud Easy Power)
[openwrt/staging/wigyori.git] / target / linux / ath79 / image / generic.mk
1 include ./common-netgear.mk
2
3 define Device/avm_fritz300e
4 ATH_SOC := ar7242
5 DEVICE_TITLE := AVM FRITZ!WLAN Repeater 300E
6 KERNEL := kernel-bin | append-dtb | lzma | eva-image
7 KERNEL_INITRAMFS := $$(KERNEL)
8 IMAGE_SIZE := 15232k
9 IMAGE/sysupgrade.bin := append-kernel | pad-to 64k | \
10 append-squashfs-fakeroot-be | pad-to 256 | \
11 append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
12 DEVICE_PACKAGES := fritz-tffs rssileds -swconfig
13 endef
14 TARGET_DEVICES += avm_fritz300e
15
16 define Device/buffalo_wzr-hp-g450h
17 ATH_SOC := ar7242
18 DEVICE_TITLE := Buffalo WZR-HP-G450H
19 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ledtrig-usbport
20 IMAGE_SIZE := 32256k
21 SUPPORTED_DEVICES += wzr-hp-g450h
22 endef
23 TARGET_DEVICES += buffalo_wzr-hp-g450h
24
25 define Device/dlink_dir-825-b1
26 ATH_SOC := ar7161
27 DEVICE_TITLE := D-LINK DIR-825 B1
28 IMAGE_SIZE := 6208k
29 IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
30 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset kmod-owl-loader
31 SUPPORTED_DEVICES += dir-825-b1
32 endef
33 TARGET_DEVICES += dlink_dir-825-b1
34
35 define Device/embeddedwireless_dorin
36 ATH_SOC := ar9331
37 DEVICE_TITLE := Embedded Wireless Dorin
38 DEVICE_PACKAGES := kmod-usb-chipidea2
39 IMAGE_SIZE := 16000k
40 endef
41 TARGET_DEVICES += embeddedwireless_dorin
42
43 define Device/etactica_eg200
44 ATH_SOC := ar9331
45 DEVICE_TITLE := eTactica EG200
46 DEVICE_PACKAGES := kmod-usb-chipidea2 kmod-ledtrig-oneshot \
47 kmod-usb-serial kmod-usb-serial-ftdi kmod-usb-storage kmod-fs-ext4
48 SUPPORTED_DEVICES += rme-eg200
49 endef
50 TARGET_DEVICES += etactica_eg200
51
52 define Device/glinet_ar150
53 ATH_SOC := ar9330
54 DEVICE_TITLE := GL.iNet GL-AR150
55 DEVICE_PACKAGES := kmod-usb-chipidea2
56 IMAGE_SIZE := 16000k
57 SUPPORTED_DEVICES += gl-ar150
58 endef
59 TARGET_DEVICES += glinet_ar150
60
61 define Device/glinet_ar300m_nor
62 ATH_SOC := qca9533
63 DEVICE_TITLE := GL.iNet GL-AR300M
64 DEVICE_PACKAGES := kmod-usb-core kmod-usb2
65 IMAGE_SIZE := 16000k
66 SUPPORTED_DEVICES += gl-ar300m
67 endef
68 TARGET_DEVICES += glinet_ar300m_nor
69
70 define Device/iodata_wn-ac1600dgr2
71 ATH_SOC := qca9557
72 DEVICE_TITLE := I-O DATA WN-AC1600DGR2
73 IMAGE_SIZE := 14656k
74 IMAGES += factory.bin
75 IMAGE/factory.bin := append-kernel | pad-to $$$$(BLOCKSIZE) | \
76 append-rootfs | pad-rootfs | check-size $$$$(IMAGE_SIZE) | \
77 senao-header -r 0x30a -p 0x60 -t 2 -v 200
78 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ath10k ath10k-firmware-qca988x
79 endef
80 TARGET_DEVICES += iodata_wn-ac1600dgr2
81
82 define Device/ocedo_koala
83 ATH_SOC := qca9558
84 DEVICE_TITLE := OCEDO Koala
85 DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca988x
86 SUPPORTED_DEVICES += koala
87 IMAGE_SIZE := 7424k
88 IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
89 endef
90 TARGET_DEVICES += ocedo_koala
91
92 define Device/ocedo_raccoon
93 ATH_SOC := ar9344
94 DEVICE_TITLE := OCEDO Raccoon
95 IMAGE_SIZE := 7424k
96 IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
97 endef
98 TARGET_DEVICES += ocedo_raccoon
99
100 define Device/openmesh_om5p-ac-v2
101 ATH_SOC := qca9558
102 DEVICE_TITLE := OpenMesh OM5P-AC v2
103 DEVICE_PACKAGES := kmod-ath10k ath10k-firmware-qca988x om-watchdog
104 IMAGE_SIZE := 7808k
105 SUPPORTED_DEVICES += om5p-acv2
106 endef
107 TARGET_DEVICES += openmesh_om5p-ac-v2
108
109 define Device/pcs_cap324
110 ATH_SOC := ar9344
111 DEVICE_TITLE := PowerCloud Systems CAP324
112 IMAGE_SIZE := 16000k
113 IMAGES := sysupgrade.bin
114 SUPPORTED_DEVICES += cap324
115 endef
116 TARGET_DEVICES += pcs_cap324
117
118 define Device/pcs_cr3000
119 ATH_SOC := ar9341
120 DEVICE_TITLE := PowerCloud Systems CR3000
121 IMAGE_SIZE := 7808k
122 IMAGES := sysupgrade.bin
123 SUPPORTED_DEVICES += cr3000
124 endef
125 TARGET_DEVICES += pcs_cr3000
126
127 define Device/pcs_cr5000
128 ATH_SOC := ar9344
129 DEVICE_TITLE := PowerCloud Systems CR5000
130 DEVICE_PACKAGES := kmod-usb2 kmod-usb-ledtrig-usbport kmod-usb-core
131 IMAGE_SIZE := 7808k
132 IMAGES := sysupgrade.bin
133 SUPPORTED_DEVICES += cr5000
134 endef
135 TARGET_DEVICES += pcs_cr5000
136
137 define Device/netgear_wndr3x00
138 ATH_SOC := ar7161
139 KERNEL := kernel-bin | append-dtb | lzma -d20 | netgear-uImage lzma
140 IMAGES := sysupgrade.bin factory.img
141 IMAGE/default := append-kernel | pad-to $$$$(BLOCKSIZE) | netgear-squashfs | append-rootfs | pad-rootfs
142 IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | check-size $$$$(IMAGE_SIZE)
143 IMAGE/factory.img := $$(IMAGE/default) | netgear-dni | check-size $$$$(IMAGE_SIZE)
144 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport kmod-leds-reset
145 endef
146
147 define Device/netgear_wndr3700
148 $(Device/netgear_wndr3x00)
149 DEVICE_TITLE := NETGEAR WNDR3700
150 NETGEAR_KERNEL_MAGIC := 0x33373030
151 NETGEAR_BOARD_ID := WNDR3700
152 IMAGE_SIZE := 7680k
153 IMAGES += factory-NA.img
154 IMAGE/factory-NA.img := $$(IMAGE/default) | netgear-dni NA | check-size $$$$(IMAGE_SIZE)
155 SUPPORTED_DEVICES += wndr3700
156 endef
157 TARGET_DEVICES += netgear_wndr3700
158
159 define Device/netgear_wndr3700v2
160 $(Device/netgear_wndr3x00)
161 DEVICE_TITLE := NETGEAR WNDR3700v2
162 NETGEAR_KERNEL_MAGIC := 0x33373031
163 NETGEAR_BOARD_ID := WNDR3700v2
164 NETGEAR_HW_ID := 29763654+16+64
165 IMAGE_SIZE := 15872k
166 SUPPORTED_DEVICES += wndr3700v2
167 endef
168 TARGET_DEVICES += netgear_wndr3700v2
169
170 define Device/pisen_wmm003n
171 $(Device/tplink-8mlzma)
172 ATH_SOC := ar9331
173 DEVICE_TITLE := Pisen WMM003N (Cloud Easy Power)
174 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-chipidea2
175 TPLINK_HWID := 0x07030101
176 SUPPORTED_DEVICES += wmm003n
177 IMAGES := sysupgrade.bin
178 endef
179 TARGET_DEVICES += pisen_wmm003n
180
181 define Device/netgear_wndr3800
182 $(Device/netgear_wndr3x00)
183 DEVICE_TITLE := NETGEAR WNDR3800
184 NETGEAR_KERNEL_MAGIC := 0x33373031
185 NETGEAR_BOARD_ID := WNDR3800
186 NETGEAR_HW_ID := 29763654+16+128
187 IMAGE_SIZE := 15872k
188 SUPPORTED_DEVICES += wndr3800
189 endef
190 TARGET_DEVICES += netgear_wndr3800
191
192 define Device/phicomm_k2t
193 ATH_SOC := qca9563
194 DEVICE_TITLE := Phicomm K2T
195 KERNEL := kernel-bin | append-dtb | lzma | uImage lzma
196 KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | uImage lzma
197 IMAGE_SIZE := 15744k
198 IMAGES := sysupgrade.bin
199 IMAGE/default := append-kernel | append-rootfs | pad-rootfs
200 IMAGE/sysupgrade.bin := $$(IMAGE/default) | append-metadata | check-size $$$$(IMAGE_SIZE)
201 DEVICE_PACKAGES := kmod-leds-reset kmod-ath10k ath10k-firmware-qca9888
202 endef
203 TARGET_DEVICES += phicomm_k2t