aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm63xx/image/bcm63xx.mk
blob: 54eaffc5bd3130c920d2863c9e7248f63d5bfa02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
#
# BCM33XX/BCM63XX Profiles
#

DEVICE_VARS += HCS_MAGIC_BYTES HCS_REV_MIN HCS_REV_MAJ
DEVICE_VARS += BLOCK_SIZE FLASH_MB IMAGE_OFFSET
DEVICE_VARS += CFE_BOARD_ID CFE_EXTRAS
DEVICE_VARS += NETGEAR_BOARD_ID NETGEAR_REGION
DEVICE_VARS += REDBOOT_PREFIX

define Device/bcm33xx
  KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | loader-lzma bin | hcs-initramfs
  IMAGES :=
  HCS_MAGIC_BYTES :=
  HCS_REV_MIN :=
  HCS_REV_MAJ :=
endef

define Device/bcm63xx
  FILESYSTEMS := squashfs jffs2-64k jffs2-128k
  KERNEL := kernel-bin | append-dtb | relocate-kernel | lzma
  KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | loader-lzma elf
  IMAGES := cfe.bin
  IMAGE/cfe.bin := cfe-bin --pad $$$$(shell expr $$$$(FLASH_MB) / 2)
  IMAGE/cfe-4M.bin := cfe-bin --pad 2
  IMAGE/cfe-8M.bin := cfe-bin --pad 4
  IMAGE/cfe-16M.bin := cfe-bin --pad 8
  IMAGE/cfe-bc221.bin := cfe-bin --layoutver 5
  IMAGE/cfe-old.bin := cfe-old-bin
  IMAGE/sysupgrade.bin := cfe-bin
  BLOCK_SIZE := 0x10000
  IMAGE_OFFSET :=
  FLASH_MB := 4
  CFE_BOARD_ID :=
  CFE_EXTRAS = --block-size $$(BLOCK_SIZE) --image-offset $$(if $$(IMAGE_OFFSET),$$(IMAGE_OFFSET),$$(BLOCK_SIZE))
endef

define Device/bcm63xx-legacy
  $(Device/bcm63xx)
  KERNEL := kernel-bin | append-dtb | relocate-kernel | lzma-cfe
endef

define Device/bcm63xx_netgear
  $(Device/bcm63xx)
  DEVICE_VENDOR := NETGEAR
  IMAGES := factory.chk sysupgrade.bin
  IMAGE/factory.chk := cfe-bin | netgear-chk
  NETGEAR_BOARD_ID :=
  NETGEAR_REGION :=
endef

define Device/bcm63xx_redboot
  FILESYSTEMS := squashfs
  KERNEL := kernel-bin | append-dtb | relocate-kernel | gzip
  KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | loader-lzma elf
  IMAGES := redboot.bin
  IMAGE/redboot.bin := redboot-bin
  REDBOOT_PREFIX := $$(DEVICE_IMG_PREFIX)
endef

### Generic ###
define Device/brcm_bcm963281tan
  $(Device/bcm63xx)
  DEVICE_VENDOR := Generic
  DEVICE_MODEL := 963281TAN
  IMAGES := cfe-4M.bin cfe-8M.bin cfe-16M.bin
  CFE_BOARD_ID := 963281TAN
  CHIP_ID := 6328
endef
TARGET_DEVICES += brcm_bcm963281tan

define Device/brcm_bcm96328avng
  $(Device/bcm63xx)
  DEVICE_VENDOR := Generic
  DEVICE_MODEL := 96328avng
  IMAGES := cfe-4M.bin cfe-8M.bin cfe-16M.bin
  CFE_BOARD_ID := 96328avng
  CHIP_ID := 6328
endef
TARGET_DEVICES += brcm_bcm96328avng

define Device/brcm_bcm96338gw
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Generic
  DEVICE_MODEL := 96338GW
  CFE_BOARD_ID := 6338GW
  CHIP_ID := 6338
endef
TARGET_DEVICES += brcm_bcm96338gw

define Device/brcm_bcm96338w
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Generic
  DEVICE_MODEL := 96338W
  CFE_BOARD_ID := 6338W
  CHIP_ID := 6338
  DEFAULT := n
endef
TARGET_DEVICES += brcm_bcm96338w

define Device/brcm_bcm96345gw2
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Generic
  DEVICE_MODEL := 96345GW2
  IMAGES += cfe-bc221.bin
  CFE_BOARD_ID := 96345GW2
  CHIP_ID := 6345
  DEFAULT := n
endef
TARGET_DEVICES += brcm_bcm96345gw2

define Device/brcm_bcm96348gw
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Generic
  DEVICE_MODEL := 96348GW
  IMAGES += cfe-bc221.bin
  CFE_BOARD_ID := 96348GW
  CHIP_ID := 6348
  DEFAULT := n
endef
TARGET_DEVICES += brcm_bcm96348gw

define Device/brcm_bcm96348gw-10
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Generic
  DEVICE_MODEL := 96348GW-10
  CFE_BOARD_ID := 96348GW-10
  CHIP_ID := 6348
  DEFAULT := n
endef
TARGET_DEVICES += brcm_bcm96348gw-10

define Device/brcm_bcm96348gw-11
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Generic
  DEVICE_MODEL := 96348GW-11
  CFE_BOARD_ID := 96348GW-11
  CHIP_ID := 6348
  DEFAULT := n
endef
TARGET_DEVICES += brcm_bcm96348gw-11

define Device/brcm_bcm96348r
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Generic
  DEVICE_MODEL := 96348R
  CFE_BOARD_ID := 96348R
  CHIP_ID := 6348
  DEFAULT := n
endef
TARGET_DEVICES += brcm_bcm96348r

define Device/brcm_bcm96358vw
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Generic
  DEVICE_MODEL := 96358VW
  CFE_BOARD_ID := 96358VW
  CHIP_ID := 6358
endef
TARGET_DEVICES += brcm_bcm96358vw

define Device/brcm_bcm96358vw2
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Generic
  DEVICE_MODEL := 96358VW2
  CFE_BOARD_ID := 96358VW2
  CHIP_ID := 6358
endef
TARGET_DEVICES += brcm_bcm96358vw2

define Device/brcm_bcm96368mvngr
  $(Device/bcm63xx)
  DEVICE_VENDOR := Generic
  DEVICE_MODEL := 96368MVNgr
  CFE_BOARD_ID := 96368MVNgr
  CHIP_ID := 6368
endef
TARGET_DEVICES += brcm_bcm96368mvngr

define Device/brcm_bcm96368mvwg
  $(Device/bcm63xx)
  DEVICE_VENDOR := Generic
  DEVICE_MODEL := 96368MVWG
  CFE_BOARD_ID := 96368MVWG
  CHIP_ID := 6368
endef
TARGET_DEVICES += brcm_bcm96368mvwg

### Actiontec ###
define Device/actiontec_r1000h
  $(Device/bcm63xx)
  DEVICE_VENDOR := Actiontec
  DEVICE_MODEL := R1000H
  FILESYSTEMS := squashfs
  CFE_BOARD_ID := 96368MVWG
  CHIP_ID := 6368
  FLASH_MB := 32
  IMAGE_OFFSET := 0x20000
  DEVICE_PACKAGES := $(USB2_PACKAGES) $(BRCMWL_PACKAGES)
endef
TARGET_DEVICES += actiontec_r1000h

### ADB ###
define Device/adb_a4001n
  $(Device/bcm63xx)
  DEVICE_VENDOR := ADB
  DEVICE_MODEL := P.DG A4001N
  CFE_BOARD_ID := 96328dg2x2
  CHIP_ID := 6328
  FLASH_MB := 8
  DEVICE_PACKAGES := $(USB2_PACKAGES) $(B43_PACKAGES)
endef
TARGET_DEVICES += adb_a4001n

define Device/adb_a4001n1
  $(Device/bcm63xx)
  DEVICE_VENDOR := ADB
  DEVICE_MODEL := P.DG A4001N1
  IMAGES += sysupgrade.bin
  CFE_BOARD_ID := 963281T_TEF
  CHIP_ID := 6328
  FLASH_MB := 16
  DEVICE_PACKAGES := $(USB2_PACKAGES) $(B43_PACKAGES)
endef
TARGET_DEVICES += adb_a4001n1

define Device/adb_pdg-a4001n-a-000-1a1-ax
  $(Device/bcm63xx)
  DEVICE_VENDOR := ADB
  DEVICE_MODEL := P.DG A4001N A-000-1A1-AX
  IMAGES += sysupgrade.bin
  CFE_BOARD_ID := 96328avng
  CHIP_ID := 6328
  FLASH_MB := 16
  DEVICE_PACKAGES := $(USB2_PACKAGES) $(B43_PACKAGES)
endef
TARGET_DEVICES += adb_pdg-a4001n-a-000-1a1-ax

define Device/adb_pdg-a4101n-a-000-1a1-ae
  $(Device/bcm63xx)
  DEVICE_VENDOR := ADB
  DEVICE_MODEL := P.DG A4101N A-000-1A1-AE
  IMAGES += sysupgrade.bin
  CFE_BOARD_ID := 96328avngv
  CHIP_ID := 6328
  FLASH_MB := 16
  DEVICE_PACKAGES := $(USB2_PACKAGES) $(B43_PACKAGES)
endef
TARGET_DEVICES += adb_pdg-a4101n-a-000-1a1-ae

define Device/adb_av4202n
  $(Device/bcm63xx)
  DEVICE_VENDOR := ADB
  DEVICE_MODEL := P.DG AV4202N
  IMAGE_OFFSET := 0x20000
  CFE_BOARD_ID := 96368_Swiss_S1
  CHIP_ID := 6368
  DEVICE_PACKAGES := $(USB2_PACKAGES) $(B43_PACKAGES)
endef
TARGET_DEVICES += adb_av4202n

### Alcatel ###
define Device/alcatel_rg100a
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Alcatel
  DEVICE_MODEL := RG100A
  CFE_BOARD_ID := 96358VW2
  CHIP_ID := 6358
  BLOCK_SIZE := 0x20000
  DEVICE_PACKAGES := $(USB2_PACKAGES) $(B43_PACKAGES)
endef
TARGET_DEVICES += alcatel_rg100a

### Asmax ###
define Device/asmax_ar-1004g
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Asmax
  DEVICE_MODEL := AR 1004g
  CFE_BOARD_ID := 96348GW-10
  CHIP_ID := 6348
  DEVICE_PACKAGES := $(B43_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += asmax_ar-1004g

### Belkin ###
define Device/belkin_f5d7633
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Belkin
  DEVICE_MODEL := F5D7633
  CFE_BOARD_ID := 96348GW-10
  CHIP_ID := 6348
  BLOCK_SIZE := 0x20000
  DEVICE_PACKAGES := $(B43_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += belkin_f5d7633

### Broadcom ###
define Device/brcm_bcm96318ref
  $(Device/bcm63xx)
  DEVICE_VENDOR := Broadcom
  DEVICE_MODEL := BCM96318REF reference board
  IMAGES :=
  CFE_BOARD_ID := 96318REF
  CHIP_ID := 6318
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES) kmod-bcm63xx-udc
endef
TARGET_DEVICES += brcm_bcm96318ref

define Device/brcm_bcm96318ref-p300
  $(Device/bcm63xx)
  DEVICE_VENDOR := Broadcom
  DEVICE_MODEL := BCM96318REF_P300 reference board
  IMAGES :=
  CFE_BOARD_ID := 96318REF_P300
  CHIP_ID := 6318
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES) kmod-bcm63xx-udc
endef
TARGET_DEVICES += brcm_bcm96318ref-p300

define Device/brcm_bcm963268bu-p300
  $(Device/bcm63xx)
  DEVICE_VENDOR := Broadcom
  DEVICE_MODEL := BCM963268BU_P300 reference board
  IMAGES :=
  CFE_BOARD_ID := 963268BU_P300
  CHIP_ID := 63268
  DEVICE_PACKAGES := $(USB2_PACKAGES) kmod-bcm63xx-udc
endef
TARGET_DEVICES += brcm_bcm963268bu-p300

define Device/brcm_bcm963269bhr
  $(Device/bcm63xx)
  DEVICE_VENDOR := Broadcom
  DEVICE_MODEL := BCM963269BHR reference board
  IMAGES :=
  CFE_BOARD_ID := 963269BHR
  CHIP_ID := 63268
  SOC := bcm63269
  DEVICE_PACKAGES := $(USB2_PACKAGES) kmod-bcm63xx-udc
endef
TARGET_DEVICES += brcm_bcm963269bhr

### BT ###
define Device/bt_home-hub-2-a
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := BT
  DEVICE_MODEL := Home Hub 2.0
  DEVICE_VARIANT := A
  CFE_BOARD_ID := HOMEHUB2A
  CHIP_ID := 6358
  BLOCK_SIZE := 0x20000
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += bt_home-hub-2-a

define Device/bt_voyager-2110
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := BT
  DEVICE_MODEL := Voyager 2110
  CFE_BOARD_ID := V2110
  CHIP_ID := 6348
  CFE_EXTRAS += --layoutver 5
  DEVICE_PACKAGES := $(B43_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += bt_voyager-2110

define Device/bt_voyager-2500v-bb
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := BT
  DEVICE_MODEL := Voyager 2500V
  CFE_BOARD_ID := V2500V_BB
  CHIP_ID := 6348
  CFE_EXTRAS += --layoutver 5
  DEVICE_PACKAGES := $(B43_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += bt_voyager-2500v-bb

### Comtrend ###
define Device/comtrend_ar-5315u
  $(Device/bcm63xx)
  DEVICE_VENDOR := Comtrend
  DEVICE_MODEL := AR-5315u
  IMAGES += sysupgrade.bin
  CFE_BOARD_ID := 96318A-1441N1
  CHIP_ID := 6318
  FLASH_MB := 16
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += comtrend_ar-5315u

define Device/comtrend_ar-5381u
  $(Device/bcm63xx)
  DEVICE_VENDOR := Comtrend
  DEVICE_MODEL := AR-5381u
  IMAGES += sysupgrade.bin
  CFE_BOARD_ID := 96328A-1241N
  CHIP_ID := 6328
  FLASH_MB := 16
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += comtrend_ar-5381u

define Device/comtrend_ar-5387un
  $(Device/bcm63xx)
  DEVICE_VENDOR := Comtrend
  DEVICE_MODEL := AR-5387un
  IMAGES += sysupgrade.bin
  CFE_BOARD_ID := 96328A-1441N1
  CHIP_ID := 6328
  FLASH_MB := 16
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += comtrend_ar-5387un

define Device/comtrend_ct-536plus
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Comtrend
  DEVICE_MODEL := CT-536+
  DEVICE_ALT0_VENDOR := Comtrend
  DEVICE_ALT0_MODEL := CT-5621
  CFE_BOARD_ID := 96348GW-11
  CHIP_ID := 6348
  DEVICE_PACKAGES := $(B43_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += comtrend_ct-536plus

define Device/comtrend_ct-5365
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Comtrend
  DEVICE_MODEL := CT-5365
  CFE_BOARD_ID := 96348A-122
  CHIP_ID := 6348
  DEVICE_PACKAGES := $(B43_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += comtrend_ct-5365

define Device/comtrend_ct-6373
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Comtrend
  DEVICE_MODEL := CT-6373
  CFE_BOARD_ID := CT6373-1
  CHIP_ID := 6358
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += comtrend_ct-6373

define Device/comtrend_vr-3025u
  $(Device/bcm63xx)
  DEVICE_VENDOR := Comtrend
  DEVICE_MODEL := VR-3025u
  IMAGES += sysupgrade.bin
  CFE_BOARD_ID := 96368M-1541N
  CHIP_ID := 6368
  BLOCK_SIZE := 0x20000
  FLASH_MB := 32
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += comtrend_vr-3025u

define Device/comtrend_vr-3025un
  $(Device/bcm63xx)
  DEVICE_VENDOR := Comtrend
  DEVICE_MODEL := VR-3025un
  CFE_BOARD_ID := 96368M-1341N
  CHIP_ID := 6368
  FLASH_MB := 8
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += comtrend_vr-3025un

define Device/comtrend_vr-3026e
  $(Device/bcm63xx)
  DEVICE_VENDOR := Comtrend
  DEVICE_MODEL := VR-3026e
  CFE_BOARD_ID := 96368MT-1341N1
  CHIP_ID := 6368
  FLASH_MB := 8
  DEVICE_PACKAGES := $(B43_PACKAGES)
endef
TARGET_DEVICES += comtrend_vr-3026e

define Device/comtrend_wap-5813n
  $(Device/bcm63xx)
  DEVICE_VENDOR := Comtrend
  DEVICE_MODEL := WAP-5813n
  CFE_BOARD_ID := 96369R-1231N
  CHIP_ID := 6368
  FLASH_MB := 8
  SOC := bcm6369
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += comtrend_wap-5813n

### D-Link ###
define Device/d-link_dsl-2640b-b
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := D-Link
  DEVICE_MODEL := DSL-2640B
  DEVICE_VARIANT := B2
  CFE_BOARD_ID := D-4P-W
  CHIP_ID := 6348
  DEVICE_PACKAGES := $(B43_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += d-link_dsl-2640b-b

define Device/d-link_dsl-2640u
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := D-Link
  DEVICE_MODEL := DSL-2640U
  DEVICE_VARIANT := C1
  DEVICE_ALT0_VENDOR := D-Link
  DEVICE_ALT0_MODEL := DSL-2640U/BRU/C
  CFE_BOARD_ID := 96338W2_E7T
  CHIP_ID := 6338
  DEVICE_PACKAGES := $(B43_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += d-link_dsl-2640u

define Device/d-link_dsl-2650u
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := D-Link
  DEVICE_MODEL := DSL-2650U
  CFE_BOARD_ID := 96358VW2
  CHIP_ID := 6358
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += d-link_dsl-2650u

define Device/d-link_dsl-274xb-c2
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := D-Link
  DEVICE_MODEL := DSL-2740B
  DEVICE_VARIANT := C2
  DEVICE_ALT0_VENDOR := D-Link
  DEVICE_ALT0_MODEL := DSL-2741B
  DEVICE_ALT0_VARIANT := C2
  CFE_BOARD_ID := 96358GW
  CHIP_ID := 6358
  DEVICE_PACKAGES := $(B43_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += d-link_dsl-274xb-c2

define Device/d-link_dsl-274xb-c3
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := D-Link
  DEVICE_MODEL := DSL-2740B
  DEVICE_VARIANT := C3
  DEVICE_ALT0_VENDOR := D-Link
  DEVICE_ALT0_MODEL := DSL-2741B
  DEVICE_ALT0_VARIANT := C3
  DEVICE_DTS := bcm6358-d-link-dsl-274xb-c2
  CFE_BOARD_ID := AW4139
  CHIP_ID := 6358
  DEVICE_PACKAGES := $(B43_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += d-link_dsl-274xb-c3

define Device/d-link_dsl-274xb-f1
  $(Device/bcm63xx)
  DEVICE_VENDOR := D-Link
  DEVICE_MODEL := DSL-2740B
  DEVICE_VARIANT := F1
  DEVICE_ALT0_VENDOR := D-Link
  DEVICE_ALT0_MODEL := DSL-2741B
  DEVICE_ALT0_VARIANT := F1
  CFE_BOARD_ID := AW4339U
  CHIP_ID := 6328
  IMAGES := cfe-EU.bin cfe-AU.bin
  IMAGE/cfe-AU.bin := cfe-bin --signature2 "4.06.01.AUF1" --pad 4
  IMAGE/cfe-EU.bin := cfe-bin --signature2 "4.06.01.EUF1" --pad 4
  DEVICE_PACKAGES := $(ATH9K_PACKAGES)
endef
TARGET_DEVICES += d-link_dsl-274xb-f1

define Device/d-link_dsl-2750u-c1
  $(Device/bcm63xx)
  DEVICE_VENDOR := D-Link
  DEVICE_MODEL := DSL-2750U
  DEVICE_VARIANT := C1
  IMAGES += sysupgrade.bin
  CFE_BOARD_ID := 963281TAVNG
  CHIP_ID := 6328
  FLASH_MB := 8
  DEVICE_PACKAGES := $(USB2_PACKAGES) $(B43_PACKAGES)
endef
TARGET_DEVICES += d-link_dsl-2750u-c1

define Device/d-link_dsl-275xb-d1
  $(Device/bcm63xx)
  DEVICE_VENDOR := D-Link
  DEVICE_MODEL := DSL-2750B
  DEVICE_VARIANT := D1
  DEVICE_ALT0_VENDOR := D-Link
  DEVICE_ALT0_MODEL := DSL-2751
  DEVICE_ALT0_VARIANT := D1
  CFE_BOARD_ID := AW5200B
  CHIP_ID := 6318
  FLASH_MB := 8
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += d-link_dsl-275xb-d1

define Device/d-link_dva-g3810bn-tl
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := D-Link
  DEVICE_MODEL := DVA-G3810BN/TL
  CFE_BOARD_ID := 96358VW
  CHIP_ID := 6358
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += d-link_dva-g3810bn-tl

### Davolink ###
define Device/davolink_dv-201amr
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Davolink
  DEVICE_MODEL := DV-201AMR
  IMAGES := cfe-old.bin
  CFE_BOARD_ID := DV201AMR
  CHIP_ID := 6348
  DEVICE_PACKAGES := $(B43_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += davolink_dv-201amr

### Dynalink ###
define Device/dynalink_rta770bw
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Dynalink
  DEVICE_MODEL := RTA770BW
  DEVICE_ALT0_VENDOR := Siemens
  DEVICE_ALT0_MODEL := SE515
  IMAGES =
  CFE_BOARD_ID := RTA770BW
  CHIP_ID := 6345
  CFE_EXTRAS += --layoutver 5
  DEVICE_PACKAGES := $(B43_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += dynalink_rta770bw

define Device/dynalink_rta770w
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Dynalink
  DEVICE_MODEL := RTA770W
  IMAGES =
  CFE_BOARD_ID := RTA770W
  CHIP_ID := 6345
  CFE_EXTRAS += --layoutver 5
  DEVICE_PACKAGES := $(B43_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += dynalink_rta770w

define Device/dynalink_rta1025w
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Dynalink
  DEVICE_MODEL := RTA1025W
  CFE_BOARD_ID := RTA1025W_16
  CHIP_ID := 6348
  CFE_EXTRAS += --layoutver 5
  DEVICE_PACKAGES := $(B43_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += dynalink_rta1025w

define Device/dynalink_rta1320
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Dynalink
  DEVICE_MODEL := RTA1320
  CFE_BOARD_ID := RTA1320_16M
  CHIP_ID := 6338
  CFE_EXTRAS += --layoutver 5
  DEFAULT := n
endef
TARGET_DEVICES += dynalink_rta1320

### Huawei ###
define Device/huawei_echolife-hg520v
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Huawei
  DEVICE_MODEL := EchoLife HG520v
  CFE_BOARD_ID := HW6358GW_B
  CHIP_ID := 6358
  CFE_EXTRAS += --rsa-signature "EchoLife_HG520v"
  SOC := bcm6359
  DEVICE_PACKAGES := $(B43_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += huawei_echolife-hg520v

define Device/huawei_echolife-hg553
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Huawei
  DEVICE_MODEL := EchoLife HG553
  CFE_BOARD_ID := HW553
  CHIP_ID := 6358
  CFE_EXTRAS += --rsa-signature "EchoLife_HG553" --tag-version 7
  BLOCK_SIZE := 0x20000
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += huawei_echolife-hg553

define Device/huawei_echolife-hg556a-a
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Huawei
  DEVICE_MODEL := EchoLife HG556a
  DEVICE_VARIANT := A
  DEVICE_DESCRIPTION = Build firmware images for Huawei HG556a version A (Atheros)
  CFE_BOARD_ID := HW556
  CHIP_ID := 6358
  CFE_EXTRAS += --rsa-signature "EchoLife_HG556a" --tag-version 8
  IMAGE_OFFSET := 0x20000
  DEVICE_PACKAGES := $(ATH9K_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += huawei_echolife-hg556a-a

define Device/huawei_echolife-hg556a-b
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Huawei
  DEVICE_MODEL := EchoLife HG556a
  DEVICE_VARIANT := B
  DEVICE_DESCRIPTION = Build firmware images for Huawei HG556a version B (Atheros)
  CFE_BOARD_ID := HW556
  CHIP_ID := 6358
  CFE_EXTRAS += --rsa-signature "EchoLife_HG556a" --tag-version 8
  BLOCK_SIZE := 0x20000
  DEVICE_PACKAGES := $(ATH9K_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += huawei_echolife-hg556a-b

define Device/huawei_echolife-hg556a-c
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Huawei
  DEVICE_MODEL := EchoLife HG556a
  DEVICE_VARIANT := C
  DEVICE_DESCRIPTION = Build firmware images for Huawei HG556a version C (Ralink)
  CFE_BOARD_ID := HW556
  CHIP_ID := 6358
  CFE_EXTRAS += --rsa-signature "EchoLife_HG556a" --tag-version 8
  BLOCK_SIZE := 0x20000
  DEVICE_PACKAGES := $(RT28_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += huawei_echolife-hg556a-c

define Device/huawei_echolife-hg622
  $(Device/bcm63xx)
  DEVICE_VENDOR := Huawei
  DEVICE_MODEL := EchoLife HG622
  IMAGES += sysupgrade.bin
  CFE_BOARD_ID := 96368MVWG_hg622
  CHIP_ID := 6368
  CFE_EXTRAS += --tag-version 7
  BLOCK_SIZE := 0x20000
  FLASH_MB := 16
  DEVICE_PACKAGES := $(RT28_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += huawei_echolife-hg622

define Device/huawei_echolife-hg655b
  $(Device/bcm63xx)
  DEVICE_VENDOR := Huawei
  DEVICE_MODEL := EchoLife HG655b
  CFE_BOARD_ID := HW65x
  CHIP_ID := 6368
  CFE_EXTRAS += --tag-version 7
  IMAGE_OFFSET := 0x20000
  FLASH_MB := 8
  DEVICE_PACKAGES := $(RT28_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += huawei_echolife-hg655b

### Innacomm ###
define Device/innacomm_w3400v6
  $(Device/bcm63xx)
  DEVICE_VENDOR := Innacomm
  DEVICE_MODEL := W3400V6
  CFE_BOARD_ID := 96328ang
  CHIP_ID := 6328
  FLASH_MB := 8
  DEVICE_PACKAGES := $(B43_PACKAGES)
endef
TARGET_DEVICES += innacomm_w3400v6

### Inteno ###
define Device/inteno_vg50
  $(Device/bcm63xx)
  DEVICE_VENDOR := Inteno
  DEVICE_MODEL := VG50 Multi-WAN CPE
  IMAGES :=
  CFE_BOARD_ID := VW6339GU
  CHIP_ID := 63268
  DEVICE_PACKAGES := $(USB2_PACKAGES)
endef
TARGET_DEVICES += inteno_vg50

### Inventel ###
define Device/inventel_livebox-1
  $(Device/bcm63xx_redboot)
  DEVICE_VENDOR := Inventel
  DEVICE_MODEL := Livebox 1
  SOC := bcm6348
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB1_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += inventel_livebox-1

### Netgear ###
define Device/netgear_cvg834g
  $(Device/bcm33xx)
  DEVICE_VENDOR := NETGEAR
  DEVICE_MODEL := CVG834G
  CHIP_ID := 3368
  HCS_MAGIC_BYTES := 0xa020
  HCS_REV_MIN := 0001
  HCS_REV_MAJ := 0022
endef
TARGET_DEVICES += netgear_cvg834g

define Device/netgear_dg834gt-pn
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := NETGEAR
  DEVICE_MODEL := DG834GT
  DEVICE_ALT0_VENDOR := NETGEAR
  DEVICE_ALT0_MODEL := DG834PN
  CFE_BOARD_ID := 96348GW-10
  CHIP_ID := 6348
  DEVICE_PACKAGES := $(ATH5K_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += netgear_dg834gt-pn

define Device/netgear_dg834g-v4
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := NETGEAR
  DEVICE_MODEL := DG834G
  DEVICE_VARIANT := v4
  IMAGES :=
  CFE_BOARD_ID := 96348W3
  CHIP_ID := 6348
  DEVICE_PACKAGES := $(B43_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += netgear_dg834g-v4

define Device/netgear_dgnd3700-v1
  $(Device/bcm63xx_netgear)
  DEVICE_MODEL := DGND3700
  DEVICE_VARIANT := v1
  CFE_BOARD_ID := 96368MVWG
  CHIP_ID := 6368
  BLOCK_SIZE := 0x20000
  NETGEAR_BOARD_ID := U12L144T01_NETGEAR_NEWLED
  NETGEAR_REGION := 1
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += netgear_dgnd3700-v1

define Device/netgear_dgnd3800b
  $(Device/bcm63xx_netgear)
  DEVICE_MODEL := DGND3800B
  DEVICE_DTS := bcm6368-netgear-dgnd3700-v1
  CFE_BOARD_ID := 96368MVWG
  CHIP_ID := 6368
  BLOCK_SIZE := 0x20000
  NETGEAR_BOARD_ID := U12L144T11_NETGEAR_NEWLED
  NETGEAR_REGION := 1
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += netgear_dgnd3800b

define Device/netgear_evg2000
  $(Device/bcm63xx_netgear)
  DEVICE_MODEL := EVG2000
  CFE_BOARD_ID := 96369PVG
  CHIP_ID := 6368
  BLOCK_SIZE := 0x20000
  NETGEAR_BOARD_ID := U12H154T90_NETGEAR
  NETGEAR_REGION := 1
  SOC := bcm6369
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += netgear_evg2000

### NuCom ###
define Device/nucom_r5010un-v2
  $(Device/bcm63xx)
  DEVICE_VENDOR := NuCom
  DEVICE_MODEL := R5010UN
  DEVICE_VARIANT := v2
  IMAGES += sysupgrade.bin
  CFE_BOARD_ID := 96328ang
  CHIP_ID := 6328
  FLASH_MB := 16
  DEVICE_PACKAGES := $(B43_PACKAGES)
endef
TARGET_DEVICES += nucom_r5010un-v2

### Observa ###
define Device/observa_vh4032n
  $(Device/bcm63xx)
  DEVICE_VENDOR := Observa
  DEVICE_MODEL := VH4032N
  IMAGES += sysupgrade.bin
  CFE_BOARD_ID := 96368VVW
  CHIP_ID := 6368
  BLOCK_SIZE := 0x20000
  FLASH_MB := 32
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += observa_vh4032n

### Pirelli ###
define Device/pirelli_a226g
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Pirelli
  DEVICE_MODEL := A226G
  CFE_BOARD_ID := DWV-S0
  CHIP_ID := 6358
  CFE_EXTRAS += --signature2 IMAGE --tag-version 8
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += pirelli_a226g

define Device/pirelli_a226m
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Pirelli
  DEVICE_MODEL := A226M
  CFE_BOARD_ID := DWV-S0
  CHIP_ID := 6358
  CFE_EXTRAS += --signature2 IMAGE --tag-version 8
  DEVICE_PACKAGES := $(USB2_PACKAGES)
endef
TARGET_DEVICES += pirelli_a226m

define Device/pirelli_a226m-fwb
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Pirelli
  DEVICE_MODEL := A226M-FWB
  CFE_BOARD_ID := DWV-S0
  CHIP_ID := 6358
  CFE_EXTRAS += --signature2 IMAGE --tag-version 8
  BLOCK_SIZE := 0x20000
  DEVICE_PACKAGES := $(USB2_PACKAGES)
endef
TARGET_DEVICES += pirelli_a226m-fwb

define Device/pirelli_agpf-s0
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Pirelli
  DEVICE_MODEL := Alice Gate VoIP 2 Plus Wi-Fi AGPF-S0
  CFE_BOARD_ID := AGPF-S0
  CHIP_ID := 6358
  CFE_EXTRAS += --signature2 IMAGE --tag-version 8
  BLOCK_SIZE := 0x20000
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += pirelli_agpf-s0

### Sagem ###
define Device/sagem_fast-2404
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Sagemcom
  DEVICE_MODEL := F@st 2404
  CFE_BOARD_ID := F@ST2404
  CHIP_ID := 6348
  DEVICE_PACKAGES := $(B43_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += sagem_fast-2404

define Device/sagem_fast-2504n
  $(Device/bcm63xx)
  DEVICE_VENDOR := Sagemcom
  DEVICE_MODEL := F@st 2504N
  CFE_BOARD_ID := F@ST2504n
  CHIP_ID := 6362
  DEVICE_PACKAGES := $(B43_PACKAGES)
endef
TARGET_DEVICES += sagem_fast-2504n

define Device/sagem_fast-2604
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Sagemcom
  DEVICE_MODEL := F@st 2604
  CFE_BOARD_ID := F@ST2604
  CHIP_ID := 6348
  DEVICE_PACKAGES := $(B43_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += sagem_fast-2604

define Device/sagem_fast-2704n
  $(Device/bcm63xx)
  DEVICE_VENDOR := Sagemcom
  DEVICE_MODEL := F@st 2704N
  CFE_BOARD_ID := F@ST2704N
  CHIP_ID := 6318
  FLASH_MB := 8
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += sagem_fast-2704n

define Device/sagem_fast-2704-v2
  $(Device/bcm63xx)
  DEVICE_VENDOR := Sagemcom
  DEVICE_MODEL := F@st 2704
  DEVICE_VARIANT := V2
  CFE_BOARD_ID := F@ST2704V2
  CHIP_ID := 6328
  FLASH_MB := 8
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += sagem_fast-2704-v2

### Sercomm ###
define Device/sercomm_ad1018-nor
  $(Device/bcm63xx)
  DEVICE_VENDOR := Sercomm
  DEVICE_MODEL := AD1018
  DEVICE_VARIANT := SPI flash mod
  CFE_BOARD_ID := 96328avngr
  CHIP_ID := 6328
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += sercomm_ad1018-nor

### SFR ###
define Device/sfr_neufbox-4-sercomm-r0
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := SFR
  DEVICE_MODEL := Neufbox 4
  DEVICE_VARIANT := Sercomm
  CFE_BOARD_ID := 96358VW
  CHIP_ID := 6358
  CFE_EXTRAS += --rsa-signature "$(VERSION_DIST)-$(firstword $(subst -,$(space),$(REVISION)))"
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += sfr_neufbox-4-sercomm-r0

define Device/sfr_neufbox-4-foxconn-r1
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := SFR
  DEVICE_MODEL := Neufbox 4
  DEVICE_VARIANT := Foxconn
  CFE_BOARD_ID := 96358VW
  CHIP_ID := 6358
  CFE_EXTRAS += --rsa-signature "$(VERSION_DIST)-$(firstword $(subst -,$(space),$(REVISION)))"
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += sfr_neufbox-4-foxconn-r1

define Device/sfr_neufbox-6-sercomm-r0
  $(Device/bcm63xx)
  DEVICE_VENDOR := SFR
  DEVICE_MODEL := Neufbox 6
  CFE_BOARD_ID := NB6-SER-r0
  CHIP_ID := 6362
  CFE_EXTRAS += --rsa-signature "$(VERSION_DIST)-$(firstword $(subst -,$(space),$(REVISION)))"
  SOC := bcm6361
  DEVICE_PACKAGES := $(USB2_PACKAGES)
endef
TARGET_DEVICES += sfr_neufbox-6-sercomm-r0

define Device/sky_sr102
  $(Device/bcm63xx)
  DEVICE_VENDOR := SKY
  DEVICE_MODEL := SR102
  CFE_BOARD_ID := BSKYB_63168
  CHIP_ID := 63268
  CFE_EXTRAS += --rsa-signature "$(VERSION_DIST)-$(firstword $(subst -,$(space),$(REVISION)))"
  SOC := bcm63168
  DEVICE_PACKAGES := $(USB2_PACKAGES)
endef
TARGET_DEVICES += sky_sr102

### T-Com ###
define Device/t-com_speedport-w-303v
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := T-Com
  DEVICE_MODEL := Speedport W 303V
  IMAGES := factory.bin sysupgrade.bin
  IMAGE/factory.bin := cfe-spw303v-bin --pad 4 | spw303v-bin | xor-image
  IMAGE/sysupgrade.bin := cfe-spw303v-bin | spw303v-bin
  CFE_BOARD_ID := 96358-502V
  CHIP_ID := 6358
  DEVICE_PACKAGES := $(B43_PACKAGES)
endef
TARGET_DEVICES += t-com_speedport-w-303v

define Device/t-com_speedport-w-500v
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := T-Com
  DEVICE_MODEL := Speedport W 500V
  CFE_BOARD_ID := 96348GW
  CHIP_ID := 6348
  DEVICE_PACKAGES := $(B43_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += t-com_speedport-w-500v

### Technicolor ###
define Device/technicolor_tg582n
  $(Device/bcm63xx)
  DEVICE_VENDOR := Technicolor
  DEVICE_MODEL := TG582n
  IMAGES += sysupgrade.bin
  CFE_BOARD_ID := DANT-1
  CHIP_ID := 6328
  FLASH_MB := 16
  DEVICE_PACKAGES := $(USB2_PACKAGES) $(B43_PACKAGES)
endef
TARGET_DEVICES += technicolor_tg582n

define Device/technicolor_tg582n-telecom-italia
  $(Device/bcm63xx)
  DEVICE_VENDOR := Technicolor
  DEVICE_MODEL := TG582n
  DEVICE_VARIANT := Telecom Italia
  IMAGES += sysupgrade.bin
  CFE_BOARD_ID := DANT-V
  CHIP_ID := 6328
  FLASH_MB := 16
  DEVICE_PACKAGES := $(USB2_PACKAGES) $(B43_PACKAGES)
endef
TARGET_DEVICES += technicolor_tg582n-telecom-italia

### Tecom ###
define Device/tecom_gw6000
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Tecom
  DEVICE_MODEL := GW6000
  CFE_BOARD_ID := 96348GW
  CHIP_ID := 6348
  DEVICE_PACKAGES := $(BRCMWL_PACKAGES) $(USB1_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += tecom_gw6000

define Device/tecom_gw6200
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Tecom
  DEVICE_MODEL := GW6200
  CFE_BOARD_ID := 96348GW
  CHIP_ID := 6348
  CFE_EXTRAS += --rsa-signature "$(shell printf '\x99')"
  DEVICE_PACKAGES := $(BRCMWL_PACKAGES) $(USB1_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += tecom_gw6200

### Telsey ###
define Device/telsey_cpva502plus
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Telsey
  DEVICE_MODEL := CPVA502+
  CFE_BOARD_ID := CPVA502+
  CHIP_ID := 6348
  CFE_EXTRAS += --signature "Telsey Tlc" --signature2 "99.99.999"
  DEVICE_PACKAGES := $(B43_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += telsey_cpva502plus

define Device/telsey_cpva642
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Telsey
  DEVICE_MODEL := CPVA642-type (CPA-ZNTE60T)
  CFE_BOARD_ID := CPVA642
  CHIP_ID := 6358
  CFE_EXTRAS += --signature "Telsey Tlc" --signature2 "99.99.999" --second-image-flag "0"
  FLASH_MB := 8
  DEVICE_PACKAGES := $(RT63_PACKAGES) $(USB2_PACKAGES)
endef
TARGET_DEVICES += telsey_cpva642

define Device/telsey_magic
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := Alice
  DEVICE_MODEL := W-Gate
  DEVICE_ALT0_VENDOR := Telsey
  DEVICE_ALT0_MODEL := MAGIC
  IMAGES :=
  CFE_BOARD_ID := MAGIC
  CHIP_ID := 6348
  DEVICE_PACKAGES := $(RT63_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += telsey_magic

### TP-Link ###
define Device/tp-link_td-w8900gb
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := TP-Link
  DEVICE_MODEL := TD-W8900GB
  CFE_BOARD_ID := 96348GW-11
  CHIP_ID := 6348
  CFE_EXTRAS += --rsa-signature "$(shell printf 'PRID\x89\x10\x00\x02')"
  IMAGE_OFFSET := 0x20000
  DEVICE_PACKAGES := $(B43_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += tp-link_td-w8900gb

### USRobotics ###
define Device/usrobotics_usr9108
  $(Device/bcm63xx-legacy)
  DEVICE_VENDOR := USRobotics
  DEVICE_MODEL := USR9108
  CFE_BOARD_ID := 96348GW-A
  CHIP_ID := 6348
  DEVICE_PACKAGES := $(B43_PACKAGES) $(USB1_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += usrobotics_usr9108

### ZyXEL ###
define Device/zyxel_p870hw-51a-v2
  $(Device/bcm63xx)
  DEVICE_VENDOR := ZyXEL
  DEVICE_MODEL := P870HW-51a
  DEVICE_VARIANT := v2
  IMAGES := factory.bin
  IMAGE/factory.bin := cfe-bin | zyxel-bin
  CFE_BOARD_ID := 96368VVW
  CHIP_ID := 6368
  CFE_EXTRAS += --rsa-signature "ZyXEL" --signature "ZyXEL_0001"
  DEVICE_PACKAGES := $(B43_PACKAGES)
  DEFAULT := n
endef
TARGET_DEVICES += zyxel_p870hw-51a-v2