From b0c25645e53f791c0b72d42f0f0ac22f3e1ed60a Mon Sep 17 00:00:00 2001 From: jogo Date: Fri, 4 Jan 2013 14:47:57 +0000 Subject: bcm63xx: Add Huawei HG556a support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add Huawei EchoLife HG556a support. Signed-off-by: Álvaro Fernández Rojas [jogo@openwrt.org: added some code style fixes] Signed-off-by: Jonas Gorski git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35011 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/brcm63xx/image/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'target/linux/brcm63xx/image') diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index 99dc8c5be..5811cdba6 100755 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -60,6 +60,15 @@ define Image/Build/CFEHW553 --block-size 0x20000 --image-offset $(4) endef +define Image/Build/CFEHW556 + # Generate the tagged image + $(STAGING_DIR_HOST)/bin/imagetag -i $(KDIR)/vmlinux.lzma.cfe -f $(KDIR)/root.$(1) \ + --output $(BIN_DIR)/openwrt-$(2)-$(1)-cfe.bin \ + --boardid $(2) --chipid $(3) --entry $(LOADADDR) \ + --load-addr $(LOADADDR) --tag-version 8 --rsa-signature "$(5)" \ + --image-offset $(4) --info1 "$(6)" --block-size 0x20000 +endef + define Image/Build/CFEAGPF # Generate the tagged image $(STAGING_DIR_HOST)/bin/imagetag -i $(KDIR)/vmlinux.lzma.cfe -f $(KDIR)/root.$(1) \ @@ -258,6 +267,9 @@ define Image/Build #HW553 $(call Image/Build/CFEHW553,$(1),HW553,6358,0x20000,HW553) + #HW556 + $(call Image/Build/CFEHW556,$(1),HW556,6358,0x20000,EchoLife_HG556a,OpenWRT-$(REVISION)) + # T-Com Speedport W 303V Typ B $(call Image/Build/SPW303V,$(1),96358-502V,6358,SPW303V) endef -- cgit v1.2.3 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/image/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'target/linux/brcm63xx/image') 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)) -- cgit v1.2.3