[rb532] drop support for 2.6.30
[openwrt.git] / target / linux / brcm63xx / image / Makefile
index b008ea2..5d17c2b 100644 (file)
@@ -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
@@ -94,7 +103,6 @@ define Image/Prepare
 endef
 
 define Image/Build
-       $(STAGING_DIR_HOST)/bin/trx -o $(BIN_DIR)/openwrt-$(BOARD)-$(1).trx -f $(KDIR)/loader.gz -f $(KDIR)/vmlinux.lzma $(call trxalign/$(1)) -f $(KDIR)/root.$(1)
        dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/openwrt-$(BOARD)-root.$(1) bs=128k conv=sync
        # Various routers
        $(call Image/Build/CFE,$(1),96345GW2,6345,bccfe,,bccfe,)
@@ -169,6 +177,13 @@ define Image/Build
        # Pirelli Alice Gate VoIP 2 Plus Wi-Fi AGPF-S0
        $(call Image/Build/CFEAGPF,$(1),AGPF-S0,6358,0x20000,bccfe,,bccfe)
        $(call Image/Build/CFEAGPF,$(1),AGPF-S0,6358,0x20000,ag306,,agv2+w)
+       # 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))
This page took 0.023553 seconds and 4 git commands to generate.