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