aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image/rt305x-legacy.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/image/rt305x-legacy.mk')
-rw-r--r--target/linux/ramips/image/rt305x-legacy.mk330
1 files changed, 0 insertions, 330 deletions
diff --git a/target/linux/ramips/image/rt305x-legacy.mk b/target/linux/ramips/image/rt305x-legacy.mk
index e3b26ed7af..173739b073 100644
--- a/target/linux/ramips/image/rt305x-legacy.mk
+++ b/target/linux/ramips/image/rt305x-legacy.mk
@@ -1,52 +1,6 @@
#
# RT305X Profiles
#
-
-# Sign Poray images
-define BuildFirmware/Poray4M/squashfs
- $(call BuildFirmware/Default4M/$(1),$(1),$(2),$(3))
- if [ -e "$(call sysupname,$(1),$(2))" ]; then \
- mkporayfw -B $(3) -F 4M \
- -f $(call sysupname,$(1),$(2)) \
- -o $(call imgname,$(1),$(2))-factory.bin; \
- fi
-endef
-BuildFirmware/Poray4M/initramfs=$(call BuildFirmware/OF/initramfs,$(1),$(2),$(3))
-
-define BuildFirmware/Poray8M/squashfs
- $(call BuildFirmware/Default8M/$(1),$(1),$(2),$(3))
- if [ -e "$(call sysupname,$(1),$(2))" ]; then \
- mkporayfw -B $(3) -F 8M \
- -f $(call sysupname,$(1),$(2)) \
- -o $(call imgname,$(1),$(2))-factory.bin; \
- fi
-endef
-BuildFirmware/Poray8M/initramfs=$(call BuildFirmware/OF/initramfs,$(1),$(2),$(3))
-
-define BuildFirmware/JCG/squashfs
- $(call BuildFirmware/Default4M/$(1),$(1),$(2),$(3))
- -jcgimage -o $(call imgname,$(1),$(2))-factory.bin \
- -u $(call sysupname,$(1),$(2)) -v $(4)
-endef
-
-define BuildFirmware/DIR300B1/squashfs
- $(call BuildFirmware/Default4M/$(1),$(1),$(2),$(3))
- -mkwrgimg -s $(4) -d /dev/mtdblock/2 \
- -i $(call sysupname,$(1),$(2)) \
- -o $(call imgname,$(1),$(2))-factory.bin
-endef
-BuildFirmware/DIR300B1/initramfs=$(call BuildFirmware/OF/initramfs,$(1),$(2),$(3))
-
-# sign dap 1350 based images
-dap1350_mtd_size=7667712
-define BuildFirmware/dap1350/squashfs
- $(call BuildFirmware/CustomFlash/$(1),$(1),$(2),$(3),$(dap1350_mtd_size))
- -mkdapimg -s $(4) \
- -i $(call sysupname,$(1),$(2)) \
- -o $(call imgname,$(1),$(2))-factory.bin
-endef
-BuildFirmware/dap1350/initramfs=$(call BuildFirmware/OF/initramfs,$(1),$(2),$(3))
-
define BuildFirmware/DCS930/squashfs
$(call BuildFirmware/Default4M/squashfs,squashfs,$(2),$(3))
dd if=$(KDIR)/vmlinux-$(2).bin.lzma of=$(KDIR)/image.$(2).combined bs=1048512 count=1 conv=sync
@@ -64,12 +18,6 @@ define BuildFirmware/DCS930/squashfs
endef
BuildFirmware/DCS930/initramfs=$(call BuildFirmware/OF/initramfs,$(1),$(2),$(3))
-BuildFirmware/HLKRM04/squashfs=$(call BuildFirmware/Default4M/squashfs,$(1),$(2),$(3),$(4))
-define BuildFirmware/HLKRM04/initramfs
- $(call BuildFirmware/OF/initramfs,$(1),$(2),$(3),$(4))
- mkhilinkfw -e -i$(call imgname,$(1),$(2))-uImage.bin -o $(call imgname,$(1),$(2))-factory.bin;
-endef
-
# sign Buffalo images
define BuildFirmware/Buffalo
if [ -e "$(call sysupname,$(1),$(2))" ]; then \
@@ -126,19 +74,6 @@ define BuildFirmware/WL-341V3/squashfs
endef
BuildFirmware/WL-341V3/initramfs=$(call BuildFirmware/OF/initramfs,$(1),wl-341v3,WL-341V3)
-define BuildFirmware/WNCE2001/squashfs
- $(call BuildFirmware/Default4M/$(1),$(1),$(2),$(3))
- -mkdapimg -s RT3052-AP-WNCE2001-3 -r WW -v 1.0.0.99 \
- -i $(call sysupname,$(1),$(2)) \
- -o $(call imgname,$(1),$(2))-factory-worldwide.bin
- -mkdapimg -s RT3052-AP-WNCE2001-3 -r NA -v 1.0.0.99 \
- -i $(call sysupname,$(1),$(2)) \
- -o $(call imgname,$(1),$(2))-factory-northamerica.bin
-endef
-BuildFirmware/WNCE2001/initramfs=$(call BuildFirmware/OF/initramfs,$(1),$(2),$(3))
-
-
-
define BuildFirmware/UIMAGE_8M
$(call MkCombineduImage,$(1),$(2),$(call mkcmdline,$(3),$(4),$(5)) $(call mkmtd/$(6),$(mtdlayout_8M)),$(kernel_size_8M),$(rootfs_size_8M),$(7))
endef
@@ -146,36 +81,9 @@ define Image/Build/Profile/ALL02393G
$(call Image/Build/Template/$(image_type)/$(1),UIMAGE_8M,all0239-3g,ALL0239-3G,ttyS1,57600,phys)
endef
-Image/Build/Profile/3G300M=$(call BuildFirmware/CustomFlashFactory/$(1),$(1),3g300m,3G300M,$(ralink_default_fw_size_4M),3G150M_SPI Kernel Image,factory)
-Image/Build/Profile/A5-V11=$(call BuildFirmware/Poray4M/$(1),$(1),a5-v11,A5-V11)
-Image/Build/Profile/ALL0256N=$(call BuildFirmware/DefaultDualSize/$(1),$(1),all0256n,ALL0256N)
-Image/Build/Profile/AWM002EVB=$(call BuildFirmware/DefaultDualSize/$(1),$(1),awm002-evb,AWM002-EVB)
-broadway_mtd_size=7929856
-Image/Build/Profile/BROADWAY=$(call BuildFirmware/CustomFlashFactory/$(1),$(1),broadway,BROADWAY,$(broadway_mtd_size),Broadway Kernel Image,factory)
-Image/Build/Profile/JHR-N805R=$(call BuildFirmware/JCG/$(1),$(1),jhr-n805r,JHR-N805R,29.24)
-Image/Build/Profile/JHR-N825R=$(call BuildFirmware/JCG/$(1),$(1),jhr-n825r,JHR-N825R,23.24)
-Image/Build/Profile/JHR-N926R=$(call BuildFirmware/JCG/$(1),$(1),jhr-n926r,JHR-N926R,25.24)
-Image/Build/Profile/DIR-300-B1=$(call BuildFirmware/DIR300B1/$(1),$(1),dir-300-b1,DIR-300-B1,wrgn23_dlwbr_dir300b)
-Image/Build/Profile/DIR-600-B1=$(call BuildFirmware/DIR300B1/$(1),$(1),dir-600-b1,DIR-600-B1,wrgn23_dlwbr_dir600b)
-Image/Build/Profile/DIR-615-D=$(call BuildFirmware/DIR300B1/$(1),$(1),dir-615-d,DIR-615-D,wrgn23_dlwbr_dir615d)
-Image/Build/Profile/DAP1350=$(call BuildFirmware/dap1350/$(1),$(1),dap-1350,DAP-1350,RT3052-AP-DAP1350-3)
-Image/Build/Profile/DAP1350WW=$(call BuildFirmware/dap1350/$(1),$(1),dap-1350WW,DAP-1350,RT3052-AP-DAP1350WW-3)
Image/Build/Profile/DCS930=$(call BuildFirmware/DCS930/$(1),$(1),dcs-930,DCS-930)
Image/Build/Profile/DCS930LB1=$(call BuildFirmware/DCS930/$(1),$(1),dcs-930l-b1,DCS-930L-B1)
-Image/Build/Profile/HLKRM04=$(call BuildFirmware/HLKRM04/$(1),$(1),hlk-rm04,HLKRM04,HLK-RM04)
-Image/Build/Profile/M3=$(call BuildFirmware/Poray4M/$(1),$(1),m3,M3)
-Image/Build/Profile/M4=$(call BuildFirmware/PorayDualSize/$(1),$(1),m4,M4)
-nw718_mtd_size=3801088
-Image/Build/Profile/NW718=$(call BuildFirmware/CustomFlashFactory/$(1),$(1),nw718m,NW718,$(nw718_mtd_size),ARA1B4NCRNW718;1,factory)
-Image/Build/Profile/PX-4885=$(call BuildFirmware/DefaultDualSize/$(1),$(1),px-4885,PX-4885)
-Image/Build/Profile/W150M=$(call BuildFirmware/CustomFlashFactory/$(1),$(1),w150m,W150M,$(ralink_default_fw_size_4M),W150M Kernel Image,factory)
-Image/Build/Profile/W306R_V20=$(call BuildFirmware/CustomFlashFactory/$(1),$(1),w306r-v20,W306R_V20,$(ralink_default_fw_size_4M),linkn Kernel Image,factory)
Image/Build/Profile/WL-341V3=$(call BuildFirmware/WL-341V3/$(1),$(1))
-Image/Build/Profile/WNCE2001=$(call BuildFirmware/WNCE2001/$(1),$(1),wnce2001,WNCE2001)
-Image/Build/Profile/WR512-3GN=$(call BuildFirmware/DefaultDualSize/$(1),$(1),wr512-3ng,WR512-3GN)
-Image/Build/Profile/WT1520=$(call BuildFirmware/PorayDualSize/$(1),$(1),wt1520,WT1520)
-Image/Build/Profile/X5=$(call BuildFirmware/Poray8M/$(1),$(1),x5,X5)
-Image/Build/Profile/X8=$(call BuildFirmware/Poray8M/$(1),$(1),x8,X8)
Image/Build/Profile/WHRG300N=$(call BuildFirmware/WHRG300N/$(1),$(1))
define LegacyDevice/ALL02393G
@@ -185,144 +93,6 @@ endef
LEGACY_DEVICES += ALL02393G
-define Device/dir-610-a1
- DTS := DIR-610-A1
- BLOCKSIZE := 4k
- IMAGES += factory.bin
- KERNEL := $(KERNEL_DTB)
- IMAGE_SIZE := $(ralink_default_fw_size_4M)
- IMAGE/sysupgrade.bin := \
- append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | append-rootfs | \
- seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \
- pad-rootfs | check-size $$$$(IMAGE_SIZE)
- IMAGE/factory.bin := \
- append-kernel | pad-offset $$$$(BLOCKSIZE) 64 | \
- append-rootfs | pad-rootfs -x 64 | \
- seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \
- seama-seal -m "signature=wrgn59_dlob.hans_dir610" | \
- check-size $$$$(IMAGE_SIZE)
- DEVICE_TITLE := D-Link DIR-610 A1
- DEVICE_PACKAGES := kmod-ledtrig-netdev kmod-ledtrig-timer
-endef
-TARGET_DEVICES += dir-610-a1
-
-
-define Device/3g-6200n
- DTS := 3G-6200N
- IMAGE_SIZE := 3648k
- IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
- edimax-header -s CSYS -m 3G62 -f 0x50000 -S 0x01100000 | pad-rootfs
- DEVICE_TITLE := Edimax 3g-6200n
-endef
-TARGET_DEVICES += 3g-6200n
-
-
-define Device/3g-6200nl
- DTS := 3G-6200NL
- IMAGE_SIZE := 3648k
- IMAGE/sysupgrade.bin := append-kernel | append-rootfs | \
- edimax-header -s CSYS -m 3G62 -f 0x50000 -S 0x01100000 | pad-rootfs
- DEVICE_TITLE := Edimax 3g-6200nl
-endef
-TARGET_DEVICES += 3g-6200nl
-
-
-define LegacyDevice/3G300M
- DEVICE_TITLE := Tenda 3G300M
- DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
-endef
-LEGACY_DEVICES += 3G300M
-
-
-define LegacyDevice/A5-V11
- DEVICE_TITLE := A5-V11
- DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2
-endef
-LEGACY_DEVICES += A5-V11
-
-
-define LegacyDevice/ALL0256N
- DEVICE_TITLE := Allnet ALL0256N
- DEVICE_PACKAGES := rssileds
-endef
-LEGACY_DEVICES += ALL0256N
-
-
-define LegacyDevice/AWM002EVB
- DEVICE_TITLE := AsiaRF AWM002-EVB
- DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 kmod-usb-ledtrig-usbport \
- kmod-i2c-core kmod-i2c-gpio
-endef
-LEGACY_DEVICES += AWM002EVB
-
-
-define LegacyDevice/BROADWAY
- DEVICE_TITLE := Hauppauge Broadway
- DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
-endef
-LEGACY_DEVICES += BROADWAY
-
-
-define LegacyDevice/JHR-N805R
- DEVICE_TITLE := JCG JHR-N805R
-endef
-LEGACY_DEVICES += JHR-N805R
-
-
-define LegacyDevice/JHR-N825R
- DEVICE_TITLE := JCG JHR-N825R
-endef
-LEGACY_DEVICES += JHR-N825R
-
-
-define LegacyDevice/JHR-N926R
- DEVICE_TITLE := JCG JHR-N926R
-endef
-LEGACY_DEVICES += JHR-N926R
-
-
-define LegacyDevice/DIR-300-B1
- DEVICE_TITLE := D-Link DIR-300 B1
-endef
-LEGACY_DEVICES += DIR-300-B1
-
-
-define LegacyDevice/DIR-600-B1
- DEVICE_TITLE := D-Link DIR-600 B1/B2
-endef
-LEGACY_DEVICES += DIR-600-B1
-
-
-define LegacyDevice/DIR-615-D
- DEVICE_TITLE := D-Link DIR-615 D
-endef
-LEGACY_DEVICES += DIR-615-D
-
-
-define Device/dir-615-h1
- DTS := DIR-615-H1
- BLOCKSIZE := 4k
- IMAGES += factory.bin
- IMAGE_SIZE := $(ralink_default_fw_size_4M)
- IMAGE/factory.bin := \
- $$(IMAGE/sysupgrade.bin) | senao-header -r 0x218 -p 0x30 -t 3
- DEVICE_TITLE := D-Link DIR-615 H1
-endef
-TARGET_DEVICES += dir-615-h1
-
-
-define LegacyDevice/DAP1350
- DEVICE_TITLE := D-Link DAP-1350
-endef
-LEGACY_DEVICES += DAP1350
-
-
-define LegacyDevice/DAP1350WW
- DEVICE_TITLE := D-Link DAP-1350HW
-endef
-LEGACY_DEVICES += DAP1350WW
-
-
define LegacyDevice/DCS930
DEVICE_TITLE := D-Link DCS-930
DEVICE_PACKAGES := kmod-video-core kmod-video-uvc kmod-sound-core kmod-usb-audio kmod-usb-core kmod-usb-dwc2
@@ -336,112 +106,12 @@ define LegacyDevice/DCS930LB1
endef
LEGACY_DEVICES += DCS930LB1
-
-define Device/fonera20n
- DTS := FONERA20N
- IMAGES += factory.bin
- IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | \
- edimax-header -s RSDK -m NL1T -f 0x50000 -S 0xc0000
- DEVICE_TITLE := Fonera 2.0N
- DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb-ledtrig-usbport
-endef
-TARGET_DEVICES += fonera20n
-
-
-define LegacyDevice/HLKRM04
- DEVICE_TITLE := HILINK HLK-RM04
-endef
-LEGACY_DEVICES += HLKRM04
-
-
-define LegacyDevice/M3
- DEVICE_TITLE := Poray M3
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
-endef
-LEGACY_DEVICES += M3
-
-
-define LegacyDevice/M4
- DEVICE_TITLE := Poray M4
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
-endef
-LEGACY_DEVICES += M4
-
-
-define Device/mzk-w300nh2
- DTS := MZK-W300NH2
- IMAGE_SIZE := 3648k
- IMAGES += factory.bin
- IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | \
- edimax-header -s CSYS -m RN52 -f 0x50000 -S 0xc0000
- DEVICE_TITLE := Planex MZK-W300NH2
-endef
-TARGET_DEVICES += mzk-w300nh2
-
-
-define LegacyDevice/NW718
- DEVICE_TITLE := Netcore NW718
-endef
-LEGACY_DEVICES += NW718
-
-
-define LegacyDevice/PX-4885
- DEVICE_TITLE := 7Links PX-4885
- DEVICE_PACKAGES := kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport kmod-leds-gpio
-endef
-LEGACY_DEVICES += PX-4885
-
-
-define LegacyDevice/W150M
- DEVICE_TITLE := Tenda W150M
-endef
-LEGACY_DEVICES += W150M
-
-
-define LegacyDevice/W306R_V20
- DEVICE_TITLE := Tenda W306R V2.0
-endef
-LEGACY_DEVICES += W306R_V20
-
-
define LegacyDevice/WL-341V3
DEVICE_TITLE := Sitecom WL-341 v3
endef
LEGACY_DEVICES += WL-341V3
-define LegacyDevice/WNCE2001
- DEVICE_TITLE := Netgear WNCE2001
-endef
-LEGACY_DEVICES += WNCE2001
-
-
-define LegacyDevice/WR512-3GN
- DEVICE_TITLE := WR512-3GN-like router
-endef
-LEGACY_DEVICES += WR512-3GN
-
-
-define LegacyDevice/WT1520
- DEVICE_TITLE := Nexx WT1520
-endef
-LEGACY_DEVICES += WT1520
-
-
-define LegacyDevice/X5
- DEVICE_TITLE := Poray X5/X6
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
-endef
-LEGACY_DEVICES += X5
-
-
-define LegacyDevice/X8
- DEVICE_TITLE := Poray X8
- DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-ledtrig-netdev kmod-ledtrig-timer
-endef
-LEGACY_DEVICES += X8
-
-
define LegacyDevice/WHRG300N
DEVICE_TITLE := Buffalo WHR-G300N
endef