summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2016-05-24 21:09:19 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2016-06-03 16:27:48 +0200
commitc69903473b000c496443e2cffd8eebcff787651f (patch)
treede1070f8401f377d94037ce53d53369542566a91
parent2dc7f99662a5d1da154ec02e3a22ad53c0144377 (diff)
downloadmtk-20170518-c69903473b000c496443e2cffd8eebcff787651f.zip
mtk-20170518-c69903473b000c496443e2cffd8eebcff787651f.tar.gz
mtk-20170518-c69903473b000c496443e2cffd8eebcff787651f.tar.bz2
brcm63xx: move profiles definitions to image/Makefile
This switches brcm63xx to the new profile definition system in image/Makefile Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
-rw-r--r--target/linux/brcm63xx/image/Makefile477
-rw-r--r--target/linux/brcm63xx/image/bcm63xx.mk1056
-rw-r--r--target/linux/brcm63xx/profiles/01-generic.mk123
-rw-r--r--target/linux/brcm63xx/profiles/adb.mk26
-rw-r--r--target/linux/brcm63xx/profiles/alcatel.mk16
-rw-r--r--target/linux/brcm63xx/profiles/asmax.mk15
-rw-r--r--target/linux/brcm63xx/profiles/belkin.mk15
-rw-r--r--target/linux/brcm63xx/profiles/broadcom.mk42
-rw-r--r--target/linux/brcm63xx/profiles/bt.mk34
-rw-r--r--target/linux/brcm63xx/profiles/comtrend.mk93
-rw-r--r--target/linux/brcm63xx/profiles/d-link.mk71
-rw-r--r--target/linux/brcm63xx/profiles/davolink.mk15
-rw-r--r--target/linux/brcm63xx/profiles/default.mk (renamed from target/linux/brcm63xx/profiles/00-default.mk)5
-rw-r--r--target/linux/brcm63xx/profiles/dynalink.mk42
-rw-r--r--target/linux/brcm63xx/profiles/huawei.mk65
-rw-r--r--target/linux/brcm63xx/profiles/inteno.mk15
-rw-r--r--target/linux/brcm63xx/profiles/inventel.mk15
-rw-r--r--target/linux/brcm63xx/profiles/netgear.mk43
-rw-r--r--target/linux/brcm63xx/profiles/nucom.mk16
-rw-r--r--target/linux/brcm63xx/profiles/pirelli.mk35
-rw-r--r--target/linux/brcm63xx/profiles/sagem.mk53
-rw-r--r--target/linux/brcm63xx/profiles/sfr.mk26
-rw-r--r--target/linux/brcm63xx/profiles/t-com.mk25
-rw-r--r--target/linux/brcm63xx/profiles/tecom.mk28
-rw-r--r--target/linux/brcm63xx/profiles/telsey.mk34
-rw-r--r--target/linux/brcm63xx/profiles/tp-link.mk15
-rw-r--r--target/linux/brcm63xx/profiles/usrobotics.mk16
-rw-r--r--target/linux/brcm63xx/profiles/zyxel.mk15
28 files changed, 1072 insertions, 1359 deletions
diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile
index 9ea2ea2..a92cb43 100644
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -1,5 +1,6 @@
#
# Copyright (C) 2006-2015 OpenWrt.org
+# Copyright (C) 2016 LEDE project
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -165,477 +166,23 @@ define Build/redboot-bin
> "$@"
endef
-# Shared device definition: applies to every defined device
define Device/Default
- PROFILES = Default $$(DEVICE_PROFILE)
+ PROFILES = Default
KERNEL_DEPENDS = $$(wildcard ../dts/$$(DEVICE_DTS).dts)
KERNEL_INITRAMFS_IMAGE = $$(KERNEL_INITRAMFS_PREFIX).elf
- DEVICE_PROFILE :=
DEVICE_DTS :=
endef
-DEVICE_VARS += DEVICE_PROFILE DEVICE_DTS
+DEVICE_VARS += DEVICE_DTS
-# BCM33xx HCS devices: only generates ramdisks (unsupported bin images)
-define Device/bcm33xxHcsRamdisk
- KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | loader-lzma bin | hcs-initramfs
- IMAGES :=
- HCS_MAGIC_BYTES :=
- HCS_REV_MIN :=
- HCS_REV_MAJ :=
-endef
-DEVICE_VARS += HCS_MAGIC_BYTES HCS_REV_MIN HCS_REV_MAJ
-
-# Shared BCM63xx CFE device definitios
-define Device/bcm63xxCfeCommon
- FILESYSTEMS := squashfs jffs2-64k jffs2-128k
- KERNEL := kernel-bin | append-dtb | relocate-kernel | lzma | lzma-cfe
- KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | loader-lzma elf
-endef
-
-# BCM63xx CFE devices: only generates ramdisks (unsupported bin images)
-define Device/bcm63xxCfeRamdisk
- $(Device/bcm63xxCfeCommon)
- IMAGES :=
-endef
-
-# BCM63xx CFE devices: both ramdisks and parallel/spi bin images
-# New versions of CFE bootloader compatible with imagetag
-define Device/bcm63xxCfe
- $(Device/bcm63xxCfeCommon)
- IMAGES := cfe.bin
- IMAGE/cfe.bin := cfe-bin
- CFE_BOARD_ID :=
- CFE_CHIP_ID :=
- CFE_EXTRAS :=
-endef
-DEVICE_VARS += CFE_BOARD_ID CFE_CHIP_ID CFE_EXTRAS
-
-# BCM63xx CFE BC221 devices: both ramdisks and parallel/spi bin images
-# Generates a generic image and a layout version 5 image
-define Device/bcm63xxCfeBc221
- $(Device/bcm63xxCfeCommon)
- IMAGES := cfe.bin cfe-bc221.bin
- IMAGE/cfe.bin := cfe-bin
- IMAGE/cfe-bc221.bin := cfe-bin --layoutver 5
- CFE_BOARD_ID :=
- CFE_CHIP_ID :=
- CFE_EXTRAS :=
-endef
-
-# BCM63xx CFE MultiFlash devices: both ramdisks and parallel/spi bin images
-# Generates generic images padded for 4M/8M/16M flashes
-define Device/bcm63xxCfeMultiFlash
- $(Device/bcm63xxCfeCommon)
- IMAGES := cfe-4M.bin cfe-8M.bin cfe-16M.bin
- IMAGE/cfe-4M.bin := cfe-bin --pad 2
- IMAGE/cfe-8M.bin := cfe-bin --pad 4
- IMAGE/cfe-16M.bin := cfe-bin --pad 8
- CFE_BOARD_ID :=
- CFE_CHIP_ID :=
- CFE_EXTRAS :=
-endef
-
-# BCM63xx CFE NETGEAR devices: both ramdisks and parallel/spi bin images
-# factory.chk: netgear images for bootloader/original firmware upgrades
-# sysupgrade.bin: openwrt images for sysupgrades
-define Device/bcm63xxCfeNetgear
- $(Device/bcm63xxCfeCommon)
- IMAGES := factory.chk sysupgrade.bin
- IMAGE/factory.chk := cfe-bin | netgear-chk
- IMAGE/sysupgrade.bin := cfe-bin
- CFE_BOARD_ID :=
- CFE_CHIP_ID :=
- CFE_EXTRAS :=
- NETGEAR_BOARD_ID :=
- NETGEAR_REGION :=
-endef
-DEVICE_VARS += NETGEAR_BOARD_ID NETGEAR_REGION
-
-# BCM63xx Old CFE devices: both ramdisks and parallel/spi bin images
-# Old versions of CFE bootloader not compatible with imagetag
-define Device/bcm63xxCfeOld
- $(Device/bcm63xxCfeCommon)
- IMAGES := cfe-old.bin
- IMAGE/cfe-old.bin := cfe-old-bin
- CFE_BOARD_ID :=
- CFE_CHIP_ID :=
- CFE_EXTRAS :=
-endef
-
-# BCM63xx CFE SPW303V devices: both ramdisks and parallel/spi bin images
-# factory.bin: SPW303V images for bootloader/original firmware upgrades
-# sysupgrade.bin: openwrt images for sysupgrades
-define Device/bcm63xxCfeSpw303v
- $(Device/bcm63xxCfeCommon)
- IMAGES := factory.bin sysupgrade.bin
- IMAGE/factory.bin := cfe-spw303v-bin | spw303v-bin | xor-image
- IMAGE/sysupgrade.bin := cfe-spw303v-bin | spw303v-bin
- CFE_BOARD_ID :=
- CFE_CHIP_ID :=
- CFE_EXTRAS :=
-endef
-
-# BCM63xx CFE ZyXEL devices: both ramdisks and parallel/spi bin images
-# factory.bin: ZyXEL specific CFE images (sysupgrade compatible)
-define Device/bcm63xxCfeZyxel
- $(Device/bcm63xxCfeCommon)
- IMAGES := factory.bin
- IMAGE/factory.bin := cfe-bin | zyxel-bin
- CFE_BOARD_ID :=
- CFE_CHIP_ID :=
- CFE_EXTRAS :=
-endef
-
-# BCM63xx RedBoot devices: both ramdisks and parallel/spi bin images
-# Generates images compatible with RedBoot bootloader
-define Device/bcm63xxRedBoot
- FILESYSTEMS := squashfs
- KERNEL := kernel-bin | append-dtb | gzip
- IMAGES := redboot.bin
- IMAGE/redboot.bin := redboot-bin
- REDBOOT_PREFIX := $$(IMAGE_PREFIX)
-endef
-DEVICE_VARS += REDBOOT_PREFIX
-
-### Device macros ###
-# $(1) = profile
-# $(2) = image name
-# $(3) = dts
-# $(4) = hcs magic bytes
-# $(5) = hcs rev min
-# $(6) = hcs rev major
-define bcm33xxHcsRamdisk
- define Device/$(2)
- $$(Device/bcm33xxHcsRamdisk)
- DEVICE_PROFILE := $(1)
- DEVICE_DTS := $(3)
- HCS_MAGIC_BYTES := $(4)
- HCS_REV_MIN := $(5)
- HCS_REV_MAJ := $(6)
- endef
- TARGET_DEVICES += $(2)
-endef
-
-# $(1) = profile
-# $(2) = image name
-# $(3) = dts
-define bcm63xxCfeRamdisk
- define Device/$(2)
- $$(Device/bcm63xxCfeRamdisk)
- DEVICE_PROFILE := $(1)
- DEVICE_DTS := $(3)
- endef
- TARGET_DEVICES += $(2)
-endef
-
-# $(1) = profile
-# $(2) = image name
-# $(3) = dts
-# $(4) = cfe board name
-# $(5) = cfe chip id
-# $(6) = cfe additional options
-define bcm63xxCfe
- define Device/$(2)
- $$(Device/bcm63xxCfe)
- DEVICE_PROFILE := $(1)
- DEVICE_DTS := $(3)
- CFE_BOARD_ID := $(4)
- CFE_CHIP_ID := $(5)
- CFE_EXTRAS := $(6)
- endef
- TARGET_DEVICES += $(2)
-endef
-
-# $(1) = profile
-# $(2) = image name
-# $(3) = dts
-# $(4) = cfe board name
-# $(5) = cfe chip id
-# $(6) = cfe additional options
-define bcm63xxCfeMultiFlash
- define Device/$(2)
- $$(Device/bcm63xxCfeMultiFlash)
- DEVICE_PROFILE := $(1)
- DEVICE_DTS := $(3)
- CFE_BOARD_ID := $(4)
- CFE_CHIP_ID := $(5)
- CFE_EXTRAS := $(6)
- endef
- TARGET_DEVICES += $(2)
-endef
-
-# $(1) = profile
-# $(2) = image name
-# $(3) = dts
-# $(4) = cfe board name
-# $(5) = cfe chip id
-# $(6) = cfe additional options
-define bcm63xxCfeBc221
- define Device/$(2)
- $$(Device/bcm63xxCfeBc221)
- DEVICE_PROFILE := $(1)
- DEVICE_DTS := $(3)
- CFE_BOARD_ID := $(4)
- CFE_CHIP_ID := $(5)
- CFE_EXTRAS := $(6)
- endef
- TARGET_DEVICES += $(2)
-endef
-
-# $(1) = profile
-# $(2) = image name
-# $(3) = dts
-# $(4) = cfe board name
-# $(5) = cfe chip id
-# $(6) = cfe additional options
-# $(7) = netgear id
-# $(8) = netgear region
-define bcm63xxCfeNetgear
- define Device/$(2)
- $$(Device/bcm63xxCfeNetgear)
- DEVICE_PROFILE := $(1)
- DEVICE_DTS := $(3)
- CFE_BOARD_ID := $(4)
- CFE_CHIP_ID := $(5)
- CFE_EXTRAS := $(6)
- NETGEAR_BOARD_ID := $(7)
- NETGEAR_REGION := $(8)
- endef
- TARGET_DEVICES += $(2)
-endef
-
-# $(1) = profile
-# $(2) = image name
-# $(3) = dts
-# $(4) = cfe board name
-# $(5) = cfe chip id
-# $(6) = cfe additional options
-define bcm63xxCfeOld
- define Device/$(2)
- $$(Device/bcm63xxCfeOld)
- DEVICE_PROFILE := $(1)
- DEVICE_DTS := $(3)
- CFE_BOARD_ID := $(4)
- CFE_CHIP_ID := $(5)
- CFE_EXTRAS := $(6)
- endef
- TARGET_DEVICES += $(2)
-endef
-
-# $(1) = profile
-# $(2) = image name
-# $(3) = dts
-# $(4) = cfe board name
-# $(5) = cfe chip id
-# $(6) = cfe additional options
-define bcm63xxCfeSpw303v
- define Device/$(2)
- $$(Device/bcm63xxCfeSpw303v)
- DEVICE_PROFILE := $(1)
- DEVICE_DTS := $(3)
- CFE_BOARD_ID := $(4)
- CFE_CHIP_ID := $(5)
- CFE_EXTRAS := $(6)
- endef
- TARGET_DEVICES += $(2)
-endef
-
-# $(1) = profile
-# $(2) = image name
-# $(3) = dts
-# $(4) = cfe board name
-# $(5) = cfe chip id
-# $(6) = cfe additional options
-define bcm63xxCfeZyxel
- define Device/$(2)
- $$(Device/bcm63xxCfeZyxel)
- DEVICE_PROFILE := $(1)
- DEVICE_DTS := $(3)
- CFE_BOARD_ID := $(4)
- CFE_CHIP_ID := $(5)
- CFE_EXTRAS := $(6)
- endef
- TARGET_DEVICES += $(2)
-endef
-
-# $(1) = profile
-# $(2) = image name
-# $(3) = dts
-define bcm63xxRedBoot
- define Device/$(2)
- $$(Device/bcm63xxRedBoot)
- DEVICE_PROFILE := $(1)
- DEVICE_DTS := $(3)
- endef
- TARGET_DEVICES += $(2)
-endef
-
-### Devices ###
-# Generic 963281TAN
-$(eval $(call bcm63xxCfeMultiFlash,963281TAN,963281TAN-generic,bcm963281TAN,963281TAN,6328))
-# Generic 96328avng
-$(eval $(call bcm63xxCfeMultiFlash,96328avng,96328avng-generic,bcm96328avng,96328avng,6328))
-# Generic 96338GW
-$(eval $(call bcm63xxCfe,96338GW,96338GW-generic,bcm96338GW,6338GW,6338))
-# Generic 96338W
-$(eval $(call bcm63xxCfe,96338W,96338W-generic,bcm96338W,6338W,6338))
-# Generic 96345GW2
-$(eval $(call bcm63xxCfeBc221,96345GW2,96345GW2-generic,bcm96345GW2,96345GW2,6345))
-# Generic 96348GW
-$(eval $(call bcm63xxCfeBc221,96348GW,96348GW-generic,bcm96348GW,96348GW,6348))
-# Generic 96348GW-10
-$(eval $(call bcm63xxCfe,96348GW_10,96348GW-10-generic,bcm96348GW-10,96348GW-10,6348))
-# Generic 96348GW-11
-$(eval $(call bcm63xxCfe,96348GW_11,96348GW-11-generic,bcm96348GW-11,96348GW-11,6348))
-# Generic 96348R
-$(eval $(call bcm63xxCfe,96348R,96348R-generic,bcm96348R,96348R,6348))
-# Generic 96358VW
-$(eval $(call bcm63xxCfe,96358VW,96358VW-generic,bcm96358VW,96358VW,6358))
-# Generic 96358VW2
-$(eval $(call bcm63xxCfe,96358VW2,96358VW2-generic,bcm96358VW2,96358VW2,6358))
-# Generic 96368MVNgr
-$(eval $(call bcm63xxCfe,96368MVNgr,96368MVNgr-generic,bcm96368MVNgr,96368MVNgr,6368))
-# Generic 96368MVWG
-$(eval $(call bcm63xxCfe,96368MVWG,96368MVWG-generic,bcm96368MVWG,96368MVWG,6368))
+ATH5K_PACKAGES := kmod-ath5k wpad-mini
+ATH9K_PACKAGES := kmod-ath9k wpad-mini
+B43_PACKAGES := kmod-b43 wpad-mini
+BRCMWL_PACKAGES := kmod-brcm-wl nas wlc
+RT28_PACKAGES := kmod-rt2800-pci wpad-mini
+RT61_PACKAGES := kmod-rt61-pci wpad-mini
+USB1_PACKAGES := kmod-usb-ohci kmod-ledtrig-usbdev
+USB2_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev
-# ADB P.DG A4001N
-$(eval $(call bcm63xxCfe,A4001N,A4001N,a4001n,96328dg2x2,6328,--pad 4))
-# ADB P.DG A4001N1
-$(eval $(call bcm63xxCfe,A4001N1,A4001N1,a4001n1,963281T_TEF,6328,--pad 8))
-# Alcatel RG100A
-$(eval $(call bcm63xxCfe,RG100A,RG100A,rg100a,96358VW2,6358,--block-size 0x20000 --image-offset 0x20000))
-# Asmax AR 1004g
-$(eval $(call bcm63xxCfe,AR1004G,AR1004G,ar1004g,96348GW-10,6348))
-# Belkin F5D7633
-$(eval $(call bcm63xxCfe,F5D7633,F5D7633,f5d7633,96348GW-10,6348,--block-size 0x20000 --image-offset 0x20000))
-# Broadcom BCM96318REF
-$(eval $(call bcm63xxCfeRamdisk,BCM96318REF,BCM96318REF,bcm96318ref,96318REF,6318))
-# Broadcom BCM96318REF_P300
-$(eval $(call bcm63xxCfeRamdisk,BCM96318REF_P300,BCM96318ref_P300,bcm96318ref_p300,96318REF_P300,6318))
-# Broadcom BCM963268BU_P300
-$(eval $(call bcm63xxCfeRamdisk,BCM963268BU_P300,BCM963268BU_P300,bcm963268bu_p300,963268BU_P300,63268))
-# Broadcom BCM963269BHR
-$(eval $(call bcm63xxCfeRamdisk,BCM963269BHR,BCM963269BHR,bcm963269bhr,963269BHR,63268))
-# BT Home Hub 2.0 A
-$(eval $(call bcm63xxCfe,BTHOMEHUB2A,HomeHub2A,homehub2a,HOMEHUB2A,6358,--image-offset 0x20000 --block-size 0x20000))
-# BT Voyager V2110, V2110_AA, V2110_ROI
-$(eval $(call bcm63xxCfe,BTV2110,BTV2110,v2110,V2110,6348,--layoutver 5))
-# BT Voyager V2500V, V2500V_SIP_CLUB, V2500V_AA
-$(eval $(call bcm63xxCfe,BTV2500V,BTV2500V,v2500v-bb,V2500V_BB,6348,--layoutver 5))
-# Comtrend AR-5381u
-$(eval $(call bcm63xxCfe,AR5381u,AR-5381u,ar-5381u,96328A-1241N,6328,--pad 8))
-# Comtrend AR-5387un
-$(eval $(call bcm63xxCfe,AR5387un,AR-5387un,ar-5387un,96328A-1441N1,6328,--pad 8))
-# Comtrend 536, 5621
-$(eval $(call bcm63xxCfe,CT536_CT5621,CT536_CT5621,ct536plus,96348GW-11,6348))
-# Comtrend CT-5365
-$(eval $(call bcm63xxCfe,CT5365,CT-5365,ct-5365,96348A-122,6348))
-# Comtrend CT-6373
-$(eval $(call bcm63xxCfe,CT6373,CT-6373,ct-6373,CT6373-1,6358))
-# Comtrend VR-3025u
-$(eval $(call bcm63xxCfe,VR3025u,VR-3025u,vr-3025u,96368M-1541N,6368,--pad 16 --image-offset 0x20000 --block-size 0x20000))
-# Comtrend VR-3025un
-$(eval $(call bcm63xxCfe,VR3025un,VR-3025un,vr-3025un,96368M-1341N,6368,--pad 4))
-# Comtrend VR-3026e
-$(eval $(call bcm63xxCfe,VR3026e,VR-3026e,vr-3026e,96368MT-1341N1,6368,--pad 4))
-# Comtrend WAP-5813n
-$(eval $(call bcm63xxCfe,WAP5813n,WAP-5813n,wap-5813n,96369R-1231N,6368,--pad 4))
-# D-Link DSL-2640B, rev B2
-$(eval $(call bcm63xxCfe,DSL2640B-B2,DSL2640B_B,dsl-2640b-b,D-4P-W,6348))
-# D-Link DSL-2640U, rev C1
-$(eval $(call bcm63xxCfe,DSL2640U,DSL2640U,dsl-2640u,96338W2_E7T,6338))
-# D-Link DSL-2650U
-$(eval $(call bcm63xxCfe,DSL2650U,DSL2650U,dsl-2650u,96358VW2,6358))
-# D-Link DSL-2740B/DSL-2741B, rev C2
-$(eval $(call bcm63xxCfe,DSL274XB_C,DSL274XB-C2,dsl-274xb-c,96358GW,6358))
-# D-Link DSL-2740B/DSL-2741B, rev C3
-$(eval $(call bcm63xxCfe,DSL274XB_C,DSL274XB-C3,dsl-274xb-c,AW4139,6358))
-# D-Link DSL-2740B/DSL-2741B, rev F1
-$(eval $(call bcm63xxCfe,DSL274XB_F,DSL274XB-F1-EU,dsl-274xb-f,AW4339U,6328,--signature2 "4.06.01.EUF1" --pad 4))
-$(eval $(call bcm63xxCfe,DSL274XB_F,DSL274XB-F1-AU,dsl-274xb-f,AW4339U,6328,--signature2 "4.06.01.AUF1" --pad 4))
-# D-Link DSL-2750B/DSL-2751, rev D1
-$(eval $(call bcm63xxCfe,DSL275XB_D,DSL275XB-D1,dsl-275xb-d,AW5200B,6318,--pad 4))
-# D-Link DVA-G3810BN/TL
-$(eval $(call bcm63xxCfe,DVAG3810BN,DVAG3810BN,dva-g3810bn_tl,96358VW,6358))
-# Davolink DV-201AMR
-$(eval $(call bcm63xxCfeOld,DV201AMR,DV-201AMR,dv-201amr,DV201AMR,6348))
-# Dynalink RTA770BW (Siemens SE515)
-$(eval $(call bcm63xxCfeRamdisk,RTA770BW,RTA770BW,rta770bw,RTA770BW,6345,--layoutver 5))
-# Dynalink RTA770W
-$(eval $(call bcm63xxCfeRamdisk,RTA770W,RTA770W,rta770w,RTA770W,6345,--layoutver 5))
-# Dynalink RTA1025W (numerous routers)
-$(eval $(call bcm63xxCfe,RTA1025W,RTA1025W_16,rta1025w,RTA1025W_16,6348,--layoutver 5))
-# Dynalink RTA1320 (numerous routers)
-$(eval $(call bcm63xxCfe,RTA1320,RTA1320_16M,rta1320,RTA1320_16M,6338,--layoutver 5))
-# Huawei HG520v
-$(eval $(call bcm63xxCfe,HG520v,HG520v,hg520v,HW6358GW_B,6358,--rsa-signature "EchoLife_HG520v"))
-# Huawei HG553
-$(eval $(call bcm63xxCfe,HG553,HG553,hg553,HW553,6358,--rsa-signature "EchoLife_HG553" --image-offset 0x20000 --block-size 0x20000 --tag-version 7))
-# Huawei HG556a
-$(eval $(call bcm63xxCfe,HG556a_AB,HG556a_A,hg556a-a,HW556,6358,--rsa-signature "EchoLife_HG556a" --image-offset 0x20000 --block-size 0x10000 --tag-version 8))
-$(eval $(call bcm63xxCfe,HG556a_AB,HG556a_B,hg556a-b,HW556,6358,--rsa-signature "EchoLife_HG556a" --image-offset 0x20000 --block-size 0x20000 --tag-version 8))
-$(eval $(call bcm63xxCfe,HG556a_C,HG556a_C,hg556a-c,HW556,6358,--rsa-signature "EchoLife_HG556a" --image-offset 0x20000 --block-size 0x20000 --tag-version 8))
-# Huawei HG622
-$(eval $(call bcm63xxCfe,HG622,HG622,hg622,96368MVWG_hg622,6368,--image-offset 0x20000 --block-size 0x20000 --tag-version 7 --pad 8))
-# Huawei HG655b
-$(eval $(call bcm63xxCfe,HG655b,HG655b,hg655b,HW65x,6368,--image-offset 0x20000 --tag-version 7 --pad 4))
-# Inteno VG50
-$(eval $(call bcm63xxCfeRamdisk,VG50,vg50,vg50,VW6339GU,63268))
-# Inventel Livebox 1
-$(eval $(call bcm63xxRedBoot,Livebox,livebox,livebox-blue-5g))
-# Netgear CVG834G
-$(eval $(call bcm33xxHcsRamdisk,CVG834G,cvg834g,cvg834g,0xa020,0001,0022))
-# Netgear DG834GT/PN
-$(eval $(call bcm63xxCfe,DG834GTPN,DG834GT_PN,dg834gtpn,96348GW-10,6348))
-# Netgear DG834G v4
-$(eval $(call bcm63xxCfeRamdisk,DG834GV4,DG834GTv4,dg834g_v4,96348W3,6348))
-# Netgear DGND3700 v1
-$(eval $(call bcm63xxCfeNetgear,DGND3700v1_3800B,DGND3700v1,dgnd3700v1,96368MVWG,6368,--image-offset 0x20000 --block-size 0x20000,U12L144T01_NETGEAR_NEWLED,1))
-# Netgear DGND3800B
-$(eval $(call bcm63xxCfeNetgear,DGND3700v1_3800B,DGND3800B,dgnd3700v1,96368MVWG,6368,--image-offset 0x20000 --block-size 0x20000,U12L144T11_NETGEAR_NEWLED,1))
-# NuCom R5010UNv2
-$(eval $(call bcm63xxCfe,R5010UNV2,R5010UNv2,r5010unv2,96328ang,6328,--pad 8))
-# Pirelli Alice Gate VoIP 2 Plus Wi-Fi AGPF-S0
-$(eval $(call bcm63xxCfe,AGPF_S0,AGV2+W,agpf-s0,AGPF-S0,6358,--block-size 0x20000 --image-offset 0x20000 --signature2 IMAGE --tag-version 8))
-# Pirelli A226G
-$(eval $(call bcm63xxCfe,A226G,A226G,a226g,DWV-S0,6358,--signature2 IMAGE --tag-version 8))
-# Pirelli A226M/A226M-FWB
-$(eval $(call bcm63xxCfe,A226M,A226M,a226m,DWV-S0,6358,--signature2 IMAGE --tag-version 8))
-$(eval $(call bcm63xxCfe,A226M,A226M-FWB,a226m-fwb,DWV-S0,6358,--block-size 0x20000 --image-offset 0x20000 --signature2 IMAGE --tag-version 8))
-# Sagem F@ST2404
-$(eval $(call bcm63xxCfe,FAST2404,F@ST2404,fast2404,F@ST2404,6348))
-# Sagem F@ST2504n
-$(eval $(call bcm63xxCfe,FAST2504n,F@ST2504n,fast2504n,F@ST2504n,6362))
-# Sagem F@ST2604
-$(eval $(call bcm63xxCfe,FAST2604,F@ST2604,fast2604,F@ST2604,6348))
-# Sagem F@ST2704N V1 / Plusnet F@ST2704N V1
-$(eval $(call bcm63xxCfe,FAST2704N,FAST2704N,fast2704n,F@ST2704N,6318,--pad 4))
-# Sagem F@ST2704V2
-$(eval $(call bcm63xxCfe,FAST2704V2,F@ST2704V2,fast2704v2,F@ST2704V2,6328,--pad 4))
-# SFR Neufbox 4
-$(eval $(call bcm63xxCfe,Neufbox4,NEUFBOX4-SER,nb4-ser-r0,96358VW,6358,--rsa-signature "OpenWRT-$(REVISION)"))
-$(eval $(call bcm63xxCfe,Neufbox4,NEUFBOX4-FXC,nb4-fxc-r1,96358VW,6358,--rsa-signature "OpenWRT-$(REVISION)"))
-# SFR Neufbox 6
-$(eval $(call bcm63xxCfe,Neufbox6,NEUFBOX6,nb6-ser-r0,NB6-SER-r0,6362,--rsa-signature "OpenWRT-$(REVISION)"))
-# T-Com Speedport W 303V Typ B
-$(eval $(call bcm63xxCfeSpw303v,SPW303V,SPW303V,spw303v,96358-502V,6358,--pad 4))
-# T-Com Speedport W 500V
-$(eval $(call bcm63xxCfe,SPW500V,SPW500V,spw500v,96348GW,6348))
-# Tecom GW6000
-$(eval $(call bcm63xxCfe,GW6000,GW6000,gw6000,96348GW,6348))
-# Tecom GW6200
-$(eval $(call bcm63xxCfe,GW6200,GW6200,gw6200,96348GW,6348,--rsa-signature "$(shell printf '\x99')"))
-# Telsey CPVA502+
-$(eval $(call bcm63xxCfeRamdisk,CPVA502PLUS,CVPA502PLUS,cpva502plus,CPVA502+,6348,--signature "Telsey Tlc" --signature2 "99.99.999" --second-image-flag "0"))
-# Telsey CPVA642-type (e.g. CPA-ZNTE60T)
-$(eval $(call bcm63xxCfe,CPVA642,CPA-ZNTE60T,cpva642,CPVA642,6358,--signature "Telsey Tlc" --signature2 "99.99.999" --second-image-flag "0" --pad 4))
-# Telsey MAGIC (Alice W-Gate)
-$(eval $(call bcm63xxCfeRamdisk,MAGIC,MAGIC,magic,MAGIC,6348))
-# TP-Link TD-W8900GB
-$(eval $(call bcm63xxCfe,TDW8900GB,TD-W8900GB,td-w8900gb,96348GW-11,6348,--rsa-signature "$(shell printf 'PRID\x89\x10\x00\x02')" --image-offset 0x20000))
-# USRobotics 9108
-$(eval $(call bcm63xxCfe,USR9108,USR9108,usr9108,96348GW-A,6348))
-# ZyXEL P870HW-51a v2
-$(eval $(call bcm63xxCfeZyxel,P870HW_51a_v2,P870HW-51a_v2,p870hw-51a-v2,96368VVW,6368,--rsa-signature "ZyXEL" --signature "ZyXEL_0001"))
+include bcm63xx.mk
$(eval $(call BuildImage))
diff --git a/target/linux/brcm63xx/image/bcm63xx.mk b/target/linux/brcm63xx/image/bcm63xx.mk
new file mode 100644
index 0000000..1484673
--- /dev/null
+++ b/target/linux/brcm63xx/image/bcm63xx.mk
@@ -0,0 +1,1056 @@
+#
+# BCM33XX/BCM63XX Profiles
+#
+
+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
+DEVICE_VARS += HCS_MAGIC_BYTES HCS_REV_MIN HCS_REV_MAJ
+
+define Device/bcm63xx
+ FILESYSTEMS := squashfs jffs2-64k jffs2-128k
+ KERNEL := kernel-bin | append-dtb | relocate-kernel | lzma | lzma-cfe
+ KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | loader-lzma elf
+ IMAGES := cfe.bin
+ IMAGE/cfe.bin := cfe-bin
+ 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
+ CFE_BOARD_ID :=
+ CFE_CHIP_ID :=
+ CFE_EXTRAS :=
+endef
+DEVICE_VARS += CFE_BOARD_ID CFE_CHIP_ID CFE_EXTRAS
+
+define Device/bcm63xx_netgear
+ $(Device/bcm63xx)
+ IMAGES := factory.chk sysupgrade.bin
+ IMAGE/factory.chk := cfe-bin | netgear-chk
+ IMAGE/sysupgrade.bin := cfe-bin
+ NETGEAR_BOARD_ID :=
+ NETGEAR_REGION :=
+endef
+DEVICE_VARS += NETGEAR_BOARD_ID NETGEAR_REGION
+
+define Device/bcm63xx_redboot
+ FILESYSTEMS := squashfs
+ KERNEL := kernel-bin | append-dtb | gzip
+ KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | loader-lzma elf
+ IMAGES := redboot.bin
+ IMAGE/redboot.bin := redboot-bin
+ REDBOOT_PREFIX := $$(IMAGE_PREFIX)
+endef
+DEVICE_VARS += REDBOOT_PREFIX
+
+### Generic ###
+define Device/963281TAN-generic
+ $(Device/bcm63xx)
+ IMAGES := cfe-4M.bin cfe-8M.bin cfe-16M.bin
+ DEVICE_TITLE := Generic 963281TAN
+ DEVICE_DTS := bcm963281TAN
+ CFE_BOARD_ID := 963281TAN
+ CFE_CHIP_ID := 6328
+endef
+TARGET_DEVICES += 963281TAN-generic
+
+define Device/96328avng-generic
+ $(Device/bcm63xx)
+ IMAGES := cfe-4M.bin cfe-8M.bin cfe-16M.bin
+ DEVICE_TITLE := Generic 96328avng
+ DEVICE_DTS := bcm96328avng
+ CFE_BOARD_ID := 96328avng
+ CFE_CHIP_ID := 6328
+endef
+TARGET_DEVICES += 96328avng-generic
+
+define Device/96338GW-generic
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Generic 96338GW
+ DEVICE_DTS := bcm96338GW
+ CFE_BOARD_ID := 6338GW
+ CFE_CHIP_ID := 6338
+endef
+TARGET_DEVICES += 96338GW-generic
+
+define Device/96338W-generic
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Generic 96338W
+ DEVICE_DTS := bcm96338W
+ CFE_BOARD_ID := 6338W
+ CFE_CHIP_ID := 6338
+endef
+TARGET_DEVICES += 96338W-generic
+
+define Device/96345GW2-generic
+ $(Device/bcm63xx)
+ IMAGES += cfe-bc221.bin
+ DEVICE_TITLE := Generic 96345GW2
+ DEVICE_DTS := bcm96345GW2
+ CFE_BOARD_ID := 96345GW2
+ CFE_CHIP_ID := 6345
+endef
+TARGET_DEVICES += 96345GW2-generic
+
+define Device/96348GW-generic
+ $(Device/bcm63xx)
+ IMAGES += cfe-bc221.bin
+ DEVICE_TITLE := Generic 96348GW
+ DEVICE_DTS := bcm96348GW
+ CFE_BOARD_ID := 96348GW
+ CFE_CHIP_ID := 6348
+endef
+TARGET_DEVICES += 96348GW-generic
+
+define Device/96348GW-10-generic
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Generic 96348GW-10
+ DEVICE_DTS := bcm96348GW-10
+ CFE_BOARD_ID := 96348GW-10
+ CFE_CHIP_ID := 6348
+endef
+TARGET_DEVICES += 96348GW-10-generic
+
+define Device/96348GW-11-generic
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Generic 96348GW-11
+ DEVICE_DTS := bcm96348GW-11
+ CFE_BOARD_ID := 96348GW-11
+ CFE_CHIP_ID := 6348
+endef
+TARGET_DEVICES += 96348GW-11-generic
+
+define Device/96348R-generic
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Generic 96348R
+ DEVICE_DTS := bcm96348R
+ CFE_BOARD_ID := 96348R
+ CFE_CHIP_ID := 6348
+endef
+TARGET_DEVICES += 96348R-generic
+
+define Device/96358VW-generic
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Generic 96358VW
+ DEVICE_DTS := bcm96358VW
+ CFE_BOARD_ID := 96358VW
+ CFE_CHIP_ID := 6358
+endef
+TARGET_DEVICES += 96358VW-generic
+
+define Device/96358VW2-generic
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Generic 96358VW2
+ DEVICE_DTS := bcm96358VW2
+ CFE_BOARD_ID := 96358VW2
+ CFE_CHIP_ID := 6358
+endef
+TARGET_DEVICES += 96358VW2-generic
+
+define Device/96368MVNgr-generic
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Generic 96368MVNgr
+ DEVICE_DTS := bcm96368MVNgr
+ CFE_BOARD_ID := 96368MVNgr
+ CFE_CHIP_ID := 6368
+endef
+TARGET_DEVICES += 96368MVNgr-generic
+
+define Device/96368MVWG-generic
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Generic 96368MVWG
+ DEVICE_DTS := bcm96368MVWG
+ CFE_BOARD_ID := 96368MVWG
+ CFE_CHIP_ID := 6368
+endef
+TARGET_DEVICES += 96368MVWG-generic
+
+### ADB ###
+define Device/A4001N
+ $(Device/bcm63xx)
+ DEVICE_TITLE := ADB P.DG A4001N
+ DEVICE_DTS := a4001n
+ CFE_BOARD_ID := 96328dg2x2
+ CFE_CHIP_ID := 6328
+ CFE_EXTRAS := --pad 4
+ DEVICE_PACKAGES := \
+ $(USB2_PACKAGES) $(B43_PACKAGES)
+endef
+TARGET_DEVICES += A4001N
+
+define Device/A4001N1
+ $(Device/bcm63xx)
+ DEVICE_TITLE := ADB P.DG A4001N1
+ DEVICE_DTS := a4001n1
+ CFE_BOARD_ID := 963281T_TEF
+ CFE_CHIP_ID := 6328
+ CFE_EXTRAS := --pad 8
+ DEVICE_PACKAGES := \
+ $(USB2_PACKAGES) $(B43_PACKAGES)
+endef
+TARGET_DEVICES += A4001N1
+
+### Alcatel ###
+define Device/RG100A
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Alcatel RG100A
+ DEVICE_DTS := rg100a
+ CFE_BOARD_ID := 96358VW2
+ CFE_CHIP_ID := 6358
+ CFE_EXTRAS := --block-size 0x20000 --image-offset 0x20000
+ DEVICE_PACKAGES := \
+ $(USB2_PACKAGES) $(B43_PACKAGES)
+endef
+TARGET_DEVICES += RG100A
+
+### Asmax ###
+define Device/AR1004G
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Asmax AR 1004g
+ DEVICE_DTS := rg100a
+ CFE_BOARD_ID := 96348GW-10
+ CFE_CHIP_ID := 6348
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += AR1004G
+
+### Belkin ###
+define Device/F5D7633
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Belkin F5D7633
+ DEVICE_DTS := f5d7633
+ CFE_BOARD_ID := 96348GW-10
+ CFE_CHIP_ID := 6348
+ CFE_EXTRAS := --block-size 0x20000 --image-offset 0x20000
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += F5D7633
+
+### Broadcom ###
+define Device/BCM96318REF
+ $(Device/bcm63xx)
+ IMAGES :=
+ DEVICE_TITLE := Broadcom BCM96318REF reference board
+ DEVICE_DTS := bcm96318ref
+ CFE_BOARD_ID := 96318REF
+ CFE_CHIP_ID := 6318
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES) $(USB2_PACKAGES) \
+ kmod-bcm63xx-udc
+endef
+TARGET_DEVICES += BCM96318REF
+
+define Device/BCM96318REF_P300
+ $(Device/bcm63xx)
+ IMAGES :=
+ DEVICE_TITLE := Broadcom BCM96318REF_P300 reference board
+ DEVICE_DTS := bcm96318ref_p300
+ CFE_BOARD_ID := 96318REF_P300
+ CFE_CHIP_ID := 6318
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES) $(USB2_PACKAGES) \
+ kmod-bcm63xx-udc
+endef
+TARGET_DEVICES += BCM96318REF_P300
+
+define Device/BCM963268BU_P300
+ $(Device/bcm63xx)
+ IMAGES :=
+ DEVICE_TITLE := Broadcom BCM963268BU_P300 reference board
+ DEVICE_DTS := bcm963268bu_p300
+ CFE_BOARD_ID := 963268BU_P300
+ CFE_CHIP_ID := 63268
+ DEVICE_PACKAGES := \
+ $(USB2_PACKAGES) \
+ kmod-bcm63xx-udc
+endef
+TARGET_DEVICES += BCM963268BU_P300
+
+define Device/BCM963269BHR
+ $(Device/bcm63xx)
+ IMAGES :=
+ DEVICE_TITLE := Broadcom BCM963269BHR reference board
+ DEVICE_DTS := bcm963269bhr
+ CFE_BOARD_ID := 963269BHR
+ CFE_CHIP_ID := 63268
+ DEVICE_PACKAGES := \
+ $(USB2_PACKAGES) \
+ kmod-bcm63xx-udc
+endef
+TARGET_DEVICES += BCM963269BHR
+
+### BT ###
+define Device/HomeHub2A
+ $(Device/bcm63xx)
+ DEVICE_TITLE := BT Home Hub 2.0 A
+ DEVICE_DTS := homehub2a
+ CFE_BOARD_ID := HOMEHUB2A
+ CFE_CHIP_ID := 6358
+ CFE_EXTRAS := --image-offset 0x20000 --block-size 0x20000
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += HomeHub2A
+
+define Device/BTV2110
+ $(Device/bcm63xx)
+ DEVICE_TITLE := BT Voyager V2110
+ DEVICE_DTS := v2110
+ CFE_BOARD_ID := V2110
+ CFE_CHIP_ID := 6348
+ CFE_EXTRAS := --layoutver 5
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += BTV2110
+
+define Device/BTV2500V
+ $(Device/bcm63xx)
+ DEVICE_TITLE := BT Voyager V2500V
+ DEVICE_DTS := v2500v-bb
+ CFE_BOARD_ID := V2500V_BB
+ CFE_CHIP_ID := 6348
+ CFE_EXTRAS := --layoutver 5
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += BTV2500V
+
+### Comtrend ###
+define Device/AR5381u
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Comtrend AR-5381u
+ DEVICE_DTS := ar-5381u
+ CFE_BOARD_ID := 96328A-1241N
+ CFE_CHIP_ID := 6328
+ CFE_EXTRAS := --pad 8
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += AR5381u
+
+define Device/AR5387un
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Comtrend AR-5387un
+ DEVICE_DTS := ar-5387un
+ CFE_BOARD_ID := 96328A-1441N1
+ CFE_CHIP_ID := 6328
+ CFE_EXTRAS := --pad 8
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += AR5387un
+
+define Device/CT-536_CT-5621
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Comtrend CT-536+/CT-5621
+ DEVICE_DTS := ct536plus
+ CFE_BOARD_ID := 96348GW-11
+ CFE_CHIP_ID := 6348
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += CT-536_CT-5621
+
+define Device/CT-5365
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Comtrend CT-5365
+ DEVICE_DTS := ct-5365
+ CFE_BOARD_ID := 96348A-122
+ CFE_CHIP_ID := 6348
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += CT-5365
+
+define Device/CT-6373
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Comtrend CT-6373
+ DEVICE_DTS := ct-6373
+ CFE_BOARD_ID := CT6373-1
+ CFE_CHIP_ID := 6358
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += CT-6373
+
+define Device/VR-3025u
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Comtrend VR-3025u
+ DEVICE_DTS := vr-3025u
+ CFE_BOARD_ID := 96368M-1541N
+ CFE_CHIP_ID := 6368
+ CFE_EXTRAS := --pad 16 --image-offset 0x20000 --block-size 0x20000
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += VR-3025u
+
+define Device/VR-3025un
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Comtrend VR-3025un
+ DEVICE_DTS := vr-3025un
+ CFE_BOARD_ID := 96368M-1341N
+ CFE_CHIP_ID := 6368
+ CFE_EXTRAS := --pad 4
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += VR-3025un
+
+define Device/VR-3026e
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Comtrend VR-3026e
+ DEVICE_DTS := vr-3026e
+ CFE_BOARD_ID := 96368MT-1341N1
+ CFE_CHIP_ID := 6368
+ CFE_EXTRAS := --pad 4
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += VR-3026e
+
+define Device/WAP-5813n
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Comtrend WAP-5813n
+ DEVICE_DTS := wap-5813n
+ CFE_BOARD_ID := 96369R-1231N
+ CFE_CHIP_ID := 6368
+ CFE_EXTRAS := --pad 4
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += WAP-5813n
+
+### D-Link ###
+define Device/DSL2640B-B
+ $(Device/bcm63xx)
+ DEVICE_TITLE := D-Link DSL-2640B rev B2
+ DEVICE_DTS := dsl-2640b-b
+ CFE_BOARD_ID := D-4P-W
+ CFE_CHIP_ID := 6348
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += DSL2640B-B
+
+define Device/DSL2640U
+ $(Device/bcm63xx)
+ DEVICE_TITLE := D-Link DSL-2640U/BRU/C
+ DEVICE_DTS := dsl-2640u
+ CFE_BOARD_ID := 96338W2_E7T
+ CFE_CHIP_ID := 6338
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += DSL2640U
+
+define Device/DSL2650U
+ $(Device/bcm63xx)
+ DEVICE_TITLE := D-Link DSL-2650U
+ DEVICE_DTS := dsl-2650u
+ CFE_BOARD_ID := 96358VW2
+ CFE_CHIP_ID := 6358
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += DSL2650U
+
+define Device/DSL274XB-C2
+ $(Device/bcm63xx)
+ DEVICE_TITLE := D-Link DSL-2740B/DSL-2741B rev C2
+ DEVICE_DTS := dsl-274xb-c
+ CFE_BOARD_ID := 96358GW
+ CFE_CHIP_ID := 6358
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += DSL274XB-C2
+
+define Device/DSL274XB-C3
+ $(Device/bcm63xx)
+ DEVICE_TITLE := D-Link DSL-2740B/DSL-2741B rev C3
+ DEVICE_DTS := dsl-274xb-c
+ CFE_BOARD_ID := AW4139
+ CFE_CHIP_ID := 6358
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += DSL274XB-C3
+
+define Device/DSL274XB-F1-AU
+ $(Device/bcm63xx)
+ DEVICE_TITLE := D-Link DSL-2740B/DSL-2741B rev F1 (AU)
+ DEVICE_DTS := dsl-274xb-f
+ CFE_BOARD_ID := AW4339U
+ CFE_CHIP_ID := 6328
+ CFE_EXTRAS := --signature2 "4.06.01.AUF1" --pad 4
+ DEVICE_PACKAGES := \
+ $(ATH9K_PACKAGES)
+endef
+TARGET_DEVICES += DSL274XB-F1-AU
+
+define Device/DSL274XB-F1-EU
+ $(Device/bcm63xx)
+ DEVICE_TITLE := D-Link DSL-2740B/DSL-2741B rev F1 (EU)
+ DEVICE_DTS := dsl-274xb-f
+ CFE_BOARD_ID := AW4339U
+ CFE_CHIP_ID := 6328
+ CFE_EXTRAS := --signature2 "4.06.01.EUF1" --pad 4
+ DEVICE_PACKAGES := \
+ $(ATH9K_PACKAGES)
+endef
+TARGET_DEVICES += DSL274XB-F1-EU
+
+define Device/DSL275XB-D1
+ $(Device/bcm63xx)
+ DEVICE_TITLE := D-Link DSL-2750B/DSL-2751 rev D1
+ DEVICE_DTS := dsl-275xb-d
+ CFE_BOARD_ID := AW5200B
+ CFE_CHIP_ID := 6318
+ CFE_EXTRAS := --pad 4
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += DSL275XB-D1
+
+define Device/DVAG3810BN
+ $(Device/bcm63xx)
+ DEVICE_TITLE := D-Link DVA-G3810BN/TL
+ DEVICE_DTS := dva-g3810bn_tl
+ CFE_BOARD_ID := 96358VW
+ CFE_CHIP_ID := 6358
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += DVAG3810BN
+
+### Davolink ###
+define Device/DV-201AMR
+ $(Device/bcm63xx)
+ IMAGES := cfe-old.bin
+ DEVICE_TITLE := Davolink DV-201AMR
+ DEVICE_DTS := dv-201amr
+ CFE_BOARD_ID := DV201AMR
+ CFE_CHIP_ID := 6348
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += DV-201AMR
+
+### Dynalink ###
+define Device/RTA770BW
+ $(Device/bcm63xx)
+ IMAGES =
+ DEVICE_TITLE := Dynalink RTA770BW (Siemens SE 515)
+ DEVICE_DTS := rta770bw
+ CFE_BOARD_ID := RTA770BW
+ CFE_CHIP_ID := 6345
+ CFE_EXTRAS := --layoutver 5
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += RTA770BW
+
+define Device/RTA770W
+ $(Device/bcm63xx)
+ IMAGES =
+ DEVICE_TITLE := Dynalink RTA770W
+ DEVICE_DTS := rta770w
+ CFE_BOARD_ID := RTA770W
+ CFE_CHIP_ID := 6345
+ CFE_EXTRAS := --layoutver 5
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += RTA770W
+
+define Device/RTA1025W_16
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Dynalink RTA1025W
+ DEVICE_DTS := rta1025w
+ CFE_BOARD_ID := RTA1025W_16
+ CFE_CHIP_ID := 6348
+ CFE_EXTRAS := --layoutver 5
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += RTA1025W_16
+
+define Device/RTA1320_16M
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Dynalink RTA1320
+ DEVICE_DTS := rta1320
+ CFE_BOARD_ID := RTA1320_16M
+ CFE_CHIP_ID := 6338
+ CFE_EXTRAS := --layoutver 5
+endef
+TARGET_DEVICES += RTA1320_16M
+
+### Huawei ###
+define Device/HG520v
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Huawei EchoLife HG520v
+ DEVICE_DTS := hg520v
+ CFE_BOARD_ID := HW6358GW_B
+ CFE_CHIP_ID := 6358
+ CFE_EXTRAS := --rsa-signature "EchoLife_HG520v"
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += HG520v
+
+define Device/HG553
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Huawei EchoLife HG553
+ DEVICE_DTS := hg553
+ CFE_BOARD_ID := HW553
+ CFE_CHIP_ID := 6358
+ CFE_EXTRAS := --rsa-signature "EchoLife_HG553" --image-offset 0x20000 --block-size 0x20000 --tag-version 7
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += HG553
+
+define Device/HG556a-A
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Huawei EchoLife HG556a rev A
+ DEVICE_DESCRIPTION = Build firmware images for Huawei HG556a version A (Atheros)
+ DEVICE_DTS := hg556a-a
+ CFE_BOARD_ID := HW556
+ CFE_CHIP_ID := 6358
+ CFE_EXTRAS := --rsa-signature "EchoLife_HG556a" --image-offset 0x20000 --block-size 0x10000 --tag-version 8
+ DEVICE_PACKAGES := \
+ $(ATH9K_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += HG556a-A
+
+define Device/HG556a-B
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Huawei EchoLife HG556a rev B
+ DEVICE_DESCRIPTION = Build firmware images for Huawei HG556a version B (Atheros)
+ DEVICE_DTS := hg556a-b
+ CFE_BOARD_ID := HW556
+ CFE_CHIP_ID := 6358
+ CFE_EXTRAS := --rsa-signature "EchoLife_HG556a" --image-offset 0x20000 --block-size 0x20000 --tag-version 8
+ DEVICE_PACKAGES := \
+ $(ATH9K_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += HG556a-B
+
+define Device/HG556a-C
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Huawei EchoLife HG556a rev C
+ DEVICE_DESCRIPTION = Build firmware images for Huawei HG556a version B (Ralink)
+ DEVICE_DTS := hg556a-c
+ CFE_BOARD_ID := HW556
+ CFE_CHIP_ID := 6358
+ CFE_EXTRAS := --rsa-signature "EchoLife_HG556a" --image-offset 0x20000 --block-size 0x20000 --tag-version 8
+ DEVICE_PACKAGES := \
+ $(RT28_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += HG556a-C
+
+define Device/HG622
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Huawei EchoLife HG622
+ DEVICE_DTS := hg622
+ CFE_BOARD_ID := 96368MVWG_hg622
+ CFE_CHIP_ID := 6368
+ CFE_EXTRAS := --image-offset 0x20000 --block-size 0x20000 --tag-version 7 --pad 8
+ DEVICE_PACKAGES := \
+ $(RT28_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += HG622
+
+define Device/HG655b
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Huawei EchoLife HG655b
+ DEVICE_DTS := hg655b
+ CFE_BOARD_ID := HW65x
+ CFE_CHIP_ID := 6368
+ CFE_EXTRAS := --image-offset 0x20000 --tag-version 7 --pad 4
+ DEVICE_PACKAGES := \
+ $(RT28_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += HG655b
+
+### Inteno ###
+define Device/VG50
+ $(Device/bcm63xx)
+ IMAGES :=
+ DEVICE_TITLE := Inteno VG50 Multi-WAN CPE
+ DEVICE_DTS := vg50
+ CFE_BOARD_ID := VW6339GU
+ CFE_CHIP_ID := 63268
+ DEVICE_PACKAGES := \
+ $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += VG50
+
+### Inventel ###
+define Device/livebox
+ $(Device/bcm63xx_redboot)
+ DEVICE_TITLE := Inventel Livebox 1
+ DEVICE_DTS := livebox-blue-5g
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES) $(USB1_PACKAGES)
+endef
+TARGET_DEVICES += livebox
+
+### Netgear ###
+define Device/CVG834G
+ $(Device/bcm33xx)
+ DEVICE_TITLE := Netgear CVG834G
+ DEVICE_DTS := cvg834g
+ HCS_MAGIC_BYTES := 0xa020
+ HCS_REV_MIN := 0001
+ HCS_REV_MAJ := 0022
+endef
+TARGET_DEVICES += CVG834G
+
+define Device/DG834GT_PN
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Netgear DG834GT/PN
+ DEVICE_DTS := dg834gtpn
+ CFE_BOARD_ID := 96348GW-10
+ CFE_CHIP_ID := 6348
+ DEVICE_PACKAGES := \
+ $(ATH5K_PACKAGES)
+endef
+TARGET_DEVICES += DG834GT_PN
+
+define Device/DG834GTv4
+ $(Device/bcm63xx)
+ IMAGES :=
+ DEVICE_TITLE := Netgear DG834G v4
+ DEVICE_DTS := dg834g_v4
+ CFE_BOARD_ID := 96348W3
+ CFE_CHIP_ID := 6348
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += DG834GTv4
+
+define Device/DGND3700v1
+ $(Device/bcm63xx_netgear)
+ IMAGES := factory.chk sysupgrade.bin
+ DEVICE_TITLE := Netgear DGND3700 v1
+ DEVICE_DTS := dgnd3700v1
+ CFE_BOARD_ID := 96368MVWG
+ CFE_CHIP_ID := 6368
+ CFE_EXTRAS := --image-offset 0x20000 --block-size 0x20000
+ NETGEAR_BOARD_ID := U12L144T01_NETGEAR_NEWLED
+ NETGEAR_REGION := 1
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += DGND3700v1
+
+define Device/DGND3800B
+ $(Device/bcm63xx_netgear)
+ IMAGES := factory.chk sysupgrade.bin
+ DEVICE_TITLE := Netgear DGND3800B
+ DEVICE_DTS := dgnd3700v1
+ CFE_BOARD_ID := 96368MVWG
+ CFE_CHIP_ID := 6368
+ CFE_EXTRAS := --image-offset 0x20000 --block-size 0x20000
+ NETGEAR_BOARD_ID := U12L144T11_NETGEAR_NEWLED
+ NETGEAR_REGION := 1
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += DGND3800B
+
+### NuCom ###
+define Device/R5010UNv2
+ $(Device/bcm63xx)
+ DEVICE_TITLE := NuCom R5010UN v2
+ DEVICE_DTS := r5010unv2
+ CFE_BOARD_ID := 96328ang
+ CFE_CHIP_ID := 6328
+ CFE_EXTRAS := --pad 8
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += R5010UNv2
+
+### Pirelli ###
+define Device/A226G
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Pirelli A226G
+ DEVICE_DTS := a226g
+ CFE_BOARD_ID := DWV-S0
+ CFE_CHIP_ID := 6358
+ CFE_EXTRAS := --signature2 IMAGE --tag-version 8
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += A226G
+
+define Device/A226M
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Pirelli A226M
+ DEVICE_DTS := a226m
+ CFE_BOARD_ID := DWV-S0
+ CFE_CHIP_ID := 6358
+ CFE_EXTRAS := --signature2 IMAGE --tag-version 8
+ DEVICE_PACKAGES := \
+ $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += A226M
+
+define Device/A226M-FWB
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Pirelli A226M-FWB
+ DEVICE_DTS := a226m-fwb
+ CFE_BOARD_ID := DWV-S0
+ CFE_CHIP_ID := 6358
+ CFE_EXTRAS := --block-size 0x20000 --image-offset 0x20000 --signature2 IMAGE --tag-version 8
+ DEVICE_PACKAGES := \
+ $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += A226M-FWB
+
+define Device/AGPF-S0
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Pirelli Alice Gate VoIP 2 Plus Wi-Fi AGPF-S0
+ DEVICE_DTS := agpf-s0
+ CFE_BOARD_ID := AGPF-S0
+ CFE_CHIP_ID := 6358
+ CFE_EXTRAS := --block-size 0x20000 --image-offset 0x20000 --signature2 IMAGE --tag-version 8
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += AGPF-S0
+
+### Sagem ###
+define Device/FAST2404
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Sagem F@ST2404
+ DEVICE_DTS := fast2404
+ CFE_BOARD_ID := F@ST2404
+ CFE_CHIP_ID := 6348
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += FAST2404
+
+define Device/FAST2504n
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Sagem F@ST2504n
+ DEVICE_DTS := fast2504n
+ CFE_BOARD_ID := F@ST2504n
+ CFE_CHIP_ID := 6362
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += FAST2504n
+
+define Device/FAST2604
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Sagem F@ST2604
+ DEVICE_DTS := fast2604
+ CFE_BOARD_ID := F@ST2604
+ CFE_CHIP_ID := 6348
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += FAST2604
+
+define Device/FAST2704N
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Sagem F@ST2704N
+ DEVICE_DTS := fast2704n
+ CFE_BOARD_ID := F@ST2704N
+ CFE_CHIP_ID := 6318
+ CFE_EXTRAS := --pad 4
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += FAST2704N
+
+define Device/FAST2704V2
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Sagem F@ST2704V2
+ DEVICE_DTS := fast2704v2
+ CFE_BOARD_ID := F@ST2704V2
+ CFE_CHIP_ID := 6328
+ CFE_EXTRAS := --pad 4
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += FAST2704V2
+
+### SFR ###
+define Device/NEUFBOX4-SER
+ $(Device/bcm63xx)
+ DEVICE_TITLE := SFR Neufbox4 (Sercomm)
+ DEVICE_DTS := nb4-ser-r0
+ CFE_BOARD_ID := 96358VW
+ CFE_CHIP_ID := 6358
+ CFE_EXTRAS := --rsa-signature "LEDE-$(REVISION)"
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += NEUFBOX4-SER
+
+define Device/NEUFBOX4-FXC
+ $(Device/bcm63xx)
+ DEVICE_TITLE := SFR Neufbox4 (Foxconn)
+ DEVICE_DTS := nb4-fxc-r1
+ CFE_BOARD_ID := 96358VW
+ CFE_CHIP_ID := 6358
+ CFE_EXTRAS := --rsa-signature "LEDE-$(REVISION)"
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += NEUFBOX4-FXC
+
+define Device/NEUFBOX6
+ $(Device/bcm63xx)
+ DEVICE_TITLE := SFR Neufbox6
+ DEVICE_DTS := nb6-ser-r0
+ CFE_BOARD_ID := NB6-SER-r0
+ CFE_CHIP_ID := 6362
+ CFE_EXTRAS := --rsa-signature "LEDE-$(REVISION)"
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += NEUFBOX6
+
+### T-Com ###
+define Device/SPW303V
+ $(Device/bcm63xx)
+ IMAGES := factory.bin sysupgrade.bin
+ IMAGE/factory.bin := cfe-spw303v-bin | spw303v-bin | xor-image
+ IMAGE/sysupgrade.bin := cfe-spw303v-bin | spw303v-bin
+ DEVICE_TITLE := T-Com Speedport W 303V
+ DEVICE_DTS := spw303v
+ CFE_BOARD_ID := 96358-502V
+ CFE_CHIP_ID := 6358
+ CFE_EXTRAS := --pad 4
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += SPW303V
+
+define Device/SPW500V
+ $(Device/bcm63xx)
+ DEVICE_TITLE := T-Com Speedport W 500V
+ DEVICE_DTS := spw500v
+ CFE_BOARD_ID := 96348GW
+ CFE_CHIP_ID := 6348
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += SPW500V
+
+### Tecom ###
+define Device/GW6000
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Tecom GW6000
+ DEVICE_DTS := gw6000
+ CFE_BOARD_ID := 96348GW
+ CFE_CHIP_ID := 6348
+ DEVICE_PACKAGES := \
+ $(BRCMWL_PACKAGES) $(USB1_PACKAGES)
+endef
+TARGET_DEVICES += GW6000
+
+define Device/GW6200
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Tecom GW6200
+ DEVICE_DTS := gw6200
+ CFE_BOARD_ID := 96348GW
+ CFE_CHIP_ID := 6348
+ CFE_EXTRAS := --rsa-signature "$(shell printf '\x99')"
+ DEVICE_PACKAGES := \
+ $(BRCMWL_PACKAGES) $(USB1_PACKAGES)
+endef
+TARGET_DEVICES += GW6200
+
+### Telsey ###
+define Device/CVPA502PLUS
+ $(Device/bcm63xx)
+ IMAGES :=
+ DEVICE_TITLE := Telsey CPVA502+
+ DEVICE_DTS := cpva502plus
+ CFE_BOARD_ID := CPVA502+
+ CFE_CHIP_ID := 6348
+ CFE_EXTRAS := --signature "Telsey Tlc" --signature2 "99.99.999" --second-image-flag "0"
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += CVPA502PLUS
+
+define Device/CPA-ZNTE60T
+ $(Device/bcm63xx)
+ DEVICE_TITLE := Telsey CPVA642-type (CPA-ZNTE60T)
+ DEVICE_DTS := cpva642
+ CFE_BOARD_ID := CPVA642
+ CFE_CHIP_ID := 6358
+ CFE_EXTRAS := --signature "Telsey Tlc" --signature2 "99.99.999" --second-image-flag "0" --pad 4
+ DEVICE_PACKAGES := \
+ $(RT63_PACKAGES) $(USB2_PACKAGES)
+endef
+TARGET_DEVICES += CPA-ZNTE60T
+
+define Device/MAGIC
+ $(Device/bcm63xx)
+ IMAGES :=
+ DEVICE_TITLE := Telsey MAGIC (Alice W-Gate)
+ DEVICE_DTS := magic
+ CFE_BOARD_ID := MAGIC
+ CFE_CHIP_ID := 6348
+ DEVICE_PACKAGES := \
+ $(RT63_PACKAGES)
+endef
+TARGET_DEVICES += MAGIC
+
+### TP-Link ###
+define Device/TD-W8900GB
+ $(Device/bcm63xx)
+ DEVICE_TITLE := TP-Link TD-W8900GB
+ DEVICE_DTS := td-w8900gb
+ CFE_BOARD_ID := 96348GW-11
+ CFE_CHIP_ID := 6348
+ CFE_EXTRAS := --rsa-signature "$(shell printf 'PRID\x89\x10\x00\x02')" --image-offset 0x20000
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += TD-W8900GB
+
+### USRobotics ###
+define Device/USR9108
+ $(Device/bcm63xx)
+ DEVICE_TITLE := USRobotics 9108
+ DEVICE_DTS := usr9108
+ CFE_BOARD_ID := 96348GW-A
+ CFE_CHIP_ID := 6348
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES) $(USB1_PACKAGES)
+endef
+TARGET_DEVICES += USR9108
+
+### ZyXEL ###
+define Device/P870HW-51a_v2
+ $(Device/bcm63xx)
+ IMAGES := factory.bin
+ IMAGE/factory.bin := cfe-bin | zyxel-bin
+ DEVICE_TITLE := ZyXEL P870HW-51a v2
+ DEVICE_DTS := p870hw-51a-v2
+ CFE_BOARD_ID := 96368VVW
+ CFE_CHIP_ID := 6368
+ CFE_EXTRAS := --rsa-signature "ZyXEL" --signature "ZyXEL_0001"
+ DEVICE_PACKAGES := \
+ $(B43_PACKAGES)
+endef
+TARGET_DEVICES += P870HW-51a_v2
diff --git a/target/linux/brcm63xx/profiles/01-generic.mk b/target/linux/brcm63xx/profiles/01-generic.mk
deleted file mode 100644
index 2a9eb15..0000000
--- a/target/linux/brcm63xx/profiles/01-generic.mk
+++ /dev/null
@@ -1,123 +0,0 @@
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/963281TAN
- NAME:=Generic 963281TAN
- PACKAGES:=
-endef
-define Profile/963281TAN/Description
- Package set optimized for 963281TAN.
-endef
-$(eval $(call Profile,963281TAN))
-
-define Profile/96328avng
- NAME:=Generic 96328avng
- PACKAGES:=
-endef
-define Profile/96328avng/Description
- Package set optimized for 96328avng.
-endef
-$(eval $(call Profile,96328avng))
-
-define Profile/96338GW
- NAME:=Generic 96338GW
- PACKAGES:=
-endef
-define Profile/96338GW/Description
- Package set optimized for 96338GW.
-endef
-$(eval $(call Profile,96338GW))
-
-define Profile/96338W
- NAME:=Generic 96338W
- PACKAGES:=
-endef
-define Profile/96338W/Description
- Package set optimized for 96338W.
-endef
-$(eval $(call Profile,96338W))
-
-define Profile/96345GW2
- NAME:=Generic 96345GW2
- PACKAGES:=
-endef
-define Profile/96345GW2/Description
- Package set optimized for 96345GW2.
-endef
-$(eval $(call Profile,96345GW2))
-
-define Profile/96348GW
- NAME:=Generic 96348GW
- PACKAGES:=
-endef
-define Profile/96348GW/Description
- Package set optimized for 96348GW.
-endef
-$(eval $(call Profile,96348GW))
-
-define Profile/96348GW_10
- NAME:=Generic 96348GW-10
- PACKAGES:=
-endef
-define Profile/96348GW_10/Description
- Package set optimized for 96348GW-10.
-endef
-$(eval $(call Profile,96348GW_10))
-
-define Profile/96348GW_11
- NAME:=Generic 96348GW-11
- PACKAGES:=
-endef
-define Profile/96348GW_11/Description
- Package set optimized for 96348GW-11.
-endef
-$(eval $(call Profile,96348GW_11))
-
-define Profile/96348R
- NAME:=Generic 96348R
- PACKAGES:=
-endef
-define Profile/96348R/Description
- Package set optimized for 96348R.
-endef
-$(eval $(call Profile,96348R))
-
-define Profile/96358VW
- NAME:=Generic 96358VW
- PACKAGES:=
-endef
-define Profile/96358VW/Description
- Package set optimized for 96358VW.
-endef
-$(eval $(call Profile,96358VW))
-
-define Profile/96358VW2
- NAME:=Generic 96358VW2
- PACKAGES:=
-endef
-define Profile/96358VW2/Description
- Package set optimized for 96358VW2.
-endef
-$(eval $(call Profile,96358VW2))
-
-define Profile/96368MVNgr
- NAME:=Generic 96368MVNgr
- PACKAGES:=
-endef
-define Profile/96368MVNgr/Description
- Package set optimized for 96368MVNgr.
-endef
-$(eval $(call Profile,96368MVNgr))
-
-define Profile/96368MVWG
- NAME:=Generic 96368MVWG
- PACKAGES:=
-endef
-define Profile/96368MVWG/Description
- Package set optimized for 96368MVWG.
-endef
-$(eval $(call Profile,96368MVWG))
diff --git a/target/linux/brcm63xx/profiles/adb.mk b/target/linux/brcm63xx/profiles/adb.mk
deleted file mode 100644
index 13c7524..0000000
--- a/target/linux/brcm63xx/profiles/adb.mk
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/A4001N
- NAME:=ADB P.DG A4001N
- PACKAGES:=kmod-b43 wpad-mini \
- kmod-usb2 kmod-usb-ohci
-endef
-define Profile/A4001N/Description
- Package set optimized for A4001N.
-endef
-$(eval $(call Profile,A4001N))
-
-define Profile/A4001N1
- NAME:=ADB P.DG A4001N1
- PACKAGES:=kmod-b43 wpad-mini \
- kmod-usb2 kmod-usb-ohci
-endef
-define Profile/A4001N1/Description
- Package set optimized for A4001N1.
-endef
-$(eval $(call Profile,A4001N1))
diff --git a/target/linux/brcm63xx/profiles/alcatel.mk b/target/linux/brcm63xx/profiles/alcatel.mk
deleted file mode 100644
index ec93a19..0000000
--- a/target/linux/brcm63xx/profiles/alcatel.mk
+++ /dev/null
@@ -1,16 +0,0 @@
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/RG100A
- NAME:=Alcatel RG100A
- PACKAGES:=kmod-b43 wpad-mini\
- kmod-usb2 kmod-usb-ohci
-endef
-define Profile/RG100A/Description
- Package set optimized for RG100A.
-endef
-$(eval $(call Profile,RG100A))
diff --git a/target/linux/brcm63xx/profiles/asmax.mk b/target/linux/brcm63xx/profiles/asmax.mk
deleted file mode 100644
index c8f0072..0000000
--- a/target/linux/brcm63xx/profiles/asmax.mk
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/AR1004G
- NAME:=Asmax AR 1004G
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/AR1004G/Description
- Package set optimized for AR 1004G.
-endef
-$(eval $(call Profile,AR1004G))
diff --git a/target/linux/brcm63xx/profiles/belkin.mk b/target/linux/brcm63xx/profiles/belkin.mk
deleted file mode 100644
index 4bd50b0..0000000
--- a/target/linux/brcm63xx/profiles/belkin.mk
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/F5D7633
- NAME:=Belkin F5D7633
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/F5D7633/Description
- Package set optimized for F5D7633.
-endef
-$(eval $(call Profile,F5D7633))
diff --git a/target/linux/brcm63xx/profiles/broadcom.mk b/target/linux/brcm63xx/profiles/broadcom.mk
deleted file mode 100644
index 520a676..0000000
--- a/target/linux/brcm63xx/profiles/broadcom.mk
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/BCM96318REF
- NAME:=Broadcom BCM9618REF reference board
- PACKAGES:= kmod-b43 wpad-mini kmod-usb-ohci kmod-usb2 kmod-bcm63xx-udc
-endef
-define Profile/BCM96318REF/Description
- Package set optimized for the Broadcom BCM96318REF reference board.
-endef
-$(eval $(call Profile,BCM96318REF))
-
-define Profile/BCM96318REF_P300
- NAME:=Broadcom BCM96318REF_P300 reference board
- PACKAGES:= kmod-b43 wpad-mini kmod-usb-ohci kmod-usb2 kmod-bcm63xx-udc
-endef
-define Profile/BCM96318REF_P300/Description
- Package set optimized for the Broadcom BCM96318REF_P300 reference board.
-endef
-$(eval $(call Profile,BCM96318REF_P300))
-
-define Profile/BCM963268BU_P300
- NAME:=Broadcom BCM963268BU_P300 reference board
- PACKAGES:= kmod-usb-ohci kmod-usb2 kmod-bcm63xx-udc
-endef
-define Profile/BCM963268BU_P300/Description
- Package set optimized for the Broadcom BCM963268BU_P300 reference board.
-endef
-$(eval $(call Profile,BCM963268BU_P300))
-
-define Profile/BCM963269BHR
- NAME:=Broadcom BCM963269BHR reference board
- PACKAGES:= kmod-usb-ohci kmod-usb2 kmod-bcm63xx-udc
-endef
-define Profile/BCM963269BHR/Description
- Package set optimized for the Broadcom BCM963269BHR reference board.
-endef
-$(eval $(call Profile,BCM963269BHR))
diff --git a/target/linux/brcm63xx/profiles/bt.mk b/target/linux/brcm63xx/profiles/bt.mk
deleted file mode 100644
index f76ac5c..0000000
--- a/target/linux/brcm63xx/profiles/bt.mk
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# Copyright (C) 2015 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/BTHOMEHUB2A
- NAME:=BT Home Hub 2A
- PACKAGES:=kmod-b43 wpad-mini \
- kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev
-endef
-define Profile/BTHOMEHUB2A/Description
- Package set optimized for BTHOMEHUB2A.
-endef
-$(eval $(call Profile,BTHOMEHUB2A))
-
-define Profile/BTV2110
- NAME:=BT Voyager V2110
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/BTV2500V/Description
- Package set optimized for BTV2110.
-endef
-$(eval $(call Profile,BTV2110))
-
-define Profile/BTV2500V
- NAME:=BT Voyager V2500V
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/BTV2500V/Description
- Package set optimized for BTV2500V.
-endef
-$(eval $(call Profile,BTV2500V))
diff --git a/target/linux/brcm63xx/profiles/comtrend.mk b/target/linux/brcm63xx/profiles/comtrend.mk
deleted file mode 100644
index 99fec4a..0000000
--- a/target/linux/brcm63xx/profiles/comtrend.mk
+++ /dev/null
@@ -1,93 +0,0 @@
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/AR5381u
- NAME:=Comtrend AR-5381u
- PACKAGES:=kmod-b43 wpad-mini \
- kmod-usb2 kmod-usb-ohci
-endef
-define Profile/AR5381u/Description
- Package set optimized for AR-5381u.
-endef
-$(eval $(call Profile,AR5381u))
-
-define Profile/AR5387un
- NAME:=Comtrend AR-5387un
- PACKAGES:=kmod-b43 wpad-mini \
- kmod-usb2 kmod-usb-ohci
-endef
-define Profile/AR5387un/Description
- Package set optimized for AR-5387un.
-endef
-$(eval $(call Profile,AR5387un))
-
-define Profile/CT536_CT5621
- NAME:=Comtrend CT-536+/CT-5621
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/CT536_CT5621/Description
- Package set optimized for CT-536+/CT-5621.
-endef
-$(eval $(call Profile,CT536_CT5621))
-
-define Profile/CT5365
- NAME:=Comtrend CT-5365
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/CT5365/Description
- Package set optimized for CT-5365.
-endef
-$(eval $(call Profile,CT5365))
-
-define Profile/CT6373
- NAME:=Comtrend CT-6373
- PACKAGES:=kmod-b43 wpad-mini \
- kmod-usb2 kmod-usb-ohci
-endef
-define Profile/CT6373/Description
- Package set optimized for CT-6373.
-endef
-$(eval $(call Profile,CT6373))
-
-define Profile/VR3025u
- NAME:=Comtrend VR-3025u
- PACKAGES:=kmod-b43 wpad-mini \
- kmod-usb2 kmod-usb-ohci
-endef
-define Profile/VR3025u/Description
- Package set optimized for VR-3025u.
-endef
-$(eval $(call Profile,VR3025u))
-
-define Profile/VR3025un
- NAME:=Comtrend VR-3025un
- PACKAGES:=kmod-b43 wpad-mini \
- kmod-usb2 kmod-usb-ohci
-endef
-define Profile/VR3025un/Description
- Package set optimized for VR-3025un.
-endef
-$(eval $(call Profile,VR3025un))
-
-define Profile/VR3026e
- NAME:=Comtrend VR-3026e
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/VR3026e/Description
- Package set optimized for VR-3026e.
-endef
-$(eval $(call Profile,VR3026e))
-
-define Profile/WAP5813n
- NAME:=Comtrend WAP-5813n
- PACKAGES:=kmod-b43 wpad-mini \
- kmod-usb2 kmod-usb-ohci
-endef
-define Profile/WAP5813n/Description
- Package set optimized for WAP-5813n.
-endef
-$(eval $(call Profile,WAP5813n))
diff --git a/target/linux/brcm63xx/profiles/d-link.mk b/target/linux/brcm63xx/profiles/d-link.mk
deleted file mode 100644
index 1bd5fc8..0000000
--- a/target/linux/brcm63xx/profiles/d-link.mk
+++ /dev/null
@@ -1,71 +0,0 @@
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/DSL2640B_B
- NAME:=D-Link DSL-2640B rev B2
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/DSL2640B_B/Description
- Package set optimized for DSL-2640B rev B2.
-endef
-$(eval $(call Profile,DSL2640B_B))
-
-define Profile/DSL2640U
- NAME:=D-Link DSL-2640U/BRU/C
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/DSL2640U/Description
- Package set optimized for DSL-2640U
-endef
-$(eval $(call Profile,DSL2640U))
-
-define Profile/DSL2650U
- NAME:=D-Link DSL-2650U
- PACKAGES:=kmod-b43 wpad-mini\
- kmod-usb2 kmod-usb-ohci
-endef
-define Profile/DSL2650U/Description
- Package set optimized for DSL-2650U.
-endef
-$(eval $(call Profile,DSL2650U))
-
-define Profile/DSL274XB_C
- NAME:=D-Link DSL-2740B/DSL-2741B rev C2/C3
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/DSL274XB_C/Description
- Package set optimized for DSL-2740B/DSL-2741B rev C2/C3.
-endef
-$(eval $(call Profile,DSL274XB_C))
-
-define Profile/DSL274XB_F
- NAME:=D-Link DSL-2740B/DSL-2741B rev F1
- PACKAGES:=kmod-ath9k wpad-mini
-endef
-define Profile/DSL274XB_F/Description
- Package set optimized for DSL-2740B/DSL-2741B rev F1.
-endef
-$(eval $(call Profile,DSL274XB_F))
-
-define Profile/DSL275XB_D
- NAME:=D-Link DSL-2750B/DSL-2751 rev D1
- PACKAGES:=kmod-b43 wpad-mini kmod-usb-ohci kmod-usb2
-endef
-define Profile/DSL275XB_D/Description
- Package set optimized for DSL-2750B/DSL-2751 rev D1.
-endef
-$(eval $(call Profile,DSL275XB_D))
-
-define Profile/DVAG3810BN
- NAME:=D-Link DVA-G3810BN/TL
- PACKAGES:=kmod-b43 wpad-mini \
- kmod-usb2 kmod-usb-ohci
-endef
-define Profile/DVAG3810BN/Description
- Package set optimized for DVA-G3810BN/TL.
-endef
-$(eval $(call Profile,DVAG3810BN))
diff --git a/target/linux/brcm63xx/profiles/davolink.mk b/target/linux/brcm63xx/profiles/davolink.mk
deleted file mode 100644
index 0097a80..0000000
--- a/target/linux/brcm63xx/profiles/davolink.mk
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/DV201AMR
- NAME:=Davolink DV-201AMR
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/DV201AMR/Description
- Package set optimized for DV-201AMR.
-endef
-$(eval $(call Profile,DV201AMR))
diff --git a/target/linux/brcm63xx/profiles/00-default.mk b/target/linux/brcm63xx/profiles/default.mk
index a25be92..3300929 100644
--- a/target/linux/brcm63xx/profiles/00-default.mk
+++ b/target/linux/brcm63xx/profiles/default.mk
@@ -1,5 +1,5 @@
#
-# Copyright (C) 2014 OpenWrt.org
+# Copyright (C) 2016 LEDE project
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@@ -8,8 +8,11 @@
define Profile/Default
NAME:=Default Profile
PACKAGES:=kmod-b43 wpad-mini
+ PRIORITY:=1
endef
+
define Profile/Default/description
Package set compatible with most boards.
endef
+
$(eval $(call Profile,Default))
diff --git a/target/linux/brcm63xx/profiles/dynalink.mk b/target/linux/brcm63xx/profiles/dynalink.mk
deleted file mode 100644
index f15699f..0000000
--- a/target/linux/brcm63xx/profiles/dynalink.mk
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright (C) 2015 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/RTA770BW
- NAME:=Dynalink RTA770BW (Siemens SE 515)
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/RTA770BW/Description
- Package set optimized for RTA770BW.
-endef
-$(eval $(call Profile,RTA770BW))
-
-define Profile/RTA770W
- NAME:=Dynalink RTA770W
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/RTA770W/Description
- Package set optimized for RTA770W.
-endef
-$(eval $(call Profile,RTA770W))
-
-define Profile/RTA1025W
- NAME:=Dynalink RTA1025W
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/RTA1025W/Description
- Package set optimized for RTA1025W.
-endef
-$(eval $(call Profile,RTA1025W))
-
-define Profile/RTA1320
- NAME:=Dynalink RTA1320
- PACKAGES:=
-endef
-define Profile/RTA1320/Description
- Package set optimized for RTA1320.
-endef
-$(eval $(call Profile,RTA1320))
diff --git a/target/linux/brcm63xx/profiles/huawei.mk b/target/linux/brcm63xx/profiles/huawei.mk
deleted file mode 100644
index 36f4be1..0000000
--- a/target/linux/brcm63xx/profiles/huawei.mk
+++ /dev/null
@@ -1,65 +0,0 @@
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/HG520v
- NAME:=Huawei EchoLife HG520v
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/HG520v/Description
- Package set optimized for Huawei HG520v.
-endef
-$(eval $(call Profile,HG520v))
-
-define Profile/HG553
- NAME:=Huawei EchoLife HG553
- PACKAGES:=kmod-b43 wpad-mini \
- kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev
-endef
-define Profile/HG553/Description
- Package set optimized for Huawei HG553.
-endef
-$(eval $(call Profile,HG553))
-
-define Profile/HG556a_AB
- NAME:=Huawei EchoLife HG556a (version A/B - Atheros)
- PACKAGES:=kmod-ath9k wpad-mini \
- kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev
-endef
-define Profile/HG556a_AB/Description
- Package set optimized for Huawei HG556a version A/B (Atheros).
-endef
-$(eval $(call Profile,HG556a_AB))
-
-define Profile/HG556a_C
- NAME:=Huawei EchoLife HG556a (version C - Ralink)
- PACKAGES:=kmod-rt2800-pci wpad-mini \
- kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev
-endef
-define Profile/HG556a_C/Description
- Package set optimized for Huawei HG556a version C (Ralink).
-endef
-$(eval $(call Profile,HG556a_C))
-
-define Profile/HG622
- NAME:=Huawei HG622
- PACKAGES:=kmod-rt2800-pci wpad-mini \
- kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev
-endef
-define Profile/HG622/Description
- Package set optimized for Huawei HG622.
-endef
-$(eval $(call Profile,HG622))
-
-define Profile/HG655b
- NAME:=Huawei HG655b
- PACKAGES:=kmod-rt2800-pci wpad-mini \
- kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev
-endef
-define Profile/HG655b/Description
- Package set optimized for Huawei HG655b, HG655d.
-endef
-$(eval $(call Profile,HG655b))
diff --git a/target/linux/brcm63xx/profiles/inteno.mk b/target/linux/brcm63xx/profiles/inteno.mk
deleted file mode 100644
index a8043c9..0000000
--- a/target/linux/brcm63xx/profiles/inteno.mk
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/VG50
- NAME:=Inteno VG50 Multi-WAN CPE
- PACKAGES:= kmod-usb-ohci kmod-usb2
-endef
-define Profile/VG50/Description
- Package set optimized for the Inteno VG50 Multi-WAN CPE.
-endef
-$(eval $(call Profile,VG50))
diff --git a/target/linux/brcm63xx/profiles/inventel.mk b/target/linux/brcm63xx/profiles/inventel.mk
deleted file mode 100644
index a6733fc..0000000
--- a/target/linux/brcm63xx/profiles/inventel.mk
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/Livebox
- NAME:=Inventel Livebox 1
- PACKAGES:=kmod-b43 wpad-mini kmod-usb-ohci
-endef
-define Profile/Livebox/Description
- Package set optimized for Inventel Livebox 1.
-endef
-$(eval $(call Profile,Livebox))
diff --git a/target/linux/brcm63xx/profiles/netgear.mk b/target/linux/brcm63xx/profiles/netgear.mk
deleted file mode 100644
index bc345bb..0000000
--- a/target/linux/brcm63xx/profiles/netgear.mk
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/CVG834G
- NAME:=Netgear CVG834G
- PACKAGES:=
-endef
-define Profile/CVG834G/Description
- Package set optimized for CVG834G.
-endef
-$(eval $(call Profile,CVG834G))
-
-define Profile/DG834GTPN
- NAME:=Netgear DG834GT/PN
- PACKAGES:=kmod-ath5k wpad-mini
-endef
-define Profile/DG834GTPN/Description
- Package set optimized for DG834GT/PN.
-endef
-$(eval $(call Profile,DG834GTPN))
-
-define Profile/DG834GV4
- NAME:=Netgear DG834G v4
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/DG834GTPN/Description
- Package set optimized for DG834G v4.
-endef
-$(eval $(call Profile,DG834GV4))
-
-define Profile/DGND3700v1_3800B
- NAME:=Netgear DGND3700 v1 / DGND3800B
- PACKAGES:=kmod-b43 wpad-mini \
- kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev
-endef
-define Profile/DGND3700v1_3800B/Description
- Package set optimized for DGND3700 v1 / DGND3800B.
-endef
-$(eval $(call Profile,DGND3700v1_3800B))
diff --git a/target/linux/brcm63xx/profiles/nucom.mk b/target/linux/brcm63xx/profiles/nucom.mk
deleted file mode 100644
index 2cd8801..0000000
--- a/target/linux/brcm63xx/profiles/nucom.mk
+++ /dev/null
@@ -1,16 +0,0 @@
-#
-# Copyright (C) 2015 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/R5010UNV2
- NAME:=NuCom R5010UN v2
- PACKAGES:=kmod-b43 wpad-mini \
- kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev
-endef
-define Profile/R5010UNV2/Description
- Package set optimized for R5010UNV2.
-endef
-$(eval $(call Profile,R5010UNV2))
diff --git a/target/linux/brcm63xx/profiles/pirelli.mk b/target/linux/brcm63xx/profiles/pirelli.mk
deleted file mode 100644
index 5861719..0000000
--- a/target/linux/brcm63xx/profiles/pirelli.mk
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/A226G
- NAME:=Pirelli A226G
- PACKAGES:=kmod-b43 wpad-mini\
- kmod-usb2 kmod-usb-ohci
-endef
-define Profile/A226G/Description
- Package set optimized for A226G.
-endef
-$(eval $(call Profile,A226G))
-
-define Profile/A226M
- NAME:=Pirelli A226M/A226M-FWB
- PACKAGES:=kmod-usb2 kmod-usb-ohci
-endef
-define Profile/A226M/Description
- Package set optimized for A226M/A226M-FWB.
-endef
-$(eval $(call Profile,A226M))
-
-define Profile/AGPF_S0
- NAME:=Pirelli Alice Gate VoIP 2 Plus Wi-Fi AGPF-S0
- PACKAGES:=kmod-b43 wpad-mini\
- kmod-usb2 kmod-usb-ohci
-endef
-define Profile/AGPF_S0/Description
- Package set optimized for AGPF-S0.
-endef
-$(eval $(call Profile,AGPF_S0))
diff --git a/target/linux/brcm63xx/profiles/sagem.mk b/target/linux/brcm63xx/profiles/sagem.mk
deleted file mode 100644
index 7d9a160..0000000
--- a/target/linux/brcm63xx/profiles/sagem.mk
+++ /dev/null
@@ -1,53 +0,0 @@
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/FAST2404
- NAME:=Sagem F@ST2404
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/FAST2404/Description
- Package set optimized for F@ST2404.
-endef
-$(eval $(call Profile,FAST2404))
-
-define Profile/FAST2504n
- NAME:=Sagem F@ST2504n
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/FAST2504n/Description
- Package set optimized for F@ST2504n.
-endef
-$(eval $(call Profile,FAST2504n))
-
-define Profile/FAST2604
- NAME:=Sagem F@ST2604
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/FAST2604/Description
- Package set optimized for F@ST2604.
-endef
-$(eval $(call Profile,FAST2604))
-
-define Profile/FAST2704N
- NAME:=Sagem F@ST2704N
- PACKAGES:=kmod-b43 wpad-mini \
- kmod-usb2 kmod-usb-ohci
-endef
-define Profile/FAST2704N/Description
- Package set optimized for F@ST2704N.
-endef
-$(eval $(call Profile,FAST2704N))
-
-define Profile/FAST2704V2
- NAME:=Sagem F@ST2704V2
- PACKAGES:=kmod-b43 wpad-mini\
- kmod-usb2 kmod-usb-ohci
-endef
-define Profile/FAST2704V2/Description
- Package set optimized for F@ST2704V2.
-endef
-$(eval $(call Profile,FAST2704V2))
diff --git a/target/linux/brcm63xx/profiles/sfr.mk b/target/linux/brcm63xx/profiles/sfr.mk
deleted file mode 100644
index 8b0dd44..0000000
--- a/target/linux/brcm63xx/profiles/sfr.mk
+++ /dev/null
@@ -1,26 +0,0 @@
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/Neufbox4
- NAME:=SFR Neufbox4
- PACKAGES:=kmod-b43 wpad-mini \
- kmod-usb2 kmod-usb-ohci
-endef
-define Profile/Neufbox4/Description
- Package set optimized for Neufbox4.
-endef
-$(eval $(call Profile,Neufbox4))
-
-define Profile/Neufbox6
- NAME:=SFR Neufbox6
- PACKAGES:=kmod-b43 wpad-mini \
- kmod-usb2 kmod-usb-ohci
-endef
-define Profile/Neufbox6/Description
- Package set optimized for Neufbox6.
-endef
-$(eval $(call Profile,Neufbox6))
diff --git a/target/linux/brcm63xx/profiles/t-com.mk b/target/linux/brcm63xx/profiles/t-com.mk
deleted file mode 100644
index f1eaf0a..0000000
--- a/target/linux/brcm63xx/profiles/t-com.mk
+++ /dev/null
@@ -1,25 +0,0 @@
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/SPW303V
- NAME:=T-Com Speedport W 303V
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/SPW303V/Description
- Package set optimized for SPW303V.
-endef
-$(eval $(call Profile,SPW303V))
-
-
-define Profile/SPW500V
- NAME:=T-Com Speedport W 500V
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/SPW500V/Description
- Package set optimized for SPW500V.
-endef
-$(eval $(call Profile,SPW500V))
diff --git a/target/linux/brcm63xx/profiles/tecom.mk b/target/linux/brcm63xx/profiles/tecom.mk
deleted file mode 100644
index 038ef5e..0000000
--- a/target/linux/brcm63xx/profiles/tecom.mk
+++ /dev/null
@@ -1,28 +0,0 @@
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/GW6000
- NAME:=Tecom GW6000
- PACKAGES:=kmod-brcm-wl kmod-usb-ohci kmod-usb-storage \
- kmod-fs-ext4 kmod-nls-cp437 kmod-nls-iso8859-1 e2fsprogs \
- kmod-ipt-nathelper-extra wlc
-endef
-define Profile/GW6000/Description
- Package set optimized for GW6000.
-endef
-$(eval $(call Profile,GW6000))
-
-define Profile/GW6200
- NAME:=Tecom GW6200
- PACKAGES:=kmod-brcm-wl kmod-usb-ohci kmod-usb-storage \
- kmod-fs-ext4 kmod-nls-cp437 kmod-nls-iso8859-1 e2fsprogs \
- kmod-ipt-nathelper-extra wlc
-endef
-define Profile/GW6200/Description
- Package set optimized for GW6200.
-endef
-$(eval $(call Profile,GW6200))
diff --git a/target/linux/brcm63xx/profiles/telsey.mk b/target/linux/brcm63xx/profiles/telsey.mk
deleted file mode 100644
index 759a273..0000000
--- a/target/linux/brcm63xx/profiles/telsey.mk
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/CPVA502PLUS
- NAME:=Telsey CPVA502+
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/CPVA502PLUS/Description
- Package set optimized for CPVA502+.
-endef
-$(eval $(call Profile,CPVA502PLUS))
-
-define Profile/CPVA642
- NAME:=Telsey CPVA642-type (CPA-ZNTE60T)
- PACKAGES:=kmod-rt61-pci wpad-mini\
- kmod-usb2 kmod-usb-ohci
-endef
-define Profile/CPVA642/Description
- Package set optimized for CPVA642-type.
-endef
-$(eval $(call Profile,CPVA642))
-
-define Profile/MAGIC
- NAME:=Telsey MAGIC (Alice W-Gate)
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/MAGIC/Description
- Package set optimized for Telsey MAGIC (Alice W-Gate)
-endef
-$(eval $(call Profile,CPVA502PLUS))
diff --git a/target/linux/brcm63xx/profiles/tp-link.mk b/target/linux/brcm63xx/profiles/tp-link.mk
deleted file mode 100644
index a7e7f26..0000000
--- a/target/linux/brcm63xx/profiles/tp-link.mk
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/TDW8900GB
- NAME:=TP-Link TD-W8900GB
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/TDW8900GB/Description
- Package set optimized for TD-W8900GB.
-endef
-$(eval $(call Profile,TDW8900GB))
diff --git a/target/linux/brcm63xx/profiles/usrobotics.mk b/target/linux/brcm63xx/profiles/usrobotics.mk
deleted file mode 100644
index 76b5e12..0000000
--- a/target/linux/brcm63xx/profiles/usrobotics.mk
+++ /dev/null
@@ -1,16 +0,0 @@
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/USR9108
- NAME:=USRobotics 9108
- PACKAGES:=kmod-b43 wpad-mini\
- kmod-usb-ohci
-endef
-define Profile/USR9108/Description
- Package set optimized for USR9108.
-endef
-$(eval $(call Profile,USR9108))
diff --git a/target/linux/brcm63xx/profiles/zyxel.mk b/target/linux/brcm63xx/profiles/zyxel.mk
deleted file mode 100644
index 3aca094..0000000
--- a/target/linux/brcm63xx/profiles/zyxel.mk
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/P870HW_51a_v2
- NAME:=ZyXEL P870HW-51a v2
- PACKAGES:=kmod-b43 wpad-mini
-endef
-define Profile/P870HW_51a_v2/Description
- Package set optimized for P870HW-51a v2.
-endef
-$(eval $(call Profile,P870HW_51a_v2))