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