DWR-512: adding wwan support for the dwr-512 3G modem
[openwrt/openwrt.git] / target / linux / ramips / image / rt305x.mk
1 #
2 # RT305X Profiles
3 #
4 define Build/dap-header
5 $(STAGING_DIR_HOST)/bin/mkdapimg $(1) -i $@ -o $@.new
6 mv $@.new $@
7 endef
8
9 define Build/hilink-header
10 $(STAGING_DIR_HOST)/bin/mkhilinkfw -e -i $@ -o $@.new
11 mv $@.new $@
12 endef
13
14 define Build/jcg-header
15 $(STAGING_DIR_HOST)/bin/jcgimage -v $(1) -u $@ -o $@.new
16 mv $@.new $@
17 endef
18
19
20 define Device/3g150b
21 DTS := 3G150B
22 BLOCKSIZE := 4k
23 IMAGE_SIZE := $(ralink_default_fw_size_4M)
24 UIMAGE_NAME:= Linux Kernel Image
25 DEVICE_TITLE := Tenda 3G150B
26 DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
27 endef
28 TARGET_DEVICES += 3g150b
29
30 define Device/3g300m
31 DTS := 3G300M
32 IMAGE_SIZE := $(ralink_default_fw_size_4M)
33 UIMAGE_NAME := 3G150M_SPI Kernel Image
34 DEVICE_TITLE := Tenda 3G300M
35 DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
36 endef
37 TARGET_DEVICES += 3g300m
38
39 define Device/3g-6200n
40 DTS := 3G-6200N
41 IMAGE_SIZE := 3648k
42 IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
43 edimax-header -s CSYS -m 3G62 -f 0x50000 -S 0x01100000 | pad-rootfs | \
44 append-metadata | check-size $$$$(IMAGE_SIZE)
45 DEVICE_TITLE := Edimax 3g-6200n
46 endef
47 TARGET_DEVICES += 3g-6200n
48
49 define Device/3g-6200nl
50 DTS := 3G-6200NL
51 IMAGE_SIZE := 3648k
52 IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
53 edimax-header -s CSYS -m 3G62 -f 0x50000 -S 0x01100000 | pad-rootfs | \
54 append-metadata | check-size $$$$(IMAGE_SIZE)
55 DEVICE_TITLE := Edimax 3g-6200nl
56 endef
57 TARGET_DEVICES += 3g-6200nl
58
59 define Device/a5-v11
60 DTS := A5-V11
61 IMAGE_SIZE := $(ralink_default_fw_size_4M)
62 IMAGES += factory.bin
63 IMAGE/factory.bin := \
64 $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B A5-V11 -F 4M
65 DEVICE_TITLE := A5-V11
66 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2
67 endef
68 TARGET_DEVICES += a5-v11
69
70 define Device/air3gii
71 DTS := AIR3GII
72 BLOCKSIZE := 64k
73 IMAGE_SIZE := $(ralink_default_fw_size_4M)
74 DEVICE_TITLE := AirLive Air3GII
75 endef
76 TARGET_DEVICES += air3gii
77
78 define Device/all0256n-4M
79 DTS := ALL0256N-4M
80 IMAGE_SIZE := $(ralink_default_fw_size_4M)
81 DEVICE_TITLE := Allnet ALL0256N (4MB)
82 DEVICE_PACKAGES := rssileds
83 endef
84 TARGET_DEVICES += all0256n-4M
85
86 define Device/all0256n-8M
87 DTS := ALL0256N-8M
88 DEVICE_TITLE := Allnet ALL0256N (8MB)
89 DEVICE_PACKAGES := rssileds
90 endef
91 TARGET_DEVICES += all0256n-8M
92
93 define Device/all5002
94 DTS := ALL5002
95 IMAGE_SIZE := 32448k
96 DEVICE_TITLE := Allnet ALL5002
97 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \
98 kmod-i2c-core kmod-i2c-gpio kmod-hwmon-lm92 kmod-gpio-pcf857x
99 endef
100 TARGET_DEVICES += all5002
101
102 define Device/all5003
103 DTS := ALL5003
104 IMAGE_SIZE := 32448k
105 DEVICE_TITLE := Allnet ALL5003
106 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \
107 kmod-i2c-core kmod-i2c-gpio kmod-hwmon-lm92 kmod-gpio-pcf857x
108 endef
109 TARGET_DEVICES += all5003
110
111 define Device/asl26555-8M
112 DTS := ASL26555-8M
113 IMAGE_SIZE := 7744k
114 SUPPORTED_DEVICES += asl26555
115 DEVICE_TITLE := Alpha ASL26555
116 DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
117 endef
118 TARGET_DEVICES += asl26555-8M
119
120 define Device/asl26555-16M
121 DTS := ASL26555-16M
122 IMAGE_SIZE := 15872k
123 SUPPORTED_DEVICES += asl26555
124 DEVICE_TITLE := Alpha ASL26555 16M
125 DEVICE_PACKAGES :=
126 endef
127 TARGET_DEVICES += asl26555-16M
128
129 define Device/atp-52b
130 DTS := ATP-52B
131 IMAGE_SIZE := 7808k
132 DEVICE_TITLE := Argus ATP-52B
133 endef
134 TARGET_DEVICES += atp-52b
135
136 define Device/awm002-evb-4M
137 DTS := AWM002-EVB-4M
138 IMAGE_SIZE := $(ralink_default_fw_size_4M)
139 DEVICE_TITLE := AsiaRF AWM002-EVB (4M)
140 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \
141 kmod-i2c-core kmod-i2c-gpio
142 endef
143 TARGET_DEVICES += awm002-evb-4M
144
145 define Device/awm002-evb-8M
146 DTS := AWM002-EVB-8M
147 DEVICE_TITLE := AsiaRF AWM002-EVB (8M)
148 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \
149 kmod-i2c-core kmod-i2c-gpio
150 endef
151 TARGET_DEVICES += awm002-evb-8M
152
153 define Device/awm003-evb
154 DTS := AWM003-EVB
155 DEVICE_TITLE := AsiaRF AWM003 EVB
156 endef
157 TARGET_DEVICES += awm003-evb
158
159 define Device/awapn2403
160 DTS := AWAPN2403
161 BLOCKSIZE := 4k
162 IMAGE_SIZE := $(ralink_default_fw_size_4M)
163 DEVICE_TITLE := AsiaRF AWAPN2403
164 endef
165 TARGET_DEVICES += awapn2403
166
167 define Device/bc2
168 DTS := BC2
169 DEVICE_TITLE := NexAira BC2
170 endef
171 TARGET_DEVICES += bc2
172
173 define Device/broadway
174 DTS := BROADWAY
175 IMAGE_SIZE := 7744k
176 UIMAGE_NAME:= Broadway Kernel Image
177 DEVICE_TITLE := Hauppauge Broadway
178 DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
179 endef
180 TARGET_DEVICES += broadway
181
182 define Device/carambola
183 DTS := CARAMBOLA
184 DEVICE_TITLE := 8devices Carambola
185 DEVICE_PACKAGES :=
186 endef
187 TARGET_DEVICES += carambola
188
189 define Device/d105
190 DTS := D105
191 BLOCKSIZE := 64k
192 IMAGE_SIZE := $(ralink_default_fw_size_4M)
193 DEVICE_TITLE := Huawei D105
194 endef
195 TARGET_DEVICES += d105
196
197 define Device/dap-1350
198 DTS := DAP-1350
199 IMAGES += factory.bin factory-NA.bin
200 IMAGE_SIZE := 7488k
201 IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
202 dap-header -s RT3052-AP-DAP1350WW-3
203 IMAGE/factory-NA.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
204 dap-header -s RT3052-AP-DAP1350-3
205 DEVICE_TITLE := D-Link DAP-1350
206 endef
207 TARGET_DEVICES += dap-1350
208
209 define Device/dir-300-b1
210 DTS := DIR-300-B1
211 IMAGE_SIZE := $(ralink_default_fw_size_4M)
212 IMAGES += factory.bin
213 IMAGE/factory.bin := \
214 $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | wrg-header wrgn23_dlwbr_dir300b
215 DEVICE_TITLE := D-Link DIR-300 B1
216 endef
217 TARGET_DEVICES += dir-300-b1
218
219 define Device/dir-300-b7
220 DTS := DIR-300-B7
221 BLOCKSIZE := 4k
222 IMAGE_SIZE := $(ralink_default_fw_size_4M)
223 DEVICE_TITLE := D-Link DIR-300 B7
224 endef
225 TARGET_DEVICES += dir-300-b7
226
227 define Device/dir-320-b1
228 DTS := DIR-320-B1
229 DEVICE_TITLE := D-Link DIR-320 B1
230 endef
231 TARGET_DEVICES += dir-320-b1
232
233 define Device/dir-600-b1
234 DTS := DIR-600-B1
235 IMAGE_SIZE := $(ralink_default_fw_size_4M)
236 SUPPORTED_DEVICES := dir-600-b1 dir-600-b2
237 IMAGES += factory.bin
238 IMAGE/factory.bin := \
239 $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | wrg-header wrgn23_dlwbr_dir600b
240 DEVICE_TITLE := D-Link DIR-600 B1/B2
241 endef
242 TARGET_DEVICES += dir-600-b1
243
244 define Device/dir-610-a1
245 DTS := DIR-610-A1
246 BLOCKSIZE := 4k
247 IMAGES += factory.bin
248 KERNEL := $(KERNEL_DTB)
249 IMAGE_SIZE := $(ralink_default_fw_size_4M)
250 IMAGE/sysupgrade.bin := \
251 append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | append-rootfs | \
252 seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \
253 pad-rootfs | append-metadata | check-size $$$$(IMAGE_SIZE)
254 IMAGE/factory.bin := \
255 append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | \
256 append-rootfs | pad-rootfs -x 64 | \
257 seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \
258 seama-seal -m "signature=wrgn59_dlob.hans_dir610" | \
259 check-size $$$$(IMAGE_SIZE)
260 DEVICE_TITLE := D-Link DIR-610 A1
261 DEVICE_PACKAGES := kmod-ledtrig-netdev kmod-ledtrig-timer
262 endef
263 TARGET_DEVICES += dir-610-a1
264
265 define Device/dir-615-d
266 DTS := DIR-615-D
267 IMAGE_SIZE := $(ralink_default_fw_size_4M)
268 IMAGES += factory.bin
269 IMAGE/factory.bin := \
270 $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | wrg-header wrgn23_dlwbr_dir615d
271 DEVICE_TITLE := D-Link DIR-615 D
272 endef
273 TARGET_DEVICES += dir-615-d
274
275
276 define Device/dir-615-h1
277 DTS := DIR-615-H1
278 BLOCKSIZE := 4k
279 IMAGES += factory.bin
280 IMAGE_SIZE := $(ralink_default_fw_size_4M)
281 IMAGE/factory.bin := \
282 $$(sysupgrade_bin) | senao-header -r 0x218 -p 0x30 -t 3
283 DEVICE_TITLE := D-Link DIR-615 H1
284 endef
285 TARGET_DEVICES += dir-615-h1
286
287 define Device/dir-620-a1
288 DTS := DIR-620-A1
289 DEVICE_TITLE := D-Link DIR-620 A1
290 endef
291 TARGET_DEVICES += dir-620-a1
292
293 define Device/dir-620-d1
294 DTS := DIR-620-D1
295 DEVICE_TITLE := D-Link DIR-620 D1
296 endef
297 TARGET_DEVICES += dir-620-d1
298
299 define Device/dwr-512-b
300 DTS := DWR-512-B
301 IMAGE_SIZE := 7700k
302 DEVICE_TITLE := D-Link DWR-512 B
303 DEVICE_PACKAGES := kmod-usb2 kmod-spi-dev kmod-usb-serial kmod-usb-serial-option \
304 kmod-usb-net kmod-usb-net-cdc-ether comgt-ncm
305 endef
306 TARGET_DEVICES += dwr-512-b
307
308 define Device/esr-9753
309 DTS := ESR-9753
310 BLOCKSIZE := 64k
311 IMAGE_SIZE := $(ralink_default_fw_size_4M)
312 DEVICE_TITLE := EnGenius ESR-9753
313 endef
314 TARGET_DEVICES += esr-9753
315
316 define Device/f5d8235-v2
317 DTS := F5D8235_V2
318 IMAGE_SIZE := 7744k
319 DEVICE_TITLE := Belkin F5D8235 v2
320 endef
321 TARGET_DEVICES += f5d8235-v2
322
323 define Device/f7c027
324 DTS := F7C027
325 IMAGE_SIZE := 7616k
326 DEVICE_TITLE := Belkin F7C027
327 DEVICE_PACKAGES := -kmod-usb-core -kmod-usb-dwc2 -kmod-usb-ledtrig-usbport
328 endef
329 TARGET_DEVICES += f7c027
330
331 define Device/fonera20n
332 DTS := FONERA20N
333 IMAGES += factory.bin
334 IMAGE/factory.bin := $$(sysupgrade_bin) | \
335 edimax-header -s RSDK -m NL1T -f 0x50000 -S 0xc0000
336 DEVICE_TITLE := Fonera 2.0N
337 DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
338 endef
339 TARGET_DEVICES += fonera20n
340
341 define Device/freestation5
342 DTS := FREESTATION5
343 DEVICE_TITLE := ARC Wireless FreeStation
344 DEVICE_PACKAGES := kmod-usb-dwc2 kmod-rt2500-usb kmod-rt2800-usb kmod-rt2x00-usb
345 endef
346 TARGET_DEVICES += freestation5
347
348 define Device/hlk-rm04
349 DTS := HLKRM04
350 IMAGES += factory.bin
351 IMAGE/factory.bin := \
352 $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | hilink-header
353 DEVICE_TITLE := Hi-Link HLK-RM04
354 endef
355 TARGET_DEVICES += hlk-rm04
356
357 define Device/ht-tm02
358 DTS := HT-TM02
359 DEVICE_TITLE := HooToo HT-TM02
360 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport
361 endef
362 TARGET_DEVICES += ht-tm02
363
364 define Device/hw550-3g
365 DTS := HW550-3G
366 DEVICE_TITLE := Aztech HW550-3G
367 DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
368 endef
369 TARGET_DEVICES += hw550-3g
370
371 define Device/ip2202
372 DTS := IP2202
373 DEVICE_TITLE := Poray IP2202
374 endef
375 TARGET_DEVICES += ip2202
376
377 define Device/jhr-n805r
378 DTS := JHR-N805R
379 IMAGE_SIZE := $(ralink_default_fw_size_4M)
380 IMAGES += factory.bin
381 IMAGE/factory.bin := \
382 $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | jcg-header 29.24
383 DEVICE_TITLE := JCG JHR-N805R
384 endef
385 TARGET_DEVICES += jhr-n805r
386
387 define Device/jhr-n825r
388 DTS := JHR-N825R
389 IMAGE_SIZE := $(ralink_default_fw_size_4M)
390 IMAGES += factory.bin
391 IMAGE/factory.bin := \
392 $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | jcg-header 23.24
393 DEVICE_TITLE := JCG JHR-N825R
394 endef
395 TARGET_DEVICES += jhr-n825r
396
397 define Device/jhr-n926r
398 DTS := JHR-N926R
399 IMAGE_SIZE := $(ralink_default_fw_size_4M)
400 IMAGES += factory.bin
401 IMAGE/factory.bin := \
402 $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | jcg-header 25.24
403 DEVICE_TITLE := JCG JHR-N926R
404 endef
405 TARGET_DEVICES += jhr-n926r
406
407 define Device/m2m
408 DTS := M2M
409 UIMAGE_NAME:= Linux Kernel Image
410 DEVICE_TITLE := Intenso Memory 2 Move
411 DEVICE_PACKAGES := kmod-ledtrig-netdev kmod-ledtrig-timer \
412 kmod-usb-core kmod-usb2 kmod-usb-storage kmod-scsi-core \
413 kmod-fs-ext4 kmod-fs-vfat block-mount
414 endef
415 TARGET_DEVICES += m2m
416
417 define Device/m3
418 DTS := M3
419 IMAGE_SIZE := $(ralink_default_fw_size_4M)
420 IMAGES += factory.bin
421 IMAGE/factory.bin := \
422 $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B M3 -F 4M
423 DEVICE_TITLE := Poray M3
424 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-netdev \
425 kmod-ledtrig-timer
426 endef
427 TARGET_DEVICES += m3
428
429 define Device/m4-4M
430 DTS := M4-4M
431 IMAGE_SIZE := $(ralink_default_fw_size_4M)
432 IMAGES += factory.bin
433 IMAGE/factory.bin := \
434 $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B M4 -F 4M
435 DEVICE_TITLE := Poray M4 (4MB)
436 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-netdev \
437 kmod-ledtrig-timer
438 endef
439 TARGET_DEVICES += m4-4M
440
441 define Device/m4-8M
442 DTS := M4-8M
443 IMAGES += factory.bin
444 IMAGE/factory.bin := \
445 $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B M4 -F 8M
446 DEVICE_TITLE := Poray M4 (8MB)
447 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
448 endef
449 TARGET_DEVICES += m4-8M
450
451 define Device/miniembplug
452 DTS := MINIEMBPLUG
453 DEVICE_TITLE := Omnima MiniEMBPlug
454 endef
455 TARGET_DEVICES += miniembplug
456
457 define Device/miniembwifi
458 DEVICE_TITLE := Omnima MiniEMBWiFi
459 endef
460 TARGET_DEVICES += miniembwifi
461
462 define Device/mofi3500-3gn
463 DTS := MOFI3500-3GN
464 DEVICE_TITLE := MoFi Network MOFI3500-3GN
465 endef
466 TARGET_DEVICES += mofi3500-3gn
467
468 define Device/mpr-a1
469 DTS := MPRA1
470 BLOCKSIZE := 4k
471 IMAGE_SIZE := $(ralink_default_fw_size_4M)
472 UIMAGE_NAME:= Linux Kernel Image
473 DEVICE_TITLE := HAME MPR-A1
474 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-netdev
475 endef
476 TARGET_DEVICES += mpr-a1
477
478 define Device/mpr-a2
479 DTS := MPRA2
480 UIMAGE_NAME:= Linux Kernel Image
481 DEVICE_TITLE := HAME MPR-A2
482 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-ledtrig-netdev
483 endef
484 TARGET_DEVICES += mpr-a2
485
486 define Device/mr-102n
487 DTS := MR-102N
488 DEVICE_TITLE := AXIMCom MR-102N
489 endef
490 TARGET_DEVICES += mr-102n
491
492 define Device/mzk-dp150n
493 DTS := MZK-DP150N
494 BLOCKSIZE := 64k
495 IMAGE_SIZE := $(ralink_default_fw_size_4M)
496 DEVICE_TITLE := Planex MZK-DP150N
497 DEVICE_PACKAGES := kmod-spi-dev
498 endef
499 TARGET_DEVICES += mzk-dp150n
500
501 define Device/mzk-w300nh2
502 DTS := MZK-W300NH2
503 IMAGE_SIZE := 3648k
504 IMAGES += factory.bin
505 IMAGE/factory.bin := $$(sysupgrade_bin) | \
506 edimax-header -s CSYS -m RN52 -f 0x50000 -S 0xc0000
507 DEVICE_TITLE := Planex MZK-W300NH2
508 endef
509 TARGET_DEVICES += mzk-w300nh2
510
511 define Device/mzk-wdpr
512 DTS := MZK-WDPR
513 DEVICE_TITLE := Planex MZK-WDPR
514 endef
515 TARGET_DEVICES += mzk-wdpr
516
517 define Device/nbg-419n
518 DTS := NBG-419N
519 BLOCKSIZE := 64k
520 IMAGE_SIZE := $(ralink_default_fw_size_4M)
521 DEVICE_TITLE := ZyXEL NBG-419N
522 endef
523 TARGET_DEVICES += nbg-419n
524
525 define Device/nbg-419n2
526 DTS := NBG-419N2
527 IMAGE_SIZE := $(ralink_default_fw_size_8M)
528 DEVICE_TITLE := ZyXEL NBG-419N2
529 endef
530 TARGET_DEVICES += nbg-419n2
531
532 define Device/ncs601w
533 DTS := NCS601W
534 DEVICE_TITLE := Wansview NCS601W
535 DEVICE_PACKAGES := kmod-video-core kmod-video-uvc \
536 kmod-usb-core kmod-usb-ohci
537 endef
538 TARGET_DEVICES += ncs601w
539
540 define Device/nixcore-x1-8M
541 DTS := NIXCORE-8M
542 IMAGE_SIZE := 7872k
543 SUPPORTED_DEVICES += nixcore-x1
544 DEVICE_TITLE := NixcoreX1 (8M)
545 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-i2c-core kmod-i2c-ralink kmod-spi-dev
546 endef
547 TARGET_DEVICES += nixcore-x1-8M
548
549 define Device/nixcore-x1-16M
550 DTS := NIXCORE-16M
551 IMAGE_SIZE := 16064k
552 SUPPORTED_DEVICES += nixcore-x1
553 DEVICE_TITLE := NixcoreX1 (16M)
554 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-i2c-core kmod-i2c-ralink kmod-spi-dev
555 endef
556 TARGET_DEVICES += nixcore-x1-16M
557
558 define Device/nw718
559 DTS := NW718
560 IMAGE_SIZE := 3712k
561 UIMAGE_NAME:= ARA1B4NCRNW718;1
562 DEVICE_TITLE := Netcore NW718
563 endef
564 TARGET_DEVICES += nw718
565
566 define Device/psr-680w
567 DTS := PSR-680W
568 BLOCKSIZE := 64k
569 IMAGE_SIZE := $(ralink_default_fw_size_4M)
570 DEVICE_TITLE := Petatel PSR-680W Wireless 3G Router
571 endef
572 TARGET_DEVICES += psr-680w
573
574 define Device/pwh2004
575 DTS := PWH2004
576 DEVICE_TITLE := Prolink PWH2004
577 DEVICE_PACKAGES :=
578 endef
579 TARGET_DEVICES += pwh2004
580
581 define Device/px-4885-4M
582 DTS := PX-4885-4M
583 IMAGE_SIZE := $(ralink_default_fw_size_4M)
584 DEVICE_TITLE := 7Links PX-4885 (4M)
585 DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci \
586 kmod-usb-ledtrig-usbport kmod-leds-gpio
587 endef
588 TARGET_DEVICES += px-4885-4M
589
590 define Device/px-4885-8M
591 DTS := PX-4885-8M
592 DEVICE_TITLE := 7Links PX-4885 (8M)
593 DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci \
594 kmod-usb-ledtrig-usbport kmod-leds-gpio
595 endef
596 TARGET_DEVICES += px-4885-8M
597
598 define Device/rt5350f-olinuxino
599 DTS := RT5350F-OLINUXINO
600 DEVICE_TITLE := RT5350F-OLinuXino
601 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 \
602 kmod-i2c-core kmod-i2c-ralink \
603 kmod-spi-dev
604 endef
605 TARGET_DEVICES += rt5350f-olinuxino
606
607 define Device/rt5350f-olinuxino-evb
608 DTS := RT5350F-OLINUXINO-EVB
609 DEVICE_TITLE := RT5350F-OLinuXino-EVB
610 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 \
611 kmod-i2c-core kmod-i2c-ralink \
612 kmod-spi-dev
613 endef
614 TARGET_DEVICES += rt5350f-olinuxino-evb
615
616 define Device/rt-g32-b1
617 DTS := RT-G32-B1
618 BLOCKSIZE := 4k
619 IMAGE_SIZE := $(ralink_default_fw_size_4M)
620 DEVICE_TITLE := Asus RT-G32 B1
621 endef
622 TARGET_DEVICES += rt-g32-b1
623
624 define Device/rt-n10-plus
625 DTS := RT-N10-PLUS
626 BLOCKSIZE := 64k
627 IMAGE_SIZE := $(ralink_default_fw_size_4M)
628 DEVICE_TITLE := Asus RT-N10+
629 endef
630 TARGET_DEVICES += rt-n10-plus
631
632 define Device/rt-n13u
633 DTS := RT-N13U
634 DEVICE_TITLE := Asus RT-N13U
635 DEVICE_PACKAGES := kmod-leds-gpio kmod-rt2800-pci wpad-mini kmod-usb-dwc2
636 endef
637 TARGET_DEVICES += rt-n13u
638
639 define Device/rut5xx
640 DTS := RUT5XX
641 DEVICE_TITLE := Teltonika RUT5XX
642 DEVICE_PACKAGES := om-watchdog
643 endef
644 TARGET_DEVICES += rut5xx
645
646 define Device/sl-r7205
647 DTS := SL-R7205
648 BLOCKSIZE := 64k
649 IMAGE_SIZE := $(ralink_default_fw_size_4M)
650 DEVICE_TITLE := Skyline SL-R7205 Wireless 3G Router
651 endef
652 TARGET_DEVICES += sl-r7205
653
654 define Device/tew-714tru
655 DTS := TEW-714TRU
656 DEVICE_TITLE := TRENDnet TEW-714TRU
657 endef
658 TARGET_DEVICES += tew-714tru
659
660 define Device/ur-326n4g
661 DTS := UR-326N4G
662 BLOCKSIZE := 64k
663 IMAGE_SIZE := $(ralink_default_fw_size_4M)
664 DEVICE_TITLE := UPVEL UR-326N4G
665 DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
666 endef
667 TARGET_DEVICES += ur-326n4g
668
669 define Device/ur-336un
670 DTS := UR-336UN
671 DEVICE_TITLE := UPVEL UR-336UN
672 DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
673 endef
674 TARGET_DEVICES += ur-336un
675
676 define Device/v22rw-2x2
677 DTS := V22RW-2X2
678 BLOCKSIZE := 64k
679 IMAGE_SIZE := $(ralink_default_fw_size_4M)
680 DEVICE_TITLE := Ralink AP-RT3052-V22RW-2X2
681 endef
682 TARGET_DEVICES += v22rw-2x2
683
684 define Device/vocore-8M
685 DTS := VOCORE-8M
686 IMAGE_SIZE := 7872k
687 SUPPORTED_DEVICES += vocore
688 DEVICE_TITLE := VoCore (8M)
689 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 \
690 kmod-i2c-core kmod-i2c-ralink \
691 kmod-spi-dev
692 endef
693 TARGET_DEVICES += vocore-8M
694
695 define Device/vocore-16M
696 DTS := VOCORE-16M
697 IMAGE_SIZE := 16064k
698 SUPPORTED_DEVICES += vocore
699 DEVICE_TITLE := VoCore (16M)
700 DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 \
701 kmod-i2c-core kmod-i2c-ralink \
702 kmod-spi-dev
703 endef
704 TARGET_DEVICES += vocore-16M
705
706 define Device/w150m
707 DTS := W150M
708 IMAGE_SIZE := $(ralink_default_fw_size_4M)
709 UIMAGE_NAME:= W150M Kernel Image
710 DEVICE_TITLE := Tenda W150M
711 endef
712 TARGET_DEVICES += w150m
713
714 define Device/w306r-v20
715 DTS := W306R_V20
716 IMAGE_SIZE := $(ralink_default_fw_size_4M)
717 UIMAGE_NAME:= linkn Kernel Image
718 DEVICE_TITLE := Tenda W306R V2.0
719 endef
720 TARGET_DEVICES += w306r-v20
721
722 define Device/w502u
723 DTS := W502U
724 DEVICE_TITLE := ALFA Networks W502U
725 endef
726 TARGET_DEVICES += w502u
727
728 define Device/wcr-150gn
729 DTS := WCR150GN
730 BLOCKSIZE := 64k
731 IMAGE_SIZE := $(ralink_default_fw_size_4M)
732 DEVICE_TITLE := Sparklan WCR-150GN
733 endef
734 TARGET_DEVICES += wcr-150gn
735
736 define Device/wizard8800
737 DTS := WIZARD8800
738 UIMAGE_NAME:= Linux Kernel Image
739 DEVICE_TITLE := EasyAcc WIZARD 8800
740 endef
741 TARGET_DEVICES += wizard8800
742
743 define Device/wizfi630a
744 DTS := WIZFI630A
745 IMAGE_SIZE := $(ralink_default_fw_size_16M)
746 DEVICE_TITLE := WIZnet WizFi630A
747 endef
748 TARGET_DEVICES += wizfi630a
749
750 define Device/wl-330n
751 DTS := WL-330N
752 BLOCKSIZE := 4k
753 IMAGE_SIZE := $(ralink_default_fw_size_4M)
754 DEVICE_TITLE := Asus WL-330N
755 endef
756 TARGET_DEVICES += wl-330n
757
758 define Device/wl-330n3g
759 DTS := WL-330N3G
760 BLOCKSIZE := 4k
761 IMAGE_SIZE := $(ralink_default_fw_size_4M)
762 DEVICE_TITLE := Asus WL-330N3G
763 DEVICE_PACKAGES :=
764 endef
765 TARGET_DEVICES += wl-330n3g
766
767 define Device/wl-351
768 DTS := WL-351
769 BLOCKSIZE := 64k
770 IMAGE_SIZE := $(ralink_default_fw_size_4M)
771 DEVICE_TITLE := Sitecom WL-351 v1
772 DEVICE_PACKAGES := kmod-switch-rtl8366rb kmod-swconfig swconfig
773 endef
774 TARGET_DEVICES += wl-351
775
776 define Device/wnce2001
777 DTS := WNCE2001
778 IMAGE_SIZE := $(ralink_default_fw_size_4M)
779 IMAGES += factory.bin factory-NA.bin
780 IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
781 dap-header -s RT3052-AP-WNCE2001-3 -r WW -v 1.0.0.99
782 IMAGE/factory-NA.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | \
783 dap-header -s RT3052-AP-WNCE2001-3 -r NA -v 1.0.0.99
784 DEVICE_TITLE := Netgear WNCE2001
785 endef
786 TARGET_DEVICES += wnce2001
787
788 define Device/wr512-3gn-4M
789 DTS := WR512-3GN-4M
790 IMAGE_SIZE := $(ralink_default_fw_size_4M)
791 DEVICE_TITLE := WR512-3GN (4M)
792 endef
793 TARGET_DEVICES += wr512-3gn-4M
794
795 define Device/wr512-3gn-8M
796 DTS := WR512-3GN-8M
797 DEVICE_TITLE := WR512-3GN (8M)
798 endef
799 TARGET_DEVICES += wr512-3gn-8M
800
801 define Device/wr6202
802 DTS := WR6202
803 DEVICE_TITLE := AWB WR6202
804 endef
805 TARGET_DEVICES += wr6202
806
807 define Device/wt1520-4M
808 DTS := WT1520-4M
809 IMAGE_SIZE := $(ralink_default_fw_size_4M)
810 IMAGES += factory.bin
811 IMAGE/factory.bin := \
812 $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B WT1520 -F 4M
813 DEVICE_TITLE := Nexx WT1520 (4MB)
814 endef
815 TARGET_DEVICES += wt1520-4M
816
817 define Device/wt1520-8M
818 DTS := WT1520-8M
819 IMAGES += factory.bin
820 IMAGE/factory.bin := \
821 $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B WT1520 -F 8M
822 DEVICE_TITLE := Nexx WT1520 (8MB)
823 endef
824 TARGET_DEVICES += wt1520-8M
825
826 define Device/x5
827 DTS := X5
828 IMAGES += factory.bin
829 IMAGE/factory.bin := \
830 $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B X5 -F 8M
831 DEVICE_TITLE := Poray X5/X6
832 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
833 endef
834 TARGET_DEVICES += x5
835
836
837 define Device/x8
838 DTS := X8
839 IMAGES += factory.bin
840 IMAGE/factory.bin := \
841 $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | poray-header -B X8 -F 8M
842 DEVICE_TITLE := Poray X8
843 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
844 endef
845 TARGET_DEVICES += x8
846
847 define Device/xdxrn502j
848 DTS := XDXRN502J
849 BLOCKSIZE := 64k
850 IMAGE_SIZE := $(ralink_default_fw_size_4M)
851 DEVICE_TITLE := XDX RN502J
852 endef
853 TARGET_DEVICES += xdxrn502j
854
855 define Device/kn
856 DTS := kn
857 BLOCKSIZE := 64k
858 IMAGE_SIZE := $(ralink_default_fw_size_4M)
859 DEVICE_TITLE := ZyXEL Keenetic
860 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-ehci kmod-usb-ledtrig-usbport
861 endef
862 TARGET_DEVICES += kn