diff options
author | Zoltan HERPAI <wigyori@uid0.hu> | 2016-06-24 11:58:45 +0200 |
---|---|---|
committer | Zoltan HERPAI <wigyori@uid0.hu> | 2016-06-24 11:58:45 +0200 |
commit | 15458e85bc42672eb06dee5fb45597298b4a7162 (patch) | |
tree | 3fe73e37f9e1d2d3bd57a347332c5bfa0f3b623a /target/linux/ramips | |
parent | 51a5c322954a7338df995b32c03d085c25a5de56 (diff) | |
download | master-187ad058-15458e85bc42672eb06dee5fb45597298b4a7162.tar.gz master-187ad058-15458e85bc42672eb06dee5fb45597298b4a7162.tar.bz2 master-187ad058-15458e85bc42672eb06dee5fb45597298b4a7162.zip |
ramips: convert a bunch of targets to new image building code
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
Diffstat (limited to 'target/linux/ramips')
34 files changed, 448 insertions, 723 deletions
diff --git a/target/linux/ramips/dts/CS-QR10.dts b/target/linux/ramips/dts/CS-QR10.dts index 503e095151..a55962f199 100644 --- a/target/linux/ramips/dts/CS-QR10.dts +++ b/target/linux/ramips/dts/CS-QR10.dts @@ -11,10 +11,10 @@ model = "mt7620-wm8960"; i2s-controller = <&i2s>; audio-routing = - "Ext Spk", "SPK_LP", - "Ext Spk", "SPK_LN", - "Ext Spk", "SPK_RP", - "Ext Spk", "SPK_RN"; + "Ext Spk", "SPK_LP", + "Ext Spk", "SPK_LN", + "Ext Spk", "SPK_RP", + "Ext Spk", "SPK_RN"; }; gpio-leds { diff --git a/target/linux/ramips/image/mt7620.mk b/target/linux/ramips/image/mt7620.mk index 09c0ec27a0..b35b2e23c6 100644 --- a/target/linux/ramips/image/mt7620.mk +++ b/target/linux/ramips/image/mt7620.mk @@ -2,180 +2,401 @@ # MT7620A Profiles # -# sign trednet / UMedia images -define BuildFirmware/UMedia/squashfs - $(call BuildFirmware/Default8M/$(1),$(1),$(2),$(3)) - if [ -e "$(call sysupname,$(1),$(2))" ]; then \ - fix-u-media-header -T 0x46 -B $(4) \ - -i $(call sysupname,$(1),$(2)) \ - -o $(call imgname,$(1),$(2))-factory.bin; \ - fi -endef -BuildFirmware/UMedia/initramfs=$(call BuildFirmware/OF/initramfs,$(1),$(2),$(3)) - -# $(1): (ignored) -# $(2): lowercase board name -# $(3): uppercase board name (must match DTS filename w/o extension) -# $(4): erase block size -# $(5): hardware id for mkdniimg -# $(6): maximum image size -define BuildFirmware/Netgear/squashfs - $(call PatchKernelLzmaDtb,$(2),$(3)) - # Pad kernel to eraseblock boundary, minus 2 uImage headers (=128 bytes): - # bs = (eraseblock * (1 + (128 + kernelsize)/eraseblock)) - 128 - dd if=$(KDIR)/vmlinux-$(2).bin.lzma \ - of=$(KDIR)/vmlinux-$(2).bin.lzma.tmp \ - bs=`expr \( $(4) \* \( 1 + \( 128 + \`wc -c < $(KDIR)/vmlinux-$(2).bin.lzma\` \) / $(4) \) \) - 128` \ - count=1 conv=sync - - $(call MkImage,lzma,$(KDIR)/vmlinux-$(2).bin.lzma.tmp,$(KDIR)/vmlinux-$(2).uImage) - cat ex2700-fakeroot.uImage >> $(KDIR)/vmlinux-$(2).uImage - $(call MkImageSysupgrade/squashfs,squashfs,$(2),$(6)) - - $(STAGING_DIR_HOST)/bin/mkdniimg \ - -B $(3) -H $(5) -v OpenWrt \ - -i $(call imgname,squashfs,$(2))-sysupgrade.bin \ - -o $(call imgname,squashfs,$(2))-factory.bin -endef - -define MkImageTpl/squashfs - $(eval output_name=$(IMG_PREFIX)-$(2)-$(1)-$(if $(4),$(4),sysupgrade).bin) - -$(STAGING_DIR_HOST)/bin/mktplinkfw2 -V "ver. 2.0" -B "$(2)" -j \ - -o $(KDIR)/$(output_name) \ - -k $(KDIR)/vmlinux-$(1)$(4).bin.lzma \ - -r $(KDIR)/root.$(1) && \ - $(CP) $(KDIR)/$(output_name) $(BIN_DIR)/$(output_name) -endef -define MkImageTpl/initramfs - $(eval output_name=$(IMG_PREFIX)-$(2)-$(1).bin) - -$(STAGING_DIR_HOST)/bin/mktplinkfw2 -V "ver. 2.0" -B "$(2)" -c \ - -o $(KDIR)/$(output_name) \ - -k $(KDIR)/vmlinux-$(1).bin.lzma && \ - $(CP) $(KDIR)/$(output_name) $(BIN_DIR)/$(output_name) -endef -define BuildFirmware/OF/tplink - $(call PatchKernelLzmaDtb,$(1),$(2),$(4)) - $(call MkImageTpl/$(1),$(1),$(2),$(4),$(5)) -endef -define BuildFirmware/OF/tplink/initramfs - $(call PatchKernelLzmaDtb,$(2),$(3),-initramfs) - $(call MkImageTpl/$(1),$(1),$(2),$(4),$(5)) -endef -BuildFirmware/Tplink/squashfs=$(call BuildFirmware/OF/tplink,$(1),$(2),$(3),$(4)) -BuildFirmware/Tplink/initramfs=$(call BuildFirmware/OF/tplink/initramfs,$(1),$(2),$(3),$(4)) - -define BuildFirmware/WRH-300CR/squashfs - $(call BuildFirmware/Default16M/squashfs,$(1),$(2),$(3)) - cp $(call sysupname,$(1),$(2)) $(KDIR)/v_0.0.0.bin +define Build/tplink-header + $(STAGING_DIR_HOST)/bin/mktplinkfw2 -V "ver. 2.0" -B $(1) \ + -o $@.new -k $@ && mv $@.new $@ +endef + +define Build/pad-ex2700 + cat ex2700-fakeroot.uImage >> $@; cat ex2700-fakeroot.uImage >> $@; + dd if=$@ of=$@.new bs=64k conv=sync && truncate -s 128 $@.new && mv $@.new $@ +endef + +define Build/append-ex2700 + cat ex2700-fakeroot.uImage >> $@ +endef + +define Build/netgear-header + $(STAGING_DIR_HOST)/bin/mkdniimg \ + $(1) -v OpenWrt -i $@ \ + -o $@.new && mv $@.new $@ +endef + +define Build/poray-header + mkporayfw $(1) \ + -f $@ \ + -o $@.new; \ + mv $@.new $@ +endef + +define Build/umedia-header + fix-u-media-header -T 0x46 -B $(1) -i $@ -o $@.new && mv $@.new $@ +endef + +define Build/elecom-header + cp $@ $(KDIR)/v_0.0.0.bin ( \ $(STAGING_DIR_HOST)/bin/md5sum $(KDIR)/v_0.0.0.bin | \ sed 's/ .*//' && \ echo 458 \ ) | $(STAGING_DIR_HOST)/bin/md5sum | \ sed 's/ .*//' > $(KDIR)/v_0.0.0.md5 - $(STAGING_DIR_HOST)/bin/tar -cf $(call imgname,$(1),$(2))-factory.bin -C $(KDIR) v_0.0.0.bin v_0.0.0.md5 + $(STAGING_DIR_HOST)/bin/tar -cf $@ -C $(KDIR) v_0.0.0.bin v_0.0.0.md5 endef -BuildFirmware/WRH-300CR/initramfs=$(call BuildFirmware/Default16M/initramfs,$(1),$(2),$(3)) +define Device/ArcherC20i + DTS := ArcherC20i + IMAGES += factory.bin + KERNEL := $(KERNEL_DTB) + KERNEL_INITRAMFS := $(KERNEL_DTB) | tplink-header ArcherC20i -c + IMAGE/sysupgrade.bin := append-kernel | tplink-header ArcherC20i -j -r $(KDIR)/root.squashfs + DEVICE_TITLE := TP-Link ArcherC20i +endef +TARGET_DEVICES += ArcherC20i -Image/Build/Profile/E1700=$(call BuildFirmware/UMedia/$(1),$(1),e1700,E1700,0x013326) ex2700_mtd_size=3866624 -Image/Build/Profile/EX2700=$(call BuildFirmware/Netgear/$(1),$(1),ex2700,EX2700,65536,29764623+4+0+32+2x2+0,$(ex2700_mtd_size)) -Image/Build/Profile/MT7620a=$(call BuildFirmware/Default8M/$(1),$(1),mt7620a,MT7620a) -Image/Build/Profile/MT7620a_MT7610e=$(call BuildFirmware/Default8M/$(1),$(1),mt7620a_mt7610e,MT7620a_MT7610e) -Image/Build/Profile/MT7620a_MT7530=$(call BuildFirmware/Default8M/$(1),$(1),mt7620a_mt7530,MT7620a_MT7530) -Image/Build/Profile/MT7620a_V22SG=$(call BuildFirmware/Default8M/$(1),$(1),mt7620a_v22sg,MT7620a_V22SG) +define Device/ex2700 + DTS := EX2700 + IMAGE_SIZE := $(ex2700_mtd_size) + IMAGES += factory.bin + KERNEL := $(KERNEL_DTB) | pad-ex2700 | uImage lzma | append-ex2700 + IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | netgear-header -B EX2700 -H 29764623+4+0+32+2x2+0 + DEVICE_TITLE := Netgear EX2700 +endef +TARGET_DEVICES += ex2700 + +define Device/wt3020-4M + DTS := WT3020-4M + IMAGE_SIZE := $(ralink_default_fw_size_4M) + IMAGES += factory.bin + IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | poray-header -B WT3020 -F 4M + DEVICE_TITLE := Nexx WT3020 (4MB) +endef +TARGET_DEVICES += wt3020-4M + +define Device/wt3020-8M + DTS := WT3020-8M + IMAGE_SIZE := $(ralink_default_fw_size_8M) + IMAGES += factory.bin + IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | poray-header -B WT3020 -F 4M + DEVICE_TITLE := Nexx WT3020 (8MB) +endef +TARGET_DEVICES += wt3020-8M + +define Device/wrh-300cr + DTS := WRH-300CR + IMAGE_SIZE := $(ralink_default_fw_size_16M) + IMAGES += factory.bin + IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | elecom-header + DEVICE_TITLE := Elecom WRH-300CR + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci +endef +TARGET_DEVICES += wrh-300cr + +define Device/e1700 + DTS := E1700 + IMAGES += factory.bin + IMAGE/factory.bin := $$(IMAGE/sysupgrade.bin) | umedia-header 0x013326 + DEVICE_TITLE := Linksys E1700 +endef +TARGET_DEVICES += e1700 + br100_mtd_size=8126464 -Image/Build/Profile/AI-BR100=$(call BuildFirmware/CustomFlash/$(1),$(1),ai-br100,AI-BR100,$(br100_mtd_size),Ai-BR) -Image/Build/Profile/RP-N53=$(call BuildFirmware/Default8M/$(1),$(1),rp-n53,RP-N53) +define Device/ai-br100 + DTS := AI-BR100 + IMAGE_SIZE := $(br100_mtd_size) + DEVICE_TITLE := Aigale Ai-BR100 + DEVICE_PACKAGES:= kmod-usb2 kmod-usb-ohci +endef +TARGET_DEVICES += ai-br100 + whr_300hp2_mtd_size=7012352 -Image/Build/Profile/WHR300HP2=$(call BuildFirmware/CustomFlash/$(1),$(1),whr-300hp2,WHR-300HP2,$(whr_300hp2_mtd_size)) -Image/Build/Profile/WHR600D=$(call BuildFirmware/CustomFlash/$(1),$(1),whr-600d,WHR-600D,$(whr_300hp2_mtd_size)) +define Device/whr-300hp2 + DTS := WHR-300HP2 + IMAGE_SIZE := $(whr_300hp2_mtd_size) + DEVICE_TITLE := Buffalo WHR-300HP2 +endef +TARGET_DEVICES += whr-300hp2 + +define Device/whr-600d + DTS := WHR-600D + IMAGE_SIZE := $(whr_300hp2_mtd_size) + DEVICE_TITLE := Buffalo WHR-600D +endef +TARGET_DEVICES += whr-600d + whr_1166d_mtd_size=15400960 -Image/Build/Profile/WHR1166D=$(call BuildFirmware/CustomFlash/$(1),$(1),whr-1166d,WHR-1166D,$(whr_1166d_mtd_size)) +define Device/whr-1166d + DTS := WHR-1166D + IMAGE_SIZE := $(whr_1166d_mtd_size) + DEVICE_TITLE := Buffalo WHR-1166D +endef +TARGET_DEVICES += whr-1166d + dlink810l_mtd_size=6881280 -Image/Build/Profile/CF-WR800N=$(call BuildFirmware/Default8M/$(1),$(1),cf-wr800n,CF-WR800N) -Image/Build/Profile/CS-QR10=$(call BuildFirmware/Default8M/$(1),$(1),cs-qr10,CS-QR10) -Image/Build/Profile/DIR-810L=$(call BuildFirmware/CustomFlash/$(1),$(1),dir-810l,DIR-810L,$(dlink810l_mtd_size)) +define Device/dir-810l + DTS := DIR-810L + IMAGE_SIZE := $(dlink810l_mtd_size) + DEVICE_TITLE := D-Link DIR-810L +endef +TARGET_DEVICES += dir-810l + na930_mtd_size=20971520 -Image/Build/Profile/NA930=$(call BuildFirmware/CustomFlash/$(1),$(1),na930,NA930,$(na930_mtd_size)) -Image/Build/Profile/DB-WRT01=$(call BuildFirmware/Default8M/$(1),$(1),db-wrt01,DB-WRT01) -Image/Build/Profile/MZK-750DHP=$(call BuildFirmware/Default8M/$(1),$(1),mzk-750dhp,MZK-750DHP) -Image/Build/Profile/MZK-EX300NP=$(call BuildFirmware/Default8M/$(1),$(1),mzk-ex300np,MZK-EX300NP) -Image/Build/Profile/MZK-EX750NP=$(call BuildFirmware/Default8M/$(1),$(1),mzk-ex750np,MZK-EX750NP) -Image/Build/Profile/HC5661=$(call BuildFirmware/Default16M/$(1),$(1),hc5661,HC5661) -Image/Build/Profile/HC5761=$(call BuildFirmware/Default16M/$(1),$(1),hc5761,HC5761) -Image/Build/Profile/HC5861=$(call BuildFirmware/Default16M/$(1),$(1),hc5861,HC5861) -Image/Build/Profile/OY-0001=$(call BuildFirmware/Default16M/$(1),$(1),oy-0001,OY-0001) -Image/Build/Profile/PSG1208=$(call BuildFirmware/Default8M/$(1),$(1),psg1208,PSG1208) -Image/Build/Profile/Y1=$(call BuildFirmware/Default16M/$(1),$(1),y1,Y1) -Image/Build/Profile/Y1S=$(call BuildFirmware/Default16M/$(1),$(1),y1s,Y1S) -Image/Build/Profile/MLW221=$(call BuildFirmware/Default16M/$(1),$(1),mlw221,MLW221) -Image/Build/Profile/MLWG2=$(call BuildFirmware/Default16M/$(1),$(1),mlwg2,MLWG2) -Image/Build/Profile/WMR-300=$(call BuildFirmware/Default8M/$(1),$(1),wmr-300,WMR-300) -Image/Build/Profile/RT-N14U=$(call BuildFirmware/Default8M/$(1),$(1),rt-n14u,RT-N14U) -Image/Build/Profile/WRH-300CR=$(call BuildFirmware/WRH-300CR/$(1),$(1),wrh-300cr,WRH-300CR) -Image/Build/Profile/WRTNODE=$(call BuildFirmware/Default16M/$(1),$(1),wrtnode,WRTNODE) -Image/Build/Profile/WT3020=$(call BuildFirmware/PorayDualSize/$(1),$(1),wt3020,WT3020) -Image/Build/Profile/MIWIFI-MINI=$(call BuildFirmware/Default16M/$(1),$(1),miwifi-mini,MIWIFI-MINI) -Image/Build/Profile/GL-MT300A=$(call BuildFirmware/Default16M/$(1),$(1),gl-mt300a,GL-MT300A) -Image/Build/Profile/GL-MT300N=$(call BuildFirmware/Default16M/$(1),$(1),gl-mt300n,GL-MT300N) -Image/Build/Profile/GL-MT750=$(call BuildFirmware/Default16M/$(1),$(1),gl-mt750,GL-MT750) -Image/Build/Profile/ZTE-Q7=$(call BuildFirmware/Default8M/$(1),$(1),zte-q7,ZTE-Q7) -Image/Build/Profile/YOUKU-YK1=$(call BuildFirmware/Default16M/$(1),$(1),youku-yk1,YOUKU-YK1) -Image/Build/Profile/ZBT-WA05=$(call BuildFirmware/Default8M/$(1),$(1),zbt-wa05,ZBT-WA05) -Image/Build/Profile/ZBT-WE826=$(call BuildFirmware/Default16M/$(1),$(1),zbt-we826,ZBT-WE826) -Image/Build/Profile/ZBT-WR8305RT=$(call BuildFirmware/Default8M/$(1),$(1),zbt-wr8305rt,ZBT-WR8305RT) -Image/Build/Profile/ArcherC20i=$(call BuildFirmware/Tplink/$(1),$(1),ArcherC20i,ArcherC20i) +define Device/na930 + DTS := NA930 + IMAGE_SIZE := $(na930_mtd_size) + DEVICE_TITLE := Sercomm NA930 +endef +TARGET_DEVICES += na930 + microwrt_mtd_size=16515072 -Image/Build/Profile/MicroWRT=$(call BuildFirmware/CustomFlash/$(1),$(1),microwrt,MicroWRT,$(microwrt_mtd_size)) -Image/Build/Profile/TINY-AC=$(call BuildFirmware/Default8M/$(1),$(1),tiny-ac,TINY-AC) - - -define Image/Build/Profile/Default - $(call Image/Build/Profile/E1700,$(1)) - $(call Image/Build/Profile/EX2700,$(1)) - $(call Image/Build/Profile/MT7620a,$(1)) - $(call Image/Build/Profile/MT7620a_MT7610e,$(1)) - $(call Image/Build/Profile/MT7620a_MT7530,$(1)) - $(call Image/Build/Profile/MT7620a_V22SG,$(1)) - $(call Image/Build/Profile/AI-BR100,$(1)) - $(call Image/Build/Profile/CF-WR800N,$(1)) - $(call Image/Build/Profile/CS-QR10,$(1)) - $(call Image/Build/Profile/RP-N53,$(1)) - $(call Image/Build/Profile/DIR-810L,$(1)) - $(call Image/Build/Profile/WHR300HP2,$(1)) - $(call Image/Build/Profile/WHR600D,$(1)) - $(call Image/Build/Profile/WHR1166D,$(1)) - $(call Image/Build/Profile/DB-WRT01,$(1)) - $(call Image/Build/Profile/MZK-750DHP,$(1)) - $(call Image/Build/Profile/MZK-EX300NP,$(1)) - $(call Image/Build/Profile/MZK-EX750NP,$(1)) - $(call Image/Build/Profile/NA930,$(1)) - $(call Image/Build/Profile/HC5661,$(1)) - $(call Image/Build/Profile/HC5761,$(1)) - $(call Image/Build/Profile/HC5861,$(1)) - $(call Image/Build/Profile/OY-0001,$(1)) - $(call Image/Build/Profile/PSG1208,$(1)) - $(call Image/Build/Profile/Y1,$(1)) - $(call Image/Build/Profile/Y1S,$(1)) - $(call Image/Build/Profile/MLW221,$(1)) - $(call Image/Build/Profile/MLWG2,$(1)) - $(call Image/Build/Profile/WMR-300,$(1)) - $(call Image/Build/Profile/RT-N14U,$(1)) - $(call Image/Build/Profile/WRH-300CR,$(1)) - $(call Image/Build/Profile/WRTNODE,$(1)) - $(call Image/Build/Profile/WT3020,$(1)) - $(call Image/Build/Profile/MIWIFI-MINI,$(1)) - $(call Image/Build/Profile/GL-MT300A,$(1)) - $(call Image/Build/Profile/GL-MT300N,$(1)) - $(call Image/Build/Profile/GL-MT750,$(1)) - $(call Image/Build/Profile/ZTE-Q7,$(1)) - $(call Image/Build/Profile/YOUKU-YK1,$(1)) - $(call Image/Build/Profile/ZBT-WA05,$(1)) - $(call Image/Build/Profile/ZBT-WE826,$(1)) - $(call Image/Build/Profile/ZBT-WR8305RT,$(1)) - $(call Image/Build/Profile/ArcherC20i,$(1)) - $(call Image/Build/Profile/MicroWRT,$(1)) - $(call Image/Build/Profile/TINY-AC,$(1)) +define Device/microwrt + DTS := MicroWRT + IMAGE_SIZE := $(microwrt_mtd_size) + DEVICE_TITLE := Microduino MicroWRT +endef +TARGET_DEVICES += microwrt + +define Device/mt7620a + DTS := MT7620a + IMAGE_SIZE := $(ralink_default_fw_size_8M) + DEVICE_TITLE := MediaTek MT7620a EVB +endef +TARGET_DEVICES += mt7620a + +define Device/mt7620a_mt7610e + DTS := MT7620a_MT7610e + IMAGE_SIZE := $(ralink_default_fw_size_8M) + DEVICE_TITLE := MediaTek MT7620a + MT7610e EVB +endef +TARGET_DEVICES += mt7620a_mt7610e + +define Device/mt7620a_mt7530 + DTS := MT7620a_MT7530 + IMAGE_SIZE := $(ralink_default_fw_size_8M) + DEVICE_TITLE := MediaTek MT7620a + MT7530 EVB +endef +TARGET_DEVICES += mt7620a_mt7530 + +define Device/mt7620a_v22sg + DTS := MT7620a_V22SG + IMAGE_SIZE := $(ralink_default_fw_size_8M) + DEVICE_TITLE := MediaTek MT7620a V22SG +endef +TARGET_DEVICES += mt7620a_v22sg + +define Device/rp-n53 + DTS := RP-N53 + IMAGE_SIZE := $(ralink_default_fw_size_8M) + DEVICE_TITLE := Asus RP-N53 +endef +TARGET_DEVICES += rp-n53 + +define Device/cf-wr800n + DTS := CF-WR800N + IMAGE_SIZE := $(ralink_default_fw_size_8M) + DEVICE_TITLE := Comfast CF-WR800N +endef +TARGET_DEVICES += cf-wr800n + +define Device/cs-qr10 + DTS := CS-QR10 + IMAGE_SIZE := $(ralink_default_fw_size_8M) + DEVICE_TITLE := Planex CS-QR10 + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-i2c-core kmod-i2c-ralink kmod-sound-core kmod-sound-mtk kmod-sdhci-mt7620 +endef +TARGET_DEVICES += cs-qr10 + +define Device/db-wrt01 + DTS := DB-WRT01 + IMAGE_SIZE := $(ralink_default_fw_size_8M) + DEVICE_TITLE := Planex DB-WRT01 +endef +TARGET_DEVICES += db-wrt01 + +define Device/mzk-750dhp + DTS := MZK-750DHP + IMAGE_SIZE := $(ralink_default_fw_size_8M) + DEVICE_TITLE := Planex MZK-750DHP + DEVICE_PACKAGES := kmod-mt76 +endef +TARGET_DEVICES += mzk-750dhp + +define Device/mzk-ex300np + DTS := MZK-EX300NP + IMAGE_SIZE := $(ralink_default_fw_size_8M) + DEVICE_TITLE := Planex MZK-EX300NP +endef +TARGET_DEVICES += mzk-ex300np + +define Device/mzk-ex750np + DTS := MZK-EX750NP + IMAGE_SIZE := $(ralink_default_fw_size_8M) + DEVICE_TITLE := Planex MZK-EX750NP + DEVICE_PACKAGES := kmod-mt76 +endef +TARGET_DEVICES += mzk-ex750np + +define Device/hc5661 + DTS := HC5661 + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := HiWiFi HC5661 + DEVICE_PACKAGES := kmod-usb2 kmod-sdhci kmod-sdhci-mt7620 kmod-ledtrig-usbdev +endef +TARGET_DEVICES += hc5661 + +define Device/hc5761 + DTS := HC5761 + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := HiWiFi HC5761 + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci kmod-sdhci-mt7620 kmod-ledtrig-usbdev +endef +TARGET_DEVICES += hc5761 + +define Device/hc5861 + DTS := HC5861 + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := HiWiFi HC5861 + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-sdhci kmod-sdhci-mt7620 kmod-ledtrig-usbdev +endef +TARGET_DEVICES += hc5861 + +define Device/oy-0001 + DTS := OY-0001 + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := Oh Yeah OY-0001 +endef +TARGET_DEVICES += oy-0001 + +define Device/psg1208 + DTS := PSG1208 + IMAGE_SIZE := $(ralink_default_fw_size_8M) + DEVICE_TITLE := Phicomm PSG1208 + DEVICE_PACKAGES := kmod-mt76 +endef +TARGET_DEVICES += psg1208 + +define Device/y1 + DTS := Y1 + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := Lenovo Y1 +endef +TARGET_DEVICES += y1 + +define Device/y1s + DTS := Y1S + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := Lenovo Y1S +endef +TARGET_DEVICES += y1s + +define Device/mlw221 + DTS := MLW221 + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := Kingston MLW221 +endef +TARGET_DEVICES += mlw221 + +define Device/mlwg2 + DTS := MLWG2 + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := Kingston MLWG2 +endef +TARGET_DEVICES += mlwg2 + +define Device/wmr-300 + DTS := WMR-300 + IMAGE_SIZE := $(ralink_default_fw_size_8M) + DEVICE_TITLE := Buffalo WMR-300 +endef +TARGET_DEVICES += wmr-300 + +define Device/rt-n14u + DTS := RT-N14U + IMAGE_SIZE := $(ralink_default_fw_size_8M) + DEVICE_TITLE := Asus RT-N14u +endef +TARGET_DEVICES += rt-n14u + +define Device/wrtnode + DTS := WRTNODE + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := WRTNode +endef +TARGET_DEVICES += wrtnode + +define Device/miwifi-mini + DTS := MIWIFI-MINI + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := Xiaomi MiWiFi Mini + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci +endef +TARGET_DEVICES += miwifi-mini + +define Device/gl-mt300a + DTS := GL-MT300A + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := GL-Inet GL-MT300A + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-mt76 +endef +TARGET_DEVICES += gl-mt300a + +define Device/gl-mt300n + DTS := GL-MT300N + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := GL-Inet GL-MT300N + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-mt76 +endef +TARGET_DEVICES += gl-mt300n + +define Device/gl-mt750 + DTS := GL-MT750 + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := GL-Inet GL-MT750 + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-mt76 +endef +TARGET_DEVICES += gl-mt750 + +define Device/zte-q7 + DTS := ZTE-Q7 + IMAGE_SIZE := $(ralink_default_fw_size_8M) + DEVICE_TITLE := ZTE Q7 +endef +TARGET_DEVICES += zte-q7 + +define Device/youku-yk1 + DTS := YOUKU-YK1 + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := YOUKU YK1 +endef +TARGET_DEVICES += youku-yk1 + +define Device/zbt-wa05 + DTS := ZBT-WA05 + IMAGE_SIZE := $(ralink_default_fw_size_8M) + DEVICE_TITLE := Zbtlink ZBT-WA05 +endef +TARGET_DEVICES += zbt-wa05 + +define Device/zbt-we826 + DTS := ZBT-WE826 + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := Zbtlink ZBT-WE826 + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-mt76 kmod-sdhci-mt7620 +endef +TARGET_DEVICES += zbt-we826 + +define Device/zbt-wr8305rt + DTS := ZBT-WR8305RT + IMAGE_SIZE := $(ralink_default_fw_size_8M) + DEVICE_TITLE := Zbtlink ZBT-WR8305RT +endef +TARGET_DEVICES += zbt-wr8305rt + +define Device/tiny-ac + DTS := TINY-AC + IMAGE_SIZE := $(ralink_default_fw_size_8M) + DEVICE_TITLE := Dovado Tiny AC + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci endef +TARGET_DEVICES += tiny-ac diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index a09f4abfbf..31752446ac 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -36,17 +36,20 @@ endef define Device/mt7621 DTS := MT7621 IMAGE_SIZE := $(ralink_default_fw_size_4M) + DEVICE_TITLE := MediaTek MT7621 EVB endef TARGET_DEVICES += mt7621 define Device/wsr-600 DTS := WSR-600 IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := Buffalo WSR-600 endef TARGET_DEVICES += wsr-600 define Device/re6500 DTS := RE6500 + DEVICE_TITLE := Linksys RE6500 endef TARGET_DEVICES += re6500 @@ -54,6 +57,7 @@ define Device/wsr-1166 DTS := WSR-1166 IMAGE/sysupgrade.bin := trx | pad-rootfs IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := Buffalo WSR-1166 endef TARGET_DEVICES += wsr-1166 @@ -71,47 +75,64 @@ define Device/dir-860l-b1 seama -m "dev=/dev/mtdblock/2" -m "type=firmware" | \ seama-seal -m "signature=wrgac13_dlink.2013gui_dir860lb" | \ check-size $$$$(IMAGE_SIZE) + DEVICE_TITLE := D-Link DIR-860L B1 endef TARGET_DEVICES += dir-860l-b1 define Device/firewrt DTS := FIREWRT IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := Firefly FireWRT + DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev endef TARGET_DEVICES += firewrt define Device/pbr-m1 DTS := PBR-M1 IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := PBR-M1 + DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev kmod-ata-core kmod-ata-ahci \ + kmod-rtc-pcf8563 kmod-i2c-mt7621 endef TARGET_DEVICES += pbr-m1 define Device/sap-g3200u3 DTS := SAP-G3200U3 + DEVICE_TITLE := STORYLiNK SAP-G3200U3 + DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev endef TARGET_DEVICES += sap-g3200u3 define Device/witi DTS := WITI IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := MQmaker WiTi + DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev kmod-ata-core kmod-ata-ahci \ + kmod-rtc-pcf8563 kmod-i2c-mt7621 endef TARGET_DEVICES += witi define Device/wndr3700v5 DTS := WNDR3700V5 IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := Netgear WNDR3700v5 + DEVICE_PACKAGES := kmod-usb3 endef TARGET_DEVICES += wndr3700v5 define Device/zbt-wg2626 DTS := ZBT-WG2626 IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := ZBT WG2626 + DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev kmod-ata-core kmod-ata-ahci endef TARGET_DEVICES += zbt-wg2626 define Device/zbt-wg3526 DTS := ZBT-WG3526 IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := ZBT WG3526 + DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev kmod-ata-core kmod-ata-ahci endef TARGET_DEVICES += zbt-wg3526 @@ -123,6 +144,8 @@ define Device/wf-2881 IMAGE_SIZE := 132382720 KERNEL := $(KERNEL_DTB) | pad-offset 131072 64 | uImage lzma IMAGE/sysupgrade.bin := append-kernel | append-ubi | check-size $$$$(IMAGE_SIZE) + DEVICE_TITLE := NETIS WF-2881 + DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev endef TARGET_DEVICES += wf-2881 @@ -135,12 +158,16 @@ define Device/ubnt-erx KERNEL_INITRAMFS := $$(KERNEL) | check-size $$(KERNEL_SIZE) | \ ubnt-erx-factory-image $(KDIR)/tmp/$$(KERNEL_INITRAMFS_PREFIX)-factory.tar IMAGE/sysupgrade.tar := sysupgrade-nand + DEVICE_TITLE := Ubiquiti EdgeRouter X + DEVICE_PACKAGES := -kmod-mt76 -kmod-rt2800-pci -kmod-cfg80211 -wpad-mini -iwinfo endef TARGET_DEVICES += ubnt-erx define Device/sk-wb8 DTS := SK-WB8 IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := SamKnows Whitebox 8 + DEVICE_PACKAGES := kmod-usb3 kmod-ledtrig-usbdev uboot-envtools endef TARGET_DEVICES += sk-wb8 diff --git a/target/linux/ramips/image/mt7628.mk b/target/linux/ramips/image/mt7628.mk index 1e6b06c82c..8274e11f17 100644 --- a/target/linux/ramips/image/mt7628.mk +++ b/target/linux/ramips/image/mt7628.mk @@ -2,16 +2,26 @@ # MT7628 Profiles # -Image/Build/Profile/MIWIFI-NANO=$(call BuildFirmware/Default16M/$(1),$(1),miwifi-nano,MIWIFI-NANO) -Image/Build/Profile/MT7628=$(call BuildFirmware/Default4M/$(1),$(1),mt7628,MT7628) -Image/Build/Profile/WRTNODE2P=$(call BuildFirmware/Default16M/$(1),$(1),wrtnode2p,WRTNODE2P) +define Device/mt7628 + DTS := MT7628 + IMAGE_SIZE := $(ralink_default_fw_size_4M) + DEVICE_TITLE := MediaTek MT7628 EVB + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev +endef +TARGET_DEVICES += mt7628 -define Image/Build/Profile/Default - $(call Image/Build/Profile/MIWIFI-NANO,$(1)) - $(call Image/Build/Profile/MT7628,$(1)) - $(call Image/Build/Profile/WRTNODE2P,$(1)) +define Device/miwifi-nano + DTS := MIWIFI-NANO + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := Xiaomi MiWiFi Nano + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev endef +TARGET_DEVICES += miwifi-nano -define Image/Build/Profile/MiwifiNano - $(call Image/Build/Profile/MIWIFI-NANO,$(1)) +define Device/wrtnode2p + DTS := WRTNODE2P + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := WRTnode 2P + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev endef +TARGET_DEVICES += wrtnode2p diff --git a/target/linux/ramips/image/mt7688.mk b/target/linux/ramips/image/mt7688.mk index 45991d0874..b3860ef78a 100644 --- a/target/linux/ramips/image/mt7688.mk +++ b/target/linux/ramips/image/mt7688.mk @@ -2,10 +2,18 @@ # MT7688 Profiles # -Image/Build/Profile/LinkIt7688=$(call BuildFirmware/Default32M/$(1),$(1),LinkIt7688,LINKIT7688) -Image/Build/Profile/WRTNODE2R=$(call BuildFirmware/Default16M/$(1),$(1),wrtnode2r,WRTNODE2R) +define Device/LinkIt7688 + DTS := LINKIT7688 + IMAGE_SIZE := $(ralink_default_fw_size_32M) + DEVICE_TITLE := MediaTek LinkIt Smart 7688 + DEVICE_PACKAGES:= kmod-usb2 kmod-usb-ohci uboot-envtools +endef +TARGET_DEVICES += LinkIt7688 -define Image/Build/Profile/Default - $(call Image/Build/Profile/LinkIt7688,$(1)) - $(call Image/Build/Profile/WRTNODE2R,$(1)) +define Device/wrtnode2r + DTS := WRTNODE2R + IMAGE_SIZE := $(ralink_default_fw_size_16M) + DEVICE_TITLE := WRTnode 2R + DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci endef +TARGET_DEVICES += wrtnode2r diff --git a/target/linux/ramips/mt7620/profiles/00-default.mk b/target/linux/ramips/mt7620/profiles/00-default.mk index 6c7d721444..55a85a69e9 100644 --- a/target/linux/ramips/mt7620/profiles/00-default.mk +++ b/target/linux/ramips/mt7620/profiles/00-default.mk @@ -7,9 +7,7 @@ define Profile/Default NAME:=Default Profile - PACKAGES:=\ - kmod-usb-core kmod-usb2 kmod-usb-ohci \ - kmod-ledtrig-usbdev + PACKAGES:= kmod-usb-core kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev endef define Profile/Default/Description diff --git a/target/linux/ramips/mt7620/profiles/aigale.mk b/target/linux/ramips/mt7620/profiles/aigale.mk deleted file mode 100644 index 629a378cae..0000000000 --- a/target/linux/ramips/mt7620/profiles/aigale.mk +++ /dev/null @@ -1,16 +0,0 @@ -# -# Copyright (C) 2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/AI-BR100 - NAME:=Aigale Ai-BR100 - PACKAGES:=kmod-usb-ohci kmod-usb2 -endef - -define Profile/AI-BR100/Description - Default package set for Aigale Ai-BR100. -endef -$(eval $(call Profile,AI-BR100)) diff --git a/target/linux/ramips/mt7620/profiles/dovado.mk b/target/linux/ramips/mt7620/profiles/dovado.mk deleted file mode 100644 index 34bc74a2df..0000000000 --- a/target/linux/ramips/mt7620/profiles/dovado.mk +++ /dev/null @@ -1,17 +0,0 @@ -# -# Copyright (C) 2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/TINY-AC - NAME:=Dovado Tiny AC - PACKAGES:=\ - kmod-usb-core kmod-usb2 kmod-usb-ohci -endef - -define Profile/TINY-AC/Description - Support for Dovado Tiny AC router -endef -$(eval $(call Profile,TINY-AC)) diff --git a/target/linux/ramips/mt7620/profiles/elecom.mk b/target/linux/ramips/mt7620/profiles/elecom.mk deleted file mode 100644 index 5c84c92715..0000000000 --- a/target/linux/ramips/mt7620/profiles/elecom.mk +++ /dev/null @@ -1,18 +0,0 @@ -# -# Copyright (C) 2016 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/WRH-300CR - NAME:=ELECOM WRH-300CR - PACKAGES:=\ - kmod-usb-core kmod-usb2 kmod-usb-ohci kmod-usb-storage \ - kmod-scsi-core kmod-fs-ext4 block-mount -endef - -define Profile/WRH-300CR/Description - Package set optimized for the ELECOM WRH-300CR. -endef -$(eval $(call Profile,WRH-300CR)) diff --git a/target/linux/ramips/mt7620/profiles/gli.mk b/target/linux/ramips/mt7620/profiles/gli.mk deleted file mode 100644 index ae220d5adf..0000000000 --- a/target/linux/ramips/mt7620/profiles/gli.mk +++ /dev/null @@ -1,36 +0,0 @@ -# -# Copyright (C) 2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/GL-MT300A - NAME:=GL-MT300A - PACKAGES:=kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci kmod-mt76 -endef - -define Profile/GL-MT300A/Description - Support for gl-mt300a Router -endef -$(eval $(call Profile,GL-MT300A)) - -define Profile/GL-MT300N - NAME:=GL-MT300N - PACKAGES:=kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci kmod-mt76 -endef - -define Profile/GL-MT300N/Description - Support for gl-mt300n Router -endef -$(eval $(call Profile,GL-MT300N)) - -define Profile/GL-MT750 - NAME:=GL-MT750 - PACKAGES:=kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci kmod-mt76 kmod-mt7610e -endef - -define Profile/GL-MT750/Description - Support for gl-mt750 Router -endef -$(eval $(call Profile,GL-MT750)) diff --git a/target/linux/ramips/mt7620/profiles/hiwifi.mk b/target/linux/ramips/mt7620/profiles/hiwifi.mk deleted file mode 100644 index 5baa85ae88..0000000000 --- a/target/linux/ramips/mt7620/profiles/hiwifi.mk +++ /dev/null @@ -1,47 +0,0 @@ -# -# Copyright (C) 2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/HC5661 - NAME:=HiWiFi HC5661 - PACKAGES:=\ - kmod-usb-core kmod-usb-dwc2 kmod-usb2 \ - kmod-mmc-spi kmod-sdhci kmod-sdhci-mt7620 \ - kmod-ledtrig-usbdev -endef - -define Profile/HC5661/Description - Support HiWiFi HC5661 model(J1S) -endef -$(eval $(call Profile,HC5661)) - - -define Profile/HC5761 - NAME:=HiWiFi HC5761 - PACKAGES:=\ - kmod-usb-core kmod-usb-dwc2 kmod-usb2 \ - kmod-mmc-spi kmod-sdhci kmod-sdhci-mt7620 \ - kmod-ledtrig-usbdev -endef - -define Profile/HC5761/Description - Support HiWiFi HC5761 model(J2) -endef -$(eval $(call Profile,HC5761)) - - -define Profile/HC5861 - NAME:=HiWiFi HC5861 - PACKAGES:=\ - kmod-usb-core kmod-usb-dwc2 kmod-usb2 \ - kmod-mmc-spi kmod-sdhci kmod-sdhci-mt7620 \ - kmod-ledtrig-usbdev -endef - -define Profile/HC5861/Description - Support HiWiFi HC5861 model(J3) -endef -$(eval $(call Profile,HC5861)) diff --git a/target/linux/ramips/mt7620/profiles/linksys.mk b/target/linux/ramips/mt7620/profiles/linksys.mk deleted file mode 100644 index d8a2df4593..0000000000 --- a/target/linux/ramips/mt7620/profiles/linksys.mk +++ /dev/null @@ -1,16 +0,0 @@ -# -# Copyright (C) 2014 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/E1700 - NAME:=Linksys E1700 - PACKAGES:=swconfig -endef - -define Profile/E1700/Description - Package set compatible with the Linksys E1700. -endef -$(eval $(call Profile,E1700)) diff --git a/target/linux/ramips/mt7620/profiles/mediatek.mk b/target/linux/ramips/mt7620/profiles/mediatek.mk deleted file mode 100644 index 4f6703ebf5..0000000000 --- a/target/linux/ramips/mt7620/profiles/mediatek.mk +++ /dev/null @@ -1,15 +0,0 @@ -# -# Copyright (C) 2011 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/MT7620a - NAME:=MT7620a EVB -endef - -define Profile/MT7620a/Description - Default package set compatible with MT7620a eval board -endef -$(eval $(call Profile,MT7620a)) diff --git a/target/linux/ramips/mt7620/profiles/microduino.mk b/target/linux/ramips/mt7620/profiles/microduino.mk deleted file mode 100644 index b68a269841..0000000000 --- a/target/linux/ramips/mt7620/profiles/microduino.mk +++ /dev/null @@ -1,16 +0,0 @@ -# -# Copyright (C) 2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/MicroWRT - NAME:=Microduino MicroWRT - PACKAGES:= kmod-usb-core kmod-usb2 kmod-usb-ohci -endef - -define Profile/MicroWRT/Description - Package set compatible with MicroWRT -endef -$(eval $(call Profile,MicroWRT)) diff --git a/target/linux/ramips/mt7620/profiles/netgear.mk b/target/linux/ramips/mt7620/profiles/netgear.mk deleted file mode 100644 index d1b073abc2..0000000000 --- a/target/linux/ramips/mt7620/profiles/netgear.mk +++ /dev/null @@ -1,16 +0,0 @@ -# -# Copyright (C) 2016 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/EX2700 - NAME:=Netgear EX2700 - PACKAGES:=-kmod-usb-core -kmod-usb2 -kmod-usb-ohci -kmod-ledtrig-usbdev -endef - -define Profile/EX2700/Description - Support for Netgear EX2700 -endef -$(eval $(call Profile,EX2700)) diff --git a/target/linux/ramips/mt7620/profiles/phicomm.mk b/target/linux/ramips/mt7620/profiles/phicomm.mk deleted file mode 100644 index e083a4c975..0000000000 --- a/target/linux/ramips/mt7620/profiles/phicomm.mk +++ /dev/null @@ -1,16 +0,0 @@ -# -# Copyright (C) 2016 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/PSG1208 - NAME:=Phicomm PSG1208 - PACKAGES:=kmod-mt76 -endef - -define Profile/PSG1208/Description - Default package set for Phicomm PSG1208. -endef -$(eval $(call Profile,PSG1208)) diff --git a/target/linux/ramips/mt7620/profiles/planex.mk b/target/linux/ramips/mt7620/profiles/planex.mk deleted file mode 100644 index f461aeb211..0000000000 --- a/target/linux/ramips/mt7620/profiles/planex.mk +++ /dev/null @@ -1,52 +0,0 @@ -# -# Copyright (C) 2016 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/CS-QR10 - NAME:=Planex CS-QR10 - PACKAGES:=\ - kmod-usb-core kmod-usb2 kmod-usb-ohci \ - i2c-core kmod-i2c-ralink kmod-sound-core kmod-sound-mtk \ - kmod-sdhci-mt7620 -endef - -define Profile/CS-QR10/Description - Package set optimized for the Planex CS-QR10. -endef -$(eval $(call Profile,CS-QR10)) - - -define Profile/MZK-750DHP - NAME:=Planex MZK-750DHP - PACKAGES:= kmod-mt76 kmod-mt7610e -endef - -define Profile/MZK-750DHP/Description - Package set optimized for the Planex MZK-750DHP. -endef -$(eval $(call Profile,MZK-750DHP)) - - -define Profile/MZK-EX300NP - NAME:=Planex MZK-EX300NP - PACKAGES:= -endef - -define Profile/MZK-EX300NP/Description - Package set optimized for the Planex MZK-EX300NP. -endef -$(eval $(call Profile,MZK-EX300NP)) - - -define Profile/MZK-EX750NP - NAME:=Planex MZK-EX750NP - PACKAGES:= kmod-mt76 kmod-mt7610e -endef - -define Profile/MZK-EX750NP/Description - Package set optimized for the Planex MZK-EX750NP. -endef -$(eval $(call Profile,MZK-EX750NP)) diff --git a/target/linux/ramips/mt7620/profiles/xiaomi.mk b/target/linux/ramips/mt7620/profiles/xiaomi.mk deleted file mode 100644 index 84835784e1..0000000000 --- a/target/linux/ramips/mt7620/profiles/xiaomi.mk +++ /dev/null @@ -1,17 +0,0 @@ -# -# Copyright (C) 2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/MIWIFI-MINI - NAME:=Xiaomi MiWiFi Mini - PACKAGES:=\ - kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci -endef - -define Profile/MIWIFI-MINI/Description - Support for Xiaomi MiWiFi Mini routers -endef -$(eval $(call Profile,MIWIFI-MINI)) diff --git a/target/linux/ramips/mt7620/profiles/zbt.mk b/target/linux/ramips/mt7620/profiles/zbt.mk deleted file mode 100644 index c33048f4ab..0000000000 --- a/target/linux/ramips/mt7620/profiles/zbt.mk +++ /dev/null @@ -1,19 +0,0 @@ -# -# Copyright (C) 2016 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/ZBT-WE826 - NAME:=ZBT-WE826 Device - PACKAGES:=\ - kmod-scsi-core kmod-scsi-generic kmod-mmc kmod-sdhci \ - block-mount kmod-usb-core kmod-usb-dwc2 kmod-usb2 kmod-usb-ohci \ - kmod-mt76 -endef - -define Profile/ZBT-WE826/Description - Support for ZBT WE-826-(B,T) routers -endef -$(eval $(call Profile,ZBT-WE826)) diff --git a/target/linux/ramips/mt7621/profiles/firefly.mk b/target/linux/ramips/mt7621/profiles/firefly.mk deleted file mode 100644 index 979752780b..0000000000 --- a/target/linux/ramips/mt7621/profiles/firefly.mk +++ /dev/null @@ -1,18 +0,0 @@ -# -# Copyright (C) 2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/FIREWRT - NAME:=Firefly FireWRT - PACKAGES:=\ - kmod-usb-core kmod-usb3 kmod-usb-hid \ - kmod-ledtrig-usbdev -endef - -define Profile/FIREWRT/Description - Package set compatible with the Firefly FireWRT board. -endef -$(eval $(call Profile,FIREWRT)) diff --git a/target/linux/ramips/mt7621/profiles/linksys.mk b/target/linux/ramips/mt7621/profiles/linksys.mk deleted file mode 100644 index fb447c9e05..0000000000 --- a/target/linux/ramips/mt7621/profiles/linksys.mk +++ /dev/null @@ -1,15 +0,0 @@ -# -# Copyright (C) 2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/RE6500 - NAME:=Linksys RE6500 -endef - -define Profile/RE6500/Description - Package set compatible with the Linksys RE6500 board. -endef -$(eval $(call Profile,RE6500)) diff --git a/target/linux/ramips/mt7621/profiles/misc.mk b/target/linux/ramips/mt7621/profiles/misc.mk deleted file mode 100644 index 06a9d44c88..0000000000 --- a/target/linux/ramips/mt7621/profiles/misc.mk +++ /dev/null @@ -1,20 +0,0 @@ -# -# Copyright (C) 2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/PBR-M1 - NAME:=PBR-M1 Device - FEATURES+=rtc - PACKAGES:=\ - kmod-usb-core kmod-usb3 kmod-usb-hid \ - kmod-ledtrig-usbdev kmod-ata-core kmod-ata-ahci \ - kmod-rtc-pcf8563 -endef - -define Profile/PBR-M1/Description - Default package set compatible with most boards. -endef -$(eval $(call Profile,PBR-M1)) diff --git a/target/linux/ramips/mt7621/profiles/mqmaker.mk b/target/linux/ramips/mt7621/profiles/mqmaker.mk deleted file mode 100644 index 0b01ab9122..0000000000 --- a/target/linux/ramips/mt7621/profiles/mqmaker.mk +++ /dev/null @@ -1,20 +0,0 @@ -# -# Copyright (C) 2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/WITI - NAME:=MQmaker WiTi - FEATURES+=rtc - PACKAGES:=\ - kmod-usb-core kmod-usb3 kmod-usb-hid \ - kmod-ledtrig-usbdev kmod-ata-core kmod-ata-ahci \ - kmod-rtc-pcf8563 kmod-i2c-mt7621 -endef - -define Profile/WITI/Description - Package set compatible with MQmaker WiTi board. -endef -$(eval $(call Profile,WITI)) diff --git a/target/linux/ramips/mt7621/profiles/netgear.mk b/target/linux/ramips/mt7621/profiles/netgear.mk deleted file mode 100644 index 05802a252f..0000000000 --- a/target/linux/ramips/mt7621/profiles/netgear.mk +++ /dev/null @@ -1,17 +0,0 @@ -# -# Copyright (C) 2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/WNDR3700V5 - NAME:=Netgear WNDR3700v5 - PACKAGES:=\ - kmod-usb-core kmod-usb3 -endef - -define Profile/WNDR3700V5/Description - Package set compatible with the Netgear WNDR3700v5. -endef -$(eval $(call Profile,WNDR3700V5)) diff --git a/target/linux/ramips/mt7621/profiles/netis.mk b/target/linux/ramips/mt7621/profiles/netis.mk deleted file mode 100644 index 39b524f534..0000000000 --- a/target/linux/ramips/mt7621/profiles/netis.mk +++ /dev/null @@ -1,23 +0,0 @@ -# -# Copyright (C) 2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/WF-2881 - NAME:=NETIS WF-2881 - PACKAGES:=\ - kmod-usb-core kmod-usb3 kmod-usb-hid \ - kmod-ledtrig-usbdev -endef - -define Profile/WF-2881/Description - Package set compatible with the NETIS WF-2881 board. -endef - -#-m <min io size> -e <LEB size> -c <Eraseblocks count> -WF-2881_UBIFS_OPTS:="-m 2048 -e 129024 -c 1024" -WF-2881_UBI_OPTS:="-m 2048 -p 128KiB -s 512" - -$(eval $(call Profile,WF-2881)) diff --git a/target/linux/ramips/mt7621/profiles/samknows.mk b/target/linux/ramips/mt7621/profiles/samknows.mk deleted file mode 100644 index aa2e45e4d1..0000000000 --- a/target/linux/ramips/mt7621/profiles/samknows.mk +++ /dev/null @@ -1,18 +0,0 @@ -# -# Copyright (C) 2016 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/SK-WB8 - NAME:=SamKnows Whitebox 8 - PACKAGES:=\ - kmod-usb-core kmod-usb3 \ - kmod-ledtrig-usbdev uboot-envtools -endef - -define Profile/SK-WB8/Description - Package set compatible with the SamKnows Whitebox 8. -endef -$(eval $(call Profile,SK-WB8)) diff --git a/target/linux/ramips/mt7621/profiles/storylink.mk b/target/linux/ramips/mt7621/profiles/storylink.mk deleted file mode 100644 index 9ca4a2f743..0000000000 --- a/target/linux/ramips/mt7621/profiles/storylink.mk +++ /dev/null @@ -1,18 +0,0 @@ -# -# Copyright (C) 2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/SAP-G3200U3 - NAME:=STORYLiNK SAP-G3200U3 - PACKAGES:=\ - kmod-usb-core kmod-usb3 kmod-usb-hid \ - kmod-ledtrig-usbdev -endef - -define Profile/SAP-G3200U3/Description - Package set compatible with the STORYLiNK SAP-G3200U3 board. -endef -$(eval $(call Profile,SAP-G3200U3)) diff --git a/target/linux/ramips/mt7621/profiles/ubnt.mk b/target/linux/ramips/mt7621/profiles/ubnt.mk deleted file mode 100644 index 3f1af02c57..0000000000 --- a/target/linux/ramips/mt7621/profiles/ubnt.mk +++ /dev/null @@ -1,18 +0,0 @@ -# -# Copyright (C) 2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/UBNT-ERX - NAME:=Ubiquiti EdgeRouter X - FEATURES+=nand -usb - PACKAGES:=-kmod-mt76 -kmod-rt2800-pci -kmod-cfg80211 \ - -wpad-mini -iwinfo -endef - -define Profile/UBNT-ERX/Description - Package set compatible with the Ubiquiti EdgeRouter X -endef -$(eval $(call Profile,UBNT-ERX)) diff --git a/target/linux/ramips/mt7621/profiles/zbt.mk b/target/linux/ramips/mt7621/profiles/zbt.mk deleted file mode 100644 index 453687d4c5..0000000000 --- a/target/linux/ramips/mt7621/profiles/zbt.mk +++ /dev/null @@ -1,31 +0,0 @@ -# -# Copyright (C) 2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/ZBT-WG2626 - NAME:=ZBT-WG2626 Device - PACKAGES:=\ - kmod-usb-core kmod-usb3 \ - kmod-ledtrig-usbdev kmod-ata-core kmod-ata-ahci -endef - -define Profile/ZBT-WG2626/Description - Package set for ZBT-WG2626 device -endef -$(eval $(call Profile,ZBT-WG2626)) - - -define Profile/ZBT-WG3526 - NAME:=ZBT-WG3526 Device - PACKAGES:=\ - kmod-usb-core kmod-usb3 \ - kmod-ledtrig-usbdev kmod-ata-core kmod-ata-ahci -endef - -define Profile/ZBT-WG3526/Description - Package set for ZBT-WG3526 device -endef -$(eval $(call Profile,ZBT-WG3526)) diff --git a/target/linux/ramips/mt7621/target.mk b/target/linux/ramips/mt7621/target.mk index e38fad4b25..c1c39a1018 100644 --- a/target/linux/ramips/mt7621/target.mk +++ b/target/linux/ramips/mt7621/target.mk @@ -4,7 +4,7 @@ SUBTARGET:=mt7621 BOARDNAME:=MT7621 based boards -FEATURES+=usb +FEATURES+=usb rtc CPU_TYPE:=1004kc CPU_SUBTYPE:=dsp CFLAGS:=-Os -pipe -mmt -mips32r2 -mtune=1004kc diff --git a/target/linux/ramips/mt7628/profiles/00-default.mk b/target/linux/ramips/mt7628/profiles/00-default.mk index 6c7d721444..55a85a69e9 100644 --- a/target/linux/ramips/mt7628/profiles/00-default.mk +++ b/target/linux/ramips/mt7628/profiles/00-default.mk @@ -7,9 +7,7 @@ define Profile/Default NAME:=Default Profile - PACKAGES:=\ - kmod-usb-core kmod-usb2 kmod-usb-ohci \ - kmod-ledtrig-usbdev + PACKAGES:= kmod-usb-core kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev endef define Profile/Default/Description diff --git a/target/linux/ramips/mt7628/profiles/xiaomi.mk b/target/linux/ramips/mt7628/profiles/xiaomi.mk deleted file mode 100644 index 18e53c44b7..0000000000 --- a/target/linux/ramips/mt7628/profiles/xiaomi.mk +++ /dev/null @@ -1,18 +0,0 @@ -# -# Copyright (C) 2011 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/MiwifiNano - NAME:=Xiaomi MiWiFi Nano - PACKAGES:=\ - kmod-usb-core kmod-usb2 kmod-usb-ohci \ - kmod-ledtrig-usbdev -endef - -define Profile/Default/Description - Image for Xiaomi MiWiFi Nano -endef -$(eval $(call Profile,MiwifiNano)) diff --git a/target/linux/ramips/mt7688/profiles/00-default.mk b/target/linux/ramips/mt7688/profiles/00-default.mk index 6c7d721444..55a85a69e9 100644 --- a/target/linux/ramips/mt7688/profiles/00-default.mk +++ b/target/linux/ramips/mt7688/profiles/00-default.mk @@ -7,9 +7,7 @@ define Profile/Default NAME:=Default Profile - PACKAGES:=\ - kmod-usb-core kmod-usb2 kmod-usb-ohci \ - kmod-ledtrig-usbdev + PACKAGES:= kmod-usb-core kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev endef define Profile/Default/Description diff --git a/target/linux/ramips/mt7688/profiles/01-mediatek.mk b/target/linux/ramips/mt7688/profiles/01-mediatek.mk deleted file mode 100644 index 1ef824dba6..0000000000 --- a/target/linux/ramips/mt7688/profiles/01-mediatek.mk +++ /dev/null @@ -1,18 +0,0 @@ -# -# Copyright (C) 2015 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -define Profile/LinkIt7688 - NAME:=LinkIt7688 - PACKAGES:=\ - kmod-usb-core kmod-usb2 kmod-usb-ohci \ - uboot-envtools kmod-ledtrig-netdev -endef - -define Profile/LinkIt7688/Description - Default package set compatible with LinkIt Smart7688 dev board. -endef -$(eval $(call Profile,LinkIt7688)) |