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