aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar7/image
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-06-06 19:17:01 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-06-06 19:17:01 +0000
commit0499ba96eb782d5f0b2e53d575e3f65d02ec66f7 (patch)
tree9c063cf878020eb68b5ce03b67dd07fb2de58589 /target/linux/ar7/image
parent2210c5274a001f1334accc5be69ef6c247d9e4ec (diff)
downloadupstream-0499ba96eb782d5f0b2e53d575e3f65d02ec66f7.tar.gz
upstream-0499ba96eb782d5f0b2e53d575e3f65d02ec66f7.tar.bz2
upstream-0499ba96eb782d5f0b2e53d575e3f65d02ec66f7.zip
generate NA and non-NA images for Titan platforms
SVN-Revision: 21692
Diffstat (limited to 'target/linux/ar7/image')
-rw-r--r--target/linux/ar7/image/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ar7/image/Makefile b/target/linux/ar7/image/Makefile
index 2bbe84c6b1..2d8ef64271 100644
--- a/target/linux/ar7/image/Makefile
+++ b/target/linux/ar7/image/Makefile
@@ -61,6 +61,12 @@ define Image/Build/CyberTAN
$(STAGING_DIR_HOST)/bin/addpattern -p $(3) -o $(BIN_DIR)/openwrt-$(2)-$(4)-code.bin
endef
+define Image/Build/Titan
+ $(STAGING_DIR_HOST)/bin/mktitanimg -o $(BIN_DIR)/openwrt-$(2)-$(4)-code.bin -i $(KDIR)/loader.bin $(KDIR)/root.$(1) -a 0x10000 0x10000 -h 2 -p 0x4C575943 -s 0x0b010000
+ $(STAGING_DIR_HOST)/bin/mktitanimg -o $(BIN_DIR)/openwrt-$(2)-na-$(4)-code.bin -i $(KDIR)/loader.bin $(KDIR)/root.$(1) -a 0x10000 0x10000 -h 2 -p 0x4D575943 -s 0x0b010000
+endef
+
+
#define Image/Build/sErCoMm
# cat sercomm/adam2.bin "$(BIN_DIR)/$(IMG_PREFIX)-$(1).bin" > "$(KDIR)/dgfw.tmp"
# dd if=sercomm/$(2) of="$(KDIR)/dgfw.tmp" bs=$$$$((0x3e0000 - 80)) seek=1 conv=notrunc
@@ -97,6 +103,7 @@ define Image/Build
# $(call Image/Build/sErCoMm,$(1),dg834,$(1))
# $(call Image/Build/sErCoMm,$(1),jdr454wb,$(1))
$(call Image/Build/EVA,$(1),EVA)
+ $(call Image/Build/Titan,$(1),Titan,Titan,$(1))
endef
$(eval $(call BuildImage))