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