diff options
author | Jonas Gorski <jogo@openwrt.org> | 2014-07-27 17:44:53 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2014-07-27 17:44:53 +0000 |
commit | dec33c39bfc8ddd67b91c4222c1ac6bbb0e418f0 (patch) | |
tree | 48f10530952e4fb6a1726099c12bd40013f76ae1 /target/linux/brcm63xx/image | |
parent | 8f633d96c3e2ef2611c6d1d3fca78b2b25867488 (diff) | |
download | upstream-dec33c39bfc8ddd67b91c4222c1ac6bbb0e418f0.tar.gz upstream-dec33c39bfc8ddd67b91c4222c1ac6bbb0e418f0.tar.bz2 upstream-dec33c39bfc8ddd67b91c4222c1ac6bbb0e418f0.zip |
brcm63xx: Add support for ZyXEL P870HW-51a v2
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41850 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/image')
-rwxr-xr-x | target/linux/brcm63xx/image/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index f36d182d22..680cf975db 100755 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -111,6 +111,20 @@ define Image/Build/SPW303V rm -f $(BIN_DIR)/openwrt-$(4)-$(1)-cfe.bin.tmp endef +define Image/Build/ZyXEL + # Generate the tagged image + $(STAGING_DIR_HOST)/bin/imagetag -i $(KDIR)/vmlinux.lzma.cfe -f $(KDIR)/root.$(1) \ + --output $(BIN_DIR)/openwrt-$(5)-$(1).tmp \ + --boardid $(2) --chipid $(4) --entry $(KERNEL_ENTRY) \ + --load-addr $(LOADADDR) --rsa-signature "$(6)" \ + --info1 "+$(call Image/LimitName16,$(3))" --info2 $(1) \ + $(7) $(8) $(9) $(10) + # Fix up header + $(STAGING_DIR_HOST)/bin/zyxbcm -i $(BIN_DIR)/openwrt-$(5)-$(1).tmp \ + -o $(BIN_DIR)/openwrt-$(5)-$(1)-cfe.bin + rm -f $(BIN_DIR)/openwrt-$(5)-$(1).tmp +endef + define Image/Build/CFEOLD $(TOPDIR)/scripts/brcmImage.pl -t -p \ -b $(2) -c $(3) \ @@ -215,6 +229,8 @@ 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)) + # Zyxel P870HW-51a v2 + $(call Image/Build/ZyXEL,$(1),96368VVW,P870HW-51a_v2,6368,P870HW-51a_v2,ZyXEL,--signature "ZyXEL_0001") # Neufbox6 $(call Image/Build/CFE,$(1),NB6-SER-r0,6362,NEUFBOX6,OpenWRT-$(REVISION)) |