dd1ad86501c200d8094aaabf5310f31cbd84da78
[openwrt/openwrt.git] / target / linux / brcm63xx / image / bcm63xx.mk
1
2 #
3 # BCM33XX/BCM63XX Profiles
4 #
5
6 define Device/bcm33xx
7 KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | loader-lzma bin | hcs-initramfs
8 IMAGES :=
9 HCS_MAGIC_BYTES :=
10 HCS_REV_MIN :=
11 HCS_REV_MAJ :=
12 endef
13 DEVICE_VARS += HCS_MAGIC_BYTES HCS_REV_MIN HCS_REV_MAJ
14
15 define Device/bcm63xx
16 FILESYSTEMS := squashfs jffs2-64k jffs2-128k
17 KERNEL := kernel-bin | append-dtb | relocate-kernel | lzma | lzma-cfe
18 KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | loader-lzma elf
19 IMAGES := cfe.bin
20 IMAGE/cfe.bin := cfe-bin --pad $$$$(shell expr $$$$(FLASH_MB) / 2)
21 IMAGE/cfe-4M.bin := cfe-bin --pad 2
22 IMAGE/cfe-8M.bin := cfe-bin --pad 4
23 IMAGE/cfe-16M.bin := cfe-bin --pad 8
24 IMAGE/cfe-bc221.bin := cfe-bin --layoutver 5
25 IMAGE/cfe-old.bin := cfe-old-bin
26 IMAGE/sysupgrade.bin := cfe-bin
27 BLOCK_SIZE := 0x10000
28 IMAGE_OFFSET :=
29 FLASH_MB := 4
30 CFE_BOARD_ID :=
31 CFE_CHIP_ID :=
32 CFE_EXTRAS = --block-size $$(BLOCK_SIZE) --image-offset $$(if $$(IMAGE_OFFSET),$$(IMAGE_OFFSET),$$(BLOCK_SIZE))
33 endef
34 DEVICE_VARS += BLOCK_SIZE FLASH_MB IMAGE_OFFSET
35 DEVICE_VARS += CFE_BOARD_ID CFE_CHIP_ID CFE_EXTRAS
36
37 define Device/bcm63xx_netgear
38 $(Device/bcm63xx)
39 IMAGES := factory.chk sysupgrade.bin
40 IMAGE/factory.chk := cfe-bin | netgear-chk
41 NETGEAR_BOARD_ID :=
42 NETGEAR_REGION :=
43 endef
44 DEVICE_VARS += NETGEAR_BOARD_ID NETGEAR_REGION
45
46 define Device/bcm63xx_redboot
47 FILESYSTEMS := squashfs
48 KERNEL := kernel-bin | append-dtb | relocate-kernel | gzip
49 KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | loader-lzma elf
50 IMAGES := redboot.bin
51 IMAGE/redboot.bin := redboot-bin
52 REDBOOT_PREFIX := $$(IMAGE_PREFIX)
53 endef
54 DEVICE_VARS += REDBOOT_PREFIX
55
56 ### Generic ###
57 define Device/963281TAN-generic
58 $(Device/bcm63xx)
59 IMAGES := cfe-4M.bin cfe-8M.bin cfe-16M.bin
60 DEVICE_TITLE := Generic 963281TAN
61 DEVICE_DTS := bcm963281TAN
62 CFE_BOARD_ID := 963281TAN
63 CFE_CHIP_ID := 6328
64 endef
65 TARGET_DEVICES += 963281TAN-generic
66
67 define Device/96328avng-generic
68 $(Device/bcm63xx)
69 IMAGES := cfe-4M.bin cfe-8M.bin cfe-16M.bin
70 DEVICE_TITLE := Generic 96328avng
71 DEVICE_DTS := bcm96328avng
72 CFE_BOARD_ID := 96328avng
73 CFE_CHIP_ID := 6328
74 endef
75 TARGET_DEVICES += 96328avng-generic
76
77 define Device/96338GW-generic
78 $(Device/bcm63xx)
79 DEVICE_TITLE := Generic 96338GW
80 DEVICE_DTS := bcm96338GW
81 CFE_BOARD_ID := 6338GW
82 CFE_CHIP_ID := 6338
83 endef
84 TARGET_DEVICES += 96338GW-generic
85
86 define Device/96338W-generic
87 $(Device/bcm63xx)
88 DEVICE_TITLE := Generic 96338W
89 DEVICE_DTS := bcm96338W
90 CFE_BOARD_ID := 6338W
91 CFE_CHIP_ID := 6338
92 endef
93 TARGET_DEVICES += 96338W-generic
94
95 define Device/96345GW2-generic
96 $(Device/bcm63xx)
97 IMAGES += cfe-bc221.bin
98 DEVICE_TITLE := Generic 96345GW2
99 DEVICE_DTS := bcm96345GW2
100 CFE_BOARD_ID := 96345GW2
101 CFE_CHIP_ID := 6345
102 endef
103 TARGET_DEVICES += 96345GW2-generic
104
105 define Device/96348GW-generic
106 $(Device/bcm63xx)
107 IMAGES += cfe-bc221.bin
108 DEVICE_TITLE := Generic 96348GW
109 DEVICE_DTS := bcm96348GW
110 CFE_BOARD_ID := 96348GW
111 CFE_CHIP_ID := 6348
112 endef
113 TARGET_DEVICES += 96348GW-generic
114
115 define Device/96348GW-10-generic
116 $(Device/bcm63xx)
117 DEVICE_TITLE := Generic 96348GW-10
118 DEVICE_DTS := bcm96348GW-10
119 CFE_BOARD_ID := 96348GW-10
120 CFE_CHIP_ID := 6348
121 endef
122 TARGET_DEVICES += 96348GW-10-generic
123
124 define Device/96348GW-11-generic
125 $(Device/bcm63xx)
126 DEVICE_TITLE := Generic 96348GW-11
127 DEVICE_DTS := bcm96348GW-11
128 CFE_BOARD_ID := 96348GW-11
129 CFE_CHIP_ID := 6348
130 endef
131 TARGET_DEVICES += 96348GW-11-generic
132
133 define Device/96348R-generic
134 $(Device/bcm63xx)
135 DEVICE_TITLE := Generic 96348R
136 DEVICE_DTS := bcm96348R
137 CFE_BOARD_ID := 96348R
138 CFE_CHIP_ID := 6348
139 endef
140 TARGET_DEVICES += 96348R-generic
141
142 define Device/96358VW-generic
143 $(Device/bcm63xx)
144 DEVICE_TITLE := Generic 96358VW
145 DEVICE_DTS := bcm96358VW
146 CFE_BOARD_ID := 96358VW
147 CFE_CHIP_ID := 6358
148 endef
149 TARGET_DEVICES += 96358VW-generic
150
151 define Device/96358VW2-generic
152 $(Device/bcm63xx)
153 DEVICE_TITLE := Generic 96358VW2
154 DEVICE_DTS := bcm96358VW2
155 CFE_BOARD_ID := 96358VW2
156 CFE_CHIP_ID := 6358
157 endef
158 TARGET_DEVICES += 96358VW2-generic
159
160 define Device/96368MVNgr-generic
161 $(Device/bcm63xx)
162 DEVICE_TITLE := Generic 96368MVNgr
163 DEVICE_DTS := bcm96368MVNgr
164 CFE_BOARD_ID := 96368MVNgr
165 CFE_CHIP_ID := 6368
166 endef
167 TARGET_DEVICES += 96368MVNgr-generic
168
169 define Device/96368MVWG-generic
170 $(Device/bcm63xx)
171 DEVICE_TITLE := Generic 96368MVWG
172 DEVICE_DTS := bcm96368MVWG
173 CFE_BOARD_ID := 96368MVWG
174 CFE_CHIP_ID := 6368
175 endef
176 TARGET_DEVICES += 96368MVWG-generic
177
178 ### Actiontec ###
179 define Device/R1000H
180 $(Device/bcm63xx)
181 FILESYSTEMS := squashfs
182 DEVICE_TITLE := Actiontec R1000H
183 DEVICE_DTS := r1000h
184 CFE_BOARD_ID := 96368MVWG
185 CFE_CHIP_ID := 6368
186 FLASH_MB := 32
187 IMAGE_OFFSET := 0x20000
188 DEVICE_PACKAGES := \
189 $(USB2_PACKAGES) $(BRCMWL_PACKAGES)
190 endef
191 TARGET_DEVICES += R1000H
192
193 ### ADB ###
194 define Device/A4001N
195 $(Device/bcm63xx)
196 DEVICE_TITLE := ADB P.DG A4001N
197 DEVICE_DTS := a4001n
198 CFE_BOARD_ID := 96328dg2x2
199 CFE_CHIP_ID := 6328
200 FLASH_MB := 8
201 DEVICE_PACKAGES := \
202 $(USB2_PACKAGES) $(B43_PACKAGES)
203 endef
204 TARGET_DEVICES += A4001N
205
206 define Device/A4001N1
207 $(Device/bcm63xx)
208 IMAGES += sysupgrade.bin
209 DEVICE_TITLE := ADB P.DG A4001N1
210 DEVICE_DTS := a4001n1
211 CFE_BOARD_ID := 963281T_TEF
212 CFE_CHIP_ID := 6328
213 FLASH_MB := 16
214 DEVICE_PACKAGES := \
215 $(USB2_PACKAGES) $(B43_PACKAGES)
216 endef
217 TARGET_DEVICES += A4001N1
218
219 define Device/AV4202N
220 $(Device/bcm63xx)
221 IMAGE_OFFSET := 0x20000
222 DEVICE_TITLE := ADB P.DG AV4202N
223 DEVICE_DTS := av4202n
224 CFE_BOARD_ID := 96368_Swiss_S1
225 CFE_CHIP_ID := 6368
226 DEVICE_PACKAGES := \
227 $(USB2_PACKAGES) $(B43_PACKAGES)
228 endef
229 TARGET_DEVICES += AV4202N
230
231 ### Alcatel ###
232 define Device/RG100A
233 $(Device/bcm63xx)
234 DEVICE_TITLE := Alcatel RG100A
235 DEVICE_DTS := rg100a
236 CFE_BOARD_ID := 96358VW2
237 CFE_CHIP_ID := 6358
238 BLOCK_SIZE := 0x20000
239 DEVICE_PACKAGES := \
240 $(USB2_PACKAGES) $(B43_PACKAGES)
241 endef
242 TARGET_DEVICES += RG100A
243
244 ### Asmax ###
245 define Device/AR1004G
246 $(Device/bcm63xx)
247 DEVICE_TITLE := Asmax AR 1004g
248 DEVICE_DTS := ar1004g
249 CFE_BOARD_ID := 96348GW-10
250 CFE_CHIP_ID := 6348
251 DEVICE_PACKAGES := \
252 $(B43_PACKAGES)
253 endef
254 TARGET_DEVICES += AR1004G
255
256 ### Belkin ###
257 define Device/F5D7633
258 $(Device/bcm63xx)
259 DEVICE_TITLE := Belkin F5D7633
260 DEVICE_DTS := f5d7633
261 CFE_BOARD_ID := 96348GW-10
262 CFE_CHIP_ID := 6348
263 BLOCK_SIZE := 0x20000
264 DEVICE_PACKAGES := \
265 $(B43_PACKAGES)
266 endef
267 TARGET_DEVICES += F5D7633
268
269 ### Broadcom ###
270 define Device/BCM96318REF
271 $(Device/bcm63xx)
272 IMAGES :=
273 DEVICE_TITLE := Broadcom BCM96318REF reference board
274 DEVICE_DTS := bcm96318ref
275 CFE_BOARD_ID := 96318REF
276 CFE_CHIP_ID := 6318
277 DEVICE_PACKAGES := \
278 $(B43_PACKAGES) $(USB2_PACKAGES) \
279 kmod-bcm63xx-udc
280 endef
281 TARGET_DEVICES += BCM96318REF
282
283 define Device/BCM96318REF_P300
284 $(Device/bcm63xx)
285 IMAGES :=
286 DEVICE_TITLE := Broadcom BCM96318REF_P300 reference board
287 DEVICE_DTS := bcm96318ref_p300
288 CFE_BOARD_ID := 96318REF_P300
289 CFE_CHIP_ID := 6318
290 DEVICE_PACKAGES := \
291 $(B43_PACKAGES) $(USB2_PACKAGES) \
292 kmod-bcm63xx-udc
293 endef
294 TARGET_DEVICES += BCM96318REF_P300
295
296 define Device/BCM963268BU_P300
297 $(Device/bcm63xx)
298 IMAGES :=
299 DEVICE_TITLE := Broadcom BCM963268BU_P300 reference board
300 DEVICE_DTS := bcm963268bu_p300
301 CFE_BOARD_ID := 963268BU_P300
302 CFE_CHIP_ID := 63268
303 DEVICE_PACKAGES := \
304 $(USB2_PACKAGES) \
305 kmod-bcm63xx-udc
306 endef
307 TARGET_DEVICES += BCM963268BU_P300
308
309 define Device/BCM963269BHR
310 $(Device/bcm63xx)
311 IMAGES :=
312 DEVICE_TITLE := Broadcom BCM963269BHR reference board
313 DEVICE_DTS := bcm963269bhr
314 CFE_BOARD_ID := 963269BHR
315 CFE_CHIP_ID := 63268
316 DEVICE_PACKAGES := \
317 $(USB2_PACKAGES) \
318 kmod-bcm63xx-udc
319 endef
320 TARGET_DEVICES += BCM963269BHR
321
322 ### BT ###
323 define Device/HomeHub2A
324 $(Device/bcm63xx)
325 DEVICE_TITLE := BT Home Hub 2.0 A
326 DEVICE_DTS := homehub2a
327 CFE_BOARD_ID := HOMEHUB2A
328 CFE_CHIP_ID := 6358
329 BLOCK_SIZE := 0x20000
330 DEVICE_PACKAGES := \
331 $(B43_PACKAGES) $(USB2_PACKAGES)
332 endef
333 TARGET_DEVICES += HomeHub2A
334
335 define Device/BTV2110
336 $(Device/bcm63xx)
337 DEVICE_TITLE := BT Voyager V2110
338 DEVICE_DTS := v2110
339 CFE_BOARD_ID := V2110
340 CFE_CHIP_ID := 6348
341 CFE_EXTRAS += --layoutver 5
342 DEVICE_PACKAGES := \
343 $(B43_PACKAGES)
344 endef
345 TARGET_DEVICES += BTV2110
346
347 define Device/BTV2500V
348 $(Device/bcm63xx)
349 DEVICE_TITLE := BT Voyager V2500V
350 DEVICE_DTS := v2500v-bb
351 CFE_BOARD_ID := V2500V_BB
352 CFE_CHIP_ID := 6348
353 CFE_EXTRAS += --layoutver 5
354 DEVICE_PACKAGES := \
355 $(B43_PACKAGES)
356 endef
357 TARGET_DEVICES += BTV2500V
358
359 ### Comtrend ###
360 define Device/AR5381u
361 $(Device/bcm63xx)
362 IMAGES += sysupgrade.bin
363 DEVICE_TITLE := Comtrend AR-5381u
364 DEVICE_DTS := ar-5381u
365 CFE_BOARD_ID := 96328A-1241N
366 CFE_CHIP_ID := 6328
367 FLASH_MB := 16
368 DEVICE_PACKAGES := \
369 $(B43_PACKAGES) $(USB2_PACKAGES)
370 endef
371 TARGET_DEVICES += AR5381u
372
373 define Device/AR5387un
374 $(Device/bcm63xx)
375 IMAGES += sysupgrade.bin
376 DEVICE_TITLE := Comtrend AR-5387un
377 DEVICE_DTS := ar-5387un
378 CFE_BOARD_ID := 96328A-1441N1
379 CFE_CHIP_ID := 6328
380 FLASH_MB := 16
381 DEVICE_PACKAGES := \
382 $(B43_PACKAGES) $(USB2_PACKAGES)
383 endef
384 TARGET_DEVICES += AR5387un
385
386 define Device/CT-536_CT-5621
387 $(Device/bcm63xx)
388 DEVICE_TITLE := Comtrend CT-536+/CT-5621
389 DEVICE_DTS := ct536plus
390 CFE_BOARD_ID := 96348GW-11
391 CFE_CHIP_ID := 6348
392 DEVICE_PACKAGES := \
393 $(B43_PACKAGES)
394 endef
395 TARGET_DEVICES += CT-536_CT-5621
396
397 define Device/CT-5365
398 $(Device/bcm63xx)
399 DEVICE_TITLE := Comtrend CT-5365
400 DEVICE_DTS := ct-5365
401 CFE_BOARD_ID := 96348A-122
402 CFE_CHIP_ID := 6348
403 DEVICE_PACKAGES := \
404 $(B43_PACKAGES)
405 endef
406 TARGET_DEVICES += CT-5365
407
408 define Device/CT-6373
409 $(Device/bcm63xx)
410 DEVICE_TITLE := Comtrend CT-6373
411 DEVICE_DTS := ct-6373
412 CFE_BOARD_ID := CT6373-1
413 CFE_CHIP_ID := 6358
414 DEVICE_PACKAGES := \
415 $(B43_PACKAGES) $(USB2_PACKAGES)
416 endef
417 TARGET_DEVICES += CT-6373
418
419 define Device/VR-3025u
420 $(Device/bcm63xx)
421 IMAGES += sysupgrade.bin
422 DEVICE_TITLE := Comtrend VR-3025u
423 DEVICE_DTS := vr-3025u
424 CFE_BOARD_ID := 96368M-1541N
425 CFE_CHIP_ID := 6368
426 BLOCK_SIZE := 0x20000
427 FLASH_MB := 32
428 DEVICE_PACKAGES := \
429 $(B43_PACKAGES) $(USB2_PACKAGES)
430 endef
431 TARGET_DEVICES += VR-3025u
432
433 define Device/VR-3025un
434 $(Device/bcm63xx)
435 DEVICE_TITLE := Comtrend VR-3025un
436 DEVICE_DTS := vr-3025un
437 CFE_BOARD_ID := 96368M-1341N
438 CFE_CHIP_ID := 6368
439 FLASH_MB := 8
440 DEVICE_PACKAGES := \
441 $(B43_PACKAGES) $(USB2_PACKAGES)
442 endef
443 TARGET_DEVICES += VR-3025un
444
445 define Device/VR-3026e
446 $(Device/bcm63xx)
447 DEVICE_TITLE := Comtrend VR-3026e
448 DEVICE_DTS := vr-3026e
449 CFE_BOARD_ID := 96368MT-1341N1
450 CFE_CHIP_ID := 6368
451 FLASH_MB := 8
452 DEVICE_PACKAGES := \
453 $(B43_PACKAGES)
454 endef
455 TARGET_DEVICES += VR-3026e
456
457 define Device/WAP-5813n
458 $(Device/bcm63xx)
459 DEVICE_TITLE := Comtrend WAP-5813n
460 DEVICE_DTS := wap-5813n
461 CFE_BOARD_ID := 96369R-1231N
462 CFE_CHIP_ID := 6368
463 FLASH_MB := 8
464 DEVICE_PACKAGES := \
465 $(B43_PACKAGES) $(USB2_PACKAGES)
466 endef
467 TARGET_DEVICES += WAP-5813n
468
469 ### D-Link ###
470 define Device/DSL2640B-B
471 $(Device/bcm63xx)
472 DEVICE_TITLE := D-Link DSL-2640B rev B2
473 DEVICE_DTS := dsl-2640b-b
474 CFE_BOARD_ID := D-4P-W
475 CFE_CHIP_ID := 6348
476 DEVICE_PACKAGES := \
477 $(B43_PACKAGES)
478 endef
479 TARGET_DEVICES += DSL2640B-B
480
481 define Device/DSL2640U
482 $(Device/bcm63xx)
483 DEVICE_TITLE := D-Link DSL-2640U/BRU/C
484 DEVICE_DTS := dsl-2640u
485 CFE_BOARD_ID := 96338W2_E7T
486 CFE_CHIP_ID := 6338
487 DEVICE_PACKAGES := \
488 $(B43_PACKAGES)
489 endef
490 TARGET_DEVICES += DSL2640U
491
492 define Device/DSL2650U
493 $(Device/bcm63xx)
494 DEVICE_TITLE := D-Link DSL-2650U
495 DEVICE_DTS := dsl-2650u
496 CFE_BOARD_ID := 96358VW2
497 CFE_CHIP_ID := 6358
498 DEVICE_PACKAGES := \
499 $(B43_PACKAGES) $(USB2_PACKAGES)
500 endef
501 TARGET_DEVICES += DSL2650U
502
503 define Device/DSL274XB-C2
504 $(Device/bcm63xx)
505 DEVICE_TITLE := D-Link DSL-2740B/DSL-2741B rev C2
506 DEVICE_DTS := dsl-274xb-c
507 CFE_BOARD_ID := 96358GW
508 CFE_CHIP_ID := 6358
509 DEVICE_PACKAGES := \
510 $(B43_PACKAGES)
511 endef
512 TARGET_DEVICES += DSL274XB-C2
513
514 define Device/DSL274XB-C3
515 $(Device/bcm63xx)
516 DEVICE_TITLE := D-Link DSL-2740B/DSL-2741B rev C3
517 DEVICE_DTS := dsl-274xb-c
518 CFE_BOARD_ID := AW4139
519 CFE_CHIP_ID := 6358
520 DEVICE_PACKAGES := \
521 $(B43_PACKAGES)
522 endef
523 TARGET_DEVICES += DSL274XB-C3
524
525 define Device/DSL274XB-F1
526 $(Device/bcm63xx)
527 DEVICE_TITLE := D-Link DSL-2740B/DSL-2741B rev F1
528 DEVICE_DTS := dsl-274xb-f
529 CFE_BOARD_ID := AW4339U
530 CFE_CHIP_ID := 6328
531 IMAGES := cfe-EU.bin cfe-AU.bin
532 IMAGE/cfe-AU.bin := cfe-bin --signature2 "4.06.01.AUF1" --pad 4
533 IMAGE/cfe-EU.bin := cfe-bin --signature2 "4.06.01.EUF1" --pad 4
534 DEVICE_PACKAGES := \
535 $(ATH9K_PACKAGES)
536 endef
537 TARGET_DEVICES += DSL274XB-F1
538
539 define Device/DSL275XB-D1
540 $(Device/bcm63xx)
541 DEVICE_TITLE := D-Link DSL-2750B/DSL-2751 rev D1
542 DEVICE_DTS := dsl-275xb-d
543 CFE_BOARD_ID := AW5200B
544 CFE_CHIP_ID := 6318
545 FLASH_MB := 8
546 DEVICE_PACKAGES := \
547 $(B43_PACKAGES) $(USB2_PACKAGES)
548 endef
549 TARGET_DEVICES += DSL275XB-D1
550
551 define Device/DVAG3810BN
552 $(Device/bcm63xx)
553 DEVICE_TITLE := D-Link DVA-G3810BN/TL
554 DEVICE_DTS := dva-g3810bn_tl
555 CFE_BOARD_ID := 96358VW
556 CFE_CHIP_ID := 6358
557 DEVICE_PACKAGES := \
558 $(B43_PACKAGES) $(USB2_PACKAGES)
559 endef
560 TARGET_DEVICES += DVAG3810BN
561
562 ### Davolink ###
563 define Device/DV-201AMR
564 $(Device/bcm63xx)
565 IMAGES := cfe-old.bin
566 DEVICE_TITLE := Davolink DV-201AMR
567 DEVICE_DTS := dv-201amr
568 CFE_BOARD_ID := DV201AMR
569 CFE_CHIP_ID := 6348
570 DEVICE_PACKAGES := \
571 $(B43_PACKAGES)
572 endef
573 TARGET_DEVICES += DV-201AMR
574
575 ### Dynalink ###
576 define Device/RTA770BW
577 $(Device/bcm63xx)
578 IMAGES =
579 DEVICE_TITLE := Dynalink RTA770BW (Siemens SE 515)
580 DEVICE_DTS := rta770bw
581 CFE_BOARD_ID := RTA770BW
582 CFE_CHIP_ID := 6345
583 CFE_EXTRAS += --layoutver 5
584 DEVICE_PACKAGES := \
585 $(B43_PACKAGES)
586 endef
587 TARGET_DEVICES += RTA770BW
588
589 define Device/RTA770W
590 $(Device/bcm63xx)
591 IMAGES =
592 DEVICE_TITLE := Dynalink RTA770W
593 DEVICE_DTS := rta770w
594 CFE_BOARD_ID := RTA770W
595 CFE_CHIP_ID := 6345
596 CFE_EXTRAS += --layoutver 5
597 DEVICE_PACKAGES := \
598 $(B43_PACKAGES)
599 endef
600 TARGET_DEVICES += RTA770W
601
602 define Device/RTA1025W_16
603 $(Device/bcm63xx)
604 DEVICE_TITLE := Dynalink RTA1025W
605 DEVICE_DTS := rta1025w
606 CFE_BOARD_ID := RTA1025W_16
607 CFE_CHIP_ID := 6348
608 CFE_EXTRAS += --layoutver 5
609 DEVICE_PACKAGES := \
610 $(B43_PACKAGES)
611 endef
612 TARGET_DEVICES += RTA1025W_16
613
614 define Device/RTA1320_16M
615 $(Device/bcm63xx)
616 DEVICE_TITLE := Dynalink RTA1320
617 DEVICE_DTS := rta1320
618 CFE_BOARD_ID := RTA1320_16M
619 CFE_CHIP_ID := 6338
620 CFE_EXTRAS += --layoutver 5
621 endef
622 TARGET_DEVICES += RTA1320_16M
623
624 ### Huawei ###
625 define Device/HG520v
626 $(Device/bcm63xx)
627 DEVICE_TITLE := Huawei EchoLife HG520v
628 DEVICE_DTS := hg520v
629 CFE_BOARD_ID := HW6358GW_B
630 CFE_CHIP_ID := 6358
631 CFE_EXTRAS += --rsa-signature "EchoLife_HG520v"
632 DEVICE_PACKAGES := \
633 $(B43_PACKAGES)
634 endef
635 TARGET_DEVICES += HG520v
636
637 define Device/HG553
638 $(Device/bcm63xx)
639 DEVICE_TITLE := Huawei EchoLife HG553
640 DEVICE_DTS := hg553
641 CFE_BOARD_ID := HW553
642 CFE_CHIP_ID := 6358
643 CFE_EXTRAS += --rsa-signature "EchoLife_HG553" --tag-version 7
644 BLOCK_SIZE := 0x20000
645 DEVICE_PACKAGES := \
646 $(B43_PACKAGES) $(USB2_PACKAGES)
647 endef
648 TARGET_DEVICES += HG553
649
650 define Device/HG556a-A
651 $(Device/bcm63xx)
652 DEVICE_TITLE := Huawei EchoLife HG556a rev A
653 DEVICE_DESCRIPTION = Build firmware images for Huawei HG556a version A (Atheros)
654 DEVICE_DTS := hg556a-a
655 CFE_BOARD_ID := HW556
656 CFE_CHIP_ID := 6358
657 CFE_EXTRAS += --rsa-signature "EchoLife_HG556a" --tag-version 8
658 IMAGE_OFFSET := 0x20000
659 DEVICE_PACKAGES := \
660 $(ATH9K_PACKAGES) $(USB2_PACKAGES)
661 endef
662 TARGET_DEVICES += HG556a-A
663
664 define Device/HG556a-B
665 $(Device/bcm63xx)
666 DEVICE_TITLE := Huawei EchoLife HG556a rev B
667 DEVICE_DESCRIPTION = Build firmware images for Huawei HG556a version B (Atheros)
668 DEVICE_DTS := hg556a-b
669 CFE_BOARD_ID := HW556
670 CFE_CHIP_ID := 6358
671 CFE_EXTRAS += --rsa-signature "EchoLife_HG556a" --tag-version 8
672 BLOCK_SIZE := 0x20000
673 DEVICE_PACKAGES := \
674 $(ATH9K_PACKAGES) $(USB2_PACKAGES)
675 endef
676 TARGET_DEVICES += HG556a-B
677
678 define Device/HG556a-C
679 $(Device/bcm63xx)
680 DEVICE_TITLE := Huawei EchoLife HG556a rev C
681 DEVICE_DESCRIPTION = Build firmware images for Huawei HG556a version C (Ralink)
682 DEVICE_DTS := hg556a-c
683 CFE_BOARD_ID := HW556
684 CFE_CHIP_ID := 6358
685 CFE_EXTRAS += --rsa-signature "EchoLife_HG556a" --tag-version 8
686 BLOCK_SIZE := 0x20000
687 DEVICE_PACKAGES := \
688 $(RT28_PACKAGES) $(USB2_PACKAGES)
689 endef
690 TARGET_DEVICES += HG556a-C
691
692 define Device/HG622
693 $(Device/bcm63xx)
694 IMAGES += sysupgrade.bin
695 DEVICE_TITLE := Huawei EchoLife HG622
696 DEVICE_DTS := hg622
697 CFE_BOARD_ID := 96368MVWG_hg622
698 CFE_CHIP_ID := 6368
699 CFE_EXTRAS += --tag-version 7
700 BLOCK_SIZE := 0x20000
701 FLASH_MB := 16
702 DEVICE_PACKAGES := \
703 $(RT28_PACKAGES) $(USB2_PACKAGES)
704 endef
705 TARGET_DEVICES += HG622
706
707 define Device/HG655b
708 $(Device/bcm63xx)
709 DEVICE_TITLE := Huawei EchoLife HG655b
710 DEVICE_DTS := hg655b
711 CFE_BOARD_ID := HW65x
712 CFE_CHIP_ID := 6368
713 CFE_EXTRAS += --tag-version 7
714 IMAGE_OFFSET := 0x20000
715 FLASH_MB := 8
716 DEVICE_PACKAGES := \
717 $(RT28_PACKAGES) $(USB2_PACKAGES)
718 endef
719 TARGET_DEVICES += HG655b
720
721 ### Inteno ###
722 define Device/VG50
723 $(Device/bcm63xx)
724 IMAGES :=
725 DEVICE_TITLE := Inteno VG50 Multi-WAN CPE
726 DEVICE_DTS := vg50
727 CFE_BOARD_ID := VW6339GU
728 CFE_CHIP_ID := 63268
729 DEVICE_PACKAGES := \
730 $(USB2_PACKAGES)
731 endef
732 TARGET_DEVICES += VG50
733
734 ### Inventel ###
735 define Device/livebox
736 $(Device/bcm63xx_redboot)
737 DEVICE_TITLE := Inventel Livebox 1
738 DEVICE_DTS := livebox-blue-5g
739 DEVICE_PACKAGES := \
740 $(B43_PACKAGES) $(USB1_PACKAGES)
741 endef
742 TARGET_DEVICES += livebox
743
744 ### Netgear ###
745 define Device/CVG834G
746 $(Device/bcm33xx)
747 DEVICE_TITLE := Netgear CVG834G
748 DEVICE_DTS := cvg834g
749 HCS_MAGIC_BYTES := 0xa020
750 HCS_REV_MIN := 0001
751 HCS_REV_MAJ := 0022
752 endef
753 TARGET_DEVICES += CVG834G
754
755 define Device/DG834GT_PN
756 $(Device/bcm63xx)
757 DEVICE_TITLE := Netgear DG834GT/PN
758 DEVICE_DTS := dg834gtpn
759 CFE_BOARD_ID := 96348GW-10
760 CFE_CHIP_ID := 6348
761 DEVICE_PACKAGES := \
762 $(ATH5K_PACKAGES)
763 endef
764 TARGET_DEVICES += DG834GT_PN
765
766 define Device/DG834GTv4
767 $(Device/bcm63xx)
768 IMAGES :=
769 DEVICE_TITLE := Netgear DG834G v4
770 DEVICE_DTS := dg834g_v4
771 CFE_BOARD_ID := 96348W3
772 CFE_CHIP_ID := 6348
773 DEVICE_PACKAGES := \
774 $(B43_PACKAGES)
775 endef
776 TARGET_DEVICES += DG834GTv4
777
778 define Device/DGND3700v1
779 $(Device/bcm63xx_netgear)
780 IMAGES := factory.chk sysupgrade.bin
781 DEVICE_TITLE := Netgear DGND3700 v1
782 DEVICE_DTS := dgnd3700v1
783 CFE_BOARD_ID := 96368MVWG
784 CFE_CHIP_ID := 6368
785 BLOCK_SIZE := 0x20000
786 NETGEAR_BOARD_ID := U12L144T01_NETGEAR_NEWLED
787 NETGEAR_REGION := 1
788 DEVICE_PACKAGES := \
789 $(B43_PACKAGES) $(USB2_PACKAGES)
790 endef
791 TARGET_DEVICES += DGND3700v1
792
793 define Device/DGND3800B
794 $(Device/bcm63xx_netgear)
795 IMAGES := factory.chk sysupgrade.bin
796 DEVICE_TITLE := Netgear DGND3800B
797 DEVICE_DTS := dgnd3700v1
798 CFE_BOARD_ID := 96368MVWG
799 CFE_CHIP_ID := 6368
800 BLOCK_SIZE := 0x20000
801 NETGEAR_BOARD_ID := U12L144T11_NETGEAR_NEWLED
802 NETGEAR_REGION := 1
803 DEVICE_PACKAGES := \
804 $(B43_PACKAGES) $(USB2_PACKAGES)
805 endef
806 TARGET_DEVICES += DGND3800B
807
808 define Device/EVG2000
809 $(Device/bcm63xx_netgear)
810 IMAGES := factory.chk sysupgrade.bin
811 DEVICE_TITLE := Netgear EVG2000
812 DEVICE_DTS := evg2000
813 CFE_BOARD_ID := 96369PVG
814 CFE_CHIP_ID := 6368
815 BLOCK_SIZE := 0x20000
816 NETGEAR_BOARD_ID := U12H154T90_NETGEAR
817 NETGEAR_REGION := 1
818 DEVICE_PACKAGES := \
819 $(B43_PACKAGES) $(USB2_PACKAGES)
820 endef
821 TARGET_DEVICES += EVG2000
822
823 ### NuCom ###
824 define Device/R5010UNv2
825 $(Device/bcm63xx)
826 IMAGES += sysupgrade.bin
827 DEVICE_TITLE := NuCom R5010UN v2
828 DEVICE_DTS := r5010unv2
829 CFE_BOARD_ID := 96328ang
830 CFE_CHIP_ID := 6328
831 FLASH_MB := 16
832 DEVICE_PACKAGES := \
833 $(B43_PACKAGES)
834 endef
835 TARGET_DEVICES += R5010UNv2
836
837 ### Observa ###
838 define Device/VH4032N
839 $(Device/bcm63xx)
840 IMAGES += sysupgrade.bin
841 DEVICE_TITLE := Observa VH4032N
842 DEVICE_DTS := vh4032n
843 CFE_BOARD_ID := 96368VVW
844 CFE_CHIP_ID := 6368
845 BLOCK_SIZE := 0x20000
846 FLASH_MB := 32
847 DEVICE_PACKAGES := \
848 $(B43_PACKAGES) $(USB2_PACKAGES)
849 endef
850 TARGET_DEVICES += VH4032N
851
852 ### Pirelli ###
853 define Device/A226G
854 $(Device/bcm63xx)
855 DEVICE_TITLE := Pirelli A226G
856 DEVICE_DTS := a226g
857 CFE_BOARD_ID := DWV-S0
858 CFE_CHIP_ID := 6358
859 CFE_EXTRAS += --signature2 IMAGE --tag-version 8
860 DEVICE_PACKAGES := \
861 $(B43_PACKAGES) $(USB2_PACKAGES)
862 endef
863 TARGET_DEVICES += A226G
864
865 define Device/A226M
866 $(Device/bcm63xx)
867 DEVICE_TITLE := Pirelli A226M
868 DEVICE_DTS := a226m
869 CFE_BOARD_ID := DWV-S0
870 CFE_CHIP_ID := 6358
871 CFE_EXTRAS += --signature2 IMAGE --tag-version 8
872 DEVICE_PACKAGES := \
873 $(USB2_PACKAGES)
874 endef
875 TARGET_DEVICES += A226M
876
877 define Device/A226M-FWB
878 $(Device/bcm63xx)
879 DEVICE_TITLE := Pirelli A226M-FWB
880 DEVICE_DTS := a226m-fwb
881 CFE_BOARD_ID := DWV-S0
882 CFE_CHIP_ID := 6358
883 CFE_EXTRAS += --signature2 IMAGE --tag-version 8
884 BLOCK_SIZE := 0x20000
885 DEVICE_PACKAGES := \
886 $(USB2_PACKAGES)
887 endef
888 TARGET_DEVICES += A226M-FWB
889
890 define Device/AGPF-S0
891 $(Device/bcm63xx)
892 DEVICE_TITLE := Pirelli Alice Gate VoIP 2 Plus Wi-Fi AGPF-S0
893 DEVICE_DTS := agpf-s0
894 CFE_BOARD_ID := AGPF-S0
895 CFE_CHIP_ID := 6358
896 CFE_EXTRAS += --signature2 IMAGE --tag-version 8
897 BLOCK_SIZE := 0x20000
898 DEVICE_PACKAGES := \
899 $(B43_PACKAGES) $(USB2_PACKAGES)
900 endef
901 TARGET_DEVICES += AGPF-S0
902
903 ### Sagem ###
904 define Device/FAST2404
905 $(Device/bcm63xx)
906 DEVICE_TITLE := Sagem F@ST2404
907 DEVICE_DTS := fast2404
908 CFE_BOARD_ID := F@ST2404
909 CFE_CHIP_ID := 6348
910 DEVICE_PACKAGES := \
911 $(B43_PACKAGES)
912 endef
913 TARGET_DEVICES += FAST2404
914
915 define Device/FAST2504n
916 $(Device/bcm63xx)
917 DEVICE_TITLE := Sagem F@ST2504n
918 DEVICE_DTS := fast2504n
919 CFE_BOARD_ID := F@ST2504n
920 CFE_CHIP_ID := 6362
921 DEVICE_PACKAGES := \
922 $(B43_PACKAGES)
923 endef
924 TARGET_DEVICES += FAST2504n
925
926 define Device/FAST2604
927 $(Device/bcm63xx)
928 DEVICE_TITLE := Sagem F@ST2604
929 DEVICE_DTS := fast2604
930 CFE_BOARD_ID := F@ST2604
931 CFE_CHIP_ID := 6348
932 DEVICE_PACKAGES := \
933 $(B43_PACKAGES)
934 endef
935 TARGET_DEVICES += FAST2604
936
937 define Device/FAST2704N
938 $(Device/bcm63xx)
939 DEVICE_TITLE := Sagem F@ST2704N
940 DEVICE_DTS := fast2704n
941 CFE_BOARD_ID := F@ST2704N
942 CFE_CHIP_ID := 6318
943 FLASH_MB := 8
944 DEVICE_PACKAGES := \
945 $(B43_PACKAGES) $(USB2_PACKAGES)
946 endef
947 TARGET_DEVICES += FAST2704N
948
949 define Device/FAST2704V2
950 $(Device/bcm63xx)
951 DEVICE_TITLE := Sagem F@ST2704V2
952 DEVICE_DTS := fast2704v2
953 CFE_BOARD_ID := F@ST2704V2
954 CFE_CHIP_ID := 6328
955 FLASH_MB := 8
956 DEVICE_PACKAGES := \
957 $(B43_PACKAGES) $(USB2_PACKAGES)
958 endef
959 TARGET_DEVICES += FAST2704V2
960
961 ### SFR ###
962 define Device/NEUFBOX4-SER
963 $(Device/bcm63xx)
964 DEVICE_TITLE := SFR Neufbox4 (Sercomm)
965 DEVICE_DTS := nb4-ser-r0
966 CFE_BOARD_ID := 96358VW
967 CFE_CHIP_ID := 6358
968 CFE_EXTRAS += --rsa-signature "LEDE-$(firstword $(subst -,$(space),$(REVISION)))"
969 DEVICE_PACKAGES := \
970 $(B43_PACKAGES) $(USB2_PACKAGES)
971 endef
972 TARGET_DEVICES += NEUFBOX4-SER
973
974 define Device/NEUFBOX4-FXC
975 $(Device/bcm63xx)
976 DEVICE_TITLE := SFR Neufbox4 (Foxconn)
977 DEVICE_DTS := nb4-fxc-r1
978 CFE_BOARD_ID := 96358VW
979 CFE_CHIP_ID := 6358
980 CFE_EXTRAS += --rsa-signature "LEDE-$(firstword $(subst -,$(space),$(REVISION)))"
981 DEVICE_PACKAGES := \
982 $(B43_PACKAGES) $(USB2_PACKAGES)
983 endef
984 TARGET_DEVICES += NEUFBOX4-FXC
985
986 define Device/NEUFBOX6
987 $(Device/bcm63xx)
988 DEVICE_TITLE := SFR Neufbox6
989 DEVICE_DTS := nb6-ser-r0
990 CFE_BOARD_ID := NB6-SER-r0
991 CFE_CHIP_ID := 6362
992 CFE_EXTRAS += --rsa-signature "LEDE-$(firstword $(subst -,$(space),$(REVISION)))"
993 DEVICE_PACKAGES := \
994 $(B43_PACKAGES) $(USB2_PACKAGES)
995 endef
996 TARGET_DEVICES += NEUFBOX6
997
998 ### T-Com ###
999 define Device/SPW303V
1000 $(Device/bcm63xx)
1001 IMAGES := factory.bin sysupgrade.bin
1002 IMAGE/factory.bin := cfe-spw303v-bin --pad 4 | spw303v-bin | xor-image
1003 IMAGE/sysupgrade.bin := cfe-spw303v-bin | spw303v-bin
1004 DEVICE_TITLE := T-Com Speedport W 303V
1005 DEVICE_DTS := spw303v
1006 CFE_BOARD_ID := 96358-502V
1007 CFE_CHIP_ID := 6358
1008 DEVICE_PACKAGES := \
1009 $(B43_PACKAGES)
1010 endef
1011 TARGET_DEVICES += SPW303V
1012
1013 define Device/SPW500V
1014 $(Device/bcm63xx)
1015 DEVICE_TITLE := T-Com Speedport W 500V
1016 DEVICE_DTS := spw500v
1017 CFE_BOARD_ID := 96348GW
1018 CFE_CHIP_ID := 6348
1019 DEVICE_PACKAGES := \
1020 $(B43_PACKAGES)
1021 endef
1022 TARGET_DEVICES += SPW500V
1023
1024 ### Tecom ###
1025 define Device/GW6000
1026 $(Device/bcm63xx)
1027 DEVICE_TITLE := Tecom GW6000
1028 DEVICE_DTS := gw6000
1029 CFE_BOARD_ID := 96348GW
1030 CFE_CHIP_ID := 6348
1031 DEVICE_PACKAGES := \
1032 $(BRCMWL_PACKAGES) $(USB1_PACKAGES)
1033 endef
1034 TARGET_DEVICES += GW6000
1035
1036 define Device/GW6200
1037 $(Device/bcm63xx)
1038 DEVICE_TITLE := Tecom GW6200
1039 DEVICE_DTS := gw6200
1040 CFE_BOARD_ID := 96348GW
1041 CFE_CHIP_ID := 6348
1042 CFE_EXTRAS += --rsa-signature "$(shell printf '\x99')"
1043 DEVICE_PACKAGES := \
1044 $(BRCMWL_PACKAGES) $(USB1_PACKAGES)
1045 endef
1046 TARGET_DEVICES += GW6200
1047
1048 ### Telsey ###
1049 define Device/CPVA502PLUS
1050 $(Device/bcm63xx)
1051 DEVICE_TITLE := Telsey CPVA502+
1052 DEVICE_DTS := cpva502plus
1053 CFE_BOARD_ID := CPVA502+
1054 CFE_CHIP_ID := 6348
1055 CFE_EXTRAS += --signature "Telsey Tlc" --signature2 "99.99.999"
1056 DEVICE_PACKAGES := \
1057 $(B43_PACKAGES)
1058 endef
1059 TARGET_DEVICES += CPVA502PLUS
1060
1061 define Device/CPA-ZNTE60T
1062 $(Device/bcm63xx)
1063 DEVICE_TITLE := Telsey CPVA642-type (CPA-ZNTE60T)
1064 DEVICE_DTS := cpva642
1065 CFE_BOARD_ID := CPVA642
1066 CFE_CHIP_ID := 6358
1067 CFE_EXTRAS += --signature "Telsey Tlc" --signature2 "99.99.999" --second-image-flag "0"
1068 FLASH_MB := 8
1069 DEVICE_PACKAGES := \
1070 $(RT63_PACKAGES) $(USB2_PACKAGES)
1071 endef
1072 TARGET_DEVICES += CPA-ZNTE60T
1073
1074 define Device/MAGIC
1075 $(Device/bcm63xx)
1076 IMAGES :=
1077 DEVICE_TITLE := Telsey MAGIC (Alice W-Gate)
1078 DEVICE_DTS := magic
1079 CFE_BOARD_ID := MAGIC
1080 CFE_CHIP_ID := 6348
1081 DEVICE_PACKAGES := \
1082 $(RT63_PACKAGES)
1083 endef
1084 TARGET_DEVICES += MAGIC
1085
1086 ### TP-Link ###
1087 define Device/TD-W8900GB
1088 $(Device/bcm63xx)
1089 DEVICE_TITLE := TP-Link TD-W8900GB
1090 DEVICE_DTS := td-w8900gb
1091 CFE_BOARD_ID := 96348GW-11
1092 CFE_CHIP_ID := 6348
1093 CFE_EXTRAS += --rsa-signature "$(shell printf 'PRID\x89\x10\x00\x02')"
1094 IMAGE_OFFSET := 0x20000
1095 DEVICE_PACKAGES := \
1096 $(B43_PACKAGES)
1097 endef
1098 TARGET_DEVICES += TD-W8900GB
1099
1100 ### USRobotics ###
1101 define Device/USR9108
1102 $(Device/bcm63xx)
1103 DEVICE_TITLE := USRobotics 9108
1104 DEVICE_DTS := usr9108
1105 CFE_BOARD_ID := 96348GW-A
1106 CFE_CHIP_ID := 6348
1107 DEVICE_PACKAGES := \
1108 $(B43_PACKAGES) $(USB1_PACKAGES)
1109 endef
1110 TARGET_DEVICES += USR9108
1111
1112 ### ZyXEL ###
1113 define Device/P870HW-51a_v2
1114 $(Device/bcm63xx)
1115 IMAGES := factory.bin
1116 IMAGE/factory.bin := cfe-bin | zyxel-bin
1117 DEVICE_TITLE := ZyXEL P870HW-51a v2
1118 DEVICE_DTS := p870hw-51a-v2
1119 CFE_BOARD_ID := 96368VVW
1120 CFE_CHIP_ID := 6368
1121 CFE_EXTRAS += --rsa-signature "ZyXEL" --signature "ZyXEL_0001"
1122 DEVICE_PACKAGES := \
1123 $(B43_PACKAGES)
1124 endef
1125 TARGET_DEVICES += P870HW-51a_v2