From b865f9b722c09d75a8428c5752b125698cc829c1 Mon Sep 17 00:00:00 2001
From: Florian Fainelli <florian@openwrt.org>
Date: Mon, 16 Mar 2009 12:29:11 +0000
Subject: [PATCH] add the CFE offset command line option to the imagetag
 utility, closes (#4366)

SVN-Revision: 14896
---
 target/linux/brcm63xx/image/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile
index 250cc8236d..b6ef968294 100644
--- a/target/linux/brcm63xx/image/Makefile
+++ b/target/linux/brcm63xx/image/Makefile
@@ -42,7 +42,7 @@ define Image/Build/CFEAGPF
 	$(STAGING_DIR_HOST)/bin/imagetag -i $(KDIR)/vmlinux.lzma.cfe -f $(KDIR)/root.$(1) \
 		-o $(BIN_DIR)/openwrt-$(2)-$(1)-cfe.bin \
 		-b $(2) -c $(3) -e $(LOADADDR) -l $(LOADADDR) \
-		-v 8 -m IMAGE -k 131072
+		-v 8 -m IMAGE -k 131072 -n $(4)
 	$(call prepare_generic_squashfs,$(BIN_DIR)/openwrt-$(2)-$(1)-cfe.bin)
 endef
 
@@ -114,7 +114,7 @@ define Image/Build
 	# Inventel Livebox
 	$(call Image/Build/RedBoot,livebox)
 	# Pirelli Alice Gate VoIP 2 Plus Wi-Fi AGPF-S0
-	$(call Image/Build/CFEAGPF,$(1),AGPF-S0,6358)
+	$(call Image/Build/CFEAGPF,$(1),AGPF-S0,6358,0x20000)
 endef
 
 $(eval $(call BuildImage))
-- 
GitLab