From d5b77a110590f8e3f9003ca6bf74e313418cda8b Mon Sep 17 00:00:00 2001 From: jogo Date: Thu, 2 May 2013 15:28:31 +0000 Subject: bcm63xx: split into two subtargets, generic and SMP Make SMP a subtarget, since it only supports BCM6362 and BCM6368. Signed-off-by: Jonas Gorski git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36527 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/brcm63xx/Makefile | 1 + target/linux/brcm63xx/config-3.8 | 9 -------- target/linux/brcm63xx/generic/config-default | 9 ++++++++ .../brcm63xx/generic/profiles/100-Broadcom.mk | 17 +++++++++++++++ .../brcm63xx/generic/profiles/101-Broadcom-wl.mk | 19 ++++++++++++++++ .../linux/brcm63xx/generic/profiles/102-Atheros.mk | 17 +++++++++++++++ .../linux/brcm63xx/generic/profiles/103-Ralink.mk | 13 +++++++++++ .../linux/brcm63xx/generic/profiles/104-No-WiFi.mk | 17 +++++++++++++++ .../generic/profiles/105-Broadcom-brcmsmac.mk | 17 +++++++++++++++ .../linux/brcm63xx/generic/profiles/200-GW6X00.mk | 20 +++++++++++++++++ .../linux/brcm63xx/generic/profiles/201-HW556.mk | 17 +++++++++++++++ target/linux/brcm63xx/generic/target.mk | 7 ++++++ target/linux/brcm63xx/image/Makefile | 8 +++++++ target/linux/brcm63xx/profiles/100-Broadcom.mk | 17 --------------- target/linux/brcm63xx/profiles/101-Broadcom-wl.mk | 19 ---------------- target/linux/brcm63xx/profiles/102-Atheros.mk | 17 --------------- target/linux/brcm63xx/profiles/103-Ralink.mk | 13 ----------- target/linux/brcm63xx/profiles/104-No-WiFi.mk | 17 --------------- .../brcm63xx/profiles/105-Broadcom-brcmsmac.mk | 17 --------------- target/linux/brcm63xx/profiles/200-GW6X00.mk | 20 ----------------- target/linux/brcm63xx/profiles/201-HW556.mk | 17 --------------- target/linux/brcm63xx/smp/config-default | 25 ++++++++++++++++++++++ target/linux/brcm63xx/smp/profiles/100-Broadcom.mk | 17 +++++++++++++++ .../linux/brcm63xx/smp/profiles/101-Broadcom-wl.mk | 19 ++++++++++++++++ target/linux/brcm63xx/smp/profiles/102-Atheros.mk | 17 +++++++++++++++ target/linux/brcm63xx/smp/profiles/103-Ralink.mk | 13 +++++++++++ target/linux/brcm63xx/smp/profiles/104-No-WiFi.mk | 17 +++++++++++++++ .../brcm63xx/smp/profiles/105-Broadcom-brcmsmac.mk | 17 +++++++++++++++ target/linux/brcm63xx/smp/target.mk | 8 +++++++ 29 files changed, 295 insertions(+), 146 deletions(-) create mode 100644 target/linux/brcm63xx/generic/config-default create mode 100644 target/linux/brcm63xx/generic/profiles/100-Broadcom.mk create mode 100644 target/linux/brcm63xx/generic/profiles/101-Broadcom-wl.mk create mode 100644 target/linux/brcm63xx/generic/profiles/102-Atheros.mk create mode 100644 target/linux/brcm63xx/generic/profiles/103-Ralink.mk create mode 100644 target/linux/brcm63xx/generic/profiles/104-No-WiFi.mk create mode 100644 target/linux/brcm63xx/generic/profiles/105-Broadcom-brcmsmac.mk create mode 100644 target/linux/brcm63xx/generic/profiles/200-GW6X00.mk create mode 100644 target/linux/brcm63xx/generic/profiles/201-HW556.mk create mode 100644 target/linux/brcm63xx/generic/target.mk delete mode 100644 target/linux/brcm63xx/profiles/100-Broadcom.mk delete mode 100644 target/linux/brcm63xx/profiles/101-Broadcom-wl.mk delete mode 100644 target/linux/brcm63xx/profiles/102-Atheros.mk delete mode 100644 target/linux/brcm63xx/profiles/103-Ralink.mk delete mode 100644 target/linux/brcm63xx/profiles/104-No-WiFi.mk delete mode 100644 target/linux/brcm63xx/profiles/105-Broadcom-brcmsmac.mk delete mode 100644 target/linux/brcm63xx/profiles/200-GW6X00.mk delete mode 100644 target/linux/brcm63xx/profiles/201-HW556.mk create mode 100644 target/linux/brcm63xx/smp/config-default create mode 100644 target/linux/brcm63xx/smp/profiles/100-Broadcom.mk create mode 100644 target/linux/brcm63xx/smp/profiles/101-Broadcom-wl.mk create mode 100644 target/linux/brcm63xx/smp/profiles/102-Atheros.mk create mode 100644 target/linux/brcm63xx/smp/profiles/103-Ralink.mk create mode 100644 target/linux/brcm63xx/smp/profiles/104-No-WiFi.mk create mode 100644 target/linux/brcm63xx/smp/profiles/105-Broadcom-brcmsmac.mk create mode 100644 target/linux/brcm63xx/smp/target.mk diff --git a/target/linux/brcm63xx/Makefile b/target/linux/brcm63xx/Makefile index cb489e89c..529cbeb9a 100644 --- a/target/linux/brcm63xx/Makefile +++ b/target/linux/brcm63xx/Makefile @@ -9,6 +9,7 @@ include $(TOPDIR)/rules.mk ARCH:=mips BOARD:=brcm63xx BOARDNAME:=Broadcom BCM63xx +SUBTARGETS:=generic smp FEATURES:=squashfs jffs2 usb atm pci pcmcia LINUX_VERSION:=3.8.11 MAINTAINER:=Florian Fainelli diff --git a/target/linux/brcm63xx/config-3.8 b/target/linux/brcm63xx/config-3.8 index 75c183cc4..736849d70 100644 --- a/target/linux/brcm63xx/config-3.8 +++ b/target/linux/brcm63xx/config-3.8 @@ -14,13 +14,6 @@ CONFIG_B53_PHY_DRIVER=y CONFIG_B53_PHY_FIXUP=y CONFIG_B53_SPI_DRIVER=y CONFIG_BCM63XX=y -CONFIG_BCM63XX_CPU_6328=y -CONFIG_BCM63XX_CPU_6338=y -CONFIG_BCM63XX_CPU_6345=y -CONFIG_BCM63XX_CPU_6348=y -CONFIG_BCM63XX_CPU_6358=y -CONFIG_BCM63XX_CPU_6362=y -CONFIG_BCM63XX_CPU_6368=y CONFIG_BCM63XX_EHCI=y CONFIG_BCM63XX_ENET=y CONFIG_BCM63XX_OHCI=y @@ -38,7 +31,6 @@ CONFIG_CPU_GENERIC_DUMP_TLB=y CONFIG_CPU_HAS_PREFETCH=y CONFIG_CPU_HAS_SYNC=y CONFIG_CPU_MIPS32=y -CONFIG_CPU_MIPS32_R1=y CONFIG_CPU_MIPSR1=y CONFIG_CPU_R4K_CACHE_TLB=y CONFIG_CPU_R4K_FPU=y @@ -102,7 +94,6 @@ CONFIG_IP_PIMSM_V1=y CONFIG_IP_PIMSM_V2=y CONFIG_IRQ_CPU=y CONFIG_IRQ_FORCED_THREADING=y -CONFIG_KEXEC=y CONFIG_LEDS_GPIO=y CONFIG_M25PXX_USE_FAST_READ=y CONFIG_MDIO_BOARDINFO=y diff --git a/target/linux/brcm63xx/generic/config-default b/target/linux/brcm63xx/generic/config-default new file mode 100644 index 000000000..2dc558be2 --- /dev/null +++ b/target/linux/brcm63xx/generic/config-default @@ -0,0 +1,9 @@ +CONFIG_BCM63XX_CPU_6328=y +CONFIG_BCM63XX_CPU_6338=y +CONFIG_BCM63XX_CPU_6345=y +CONFIG_BCM63XX_CPU_6348=y +CONFIG_BCM63XX_CPU_6358=y +CONFIG_BCM63XX_CPU_6362=y +CONFIG_BCM63XX_CPU_6368=y +CONFIG_CPU_MIPS32_R1=y +CONFIG_KEXEC=y diff --git a/target/linux/brcm63xx/generic/profiles/100-Broadcom.mk b/target/linux/brcm63xx/generic/profiles/100-Broadcom.mk new file mode 100644 index 000000000..bc68f1493 --- /dev/null +++ b/target/linux/brcm63xx/generic/profiles/100-Broadcom.mk @@ -0,0 +1,17 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Broadcom + NAME:=Broadcom WiFi (default) + PACKAGES:=kmod-b43 wpad-mini +endef + +define Profile/Broadcom/Description + Package set compatible with hardware using Broadcom WiFi cards +endef +$(eval $(call Profile,Broadcom)) + diff --git a/target/linux/brcm63xx/generic/profiles/101-Broadcom-wl.mk b/target/linux/brcm63xx/generic/profiles/101-Broadcom-wl.mk new file mode 100644 index 000000000..4f2d605eb --- /dev/null +++ b/target/linux/brcm63xx/generic/profiles/101-Broadcom-wl.mk @@ -0,0 +1,19 @@ +# +# Copyright (C) 2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Broadcom-wl + NAME:=Broadcom BCM43xx WiFi (wl, proprietary) + PACKAGES:= kmod-brcm-wl wlc nas +endef + +define Profile/Broadcom-wl/Description + Package set compatible with hardware using Broadcom BCM43xx cards + using the proprietary broadcom wireless "wl" driver. +endef + +$(eval $(call Profile,Broadcom-wl)) + diff --git a/target/linux/brcm63xx/generic/profiles/102-Atheros.mk b/target/linux/brcm63xx/generic/profiles/102-Atheros.mk new file mode 100644 index 000000000..b214185c5 --- /dev/null +++ b/target/linux/brcm63xx/generic/profiles/102-Atheros.mk @@ -0,0 +1,17 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Atheros + NAME:=Atheros WiFi (default) + PACKAGES:=kmod-ath5k kmod-ath9k wpad-mini +endef + +define Profile/Atheros/Description + Package set compatible with hardware using Atheros WiFi cards +endef +$(eval $(call Profile,Atheros)) + diff --git a/target/linux/brcm63xx/generic/profiles/103-Ralink.mk b/target/linux/brcm63xx/generic/profiles/103-Ralink.mk new file mode 100644 index 000000000..412c5a45a --- /dev/null +++ b/target/linux/brcm63xx/generic/profiles/103-Ralink.mk @@ -0,0 +1,13 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Ralink + NAME:=Ralink WiFi + PACKAGES:=kmod-rt61-pci wpad-mini +endef +$(eval $(call Profile,Ralink)) + diff --git a/target/linux/brcm63xx/generic/profiles/104-No-WiFi.mk b/target/linux/brcm63xx/generic/profiles/104-No-WiFi.mk new file mode 100644 index 000000000..9b59b172f --- /dev/null +++ b/target/linux/brcm63xx/generic/profiles/104-No-WiFi.mk @@ -0,0 +1,17 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/NoWiFi + NAME:=No WiFi (BCM6338) + PACKAGES:= +endef + +define Profile/NoWiFi/description + Package set compatible with BCM63xx routers without Wi-Fi (e.g: BCM6338-based). +endef + +$(eval $(call Profile,NoWiFi)) diff --git a/target/linux/brcm63xx/generic/profiles/105-Broadcom-brcmsmac.mk b/target/linux/brcm63xx/generic/profiles/105-Broadcom-brcmsmac.mk new file mode 100644 index 000000000..bb558d139 --- /dev/null +++ b/target/linux/brcm63xx/generic/profiles/105-Broadcom-brcmsmac.mk @@ -0,0 +1,17 @@ +# +# Copyright (C) 2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Broadcom-brcmsmac + NAME:=Broadcom WiFi (brcmsmac) + PACKAGES:=kmod-brcmsmac wpad-mini +endef + +define Profile/Broadcom-brcmsmac/Description + Package set compatible with hardware using Broadcom WiFi cards +endef +$(eval $(call Profile,Broadcom-brcmsmac)) + diff --git a/target/linux/brcm63xx/generic/profiles/200-GW6X00.mk b/target/linux/brcm63xx/generic/profiles/200-GW6X00.mk new file mode 100644 index 000000000..1cb763dac --- /dev/null +++ b/target/linux/brcm63xx/generic/profiles/200-GW6X00.mk @@ -0,0 +1,20 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/GW6X00 + NAME:=Tecom GW6X00 + PACKAGES:=kmod-brcm-wl kmod-usb-core 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/GW6X00/Description + Package set compatible with the Tecom GW6000 and GW6200 based + on the BCM96348GW reference design. +endef +$(eval $(call Profile,GW6X00)) + diff --git a/target/linux/brcm63xx/generic/profiles/201-HW556.mk b/target/linux/brcm63xx/generic/profiles/201-HW556.mk new file mode 100644 index 000000000..68861b3ef --- /dev/null +++ b/target/linux/brcm63xx/generic/profiles/201-HW556.mk @@ -0,0 +1,17 @@ +# +# Copyright (C) 2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/HW556 + NAME:=HW556 WiFi + PACKAGES:=kmod-rt2800-pci kmod-ath9k wpad-mini +endef + +define Profile/HW556/Description + Package set compatible with hardware using Atheros or Ralink WiFi cards (Huawei HG556a) +endef +$(eval $(call Profile,HW556)) + diff --git a/target/linux/brcm63xx/generic/target.mk b/target/linux/brcm63xx/generic/target.mk new file mode 100644 index 000000000..d43a37c2a --- /dev/null +++ b/target/linux/brcm63xx/generic/target.mk @@ -0,0 +1,7 @@ +BOARDNAME:=generic + +define Target/Description + Build firmware images for BCM63XX boards without SMP support. +endef + + diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index 5811cdba6..69621dc5a 100755 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -154,6 +154,7 @@ endef define Image/Build dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync # Various routers + ifeq ($(CONFIG_TARGET_brcm63xx_generic),y) $(call Image/Build/CFE,$(1),96328avng,6328,96328avng-4M-flash-generic,,--pad 2) $(call Image/Build/CFE,$(1),96328avng,6328,96328avng-8M-flash-generic,,--pad 4) $(call Image/Build/CFE,$(1),96328avng,6328,96328avng-16M-flash-generic,,--pad 8) @@ -176,9 +177,11 @@ define Image/Build $(call Image/Build/CFE,$(1),96348A-122,6348,96348A-122-generic) $(call Image/Build/CFE,$(1),96358VW,6358,96358VW-generic) $(call Image/Build/CFE,$(1),96358VW2,6358,96358VW2-generic) + endif $(call Image/Build/CFE,$(1),96368MVNgr,6368,96368MVNgr-generic) $(call Image/Build/CFE,$(1),96368MVWG,6368,96368MVWG-generic) + ifeq ($(CONFIG_TARGET_brcm63xx_generic),y) # BT Voyager V210_BTR $(call Image/Build/CFE,$(1),V210_BB,6348,BTV210_BTR,,--layoutver 5) # BT Voyager V210_ROI, V210_WB @@ -203,8 +206,12 @@ define Image/Build $(call Image/Build/CFEFIXUP,$(1),96348GW,GW6200,6348,GW6200,$(shell printf '\x99')) # Neufbox4 $(call Image/Build/CFE,$(1),96358VW,6358,NEUFBOX4,OpenWRT-$(REVISION)) + endif + # Neufbox6 $(call Image/Build/CFE,$(1),NB6-SER-r0,6362,NEUFBOX6,OpenWRT-$(REVISION)) + + ifeq ($(CONFIG_TARGET_brcm63xx_generic),y) # Comtrend 6373 $(call Image/Build/CFE,$(1),CT6373-1,6358,CT6373) # Comtrend 536, 5621 @@ -272,6 +279,7 @@ define Image/Build # T-Com Speedport W 303V Typ B $(call Image/Build/SPW303V,$(1),96358-502V,6358,SPW303V) + endif endef $(eval $(call BuildImage)) diff --git a/target/linux/brcm63xx/profiles/100-Broadcom.mk b/target/linux/brcm63xx/profiles/100-Broadcom.mk deleted file mode 100644 index bc68f1493..000000000 --- a/target/linux/brcm63xx/profiles/100-Broadcom.mk +++ /dev/null @@ -1,17 +0,0 @@ -# -# Copyright (C) 2006 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/Broadcom - NAME:=Broadcom WiFi (default) - PACKAGES:=kmod-b43 wpad-mini -endef - -define Profile/Broadcom/Description - Package set compatible with hardware using Broadcom WiFi cards -endef -$(eval $(call Profile,Broadcom)) - diff --git a/target/linux/brcm63xx/profiles/101-Broadcom-wl.mk b/target/linux/brcm63xx/profiles/101-Broadcom-wl.mk deleted file mode 100644 index 4f2d605eb..000000000 --- a/target/linux/brcm63xx/profiles/101-Broadcom-wl.mk +++ /dev/null @@ -1,19 +0,0 @@ -# -# Copyright (C) 2010 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/Broadcom-wl - NAME:=Broadcom BCM43xx WiFi (wl, proprietary) - PACKAGES:= kmod-brcm-wl wlc nas -endef - -define Profile/Broadcom-wl/Description - Package set compatible with hardware using Broadcom BCM43xx cards - using the proprietary broadcom wireless "wl" driver. -endef - -$(eval $(call Profile,Broadcom-wl)) - diff --git a/target/linux/brcm63xx/profiles/102-Atheros.mk b/target/linux/brcm63xx/profiles/102-Atheros.mk deleted file mode 100644 index b214185c5..000000000 --- a/target/linux/brcm63xx/profiles/102-Atheros.mk +++ /dev/null @@ -1,17 +0,0 @@ -# -# Copyright (C) 2006 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/Atheros - NAME:=Atheros WiFi (default) - PACKAGES:=kmod-ath5k kmod-ath9k wpad-mini -endef - -define Profile/Atheros/Description - Package set compatible with hardware using Atheros WiFi cards -endef -$(eval $(call Profile,Atheros)) - diff --git a/target/linux/brcm63xx/profiles/103-Ralink.mk b/target/linux/brcm63xx/profiles/103-Ralink.mk deleted file mode 100644 index 412c5a45a..000000000 --- a/target/linux/brcm63xx/profiles/103-Ralink.mk +++ /dev/null @@ -1,13 +0,0 @@ -# -# Copyright (C) 2006 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/Ralink - NAME:=Ralink WiFi - PACKAGES:=kmod-rt61-pci wpad-mini -endef -$(eval $(call Profile,Ralink)) - diff --git a/target/linux/brcm63xx/profiles/104-No-WiFi.mk b/target/linux/brcm63xx/profiles/104-No-WiFi.mk deleted file mode 100644 index 9b59b172f..000000000 --- a/target/linux/brcm63xx/profiles/104-No-WiFi.mk +++ /dev/null @@ -1,17 +0,0 @@ -# -# Copyright (C) 2009 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/NoWiFi - NAME:=No WiFi (BCM6338) - PACKAGES:= -endef - -define Profile/NoWiFi/description - Package set compatible with BCM63xx routers without Wi-Fi (e.g: BCM6338-based). -endef - -$(eval $(call Profile,NoWiFi)) diff --git a/target/linux/brcm63xx/profiles/105-Broadcom-brcmsmac.mk b/target/linux/brcm63xx/profiles/105-Broadcom-brcmsmac.mk deleted file mode 100644 index bb558d139..000000000 --- a/target/linux/brcm63xx/profiles/105-Broadcom-brcmsmac.mk +++ /dev/null @@ -1,17 +0,0 @@ -# -# Copyright (C) 2012 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/Broadcom-brcmsmac - NAME:=Broadcom WiFi (brcmsmac) - PACKAGES:=kmod-brcmsmac wpad-mini -endef - -define Profile/Broadcom-brcmsmac/Description - Package set compatible with hardware using Broadcom WiFi cards -endef -$(eval $(call Profile,Broadcom-brcmsmac)) - diff --git a/target/linux/brcm63xx/profiles/200-GW6X00.mk b/target/linux/brcm63xx/profiles/200-GW6X00.mk deleted file mode 100644 index 1cb763dac..000000000 --- a/target/linux/brcm63xx/profiles/200-GW6X00.mk +++ /dev/null @@ -1,20 +0,0 @@ -# -# Copyright (C) 2009 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/GW6X00 - NAME:=Tecom GW6X00 - PACKAGES:=kmod-brcm-wl kmod-usb-core 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/GW6X00/Description - Package set compatible with the Tecom GW6000 and GW6200 based - on the BCM96348GW reference design. -endef -$(eval $(call Profile,GW6X00)) - diff --git a/target/linux/brcm63xx/profiles/201-HW556.mk b/target/linux/brcm63xx/profiles/201-HW556.mk deleted file mode 100644 index 68861b3ef..000000000 --- a/target/linux/brcm63xx/profiles/201-HW556.mk +++ /dev/null @@ -1,17 +0,0 @@ -# -# Copyright (C) 2012 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/HW556 - NAME:=HW556 WiFi - PACKAGES:=kmod-rt2800-pci kmod-ath9k wpad-mini -endef - -define Profile/HW556/Description - Package set compatible with hardware using Atheros or Ralink WiFi cards (Huawei HG556a) -endef -$(eval $(call Profile,HW556)) - diff --git a/target/linux/brcm63xx/smp/config-default b/target/linux/brcm63xx/smp/config-default new file mode 100644 index 000000000..f68cd6ed2 --- /dev/null +++ b/target/linux/brcm63xx/smp/config-default @@ -0,0 +1,25 @@ +# CONFIG_BCM63XX_CPU_6328 is not set +# CONFIG_BCM63XX_CPU_6338 is not set +# CONFIG_BCM63XX_CPU_6345 is not set +# CONFIG_BCM63XX_CPU_6348 is not set +# CONFIG_BCM63XX_CPU_6358 is not set +CONFIG_BCM63XX_CPU_6362=y +CONFIG_BCM63XX_CPU_6368=y +CONFIG_CPU_BMIPS=y +CONFIG_CPU_BMIPS4350=y +# CONFIG_CPU_MIPS32_R1 is not set +CONFIG_CPU_RMAP=y +# CONFIG_KEXEC is not set +CONFIG_MUTEX_SPIN_ON_OWNER=y +CONFIG_NR_CPUS=2 +CONFIG_RFS_ACCEL=y +CONFIG_RPS=y +CONFIG_SMP=y +CONFIG_STOP_MACHINE=y +CONFIG_SYS_HAS_CPU_BMIPS4350=y +CONFIG_SYS_SUPPORTS_HOTPLUG_CPU=y +CONFIG_SYS_SUPPORTS_SMP=y +CONFIG_TREE_RCU=y +CONFIG_USE_GENERIC_SMP_HELPERS=y +CONFIG_WEAK_ORDERING=y +CONFIG_XPS=y diff --git a/target/linux/brcm63xx/smp/profiles/100-Broadcom.mk b/target/linux/brcm63xx/smp/profiles/100-Broadcom.mk new file mode 100644 index 000000000..bc68f1493 --- /dev/null +++ b/target/linux/brcm63xx/smp/profiles/100-Broadcom.mk @@ -0,0 +1,17 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Broadcom + NAME:=Broadcom WiFi (default) + PACKAGES:=kmod-b43 wpad-mini +endef + +define Profile/Broadcom/Description + Package set compatible with hardware using Broadcom WiFi cards +endef +$(eval $(call Profile,Broadcom)) + diff --git a/target/linux/brcm63xx/smp/profiles/101-Broadcom-wl.mk b/target/linux/brcm63xx/smp/profiles/101-Broadcom-wl.mk new file mode 100644 index 000000000..4f2d605eb --- /dev/null +++ b/target/linux/brcm63xx/smp/profiles/101-Broadcom-wl.mk @@ -0,0 +1,19 @@ +# +# Copyright (C) 2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Broadcom-wl + NAME:=Broadcom BCM43xx WiFi (wl, proprietary) + PACKAGES:= kmod-brcm-wl wlc nas +endef + +define Profile/Broadcom-wl/Description + Package set compatible with hardware using Broadcom BCM43xx cards + using the proprietary broadcom wireless "wl" driver. +endef + +$(eval $(call Profile,Broadcom-wl)) + diff --git a/target/linux/brcm63xx/smp/profiles/102-Atheros.mk b/target/linux/brcm63xx/smp/profiles/102-Atheros.mk new file mode 100644 index 000000000..b214185c5 --- /dev/null +++ b/target/linux/brcm63xx/smp/profiles/102-Atheros.mk @@ -0,0 +1,17 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Atheros + NAME:=Atheros WiFi (default) + PACKAGES:=kmod-ath5k kmod-ath9k wpad-mini +endef + +define Profile/Atheros/Description + Package set compatible with hardware using Atheros WiFi cards +endef +$(eval $(call Profile,Atheros)) + diff --git a/target/linux/brcm63xx/smp/profiles/103-Ralink.mk b/target/linux/brcm63xx/smp/profiles/103-Ralink.mk new file mode 100644 index 000000000..412c5a45a --- /dev/null +++ b/target/linux/brcm63xx/smp/profiles/103-Ralink.mk @@ -0,0 +1,13 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Ralink + NAME:=Ralink WiFi + PACKAGES:=kmod-rt61-pci wpad-mini +endef +$(eval $(call Profile,Ralink)) + diff --git a/target/linux/brcm63xx/smp/profiles/104-No-WiFi.mk b/target/linux/brcm63xx/smp/profiles/104-No-WiFi.mk new file mode 100644 index 000000000..0f5ec37cf --- /dev/null +++ b/target/linux/brcm63xx/smp/profiles/104-No-WiFi.mk @@ -0,0 +1,17 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/NoWiFi + NAME:=No WiFi + PACKAGES:= +endef + +define Profile/NoWiFi/description + Package set compatible with BCM63xx routers without Wi-Fi. +endef + +$(eval $(call Profile,NoWiFi)) diff --git a/target/linux/brcm63xx/smp/profiles/105-Broadcom-brcmsmac.mk b/target/linux/brcm63xx/smp/profiles/105-Broadcom-brcmsmac.mk new file mode 100644 index 000000000..bb558d139 --- /dev/null +++ b/target/linux/brcm63xx/smp/profiles/105-Broadcom-brcmsmac.mk @@ -0,0 +1,17 @@ +# +# Copyright (C) 2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +define Profile/Broadcom-brcmsmac + NAME:=Broadcom WiFi (brcmsmac) + PACKAGES:=kmod-brcmsmac wpad-mini +endef + +define Profile/Broadcom-brcmsmac/Description + Package set compatible with hardware using Broadcom WiFi cards +endef +$(eval $(call Profile,Broadcom-brcmsmac)) + diff --git a/target/linux/brcm63xx/smp/target.mk b/target/linux/brcm63xx/smp/target.mk new file mode 100644 index 000000000..b0ccf9749 --- /dev/null +++ b/target/linux/brcm63xx/smp/target.mk @@ -0,0 +1,8 @@ +BOARDNAME:=smp + +define Target/Description + Build firmware images for BCM63XX boards with SMP support. + Currently only BCM6362 and BCM6368 supported. +endef + + -- cgit v1.2.3