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