mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
mediatek: filogic: reorder alphabetically
Reorder scripts and image recipes to keep alphabetical order. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
This commit is contained in:
parent
4825defe44
commit
07482d15af
@ -19,24 +19,27 @@ mediatek_setup_interfaces()
|
||||
asus,tuf-ax6000)
|
||||
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 lan5" eth1
|
||||
;;
|
||||
netgear,wax220|\
|
||||
ubnt,unifi-6-plus|\
|
||||
zyxel,nwa50ax-pro)
|
||||
ucidef_set_interface_lan "eth0"
|
||||
;;
|
||||
bananapi,bpi-r3)
|
||||
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 sfp2" "eth1 wan"
|
||||
;;
|
||||
cudy,wr3000-v1)
|
||||
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" "wan"
|
||||
;;
|
||||
glinet,gl-mt3000)
|
||||
ucidef_set_interfaces_lan_wan eth1 eth0
|
||||
cetron,ct3003|\
|
||||
cudy,wr3000-v1|\
|
||||
jcg,q30-pro|\
|
||||
qihoo,360t7)
|
||||
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" wan
|
||||
;;
|
||||
cmcc,rax3000m|\
|
||||
h3c,magic-nx30-pro)
|
||||
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" eth1
|
||||
;;
|
||||
glinet,gl-mt3000)
|
||||
ucidef_set_interfaces_lan_wan eth1 eth0
|
||||
;;
|
||||
glinet,gl-mt6000|\
|
||||
tplink,tl-xdr4288|\
|
||||
tplink,tl-xdr6088)
|
||||
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 lan5" eth1
|
||||
;;
|
||||
mediatek,mt7986a-rfb)
|
||||
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 lan6" "eth1 wan"
|
||||
;;
|
||||
@ -49,15 +52,10 @@ mediatek_setup_interfaces()
|
||||
mercusys,mr90x-v1)
|
||||
ucidef_set_interfaces_lan_wan "lan0 lan1 lan2" eth1
|
||||
;;
|
||||
cetron,ct3003|\
|
||||
jcg,q30-pro|\
|
||||
qihoo,360t7)
|
||||
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3" wan
|
||||
;;
|
||||
glinet,gl-mt6000|\
|
||||
tplink,tl-xdr4288|\
|
||||
tplink,tl-xdr6088)
|
||||
ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 lan5" eth1
|
||||
netgear,wax220|\
|
||||
ubnt,unifi-6-plus|\
|
||||
zyxel,nwa50ax-pro)
|
||||
ucidef_set_interface_lan "eth0"
|
||||
;;
|
||||
tplink,tl-xdr6086)
|
||||
ucidef_set_interfaces_lan_wan "lan1 lan2" eth1
|
||||
|
@ -80,11 +80,6 @@ case "$board" in
|
||||
[ "$PHYNBR" = "0" ] && macaddr_add $hw_mac_addr 2 > /sys${DEVPATH}/macaddress
|
||||
[ "$PHYNBR" = "1" ] && macaddr_add $hw_mac_addr 3 > /sys${DEVPATH}/macaddress
|
||||
;;
|
||||
ubnt,unifi-6-plus)
|
||||
addr=$(mtd_get_mac_binary EEPROM 0x6)
|
||||
[ "$PHYNBR" = "0" ] && echo "$addr" > /sys${DEVPATH}/macaddress
|
||||
[ "$PHYNBR" = "1" ] && macaddr_add $addr 1 > /sys${DEVPATH}/macaddress
|
||||
;;
|
||||
qihoo,360t7)
|
||||
addr=$(mtd_get_mac_ascii factory lanMac)
|
||||
[ "$PHYNBR" = "0" ] && macaddr_add $addr 2 > /sys${DEVPATH}/macaddress
|
||||
@ -95,6 +90,11 @@ case "$board" in
|
||||
tplink,tl-xdr6088)
|
||||
[ "$PHYNBR" = "0" ] && get_mac_label > /sys${DEVPATH}/macaddress
|
||||
;;
|
||||
ubnt,unifi-6-plus)
|
||||
addr=$(mtd_get_mac_binary EEPROM 0x6)
|
||||
[ "$PHYNBR" = "0" ] && echo "$addr" > /sys${DEVPATH}/macaddress
|
||||
[ "$PHYNBR" = "1" ] && macaddr_add $addr 1 > /sys${DEVPATH}/macaddress
|
||||
;;
|
||||
zbtlink,zbt-z8102ax|\
|
||||
zyxel,ex5601-t0|\
|
||||
zyxel,ex5601-t0-ubootmod)
|
||||
|
@ -102,15 +102,6 @@ platform_do_upgrade() {
|
||||
CI_ROOTPART="rootfs"
|
||||
emmc_do_upgrade "$1"
|
||||
;;
|
||||
mercusys,mr90x-v1)
|
||||
CI_UBIPART="ubi0"
|
||||
nand_do_upgrade "$1"
|
||||
;;
|
||||
ubnt,unifi-6-plus)
|
||||
CI_KERNPART="kernel0"
|
||||
EMMC_ROOT_DEV="$(cmdline_get_var root)"
|
||||
emmc_do_upgrade "$1"
|
||||
;;
|
||||
h3c,magic-nx30-pro|\
|
||||
jcg,q30-pro|\
|
||||
mediatek,mt7981-rfb|\
|
||||
@ -123,6 +114,15 @@ platform_do_upgrade() {
|
||||
CI_KERNPART="fit"
|
||||
nand_do_upgrade "$1"
|
||||
;;
|
||||
mercusys,mr90x-v1)
|
||||
CI_UBIPART="ubi0"
|
||||
nand_do_upgrade "$1"
|
||||
;;
|
||||
ubnt,unifi-6-plus)
|
||||
CI_KERNPART="kernel0"
|
||||
EMMC_ROOT_DEV="$(cmdline_get_var root)"
|
||||
emmc_do_upgrade "$1"
|
||||
;;
|
||||
xiaomi,mi-router-wr30u-stock|\
|
||||
xiaomi,redmi-router-ax6000-stock)
|
||||
CI_KERN_UBIPART=ubi_kernel
|
||||
|
@ -105,6 +105,21 @@ define Build/cetron-header
|
||||
rm $@.tmp
|
||||
endef
|
||||
|
||||
define Device/acer_predator-w6
|
||||
DEVICE_VENDOR := Acer
|
||||
DEVICE_MODEL := Predator W6
|
||||
DEVICE_DTS := mt7986a-acer-predator-w6
|
||||
DEVICE_DTS_DIR := ../dts
|
||||
DEVICE_DTS_LOADADDR := 0x47000000
|
||||
DEVICE_PACKAGES := kmod-usb3 kmod-mt7986-firmware kmod-mt7916-firmware mt7986-wo-firmware e2fsprogs f2fsck mkf2fs
|
||||
IMAGES := sysupgrade.bin
|
||||
KERNEL := kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
|
||||
KERNEL_INITRAMFS := kernel-bin | lzma | \
|
||||
fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb with-initrd | pad-to 64k
|
||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
||||
endef
|
||||
TARGET_DEVICES += acer_predator-w6
|
||||
|
||||
define Device/asus_tuf-ax4200
|
||||
DEVICE_VENDOR := ASUS
|
||||
DEVICE_MODEL := TUF-AX4200
|
||||
@ -137,21 +152,6 @@ define Device/asus_tuf-ax6000
|
||||
endef
|
||||
TARGET_DEVICES += asus_tuf-ax6000
|
||||
|
||||
define Device/acer_predator-w6
|
||||
DEVICE_VENDOR := Acer
|
||||
DEVICE_MODEL := Predator W6
|
||||
DEVICE_DTS := mt7986a-acer-predator-w6
|
||||
DEVICE_DTS_DIR := ../dts
|
||||
DEVICE_DTS_LOADADDR := 0x47000000
|
||||
DEVICE_PACKAGES := kmod-usb3 kmod-mt7986-firmware kmod-mt7916-firmware mt7986-wo-firmware e2fsprogs f2fsck mkf2fs
|
||||
IMAGES := sysupgrade.bin
|
||||
KERNEL := kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
|
||||
KERNEL_INITRAMFS := kernel-bin | lzma | \
|
||||
fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb with-initrd | pad-to 64k
|
||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
||||
endef
|
||||
TARGET_DEVICES += acer_predator-w6
|
||||
|
||||
define Device/bananapi_bpi-r3
|
||||
DEVICE_VENDOR := Bananapi
|
||||
DEVICE_MODEL := BPi-R3
|
||||
@ -354,24 +354,6 @@ define Device/jcg_q30-pro
|
||||
endef
|
||||
TARGET_DEVICES += jcg_q30-pro
|
||||
|
||||
define Device/netgear_wax220
|
||||
DEVICE_VENDOR := NETGEAR
|
||||
DEVICE_MODEL := WAX220
|
||||
DEVICE_DTS := mt7986b-netgear-wax220
|
||||
DEVICE_DTS_DIR := ../dts
|
||||
NETGEAR_ENC_MODEL := WAX220
|
||||
NETGEAR_ENC_REGION := US
|
||||
DEVICE_PACKAGES := kmod-mt7986-firmware mt7986-wo-firmware
|
||||
KERNEL_INITRAMFS_SUFFIX := -recovery.itb
|
||||
IMAGE_SIZE := 32768k
|
||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
||||
IMAGES += factory.img
|
||||
# Padding to 10M seems to be required by OEM web interface
|
||||
IMAGE/factory.img := sysupgrade-tar | \
|
||||
pad-to 10M | check-size | netgear-encrypted-factory
|
||||
endef
|
||||
TARGET_DEVICES += netgear_wax220
|
||||
|
||||
define Device/mediatek_mt7981-rfb
|
||||
DEVICE_VENDOR := MediaTek
|
||||
DEVICE_MODEL := MT7981 rfb
|
||||
@ -543,6 +525,24 @@ define Device/mercusys_mr90x-v1
|
||||
endef
|
||||
TARGET_DEVICES += mercusys_mr90x-v1
|
||||
|
||||
define Device/netgear_wax220
|
||||
DEVICE_VENDOR := NETGEAR
|
||||
DEVICE_MODEL := WAX220
|
||||
DEVICE_DTS := mt7986b-netgear-wax220
|
||||
DEVICE_DTS_DIR := ../dts
|
||||
NETGEAR_ENC_MODEL := WAX220
|
||||
NETGEAR_ENC_REGION := US
|
||||
DEVICE_PACKAGES := kmod-mt7986-firmware mt7986-wo-firmware
|
||||
KERNEL_INITRAMFS_SUFFIX := -recovery.itb
|
||||
IMAGE_SIZE := 32768k
|
||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
||||
IMAGES += factory.img
|
||||
# Padding to 10M seems to be required by OEM web interface
|
||||
IMAGE/factory.img := sysupgrade-tar | \
|
||||
pad-to 10M | check-size | netgear-encrypted-factory
|
||||
endef
|
||||
TARGET_DEVICES += netgear_wax220
|
||||
|
||||
define Device/qihoo_360t7
|
||||
DEVICE_VENDOR := Qihoo
|
||||
DEVICE_MODEL := 360T7
|
||||
|
Loading…
Reference in New Issue
Block a user