diff options
author | Florian Fainelli <florian@openwrt.org> | 2010-02-28 11:09:39 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2010-02-28 11:09:39 +0000 |
commit | ada5848ba6e6d7a55c5123895aac0a258cb17996 (patch) | |
tree | 53848d1c9f11903b28af1d525d4911d906dfb0d2 /target/linux/brcm63xx/image/Makefile | |
parent | 29011fe5161cf8bbb2addf876b17e9ebcb862a96 (diff) | |
download | mtk-20170518-ada5848ba6e6d7a55c5123895aac0a258cb17996.zip mtk-20170518-ada5848ba6e6d7a55c5123895aac0a258cb17996.tar.gz mtk-20170518-ada5848ba6e6d7a55c5123895aac0a258cb17996.tar.bz2 |
build images for RG100A (bcm6358-based boards) (#6755)
SVN-Revision: 19894
Diffstat (limited to 'target/linux/brcm63xx/image/Makefile')
-rw-r--r-- | target/linux/brcm63xx/image/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/image/Makefile b/target/linux/brcm63xx/image/Makefile index af15c1b..5d17c2b 100644 --- a/target/linux/brcm63xx/image/Makefile +++ b/target/linux/brcm63xx/image/Makefile @@ -45,6 +45,15 @@ define Image/Build/CFEAGPF -v 8 -m IMAGE -k 0x20000 -n $(4) -t $(5) endef +define Image/Build/RG100A + # Generate the tagged image + $(STAGING_DIR_HOST)/bin/imagetag -i $(KDIR)/vmlinux.lzma.cfe -f $(KDIR)/root.$(1) \ + -o $(BIN_DIR)/openwrt-$(6)-$(1)-$(7)-cfe.bin \ + -b $(2) -c $(3) -e $(LOADADDR) -l $(LOADADDR) \ + -k 0x20000 -n $(4) -t $(5) +endef + + define Image/Build/RedBoot cp $(KDIR)/vmlinux.elf $(BIN_DIR)/openwrt-$(1)-vmlinux.elf gzip -9 -c $(KDIR)/vmlinux > $(KDIR)/vmlinux.bin.gz @@ -171,6 +180,10 @@ define Image/Build # Pirelli A226G $(call Image/Build/CFEAGPF,$(1),DWV-S0,6358,0x10000,bccfe,,bccfe) $(call Image/Build/CFEAGPF,$(1),DWV-S0,6358,0x10000,ag306,DWV_96358,a226g) + + # RG100A,DB120 etc. + $(call Image/Build/RG100A,$(1),96358VW2,6358,0x20000,bc310,rg100a,bc310) + endef $(eval $(call BuildImage)) |