User:Omega/Ports

From WikiDevi.Wi-Cat.RU
Jump to navigation Jump to search

Port mapping

 • target.mak
# Broadcom platform

export RT-N66U := IPV6SUPP=y HTTPS=y MIPS32=r2 BCM57=y NTFS="tuxera" BBEXTRAS=y USBEXTRAS=y 
EBTABLES=y SAMBA3=y MEDIASRV=y MODEM=y MODEMPIN=y PARENTAL2=y ACCEL_PPTPD=y PRINTER=y WEBDAV=y 
CLOUDSYNC=y SWEBDAVCLIENT=y DROPBOXCLIENT=y FTPCLIENT=y SAMBACLIENT=y USB="USB" DISK_MONITOR=y 
APP="installed" BUILD_NAME="RT-N66U" DNSMQ=y LFP=y NVRAM_64K=y BECEEM=y ODMPID=y GRO=y 
OPTIMIZE_XBOX=y JFFS2=y JFFS2LOG=y REPEATER=y DUALWAN=y BCMWL6=y USER_LOW_RSSI=y AUTODICT=y 
PROXYSTA=y OPENVPN=y VPNC=y CFE_NVRAM_CHK=y DUMP_OOPS_MSG=y DEBUGFS=y ROG=y STAINFO=y 
CLOUDCHECK=y NATNL=y JFFS2USERICON=y REBOOT_SCHEDULE=y  MULTICASTIPTV=y QUAGGA=y

export RT-AC66U := IPV6SUPP=y HTTPS=y MIPS32=r2 BCM57=y NTFS="tuxera" BBEXTRAS=y USBEXTRAS=y 
EBTABLES=y SAMBA3=y MEDIASRV=y MODEM=y MODEMPIN=y PARENTAL2=y ACCEL_PPTPD=y PRINTER=y WEBDAV=y 
CLOUDSYNC=y SWEBDAVCLIENT=y DROPBOXCLIENT=y FTPCLIENT=y SAMBACLIENT=y USB="USB" GRO=y YANDEXDNS=y
APP="installed" BUILD_NAME="RT-AC66U" DNSMQ=y LFP=y NVRAM_64K=y BCMWL6=y BCMNAND=y PROXYSTA=y 
BECEEM=y ODMPID=y DISK_MONITOR=y BOOTLZMA=y DUAL_TRX=y OPTIMIZE_XBOX=y REPEATER=y DUALWAN=y 
USER_LOW_RSSI=y AUTODICT=y OPENVPN=y VPNC=y DEBUGFS=y TEMPROOTFS=y BRCM_NAND_JFFS2=y QUAGGA=y 
JFFS2LOG=y ROG=y DUMP_OOPS_MSG=y STAINFO=y CLOUDCHECK=y NATNL=y REBOOT_SCHEDULE=y MULTICASTIPTV=y

export RT-AC53U := IPV6SUPP=y HTTPS=y MIPS32=r2 NTFS="open" BBEXTRAS=y USBEXTRAS=y EBTABLES=y 
SAMBA3=y MEDIASRV=y MODEM=y MODEMPIN=y PARENTAL2=y ACCEL_PPTPD=y PRINTER=y WEBDAV=y CLOUDSYNC=y 
SWEBDAVCLIENT=y DROPBOXCLIENT=y FTPCLIENT=y SAMBACLIENT=y USB="USB" GRO=y APP="installed" 
BUILD_NAME="RT-AC53U" DNSMQ=y LFP=y NVRAM_64K=y BCMWL6=y BCMNAND=y PROXYSTA=y BECEEM=y ODMPID=y 
BOOTLZMA=y OPTIMIZE_XBOX=y REPEATER=y USBAP="y" DISK_MONITOR=y DUALWAN=y LANWAN_LED=y AUTODICT=y 
BRCM_NAND_JFFS2=y JFFS2LOG=y VPNC=y OPENVPN=y DEBUGFS=y STAINFO=y REBOOT_SCHEDULE=y

export RT-N53 := IPV6SUPP=y MIPS32=r2 AUTODICT=y BBEXTRAS=y USBEXTRAS=y EBTABLES=y PARENTAL2=y 
ACCEL_PPTPD=y USB="USB" NO_USBSTORAGE=y USBAP="y" SMALL_FW_UPDATE=y DONGLE_VER="0x05648a89" 
LANWAN_LED=y WLAN_LED=y REPEATER=y DNSMQ=y BUILD_NAME="RT-N53" USER_LOW_RSSI=y ODMPID=y 
REBOOT_SCHEDULE=y # rtecdc_43236b1.h used 0x05648a89

export RT-N16 := IPV6SUPP=y  HTTPS=y MIPS32=r2 AUTODICT=y NTFS="paragon" BBEXTRAS=y USBEXTRAS=y 
EBTABLES=y SAMBA3=y MEDIASRV=y MODEM=y MODEMPIN=y PARENTAL2=y ACCEL_PPTPD=y DNSMQ=y PRINTER=y 
WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y DROPBOXCLIENT=y FTPCLIENT=y SAMBACLIENT=y USB="USB" 
APP="installed" BUILD_NAME="RT-N16" BECEEM=y REPEATER=y DUALWAN=y DISK_MONITOR=y USER_LOW_RSSI=y 
OPENVPN=n VPNC=y DEBUGFS=y SSH=y REBOOT_SCHEDULE=y

export RT-N15U := IPV6SUPP=y MIPS32=r2 AUTODICT=y NTFS="open" SFP8M=y BBEXTRAS=y USBEXTRAS=y 
EBTABLES=y SAMBA3=y MODEM=y MODEMPIN=y PRINTER=y PARENTAL2=y ACCEL_PPTPD=y REPEATER=y DNSMQ=y 
SFP=y USB="USB" APP="none" LANWAN_LED=y BUILD_NAME="RT-N15U" USER_LOW_RSSI=y LESSMODEM=y 
DEBUGFS=y REBOOT_SCHEDULE=y

export RT-N14UHP := IPV6SUPP=y HTTPS=y MIPS32=r2 AUTODICT=y NTFS="open" BBEXTRAS=y USBEXTRAS=y 
EBTABLES=y SAMBA3=y MEDIASRV=y MODEM=y MODEMPIN=y PARENTAL2=y ACCEL_PPTPD=y DNSMQ=y PRINTER=y 
WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y DROPBOXCLIENT=y FTPCLIENT=y SAMBACLIENT=y REPEATER=y USB="USB"
APP="network" BUILD_NAME="RT-N14UHP" USER_LOW_RSSI=y BECEEM=y DEBUGFS=y REBOOT_SCHEDULE=y

export RT-N12 := IPV6SUPP=y MIPS32=r2 AUTODICT=y BBEXTRAS=y EBTABLES=y PARENTAL2=y ACCEL_PPTPD=y 
REPEATER=y LANWAN_LED=y DNSMQ=y DYN_DICT_NAME=y SWMODE_SWITCH=y WL_AUTO_CHANNEL=y 
BUILD_NAME="RT-N12" USER_LOW_RSSI=y TEMPROOTFS=y REBOOT_SCHEDULE=y LAN50=y ATCOVER=y

export RT-N12B1 := IPV6SUPP=y MIPS32=r2 AUTODICT=y BBEXTRAS=y EBTABLES=y PARENTAL2=y 
ACCEL_PPTPD=y REPEATER=y LANWAN_LED=y DNSMQ=y DYN_DICT_NAME=y SWMODE_SWITCH=y 
WL_AUTO_CHANNEL=y BUILD_NAME="RT-N12B1" USER_LOW_RSSI=y TEMPROOTFS=y REBOOT_SCHEDULE=y

export RT-N12C1 := IPV6SUPP=y MIPS32=r2 AUTODICT=y BBEXTRAS=y EBTABLES=y PARENTAL2=y 
ACCEL_PPTPD=y REPEATER=y LANWAN_LED=y DNSMQ=y DYN_DICT_NAME=y SWMODE_SWITCH=y 
WL_AUTO_CHANNEL=y BUILD_NAME="RT-N12C1" USER_LOW_RSSI=y TEMPROOTFS=y REBOOT_SCHEDULE=y

export RT-N12D1 := IPV6SUPP=y MIPS32=r2 AUTODICT=y BBEXTRAS=y EBTABLES=y PARENTAL2=y ACCEL_PPTPD=y 
REPEATER=y LANWAN_LED=y DNSMQ=y DYN_DICT_NAME=y SWMODE_SWITCH=y WL_AUTO_CHANNEL=y HTTPS=y
BUILD_NAME="RT-N12D1" USER_LOW_RSSI=y DUALWAN=y YANDEXDNS=y TEMPROOTFS=y REBOOT_SCHEDULE=y

export RT-N12VP := IPV6SUPP=y MIPS32=r2 AUTODICT=y BBEXTRAS=y EBTABLES=y PARENTAL2=y 
ACCEL_PPTPD=y REPEATER=y LANWAN_LED=y DNSMQ=y DYN_DICT_NAME=y SWMODE_SWITCH=y WL_AUTO_CHANNEL=y 
BUILD_NAME="RT-N12VP" USER_LOW_RSSI=y YANDEXDNS=y TEMPROOTFS=y REBOOT_SCHEDULE=y HTTPS=y

export RT-N12HP := IPV6SUPP=y MIPS32=r2 AUTODICT=y BBEXTRAS=y EBTABLES=y PARENTAL2=y 
ACCEL_PPTPD=y REPEATER=y LANWAN_LED=y DNSMQ=y DYN_DICT_NAME=y SWMODE_SWITCH=y WL_AUTO_CHANNEL=y 
BUILD_NAME="RT-N12HP" USER_LOW_RSSI=y DUALWAN=y TEMPROOTFS=y REBOOT_SCHEDULE=y LAN50=y ATCOVER=y

export RT-N12HP_B1 := IPV6SUPP=y HTTPS=y MIPS32=r2 AUTODICT=y BBEXTRAS=y EBTABLES=y PARENTAL2=y 
ACCEL_PPTPD=y REPEATER=y LANWAN_LED=y DNSMQ=y DYN_DICT_NAME=y SWMODE_SWITCH=y WL_AUTO_CHANNEL=y 
BUILD_NAME="RT-N12HP_B1" USER_LOW_RSSI=y DUALWAN=y YANDEXDNS=y TEMPROOTFS=y REBOOT_SCHEDULE=y 
LAN50=y ATCOVER=y

export RT-N10U := IPV6SUPP=y MIPS32=r2 AUTODICT=y NTFS="open" BBEXTRAS=y USBEXTRAS=y EBTABLES=y 
SAMBA3=y MODEM=y MODEMPIN=y PRINTER=y PARENTAL2=y ACCEL_PPTPD=y REPEATER=y DNSMQ=y SFP=y 
USB="USB" APP="none" BUILD_NAME="RT-N10U" USER_LOW_RSSI=y LESSMODEM=y SMALL_FW_UPDATE=y 
DEBUGFS=y DUALWAN=y REBOOT_SCHEDULE=y

export RT-N10+ := MIPS32=r2 AUTODICT=y PARENTAL2=y SFP=y SFP4M=y BUILD_NAME="RT-N10+" 
USER_LOW_RSSI=y REBOOT_SCHEDULE=y

export RT-N10D1 := MIPS32=r2 AUTODICT=y PARENTAL2=y SFP=y SFP4M=y SFPRAM16M=y 
BUILD_NAME="RT-N10D1" USER_LOW_RSSI=y REBOOT_SCHEDULE=y

export RT-N10P := IPV6SUPP=y MIPS32=r2 AUTODICT=y BBEXTRAS=y EBTABLES=y PARENTAL2=y ACCEL_PPTPD=y 
REPEATER=y DNSMQ=y BUILD_NAME="RT-N10P" USER_LOW_RSSI=y YANDEXDNS=y TEMPROOTFS=y REBOOT_SCHEDULE=y

export RT-N10PV2 := MIPS32=r2 AUTODICT=y PARENTAL2=y SFP=y SFP4M=y BUILD_NAME="RT-N10PV2" 
USER_LOW_RSSI=y YANDEXDNS=y REBOOT_SCHEDULE=y

# Broadcom ARM platform

export RT-AC3200 := IPV6SUPP=y HTTPS=y ARM=y BCM57=y AUTODICT=y BBEXTRAS=y USBEXTRAS=y 
EBTABLES=y SAMBA3=y MEDIASRV=y MODEM=y MODEMPIN=y BECEEM=y PARENTAL2=y ACCEL_PPTPD=y PRINTER=y 
WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y DROPBOXCLIENT=y FTPCLIENT=y SAMBACLIENT=y USB="USB" GRO=y 
APP="installed" BUILD_NAME="RT-AC3200" PROXYSTA=y DNSMQ=y SHP=y NVRAM_64K=y BCMWL6=y BCMWL6A=y 
BCM7=y TUNEK="n" BCM5301X=y DISK_MONITOR=y BTN_WIFITOG=y OPTIMIZE_XBOX=y ODMPID=y LED_BTN=y 
BCMSMP=y XHCI=y DUALWAN=y REPEATER=y USER_LOW_RSSI=y OPENVPN=y TIMEMACHINE=y MDNS=y TFAT=y 
NTFS="tuxera" HFS="tuxera" VPNC=y BRCM_NAND_JFFS2=y JFFS2LOG=y BCMFA=y BWDPI=y DUMP_OOPS_MSG=y 
DHDAP=y DPSTA=y GMAC3=y HSPOT=n LINUX_MTD="64" DEBUGFS=y NVSIZE="64" TEMPROOTFS=y SSH=y NOWL=y 
EMAIL=y ADBLOCK=n ROG=y STAINFO=y BCM5301X_TRAFFIC_MONITOR=y CLOUDCHECK=y NATNL=y 
JFFS2USERICON=y BCM_RECVFILE=y DISABLE_REPEATER_UI=y REBOOT_SCHEDULE=y MULTICASTIPTV=y QUAGGA=y

export RT-AC87U := IPV6SUPP=y HTTPS=y ARM=y BCM57=y AUTODICT=y BBEXTRAS=y USBEXTRAS=y EBTABLES=y 
SAMBA3=y MEDIASRV=y MODEM=y MODEMPIN=y BECEEM=y PARENTAL2=y ACCEL_PPTPD=y PRINTER=y WEBDAV=y 
CLOUDSYNC=y SWEBDAVCLIENT=y DROPBOXCLIENT=y FTPCLIENT=y SAMBACLIENT=y USB="USB" GRO=y 
APP="installed" BUILD_NAME="RT-AC87U" PROXYSTA=y DNSMQ=y SHP=y NVRAM_64K=y BCMWL6=y BCMWL6A=y 
TUNEK="n" BCM5301X=y DISK_MONITOR=y BTN_WIFITOG=y OPTIMIZE_XBOX=y ODMPID=y LED2_BTN=y LED_BTN=y 
BCMSMP=y XHCI=y DUALWAN=y HW_DUALWAN=y REPEATER=y USER_LOW_RSSI=y OPENVPN=y TIMEMACHINE=y MDNS=y 
TFAT=y NTFS="tuxera" HFS="tuxera" VPNC=y BRCM_NAND_JFFS2=y JFFS2LOG=y BCMFA=y RGMII_BCM_FA=y 
XHCIMODE=y QTN=y TFTP=y LINUX_MTD="64" RGMII_BRCM5301X=y BWDPI=y DUMP_OOPS_MSG=y DEBUGFS=y 
EXT_LED_WPS=y DISABLE_REPEATER_UI=y EMAIL=y SSH=y TEMPROOTFS=y JFFS2ND_BACKUP=y WPS_DUALBAND=y 
ROG=y ADBLOCK=n STAINFO=y BCM5301X_TRAFFIC_MONITOR=y NATNL=y JFFS2USERICON=y BCM_RECVFILE=y 
REBOOT_SCHEDULE=y MULTICASTIPTV=y QUAGGA=y YANDEXDNS=y

export RT-AC87U_7 := IPV6SUPP=y HTTPS=y ARM=y BCM57=y AUTODICT=y BBEXTRAS=y USBEXTRAS=y 
EBTABLES=y SAMBA3=y MEDIASRV=y MODEM=y MODEMPIN=y BECEEM=y PARENTAL2=y ACCEL_PPTPD=y PRINTER=y 
WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y DROPBOXCLIENT=y FTPCLIENT=y SAMBACLIENT=y USB="USB" GRO=y 
APP="installed" BUILD_NAME="RT-AC87U" PROXYSTA=y DNSMQ=y SHP=y NVRAM_64K=y BCMWL6=y BCMWL6A=y 
TUNEK="n" BCM5301X=y DISK_MONITOR=y BTN_WIFITOG=y OPTIMIZE_XBOX=y ODMPID=y LED2_BTN=y LED_BTN=y 
BCMSMP=y XHCI=y DUALWAN=y HW_DUALWAN=y REPEATER=y USER_LOW_RSSI=y OPENVPN=y TIMEMACHINE=y MDNS=y 
TFAT=y NTFS="tuxera" HFS="tuxera" VPNC=y BRCM_NAND_JFFS2=y JFFS2LOG=y BCMFA=y GMAC3=n QUAGGA=y 
RGMII_BCM_FA=y XHCIMODE=y QTN=y TFTP=y LINUX_MTD="64" RGMII_BRCM5301X=y BWDPI=y DUMP_OOPS_MSG=y 
DEBUGFS=y EXT_LED_WPS=y DISABLE_REPEATER_UI=y EMAIL=y SSH=y TEMPROOTFS=y JFFS2ND_BACKUP=y ROG=y 
WPS_DUALBAND=y ADBLOCK=n STAINFO=y BCM5301X_TRAFFIC_MONITOR=y BCM_7114=y NOWLALL=n TUXERA_SMBD=y
ETLAN_LED=y NOWL=y DHDAP=y DPSTA=y LACP=y NATNL=y BCM_RECVFILE=y REBOOT_SCHEDULE=y MULTICASTIPTV=y

export RT-AC68U_BASE := IPV6SUPP=y HTTPS=y ARM=y BCM57=y AUTODICT=y BBEXTRAS=y USBEXTRAS=y 
EBTABLES=y SAMBA3=y MEDIASRV=y MODEM=y MODEMPIN=y BECEEM=y PARENTAL2=y ACCEL_PPTPD=y PRINTER=y 
WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y DROPBOXCLIENT=y FTPCLIENT=y SAMBACLIENT=y USB="USB" GRO=y 
APP="installed" PROXYSTA=y DNSMQ=y SHP=y NVRAM_64K=y BCMWL6=y BCMWL6A=y TUNEK="n" BCM5301X=y 
DISK_MONITOR=y BTN_WIFITOG=y TURBO=y OPTIMIZE_XBOX=y ODMPID=y LED_BTN=y BCMSMP=y XHCI=y 
DUALWAN=y REPEATER=y USER_LOW_RSSI=y OPENVPN=y TIMEMACHINE=y MDNS=y VPNC=y BRCM_NAND_JFFS2=y 
JFFS2LOG=y BCMFA=y BWDPI=y DUMP_OOPS_MSG=y HSPOT=y LINUX_MTD="64" DEBUGFS=y BCM7=n TEMPROOTFS=y 
SSH=y EMAIL=y ROG=y SSD=n ADBLOCK=n STAINFO=y BCM5301X_TRAFFIC_MONITOR=y CLOUDCHECK=y NATNL=y 
JFFS2USERICON=y BCM_RECVFILE=y REBOOT_SCHEDULE=y MULTICASTIPTV=y QUAGGA=y YANDEXDNS=y

export RT-AC68U := $(RT-AC68U_BASE) TFAT=y NTFS="tuxera" HFS="tuxera"
export RT-AC68U += BUILD_NAME="RT-AC68U"
DSL-AC68U-NONE := TURBO=y LED_BTN=y REPEATER=y ROG=y NATNL=y
export DSL-AC68U := $(filter-out $(DSL-AC68U-NONE),$(RT-AC68U_BASE))
export DSL-AC68U += BUILD_NAME="DSL-AC68U" TFAT=y NTFS="tuxera" HFS="tuxera" 
DSL=y DSL_TCLINUX=y VDSL=y BTN_WPS_ALLLED=y TCPDUMP=y

export RT-AC68A := IPV6SUPP=y HTTPS=y ARM=y BCM57=y AUTODICT=y BBEXTRAS=y USBEXTRAS=y EBTABLES=y 
SAMBA3=y MEDIASRV=y PARENTAL2=y PRINTER=y WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y DROPBOXCLIENT=y 
FTPCLIENT=y SAMBACLIENT=y USB="USB" GRO=y APP="none" PROXYSTA=y DNSMQ=y SHP=y NVRAM_64K=y TFAT=y 
BCMWL6=y BCMWL6A=y TUNEK="n" BCM5301X=y DISK_MONITOR=y BTN_WIFITOG=y TURBO=y OPTIMIZE_XBOX=y 
ODMPID=y LED_BTN=y ARMCPUSMP=up XHCI=y DUALWAN=y REPEATER=y USER_LOW_RSSI=y MDNS=y JFFS2USERICON=y 
BRCM_NAND_JFFS2=y JFFS2LOG=y BCMFA=y BWDPI=y DUMP_OOPS_MSG=n HSPOT=y LINUX_MTD="64" DEBUGFS=y 
BCM7=n TEMPROOTFS=y SSH=y EMAIL=y ROG=y SSD=n ADBLOCK=n STAINFO=y BCM5301X_TRAFFIC_MONITOR=y 
CLOUDCHECK=y BCM_RECVFILE=y REBOOT_SCHEDULE=y NTFS="tuxera" HFS="tuxera" BUILD_NAME="RT-AC68A"

export RT4G-AC68U := $(RT-AC68U_BASE) TFAT=y NTFS="tuxera" HFS="tuxera" BUILD_NAME="4G-AC68U" RT4GAC68U=y
export RT4G-AC68U += GOBI=y LAN50=y ATCOVER=y GETREALIP=y
export RT4G-AC68U += LANWAN_LED=y LED_BTN=n TURBO=n
# 7114 cannot use wl only

export RT-AC88U_BASE := IPV6SUPP=y HTTPS=y ARM=y BCM57=y AUTODICT=y BBEXTRAS=y USBEXTRAS=y 
EBTABLES=y SAMBA3=y MEDIASRV=y MODEM=y MODEMPIN=y BECEEM=y PARENTAL2=y ACCEL_PPTPD=y PRINTER=y 
WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y DROPBOXCLIENT=y FTPCLIENT=y SAMBACLIENT=y USB="USB" GRO=y 
APP="installed" PROXYSTA=y DNSMQ=y SHP=y BCMWL6=y BCMWL6A=y TUNEK="n" BCM5301X=y DISK_MONITOR=y 
BTN_WIFITOG=y OPTIMIZE_XBOX=y ODMPID=y LED_BTN=y BCMSMP=y XHCI=y DUALWAN=y REPEATER=y 
USER_LOW_RSSI=y OPENVPN=y TIMEMACHINE=y MDNS=y TFAT=y NTFS="tuxera" HFS="tuxera" VPNC=y 
BRCM_NAND_JFFS2=y JFFS2LOG=y BWDPI=y DUMP_OOPS_MSG=y LINUX_MTD="64" DEBUGFS=y TEMPROOTFS=y SSH=y 
EMAIL=y ADBLOCK=n ROG=y SSD=n STAINFO=y BCM5301X_TRAFFIC_MONITOR=y CLOUDCHECK=y NATNL=y 
JFFS2USERICON=y BCM_RECVFILE=y CFEZ=y ERPTEST=n WIFILOGO=n FORCE_AUTO_UPGRADE=n FAKEID=n 
TUXERA_SMBD=y REBOOT_SCHEDULE=y MULTICASTIPTV=y QUAGGA=y ASPMD=n BCMEVENT=n WLCLMLOAD=y 
BCM_MUMIMO=y YANDEXDNS=y

export RT-AC88U := $(RT-AC88U_BASE)
export RT-AC88U += BUILD_NAME="RT-AC88U" RGMII_BRCM5301X=y SWITCH2="RTL8365MB" BCM_MMC=n 
BCM_7114=y NOWLALL=n ETLAN_LED=y ROMCFE=n NVSIZE="128" NOWL=y DHDAP=y DPSTA=y USB_DEBUG=n 
BCMFA=n GMAC3=y LACP=y RESET_SWITCH=n WTFAST=y FORCE_SN="380" FORCE_EN="664" 
DISABLE_REPEATER_UI=n LAN50=y ATCOVER=y NEWSSID_REV2=y

export RT-AC3100 := $(RT-AC88U_BASE)
export RT-AC3100 += BUILD_NAME="RT-AC3100" SWITCH2="" BCM_MMC=n BCM_7114=y NOWLALL=n ETLAN_LED=y 
ROMCFE=n NVSIZE="128" NOWL=y DHDAP=y DPSTA=y BCMFA=n GMAC3=y LACP=y WTFAST=y FORCE_SN="380" 
FORCE_EN="664" DISABLE_REPEATER_UI=y LAN50=y NEWSSID_REV2=y

export RT-AC5300 := $(RT-AC88U_BASE)
export RT-AC5300 += BUILD_NAME="RT-AC5300" RGMII_BRCM5301X=y SWITCH2="" BCM_MMC=n BCM_7114=y 
NOWLALL=n ETLAN_LED=y NVSIZE="128" NOWL=y DHDAP=y DPSTA=y BCMFA=n GMAC3=y LACP=y WTFAST=y 
FORCE_SN="380" FORCE_EN="630" DISABLE_REPEATER_UI=y

export RT-AC5300R := $(RT-AC88U_BASE)
export RT-AC5300R += BUILD_NAME="RT-AC5300R" RGMII_BRCM5301X=y SWITCH2="RTL8370MB" BCM_MMC=n 
BCM_7114=y NOWLALL=n ETLAN_LED=y NVSIZE="128" NOWL=y DHDAP=y DPSTA=y BCMFA=n GMAC3=y LACP=y 
WTFAST=y FORCE_SN="380" FORCE_EN="630" DISABLE_REPEATER_UI=y

export RP-AC68U := IPV6SUPP=y HTTPS=y ARM=y BCM57=y NTFS="paragon" AUTODICT=y BBEXTRAS=y 
USBEXTRAS=y EBTABLES=y SAMBA3=y MEDIASRV=y MODEM=y MODEMPIN=y BECEEM=y PARENTAL2=y ACCEL_PPTPD=y 
PRINTER=y WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y DROPBOXCLIENT=y FTPCLIENT=y SAMBACLIENT=y 
USB="USB" GRO=y APP="installed" PROXYSTA=y DNSMQ=y SHP=y NVRAM_64K=y BCMWL6=y BCMWL6A=y 
TUNEK="n" BCM5301X=y DISK_MONITOR=y BTN_WIFITOG=y TURBO=y OPTIMIZE_XBOX=y ODMPID=y LED_BTN=y 
BCMSMP=y XHCI=y REPEATER=y USER_LOW_RSSI=y OPENVPN=y TIMEMACHINE=y MDNS=y HFS="paragon" VPNC=y 
BRCM_NAND_JFFS2=y JFFS2LOG=y BCMFA=y XHCIMODE=y BWDPI=y DUMP_OOPS_MSG=y LINUX_MTD="64" DEBUGFS=y 
BCM7=n TEMPROOTFS=y SSH=y EMAIL=n ROG=y SSD=n BUILD_NAME="RP-AC68U" WIFIPWR=y LEDARRAY=y 
ADBLOCK=n FEM_PATCH=y STAINFO=y REBOOT_SCHEDULE=y

export RT-AC56S := IPV6SUPP=y HTTPS=y ARM=y BCM57=y TFAT=y NTFS="tuxera" HFS="tuxera" AUTODICT=y 
BBEXTRAS=y USBEXTRAS=y EBTABLES=y SAMBA3=y MEDIASRV=y MODEM=y MODEMPIN=y BECEEM=y PARENTAL2=y 
ACCEL_PPTPD=y PRINTER=y WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y DROPBOXCLIENT=y FTPCLIENT=y 
SAMBACLIENT=y USB="USB" GRO=y APP="installed" BUILD_NAME="RT-AC56S" PROXYSTA=y DNSMQ=y SHP=y 
NVRAM_64K=y BCMWL6=y BCMWL6A=y TUNEK="n" BCM5301X=y DISK_MONITOR=y BTN_WIFITOG=y TURBO=y ROG=y 
BCM4352_5G=y LANWAN_LED=y OPTIMIZE_XBOX=y ODMPID=y LED_ALL=y XHCI=y REPEATER=y ARMCPUSMP=up 
DUALWAN=y USER_LOW_RSSI=y OPENVPN=y VPNC=y BRCM_NAND_JFFS2=y JFFS2LOG=y XHCIMODE=y TIMEMACHINE=y 
BWDPI=y LINUX_MTD="64" DEBUGFS=y TEMPROOTFS=y SSH=y EMAIL=y ADBLOCK=n STAINFO=y MULTICASTIPTV=y
BCM5301X_TRAFFIC_MONITOR=n CLOUDCHECK=y DUMP_OOPS_MSG=y BCM_RECVFILE=y REBOOT_SCHEDULE=y QUAGGA=y

export RT-AC56U := IPV6SUPP=y HTTPS=y ARM=y BCM57=y TFAT=y NTFS="tuxera" HFS="tuxera" AUTODICT=y 
BBEXTRAS=y USBEXTRAS=y EBTABLES=y SAMBA3=y MEDIASRV=y MODEM=y MODEMPIN=y BECEEM=y PARENTAL2=y 
ACCEL_PPTPD=y PRINTER=y WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y DROPBOXCLIENT=y FTPCLIENT=y 
SAMBACLIENT=y USB="USB" GRO=y APP="installed" BUILD_NAME="RT-AC56U" PROXYSTA=y DNSMQ=y SHP=y 
NVRAM_64K=y BCMWL6=y BCMWL6A=y TUNEK="n" BCM5301X=y DISK_MONITOR=y BTN_WIFITOG=y TURBO=y 
BCM4352_5G=y LANWAN_LED=y OPTIMIZE_XBOX=y ODMPID=y BCMSMP=y LED_ALL=y XHCI=y REPEATER=y 
DUALWAN=y USER_LOW_RSSI=y OPENVPN=y VPNC=y BRCM_NAND_JFFS2=y JFFS2LOG=y BCMFA=y XHCIMODE=y 
TIMEMACHINE=y BWDPI=y LINUX_MTD="64" DEBUGFS=y TEMPROOTFS=y SSH=y EMAIL=y ROG=y ADBLOCK=n 
ROMCCODE=y STAINFO=y BCM5301X_TRAFFIC_MONITOR=n CLOUDCHECK=y DUMP_OOPS_MSG=y BCM_RECVFILE=y 
REBOOT_SCHEDULE=y MULTICASTIPTV=y QUAGGA=y

export RT-N18U := IPV6SUPP=y HTTPS=y ARM=y BCM57=y NTFS="paragon" HFS="paragon" AUTODICT=y 
BBEXTRAS=y USBEXTRAS=y EBTABLES=y SAMBA3=y MEDIASRV=y MODEM=y MODEMPIN=y BECEEM=y PARENTAL2=y 
ACCEL_PPTPD=y PRINTER=y WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y DROPBOXCLIENT=y FTPCLIENT=y VPNC=y 
SAMBACLIENT=y USB="USB" GRO=y APP="installed" BUILD_NAME="RT-N18U" PROXYSTA=y DNSMQ=y SHP=y 
NVRAM_64K=y BCMWL6=y BCMWL6A=y TUNEK="n" BCM5301X=y DISK_MONITOR=y LANWAN_LED=y OPTIMIZE_XBOX=y 
ODMPID=y XHCI=y DUALWAN=y REPEATER=y ARMCPUSMP=up USER_LOW_RSSI=y OPENVPN=y TIMEMACHINE=y MDNS=y 
BRCM_NAND_JFFS2=y JFFS2LOG=y XHCIMODE=y DEBUGFS=y STAINFO=y BCM5301X_TRAFFIC_MONITOR=n QUAGGA=y 
DUMP_OOPS_MSG=y LINUX_MTD="64" BCM_RECVFILE=n REBOOT_SCHEDULE=y MULTICASTIPTV=y YANDEXDNS=y

export RT-AC1200G_BASE := IPV6SUPP=y ARM=y BCM57=n NTFS="open" AUTODICT=y BBEXTRAS=y USBEXTRAS=y 
EBTABLES=y SAMBA3=y MEDIASRV=y PARENTAL2=y USB="USB" GRO=y APP="none" DNSMQ=y SHP=y NVRAM_64K=y 
RTAC1200G=y BCMWL6=y BCMWL6A=y TUNEK="n" BCM5301X=n DISK_MONITOR=y LANWAN_LED=n OPTIMIZE_XBOX=y 
MDNS=y HFS="open" DUMP_OOPS_MSG=n DEBUGFS=n BCM9=y TEMPROOTFS=y BTN_WPS_ALLLED=y 
REBOOT_SCHEDULE=y JFFS2=y JFFS2LOG=y HTTPS=y SSH=y ODMPID=y

export RT-AC1200G := $(RT-AC1200G_BASE)
export RT-AC1200G += BUILD_NAME="RT-AC1200G"
export RT-AC1200G+ := $(RT-AC1200G_BASE)

export RT-AC1200G+ += BUILD_NAME="RT-AC1200G+" MODEM=y MODEMPIN=y BECEEM=n ACCEL_PPTPD=y 
PRINTER=y WEBDAV=n CLOUDSYNC=n SWEBDAVCLIENT=n PROXYSTA=y USER_LOW_RSSI=y VPNC=y YANDEXDNS=y 
REPEATER=y DISABLE_REPEATER_UI=y  MULTICASTIPTV=y QUAGGA=y

# Ralink platform

export RT-N56U := IPV6SUPP=y MIPS32=r2 RALINK=y RT3883=y NTFS="paragon" BBEXTRAS=y USBEXTRAS=y 
EBTABLES=y SAMBA3=y MODEM=y MODEMPIN=y PARENTAL2=y ACCEL_PPTPD=y PRINTER=y USB="USB" APP="network" 
AUTODICT=y LANWAN_LED=y BUILD_NAME="RT-N56U" ODMPID=y SFP8M=y AP_CARRIER_DETECTION=y LOCALE2012=y 
NO_MKTOOLS=y TEMPROOTFS=y LESSMODEM=y RTN56U=y REBOOT_SCHEDULE=y

export DSL-N55U := IPV6SUPP=y DUALWAN=y WIRELESS_SWITCH=y MIPS32=r2 RALINK=y RT3883=y NTFS="paragon" 
PARENTAL2=y IPV6SUPP=y BBEXTRAS=y USBEXTRAS=y EBTABLES=y SAMBA3=y MODEM=y MODEMPIN=y ACCEL_PPTPD=y 
APP="network" PRINTER=y DSL=y USB="USB" AUTODICT=y LANWAN_LED=y DISK_MONITOR=y BUILD_NAME="DSL-N55U" 
SFP8M=y AP_CARRIER_DETECTION=y LOCALE2012=y NO_MKTOOLS=y DEBUGFS=y DSLN55U=y REBOOT_SCHEDULE=y

export DSL-N55U-B := IPV6SUPP=y DUALWAN=y WIRELESS_SWITCH=y MIPS32=r2 RALINK=y RT3883=y NTFS="paragon" 
PARENTAL2=y IPV6SUPP=y BBEXTRAS=y USBEXTRAS=y EBTABLES=y SAMBA3=y MODEM=y MODEMPIN=y ACCEL_PPTPD=y 
APP="network" PRINTER=y DSL=y ANNEX_B=y USB="USB" AUTODICT=y LANWAN_LED=y DISK_MONITOR=y LOCALE2012=y
BUILD_NAME="DSL-N55U-B" SFP8M=y AP_CARRIER_DETECTION=y NO_MKTOOLS=y DEBUGFS=y REBOOT_SCHEDULE=y

export RT-N13U := IPV6SUPP=y MIPS32=r1 RALINK=y RT3052=y NTFS="paragon" BBEXTRAS=y EBTABLES=y 
NO_LIBOPT=y SLIM=y USBEXTRAS=y PRINTER=y USB="USB" BUILD_NAME="RT-N13U" DEBUGFS=y REBOOT_SCHEDULE=y

export EA-N66 := IPV6SUPP=y MIPS32=r1 RALINK=y RT3052=y BBEXTRAS=y EBTABLES=y NO_SAMBA=y NO_ROUTE=y 
NO_LIBOPT=y SLIM=y WIRELESSWAN=y BUILD_NAME="EA-N66" REBOOT_SCHEDULE=y

############################################################################
# Ralink platform, linux-3.x
# Valild option for INIC_CHIP are shown below:
#	RT3352_MII
# Valild option for BOOT_FLASH_TYPE are shown below:
#	NOR
#	SPI
#	NAND
# Valid option for SWITCH_CHIP are shown below:
# a. RTL8367B SDK (See drivers/char/rtl8367b/rtk_api.c)
#	RTK_X86_ASICDRV
#	CHIP_RTL8363SB
#	CHIP_RTL8365MB
#	CHIP_RTL8367_VB
#	CHIP_RTL8367RB
#	CHIP_RTL8367R_VB
#	CHIP_RTL8367MB
#	CHIP_RTL8367M_VB
#	CHIP_RTL8368MB
#	CHIP_RTL8305MB
#	CHIP_RTL8307M_VB
# b. RTL8370 SDK (Defined by myself)
# 	CHIP_RTL8367M
# 	CHIP_RTL8370
# Valid option for SWITCH_CTRLIF are shown below:
# 	CTRLIF_SMI_SCK_GPIO_NR_2_SDA_GPIO_NR_1
# 	CTRLIF_SMI_SCK_MDC_SDA_MDIO
# 	CTRLIF_MDIO

export RT-N65U := IPV6SUPP=y MIPS32=r2 RALINK=y RT3883=y NTFS="paragon" BBEXTRAS=y USBEXTRAS=y 
EBTABLES=y SAMBA3=y MODEM=y MODEMPIN=y HTTPS=y WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y PARENTAL2=y 
ACCEL_PPTPD=y PRINTER=y USB="USB" APP="network" AUTODICT=y LANWAN_LED=y SHP=y BUILD_NAME="RT-N65U" 
RTN65U=y NVRAM_64K=y BECEEM=y ODMPID=y LED_ALL=y EXT4FS=y OPENVPN=y VPNC=y DISK_MONITOR=y 
DUMP_OOPS_MSG=y DEBUGFS=y REBOOT_SCHEDULE=y \
	XHCI=y \
	JFFS2=y MTK_TW_AUTO_BAND4=y\
	TEMPROOTFS=y WPSMULTIBAND=y \
	BOOT_FLASH_TYPE=SPI \
	INIC_CHIP=RT3352_MII \
	SWITCH_VLAN=y SWITCH_CHIP=CHIP_RTL8367RB SWITCH_CTRLIF=CTRLIF_MDIO 
        WLAN2_ON_SWITCH_GMAC2=y SWITCH_LAN_WAN_SWAP=y

############################################################################
# MTK platform, linux-2.6.36.x
# Valild option for BOOT_FLASH_TYPE are shown below:
#	NOR, SPI, NAND
# Valild option for DRAM are shown below:
#	8M, 16M, 32M, 64M, 128M, 256M
# Valid option for SECOND_IF are shown below:
# 	NONE, MT7610
# 	RT3092, RT5392, RT5592, RT3593, RT3572, RT5572 (TBD)

export RT-N14U := IPV6SUPP=y HTTPS=y MIPS32=r2 RALINK=y MT7620=y BBEXTRAS=y USBEXTRAS=y EBTABLES=y 
SAMBA3=y MODEM=y MODEMPIN=y PARENTAL2=y ACCEL_PPTPD=y PRINTER=y USB="USB" APP="network" AUTODICT=y 
LANWAN_LED=y SHP=y BUILD_NAME="RT-N14U" RTN14U=y NTFS="open" BECEEM=y ODMPID=y WEBDAV=y CLOUDSYNC=y 
SWEBDAVCLIENT=y DEBUGFS=y REBOOT_SCHEDULE=y \
	BLINK_LED=y \
	JFFS2=y PSISTLOG=y \
	TEMPROOTFS=y \
	BOOT_FLASH_TYPE=SPI \
	DRAM=64M \
	SECOND_IF=NONE SINGLE_2G=y EDCCA=y \
	REPEATER=y NEW_USER_LOW_RSSI=y \
	EXTRA_KERNEL_CONFIGS="MT7620_BAUDRATE=57600 RT2880_DRAM_64M=y RALINK_TIMER_DFS=y PCI=n INTERNAL_PA_INTERNAL_LNA=y 
        RT2860V2_AP_RTMP_INTERNAL_TX_ALC=y RT2860V2_AP_RTMP_TEMPERATURE_COMPENSATION=n" LAN50=y ATCOVER=y

export RT-AC52U := IPV6SUPP=y HTTPS=y MIPS32=r2 RALINK=y MT7620=y BBEXTRAS=y USBEXTRAS=y EBTABLES=y 
SAMBA3=y MEDIASRV=y MODEM=y MODEMPIN=y PARENTAL2=y ACCEL_PPTPD=y PRINTER=y USB="USB" APP="network" AUTODICT=y 
LANWAN_LED=y SHP=y BUILD_NAME="RT-AC52U" RTAC52U=y NTFS="open" BECEEM=y ODMPID=y BTN_WIFITOG=y UBI=y DUAL_TRX=y 
LED_ALL=y NEW_RGDM=y RA_SKU=y OPENVPN=y VPNC=y DUALWAN=y DUMP_OOPS_MSG=y DEBUGFS=y REBOOT_SCHEDULE=y \
	WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y DROPBOXCLIENT=y FTPCLIENT=y SAMBACLIENT=y \
	BLINK_LED=y \
	BOOT_FLASH_TYPE=NAND \
	DRAM=128M MTK_TW_AUTO_BAND4=y\
	SECOND_IF=MT7610E EDCCA=y \
	UBIFS=y PSISTLOG=y \
	TEMPROOTFS=y WPSMULTIBAND=y \
	REPEATER=y NEW_USER_LOW_RSSI=y \
	EXTRA_KERNEL_CONFIGS="MT7620_BAUDRATE=115200 RT2880_DRAM_128M=y UBOOT_CMDLINE=y EXTERNAL_PA_EXTERNAL_LNA=y"

export RT-AC51U := IPV6SUPP=y HTTPS=y MIPS32=r2 RALINK=y MT7620=y BBEXTRAS=y USBEXTRAS=y EBTABLES=y 
SAMBA3=y MODEM=y MODEMPIN=y PARENTAL2=y ACCEL_PPTPD=y PRINTER=y USB="USB" APP="network" AUTODICT=y 
SHP=y BUILD_NAME="RT-AC51U" RTAC51U=y NTFS="open" ODMPID=y WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y LED_ALL=y 
NEW_RGDM=y RA_SKU=y OPENVPN=y VPNC=y DEBUGFS=y YANDEXDNS=y REBOOT_SCHEDULE=y DUALWAN=y MULTICASTIPTV=y \
	BLINK_LED=y \
	BOOT_FLASH_TYPE=SPI SPI_FAST_CLOCK=y \
	DRAM=64M MTK_TW_AUTO_BAND4=y \
	SECOND_IF=MT7610E EDCCA=y RALINK_DFS=y \
	JFFS2=y PSISTLOG=y \
	TEMPROOTFS=y \
	EXTRA_KERNEL_CONFIGS="MT7620_BAUDRATE=115200 RT2880_DRAM_64M=y UBOOT_CMDLINE=y 
        INTERNAL_PA_INTERNAL_LNA=y RT2860V2_AP_RTMP_INTERNAL_TX_ALC=n" LAN50=y ATCOVER=y

export RT-AC51U+ := IPV6SUPP=y HTTPS=y MIPS32=r2 RALINK=y MT7620=y BBEXTRAS=y USBEXTRAS=y EBTABLES=y 
SAMBA3=y MODEM=y MODEMPIN=y PARENTAL2=y ACCEL_PPTPD=y PRINTER=y USB="USB" APP="network" AUTODICT=y 
SHP=y BUILD_NAME="RT-AC51U+" RTAC51UP=y NTFS="open" ODMPID=y WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y 
LED_ALL=y NEW_RGDM=y RA_SKU=y RA_SKU_IN_DRV=y OPENVPN=y VPNC=y DEBUGFS=y REBOOT_SCHEDULE=y 
BTN_WPS_ALLLED=y SSH=y LAN50=y ATCOVER=y GETREALIP=y \
	BOOT_FLASH_TYPE=SPI SPI_FAST_CLOCK=y \
	DRAM=64M \
	SECOND_IF=MT7610E EDCCA=y RALINK_DFS=y \
	JFFS2=y PSISTLOG=y \
	TEMPROOTFS=y \
	EXTRA_KERNEL_CONFIGS="MT7620_BAUDRATE=115200 RT2880_DRAM_64M=y UBOOT_CMDLINE=y 
        INTERNAL_PA_INTERNAL_LNA=y RT2860V2_AP_RTMP_INTERNAL_TX_ALC=n MT7610_AP_APCLI=y 
        SWITCH_CHIP_RTL8367RB=y SWITCH_CTRLIF_MDIO=y RAETH_HAS_PORT5=y P5_RGMII_TO_MAC_MODE=y MODEL_RTAC51UP=y"

export RT-AC53 := IPV6SUPP=y HTTPS=y MIPS32=r2 RALINK=y MT7620=y EBTABLES=y PARENTAL2=y 
ACCEL_PPTPD=y AUTODICT=y SHP=y BUILD_NAME="RT-AC53" RTAC53=y SFP=y ODMPID=y LED_ALL=y NEW_RGDM=y 
RA_SKU=y RA_SKU_IN_DRV=y DEBUGFS=y REBOOT_SCHEDULE=y OPENVPN=y VPNC=y REPEATER=y TCODE=y MDNS=y 
FINDASUS=y BTN_WPS_ALLLED=y SSH=y NEWSSID_REV2=y LAN50=y ATCOVER=y GETREALIP=y REDIRECT_DNAME=y \
	BOOT_FLASH_TYPE=SPI SPI_FAST_CLOCK=y \
	DRAM=64M \
	SECOND_IF=MT7610E EDCCA=y RALINK_DFS=y \
	EXTRA_KERNEL_CONFIGS="MT7620_BAUDRATE=115200 RT2880_DRAM_64M=y UBOOT_CMDLINE=y 
        EXTERNAL_PA_EXTERNAL_LNA=y RT2860V2_AP_RTMP_INTERNAL_TX_ALC=n SWITCH_CHIP_RTL8367RB=y 
        SWITCH_CTRLIF_MDIO=y RAETH_HAS_PORT5=y P5_RGMII_TO_MAC_MODE=y MODEL_RTAC53=y"

export RT-N11P := IPV6SUPP=y HTTPS=y MIPS32=r2 RALINK=y MT7620=y EBTABLES=y PARENTAL2=y 
ACCEL_PPTPD=y AUTODICT=y SHP=y LANWAN_LED=y BUILD_NAME="RT-N11P" RTN11P=y SFP=y ODMPID=y 
NEW_RGDM=y RA_SKU=y REPEATER=y NEW_USER_LOW_RSSI=y BTN_WPS_RST=y VPNC=y YANDEXDNS=y 
REBOOT_SCHEDULE=y GETREALIP=y ATCOVER=y LAN50=y \
	BLINK_LED=y \
	TEMPROOTFS=y \
	BOOT_FLASH_TYPE=SPI \
	DRAM=32M \
	SECOND_IF=NONE SINGLE_2G=y EDCCA=y \
	EXTRA_KERNEL_CONFIGS="MT7620_BAUDRATE=115200 RT2880_DRAM_32M=y UBOOT_CMDLINE=y PCI=n 
        INTERNAL_PA_INTERNAL_LNA=y RT2860V2_AP_RTMP_INTERNAL_TX_ALC=n"

export RT-N300 := IPV6SUPP=y HTTPS=y MIPS32=r2 RALINK=y MT7620=y EBTABLES=y PARENTAL2=y 
ACCEL_PPTPD=y AUTODICT=y SHP=y LANWAN_LED=y BUILD_NAME="RT-N300" RTN300=y SFP=y ODMPID=y 
NEW_RGDM=y RA_SKU=y REPEATER=y NEW_USER_LOW_RSSI=y BTN_WPS_RST=y YANDEXDNS=y REBOOT_SCHEDULE=y \
	BLINK_LED=y \
	TEMPROOTFS=y \
	BOOT_FLASH_TYPE=SPI \
	DRAM=32M \
	SECOND_IF=NONE SINGLE_2G=y EDCCA=y \
	EXTRA_KERNEL_CONFIGS="MT7620_BAUDRATE=115200 RT2880_DRAM_32M=y UBOOT_CMDLINE=y PCI=n 
        INTERNAL_PA_INTERNAL_LNA=y RT2860V2_AP_RTMP_INTERNAL_TX_ALC=n"

export RT-AC54U := IPV6SUPP=y HTTPS=y MIPS32=r2 RALINK=y MT7620=y BBEXTRAS=y USBEXTRAS=y EBTABLES=y 
SAMBA3=y MODEM=y MODEMPIN=y PARENTAL2=y ACCEL_PPTPD=y PRINTER=y USB="USB" APP="network" AUTODICT=y 
SHP=y BUILD_NAME="RT-AC54U" RTAC54U=y NTFS="open" ODMPID=y WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y 
LED_ALL=y NEW_RGDM=y RA_SKU=y OPENVPN=y VPNC=y DUALWAN=y REBOOT_SCHEDULE=y \
	BOOT_FLASH_TYPE=SPI SPI_FAST_CLOCK=y \
	DRAM=64M MTK_TW_AUTO_BAND4=y\
	SECOND_IF=MT7612E EDCCA=y \
	JFFS2=y PSISTLOG=y \
	TEMPROOTFS=y WPSMULTIBAND=y \
	EXTRA_KERNEL_CONFIGS="MT7620_BAUDRATE=115200 RT2880_DRAM_64M=y UBOOT_CMDLINE=y INTERNAL_PA_INTERNAL_LNA=y 
        RT2860V2_AP_RTMP_INTERNAL_TX_ALC=y RT2860V2_AP_RTMP_TEMPERATURE_COMPENSATION=n"

export RT-N54U := IPV6SUPP=y HTTPS=y MIPS32=r2 RALINK=y MT7620=y BBEXTRAS=y USBEXTRAS=y EBTABLES=y 
SAMBA3=y MODEM=y MODEMPIN=y PARENTAL2=y ACCEL_PPTPD=y PRINTER=y USB="USB" APP="network" AUTODICT=y 
SHP=y BUILD_NAME="RT-N54U" RTN54U=y NTFS="open" ODMPID=y WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y 
LED_ALL=y NEW_RGDM=y RA_SKU=y OPENVPN=y VPNC=y DUALWAN=y REBOOT_SCHEDULE=y \
	BOOT_FLASH_TYPE=SPI SPI_FAST_CLOCK=y \
	DRAM=64M MTK_TW_AUTO_BAND4=y\
	SECOND_IF=MT7612E EDCCA=y \
	JFFS2=y PSISTLOG=y \
	TEMPROOTFS=y WPSMULTIBAND=y \
	EXTRA_KERNEL_CONFIGS="MT7620_BAUDRATE=115200 RT2880_DRAM_64M=y UBOOT_CMDLINE=y INTERNAL_PA_INTERNAL_LNA=y 
        RT2860V2_AP_RTMP_INTERNAL_TX_ALC=y RT2860V2_AP_RTMP_TEMPERATURE_COMPENSATION=n"

export RT-AC1200HP := IPV6SUPP=y HTTPS=y MIPS32=r2 RALINK=y MT7620=y BBEXTRAS=y USBEXTRAS=y EBTABLES=y 
SAMBA3=y  MODEM=y MODEMPIN=y PARENTAL2=y ACCEL_PPTPD=y PRINTER=y USB="USB" APP="network" AUTODICT=y SHP=y 
BUILD_NAME="RT-AC1200HP" RTAC1200HP=y NTFS="open" BECEEM=y ODMPID=y WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y 
LED_ALL=y NEW_RGDM=y RA_SKU=y OPENVPN=y VPNC=y LANWAN_LED=y BTN_WIFITOG=y DUALWAN=y MEDIASRV=y\
	BLINK_LED=y \
	BOOT_FLASH_TYPE=SPI SPI_FAST_CLOCK=y \
	DRAM=128M \
	SECOND_IF=MT7612E EDCCA=y \
	JFFS2=y PSISTLOG=y \
	TEMPROOTFS=y WPSMULTIBAND=y \
	EXTRA_KERNEL_CONFIGS="MT7620_BAUDRATE=115200 RT2880_DRAM_128M=y UBOOT_CMDLINE=y INTERNAL_PA_EXTERNAL_LNA=y 
        RT2860V2_AP_RTMP_INTERNAL_TX_ALC=n RT2860V2_AP_RTMP_TEMPERATURE_COMPENSATION=y"

export RT-N56UB1 := IPV6SUPP=y HTTPS=y MIPS32=r2 RALINK=y MT7621=y BBEXTRAS=y USBEXTRAS=y EBTABLES=y 
SAMBA3=y MEDIASRV=y MODEM=y MODEMPIN=y PARENTAL2=y ACCEL_PPTPD=y PRINTER=y USB="USB" APP="network" 
AUTODICT=y SHP=y BUILD_NAME="RT-N56UB1" RTN56UB1=y NTFS="open" ODMPID=y WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y 
LED_ALL=y NEW_RGDM=y RA_SKU=y OPENVPN=y VPNC=y LANWAN_LED=y DUALWAN=y BLINK_LED=y FINDASUS=y REBOOT_SCHEDULE=y \
	BOOT_FLASH_TYPE=SPI  MT7603_INTERNAL_PA_EXTERNAL_LNA=y\
	DRAM=128M  MTK_TW_AUTO_BAND4=y\
	FIRST_IF=MT7603E \
	SECOND_IF=MT7612E \
	JFFS2=y PSISTLOG=y \
	TEMPROOTFS=y RALINK_DFS=y\
	EXTRA_KERNEL_CONFIGS="MT7621_BAUDRATE=57600 RT2880_DRAM_128M=y UBOOT_CMDLINE=y"


export RT-N56UB2 := IPV6SUPP=y HTTPS=y MIPS32=r2 RALINK=y MT7621=y BBEXTRAS=y USBEXTRAS=y EBTABLES=y 
SAMBA3=y MEDIASRV=y MODEM=y MODEMPIN=y PARENTAL2=y ACCEL_PPTPD=y PRINTER=y USB="USB" APP="network" 
AUTODICT=y SHP=y BUILD_NAME="RT-N56UB2" RTN56UB2=y NTFS="open" ODMPID=y WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y 
LED_ALL=y NEW_RGDM=y RA_SKU=y OPENVPN=y VPNC=y LANWAN_LED=y DUALWAN=y BLINK_LED=y FINDASUS=y REBOOT_SCHEDULE=y \
	BOOT_FLASH_TYPE=SPI  MT7603_EXTERNAL_PA_EXTERNAL_LNA=y\
	DRAM=128M \
	FIRST_IF=MT7603E \
	SECOND_IF=MT7612E \
	JFFS2=y PSISTLOG=y MTK_TW_AUTO_BAND4=y\
	TEMPROOTFS=y \
	EXTRA_KERNEL_CONFIGS="MT7621_BAUDRATE=57600 RT2880_DRAM_128M=y UBOOT_CMDLINE=y"

export RT-AC1200HP := IPV6SUPP=y HTTPS=y MIPS32=r2 RALINK=y MT7620=y BBEXTRAS=y USBEXTRAS=y EBTABLES=y 
SAMBA3=y  MODEM=y MODEMPIN=y PARENTAL2=y ACCEL_PPTPD=y PRINTER=y USB="USB" APP="network" AUTODICT=y 
SHP=y BUILD_NAME="RT-AC1200HP" RTAC1200HP=y NTFS="open" ODMPID=y WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y 
LED_ALL=y NEW_RGDM=y RA_SKU=y VPNC=y LANWAN_LED=y BTN_WIFITOG=y DUALWAN=y REPEATER=y PROXYSTA=y SSH=y 
DISK_MONITOR=y AP_CARRIER_DETECTION=y REBOOT_SCHEDULE=y \
	BLINK_LED=y \
	BOOT_FLASH_TYPE=SPI SPI_FAST_CLOCK=y \
	DRAM=128M  MTK_TW_AUTO_BAND4=y\
	SECOND_IF=MT7612E EDCCA=y \
	JFFS2=y PSISTLOG=y \
	TEMPROOTFS=y WPSMULTIBAND=y \
	EXTRA_KERNEL_CONFIGS="MT7620_BAUDRATE=115200 RT2880_DRAM_128M=y UBOOT_CMDLINE=y INTERNAL_PA_EXTERNAL_LNA=y RT2860V2_AP_RTMP_INTERNAL_TX_ALC=n RT2860V2_AP_RTMP_TEMPERATURE_COMPENSATION=y"
	

export RT-AC1200_BASE := IPV6SUPP=y HTTPS=y MIPS32=r2 RALINK=y MT7628=y BBEXTRAS=y USBEXTRAS=y EBTABLES=y 
SAMBA3=y MEDIASRV=y PARENTAL2=y USB="USB" APP="none" AUTODICT=y SHP=y RTAC1200=y NTFS="open" ODMPID=y 
LED_ALL=y NEW_RGDM=y RA_SKU_IN_DRV=y TCODE=y MDNS=y FINDASUS=y SSH=y NEWSSID_REV2=y LAN50=y ATCOVER=y \
	BOOT_FLASH_TYPE=SPI \
	DRAM=64M \
	SECOND_IF=MT7612E EDCCA_NEW=y \
	JFFS2=y PSISTLOG=y \
	TEMPROOTFS=y \
	EXTRA_KERNEL_CONFIGS="MT7628_BAUDRATE=57600 RT2880_DRAM_64M=y UBOOT_CMDLINE=y MODEL_RTAC1200=y"
export RT-AC1200 := $(RT-AC1200_BASE)
export RT-AC1200 += BUILD_NAME="RT-AC1200"
export RT-N600 := $(RT-AC1200_BASE)
export RT-N600 += BASE_MODEL="RT-AC1200" BUILD_NAME="RT-N600"

export RT-AC1200GU := IPV6SUPP=y HTTPS=y MIPS32=r2 RALINK=y MT7621=y BBEXTRAS=y USBEXTRAS=y EBTABLES=y 
SAMBA3=y MEDIASRV=y MODEM=y MODEMPIN=y PARENTAL2=y PRINTER=y  USB="USB" APP="network" AUTODICT=y SHP=y 
BUILD_NAME="RT-AC1200GU" RTAC1200GU=y NTFS="open" ODMPID=y  LED_ALL=y NEW_RGDM=y RA_SKU_IN_DRV=y 
TCODE=y MDNS=y REPEATER=y FINDASUS=y REDIRECT_DNAME=y SSH=y NEWSSID_REV2=y LAN50=y ATCOVER=y \
	BOOT_FLASH_TYPE=SPI  MT7603_EXTERNAL_PA_EXTERNAL_LNA=y \
	DRAM=128M \
	FIRST_IF=MT7603E \
	SECOND_IF=MT7612E \
	JFFS2=y PSISTLOG=y \
	TEMPROOTFS=y \
	EXTRA_KERNEL_CONFIGS="MT7621_BAUDRATE=57600 RT2880_DRAM_128M=y UBOOT_CMDLINE=y MODEL_RTAC1200GU=y"

export RT-N300_BASE := IPV6SUPP=y HTTPS=y MIPS32=r2 RALINK=y MT7628=y EBTABLES=y PARENTAL2=y ACCEL_PPTPD=y 
AUTODICT=y SHP=y RTN11PB1=y ODMPID=y NEW_RGDM=y RA_SKU=y REPEATER=y  RA_SKU_IN_DRV=y TCODE=y MDNS=y FINDASUS=y 
BTN_WPS_RST=y DISABLE_NETWORKMAP=n WAN_AT_P4=y LANWAN_LED=y BLINK_LED=y SINGLE_2G=y VPNC=y YANDEXDNS=y NEW_USER_
LOW_RSSI=y REDIRECT_DNAME=y BTN_WPS_ALLLED=y SSH=y NEWSSID_REV2=y LAN50=y ATCOVER=y GETREALIP=y REBOOT_SCHEDULE=y \
	EDCCA_NEW=y \
	TEMPROOTFS=y \
	BOOT_FLASH_TYPE=SPI \
	DRAM=32M 

export RT-N11P_B1 := $(RT-N300_BASE)
export RT-N11P_B1 += BUILD_NAME="RT-N11P_B1" EXTRA_KERNEL_CONFIGS="MT7628_BAUDRATE=57600 
       RT2880_DRAM_32M=y UBOOT_CMDLINE=y MODEL_RTN11PB1=y SHRINK_PAGECACHE=y"
export RT-N10P_V3 := $(RT-N300_BASE)
export RT-N10P_V3 += BASE_MODEL="RT-N11P_B1" BUILD_NAME="RT-N10P_V3" EXTRA_KERNEL_CONFIGS="MT7628_BAUDRATE=57600 
       RT2880_DRAM_32M=y UBOOT_CMDLINE=y MODEL_RTN10PV3=y SHRINK_PAGECACHE=y"

export RP-AC87 := HTTPS=y MIPS32=r2 RALINK=y MT7621=y BBEXTRAS=y EBTABLES=y AUTODICT=y 
BUILD_NAME="RP-AC87" RPAC87=y NVRAM_64K=y ODMPID=y REPEATER=y PROXYSTA=y USER_LOW_RSSI=y 
REDIRECT_DNAME=y NEW_RGDM=y RA_SKU=y RA_SKU_IN_DRV=y MDNS=y FINDASUS=y MTK_REP=y 
DHCP_OVERRIDE=y SSH=y  MUMIMO_5G=y QAM256_2G=y \
	ATED122=y \
	TEMPROOTFS=y WPSMULTIBAND=y \
	RALINK_DFS=y \
	BOOT_FLASH_TYPE=SPI DRAM=128M \
	FIRST_IF=MT7615E SECOND_IF=MT7615E \
	CONCURRENTREPEATER=y DISABLE_NETWORKMAP=y \
	EXTRA_KERNEL_CONFIGS="MT7621_BAUDRATE=57600 RT2880_DRAM_128M=y UBOOT_CMDLINE=y MODEL_RPAC87=y RA_NAT_HW=n 
        CONFIG_WAN_AT_P0=y CONFIG_GE_RGMII_INTERNAL_P0_AN=y FIRST_IF_IPAELNA=y SECOND_IF_IPAELNA=y"
	
export RT-AC85U := IPV6SUPP=y HTTPS=y MIPS32=r2 RALINK=y MT7621=y BBEXTRAS=y USBEXTRAS=y EBTABLES=y 
SAMBA3=y MEDIASRV=y MODEM=y MODEMPIN=y PARENTAL2=y ACCEL_PPTPD=y PRINTER=y USB="USB" APP="network" 
AUTODICT=y LANWAN_LED=y SHP=y BUILD_NAME="RT-AC85U" RTAC85U=y ODMPID=y DUAL_TRX=y LED_ALL=y 
NEW_RGDM=y RA_SKU_IN_DRV=y OPENVPN=y VPNC=y DUMP_OOPS_MSG=y DEBUGFS=y REBOOT_SCHEDULE=y \
	WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y DROPBOXCLIENT=y FTPCLIENT=y SAMBACLIENT=y SSH=y \
	NTFS="tuxera" HFS="tuxera" DISK_MONITOR=y \
	TIMEMACHINE=y MDNS=y EMAIL=y \
	ATED122=y \
	XHCI=y ATEUSB3_FORCE=y \
	BLINK_LED=y BTN_WPS_ALLLED=y \
	BOOT_FLASH_TYPE=NAND MTK_NAND=y \
	DRAM=128M \
	FIRST_IF=MT7615E SECOND_IF=MT7615E RALINK_DFS=y MUMIMO_5G=y QAM256_2G=y\
	UBI=y UBIFS=y PSISTLOG=y \
	TEMPROOTFS=y WPSMULTIBAND=y \
	NEW_USER_LOW_RSSI=y NEWSSID_REV2=y GETREALIP=y ATCOVER=y LAN50=y \
	EXTRA_KERNEL_CONFIGS="MT7621_BAUDRATE=57600 RT2880_DRAM_128M=y UBOOT_CMDLINE=y MODEL_RTAC85U=y 
        SMART_CARRIER_SENSE_SUPPORT=y MT_DFS_SUPPORT=y DUAL_TRX=y FIRST_IF_IPAELNA=y SECOND_IF_IPAELNA=y"


############################################################################
# Qualcomm Atheros big-endian MIPS platform, linux-3.3.8
############################################################################

export RT-AC55U := IPV6SUPP=y HTTPS=y MIPS32=r2 QCA=y QCA955X=y BBEXTRAS=y USBEXTRAS=y EBTABLES=y 
SAMBA3=y MEDIASRV=y MODEM=y MODEMPIN=y PARENTAL2=y ACCEL_PPTPD=y PRINTER=y USB="USB" APP="installed" 
AUTODICT=y LANWAN_LED=y BUILD_NAME="RT-AC55U" RTAC55U=y SHP=y NVRAM_64K=y BECEEM=y ODMPID=y UBI=y 
DUAL_TRX=y EXT4FS=y OPENVPN=y VPNC=y MDNS=y DUALWAN=y DUMP_OOPS_MSG=y DEBUGFS=y SSH=y FINDASUS=y 
REBOOT_SCHEDULE=y YANDEXDNS=y \
	WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y DROPBOXCLIENT=y FTPCLIENT=y SAMBACLIENT=y \
	NTFS="tuxera" TFAT=y HFS="tuxera" DISK_MONITOR=y \
	BLINK_LED=y WANRED_LED=y WPS_LED=y \
	XHCI=y ETRON_XHCI=y ATEUSB3_FORCE=y \
	REPEATER=y PROXYSTA=y NEW_USER_LOW_RSSI=y REDIRECT_DNAME=y \
	UBIFS=y PSISTLOG=y QCA_TW_AUTO_BAND4=y\
	TEMPROOTFS=y WPSMULTIBAND=y \
	EXTRA_KERNEL_CONFIGS="LSDK_NART_SUPPORT=y"

export RT-AC55UHP := IPV6SUPP=y HTTPS=y MIPS32=r2 QCA=y QCA955X=y BBEXTRAS=y USBEXTRAS=y EBTABLES=y SAMBA3=y 
MEDIASRV=y MODEM=y MODEMPIN=y PARENTAL2=y ACCEL_PPTPD=y PRINTER=y USB="USB" APP="installed" MDNS=y AUTODICT=y 
LANWAN_LED=y BUILD_NAME="RT-AC55UHP" RTAC55UHP=y SHP=y NVRAM_64K=y BECEEM=y ODMPID=y UBI=y SSH=y DUAL_TRX=y 
EXT4FS=y OPENVPN=y VPNC=y DUALWAN=y DUMP_OOPS_MSG=y DEBUGFS=y FINDASUS=y REBOOT_SCHEDULE=y \
	WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y DROPBOXCLIENT=y FTPCLIENT=y SAMBACLIENT=y \
	NTFS="tuxera" TFAT=y HFS="tuxera" DISK_MONITOR=y \
	BLINK_LED=y WANRED_LED=y WPS_LED=y \
	XHCI=y ETRON_XHCI=y ATEUSB3_FORCE=y \
	REPEATER=y PROXYSTA=y NEW_USER_LOW_RSSI=y REDIRECT_DNAME=y \
	UBIFS=y PSISTLOG=y QCA_TW_AUTO_BAND4=y\
	TEMPROOTFS=y WPSMULTIBAND=y \
	EXTRA_KERNEL_CONFIGS="LSDK_NART_SUPPORT=y"

export RT4G-AC55U := IPV6SUPP=y HTTPS=y MIPS32=r2 QCA=y QCA955X=y BBEXTRAS=y USBEXTRAS=y EBTABLES=y UBI=y 
SAMBA3=y MEDIASRV=y MODEM=y MODEMPIN=y USBSMS=y PARENTAL2=y ACCEL_PPTPD=y PRINTER=y USB="USB" SHP=y VPNC=y
APP="installed" AUTODICT=y LANWAN_LED=y BUILD_NAME="4G-AC55U" RT4GAC55U=y NVRAM_64K=y ODMPID=y MDNS=y  
DUAL_TRX=y EXT4FS=y OPENVPN=y DUALWAN=y DUMP_OOPS_MSG=y DEBUGFS=y FINDASUS=y REBOOT_SCHEDULE=y GOBI=y \
	WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y GETREALIP=y \
	NTFS="tuxera" TFAT=y HFS="tuxera" DISK_MONITOR=y \
	WIRELESS_SWITCH=y QCA_TW_AUTO_BAND4=y\
	REPEATER=y PROXYSTA=y DISABLE_REPEATER_UI=y REDIRECT_DNAME=y \
	BLINK_LED=y NEW_USER_LOW_RSSI=y \
	UBIFS=y PSISTLOG=y \
	TEMPROOTFS=y WPSMULTIBAND=y EMAIL=y \
	EXTRA_KERNEL_CONFIGS="LSDK_NART_SUPPORT=y"

export PL-N12 := IPV6SUPP=y MIPS32=r2 QCA=y QCA953X=y PLC_UTILS=y AR7420=y DEF_AP=y EBTABLES=y 
AUTODICT=y LANWAN_LED=y BUILD_NAME="PL-N12" PLN12=y SHP=y ODMPID=y REBOOT_SCHEDULE=y \
	BLINK_LED=y \
	NEW_USER_LOW_RSSI=y REDIRECT_DNAME=y \
	MDNS=y FINDASUS=y DHCP_OVERRIDE=y \
	TEMPROOTFS=y WIFICLONE=y

export PL-AC56 := IPV6SUPP=y HTTPS=y MIPS32=r2 QCA=y QCA956X=y PLC_UTILS=y QCA7500=y DEF_AP=y EBTABLES=y 
AUTODICT=y LANWAN_LED=y BUILD_NAME="PL-AC56" PLAC56=y SHP=y NVRAM_64K=y ODMPID=y REBOOT_SCHEDULE=y \
	BLINK_LED=y \
	NEW_USER_LOW_RSSI=y REDIRECT_DNAME=y \
	MDNS=y FINDASUS=y DHCP_OVERRIDE=y \
	TEMPROOTFS=y WPSMULTIBAND=y WIFICLONE=y

export PL-AC66U := IPV6SUPP=y HTTPS=y MIPS32=r2 QCA=y QCA956X=y BBEXTRAS=y USBEXTRAS=y 
EBTABLES=y SAMBA3=y MEDIASRV=y MODEM=y MODEMPIN=y PARENTAL2=y ACCEL_PPTPD=y PRINTER=y 
USB="USB" APP="network" AUTODICT=y LANWAN_LED=y BUILD_NAME="PL-AC66U" PLAC66U=y SHP=y 
NVRAM_64K=y ODMPID=y DEBUGFS=y SWMODE_SWITCH=y OPENVPN=y VPNC=y EMAIL=y DISK_MONITOR=y SSH=y \
	WEBDAV=y CLOUDSYNC=y SWEBDAVCLIENT=y REBOOT_SCHEDULE=y \
	NTFS="open" \
	BLINK_LED=y \
	REPEATER=y PROXYSTA=y NEW_USER_LOW_RSSI=y REDIRECT_DNAME=y \
	MDNS=y FINDASUS=y\
	TEMPROOTFS=y WPSMULTIBAND=y

export RP-AC66 := HTTPS=y MIPS32=r2 QCA=y QCA956X=y QCA8033=y EBTABLES=y AUTODICT=y 
BUILD_NAME="RP-AC66" RPAC66=y NVRAM_64K=y ODMPID=y \
	REPEATER=y PURE_REPEATER=y PROXYSTA=y USER_LOW_RSSI=y REDIRECT_DNAME=y \
	MDNS=y FINDASUS=y SSH=y NEWSSID_REV2=y \
	TEMPROOTFS=y WPSMULTIBAND=y DHCP_OVERRIDE=y CONCURRENTREPEATER=y DISABLE_NETWORKMAP=y

Broadcom

MIPS

Model
device
Chipset WAN LAN 1 LAN 2 LAN 3 LAN 4 LAN CPU WLAN USB Notes
ASUS WL-500gP v1 Broadcom
BCM4704
BCM4318E
0
vlan1
1
vlan0
2
vlan0
3
vlan0
4
vlan0
br0 P5
vlan1
wl0 2x USB 2.0 SW: BCM5325E
BCM5325 series
ASUS WL-500gP v2 Broadcom
BCM5354
4 3 2 1 0 - P5 - 2x USB 2.0 BRCM
ASUS WL-500W Broadcom
BCM4704
BCM4321
4
eth1
0
eth0
1
eth0
2
eth0
3
eth0
br0=
eth0+
eth2
P5
eth1
Wi-Fi
eth2
2x USB 2.0 SW: BCM5325F
BCM5325 series
ASUS RT-N10
ASUS RT-N10P
Broadcom
BCM5356
4 3 2 1 0 - 5 - - BRCM
ASUS RT-N10U
ASUS RT-N10U B
Broadcom
BCM5356U
0 4 3 2 1 - 5 - 1x USB 2.0 BRCM
ASUS RT-N12
rev B1 C1 D1
Broadcom
BCM4716
BCM5357
4 3 2 1 0 - 5 - - N12 SW: BCM5325F
BRCM
ASUS RT-N12HP
ASUS RT-N12VP
Broadcom
BCM5357
4 3 2 1 0 - 5 - - BRCM
ASUS RT-N14UHP Broadcom
BCM5358U
4 0 1 2 3 - 5 - 2x USB 2.0 BCM5325 series
ASUS RT-N15U Broadcom
BCM47186
4 3 2 1 0 - 8 - 1x USB 2.0 SW:BCM53125
BCM53125 series
ASUS RT-N16 Broadcom
BCM4718
0 4 3 2 1 - 8 - 2x USB 2.0 SW:BCM53115
BCM53115 series
ASUS RT-N53 Broadcom
BCM5358U
0 3 4 2 1 - 5 - - BRCM
ASUS RT-AC53U Broadcom
BCM5358U
0 1 2 3 4 - 5 - 1x USB 2.0 BRCM
ASUS RT-N66U Broadcom
BCM4706
0 1 2 3 4 - 8 - 2x USB 2.0 SW:BCM53125
BCM53125 series
ASUS RT-AC66U Broadcom
BCM4706
0 1 2 3 4 - 8 - 2x USB 2.0 SW:BCM53125
BCM53125 series

ARM

Model
device
Chipset WAN LAN 1 LAN 2 LAN 3 LAN 4 LAN CPU WLAN USB Notes
ASUS RT-N18U Broadcom
BCM47081
4 3 2 1 0 - 5* - 1x USB 2.0
1x USB 3.0
BCM53125 series
ASUS RT-AC56S Broadcom
BCM47081
4 0 1 2 3 - 5* - 1x USB 2.0
1x USB 3.0
BCM53125 series
ASUS RT-AC56U Broadcom
BCM4708
4 0 1 2 3 - 5* - 1x USB 2.0
1x USB 3.0
BCM53125 series
ASUS RT-AC68U Broadcom
BCM4708
4 3 2 1 0 - 5* - 1x USB 2.0
1x USB 3.0
BCM53125 series
ASUS RT-AC68P Broadcom
BCM4709
4 3 2 1 0 - 5 - 1x USB 2.0
1x USB 3.0
BCM53125 series
ASUS RT-AC87U Broadcom
BCM4709
0 5 3 2 1 - 7* - 1x USB 2.0
1x USB 3.0
BCM53125 series
ASUS RT-AC88U Broadcom
BCM4709 ??
4 0 1 2 3 - 7* - 1x USB 2.0
1x USB 3.0
BCM53125 series
ASUS RT-AC3200 Broadcom
BCM4709
4 3 2 1 0 - 5 - 1x USB 2.0
1x USB 3.0
BCM53125 series

RMerlin GitHub

 • init-broadcom.c
		/* BCM5325 series */   /* WAN L1 L2 L3 L4 CPU */
		case MODEL_RTN53:         { 4, 3, 2, 1, 0, 5 }
		case MODEL_RTN14UHP:      { 4, 0, 1, 2, 3, 5 }
		case MODEL_APN12HP:       { 4, 3, 2, 1, 0, 5 }
		case MODEL_RTN12HP:       { 4, 3, 2, 1, 0, 5 }
		case MODEL_RTN12HP_B1:    { 4, 3, 2, 1, 0, 5 }
		case MODEL_RTN12VP:       { 4, 3, 2, 1, 0, 5 }
		case MODEL_RTN12:         { 4, 3, 2, 1, 0, 5 }
		case MODEL_RTN12B1:       { 4, 3, 2, 1, 0, 5 }
		case MODEL_RTN12C1:       { 4, 3, 2, 1, 0, 5 }
		case MODEL_RTN12D1:       { 4, 3, 2, 1, 0, 5 }
		case MODEL_RTN10D1:       { 4, 3, 2, 1, 0, 5 }
		case MODEL_RTN10P:        { 4, 3, 2, 1, 0, 5 }
		case MODEL_RTN10PV2:      { 4, 3, 2, 1, 0, 5 }
		case MODEL_RTN10U:        { 0, 4, 3, 2, 1, 5 }

		/* BCM53125 series */  /* WAN L1 L2 L3 L4 CPU */
		case MODEL_RTAC3200:      { 0, 1, 2, 3, 4, 5 }
		case MODEL_RTAC88U:       { 4, 0, 1, 2, 3, 7*}
		case MODEL_RTAC87U:       { 0, 5, 3, 2, 1, 7*}
		case MODEL_RPAC68U:       { 0, 1, 2, 3, 4, 5*}
		case MODEL_RTAC68U:       { 0, 1, 2, 3, 4, 5*}
		case MODEL_DSLAC68U:      { 0, 1, 2, 3, 4, 5 }
		case MODEL_RTN66U:        { 0, 1, 2, 3, 4, 8 }
		case MODEL_RTAC66U:       { 0, 1, 2, 3, 4, 8 }
		case MODEL_RTAC56S:       { 4, 0, 1, 2, 3, 5*}
		case MODEL_RTAC56U:       { 4, 0, 1, 2, 3, 5*}
		case MODEL_RTAC53U:       { 0, 1, 2, 3, 4, 5 }
		case MODEL_RTN18U:        { 0, 1, 2, 3, 4, 5*}
		case MODEL_RTN15U:        { 4, 3, 2, 1, 0, 8 }
		case MODEL_RTN16:         { 0, 4, 3, 2, 1, 8 }

	case SWITCH_BCM5301x:
	case SWITCH_BCM53115:
	case SWITCH_BCM53125:

	modprobe("et")
	modprobe("bcm57xx")
        RTCONFIG_RTL8365MB
	modprobe("rtl8365mb")

MediaTek/Ralink

Model
device
Chipset WAN LAN 1 LAN 2 LAN 3 LAN 4 P 5 CPU P 7 USB Notes
ASUS RT-N11P MediaTek
MT7620N
4 3 2 1 0 P5 P6 P7 - MTK
ASUS RT-N14U MediaTek
MT7620N
0 1 2 3 4 P5 P6 P7 1x USB 2.0 MTK
ASUS RT-AC51U MediaTek
MT7620A
MT7610E
0 1 2 3 4 P5 P6 P7 1x USB 2.0 MTK
ASUS RT-AC52U MediaTek
MT7620A
MT7610E
0 3 4 2 1 P5 P6 P7 1x USB 2.0 MTK
ASUS RT-AC54U MediaTek
MT7620A
MT7612E
0 1 2 3 4 P5 P6 P7 1x USB 2.0 MTK
ASUS RT-N54U MediaTek
MT7620A
0 1 2 3 4 P5 P6 P7 1x USB 2.0 MTK
ASUS RT-N56U Ralink
RT3662
RT3092
P4 P3 P2 P1 P0 - RGMII
LAN
RGMII
WAN
2x USB 2.0 SW: RTL8367M
MTK
ASUS RT-N56U B1 MediaTek
MT7621S
MT7603E
MT7612E
4 3 2 1 0 P5 P6 P7 1x USB 2.0
1x USB 3.0
MT7621_GSW
MTK
ASUS RT-N65U Ralink
RT3883
RT3352
0 1 2 3 4 P5 P6 P7 2x USB 3.0 SW: RTL8367RB
MTK
ASUS RT-AC1200HP MediaTek
MT7620A
MT7612E
P5 0 1 2 3 4 P6 P7 1x USB 2.0 WAN: P5->GbE PHY
MTK

RMerlin GitHub

 • init-ralink.c
		case MODEL_RTAC1200HP:  /* fall through */
		case MODEL_RTN56UB1:    ("ifconfig", "eth2", "up")
		case MODEL_RTN56U:      /* fall through */
		case MODEL_RTN54U:      /* fall through */
		case MODEL_RTAC54U:      /* fall through */
		case MODEL_RTAC52U:	/* fall through */
		case MODEL_RTAC51U:    nvram_unset("vlan3hwname")
		case MODEL_RTN36U3:	/* fall through *
		case MODEL_RTN14U:	/* fall through */
		case MODEL_RTN11P:	/* WAN L1 L2 L3 L4 CPU */
		case MODEL_RTN13U:         { 4, 3, 2, 1, 0, 5u}
		nvram_set("vlan0ports", "0 1 2 3 5*")
		nvram_set("vlan1ports", "4 5u")
                nvram_set("lan_ifnames", "eth2 ra0")
			nvram_unset("vlan3hwname")

#if defined (RTCONFIG_WLMODULE_MT7610_AP)
#if defined (RTCONFIG_WLMODULE_MT7603E_AP)
#if defined (RTCONFIG_WLMODULE_RT3352_INIC_MII)
#if defined (RTCONFIG_WLMODULE_RT3090_AP)

		//for specific power
		if     (memcmp(country_code, "Z1", 2) == 0)
			strcpy(country_code, "US");
		else if(memcmp(country_code, "Z2", 2) == 0)
			strcpy(country_code, "GB");
		else if(memcmp(country_code, "Z3", 2) == 0)
			strcpy(country_code, "TW");
		else if(memcmp(country_code, "Z4", 2) == 0)
			strcpy(country_code, "CN");
		//for normal
		if(memcmp(country_code, "BR", 2) == 0)
			strcpy(country_code, "UZ")
		strcpy(country_code, "DB") (DE, CE, NDF)

 * RT-N56U's P0, P1, P2, P3, P4 = LAN4, LAN3, LAN2, LAN1, WAN
 * ==> Model-specific port number
 * static int switch_port_mapping

	LAN4_PORT,	//0000 0000 0001 LAN4
	LAN3_PORT,	//0000 0000 0010 LAN3
	LAN2_PORT,	//0000 0000 0100 LAN2
	LAN1_PORT,	//0000 0000 1000 LAN1
	WAN_PORT,	//0000 0001 0000 WAN
	P5_PORT,	//0000 0010 0000 -
	P5_PORT,	//0000 0100 0000 -
	P5_PORT,	//0000 1000 0000 -
	CPU_PORT,	//0001 0000 0000 RGMII LAN
	P7_PORT,	//0010 0000 0000 RGMII WAN

/* stbport:	Model	unifi_malaysia    otherwise
* 	IPTV STB port	 (RT-N56U)	  (RT-N56U)
* ---------------------------------------------------
*	0:	N/A		LLLLW
*	1:	LAN1		LLLTW		LLLWW
*	2:	LAN2		LLTLW		LLWLW
*	3:	LAN3		LTLLW		LWLLW
*	4:	LAN4		TLLLW		WLLLW
*	5:	LAN1 + LAN2	LLTTW		LLWWW
*	6:	LAN3 + LAN4	TTLLW		WWLLW

Qualcomm Atheros

Model
device
Chipset WAN LAN 1 LAN 2 LAN 3 LAN 4 LAN CPU WLAN USB Notes
ASUS RT-AC55U Qualcomm Atheros
QCA9557
QCA9882
0 1 2 3 4 - 5 - 1x USB 2.0
1x USB 3.0
Sw: Atheros
QCA8337N
ASUS RT-AC55UHP Qualcomm Atheros
QCA9557
QCA9882
0 1 2 3 4 - 5 - 1x USB 2.0
1x USB 3.0
Sw: Atheros
QCA8337N
ASUS 4G-AC55U Qualcomm Atheros
QCA9557
QCA9882
0 1 2 3 4 - 5 - 1x USB 2.0
1x USB 3.0
Sw: Atheros
QCA8337N
 • init-qca.c
# \* QCA/ATH: *\

	case MODEL_RTAC55U:     ASUS RT-AC55U
	case MODEL_RTAC55UHP:   ASUS RT-AC55UHP
	case MODEL_RT4GAC55U:   ASUS RT-4G-AC55U

 * bit definition of untag mask/port member mask
 * 0:	Port 0, LANx port which is closed to WAN port in visual.
 * 1:	Port 1
 * 2:	Port 2
 * 3:	Port 3
 * 4:	Port 4, WAN port
 * 9:	Port 9, RGMII/MII port that is used to connect CPU and WAN port.
 * a. If you only have one RGMII/MII port and it is shared by WAN/LAN ports,
 * you have to define two VLAN interface for WAN/LAN ports respectively.
 * b. If your switch chip choose another port as same feature, convert bit9
 * to your own port in low-level driver.

Build Firmware

 • build firmware
        Broadcom SoC models
	===================

		To install the tools:
		    - copy the tools/brcm/ directory to /opt
		    - add /opt/brcm/hndtools-mipsel-linux/bin to your path
		    - add /opt/brcm/hndtools-mipsel-uclibc/bin to your path

	Broadcom HND SoC models
	=======================

		Update your environment variables as following:
		    - LD_LIBRARY_PATH=/opt/toolchains/crosstools-arm-gcc-5.3-linux-4.1-glibc-2.22-binutils-2.25/usr/lib
		    - TOOLCHAIN_BASE=/opt/toolchains
		    - PATH=/opt/toolchains/crosstools-arm-gcc-5.3-linux-4.1-glibc-2.22-binutils-
          2.25/usr/bin:/opt/toolchains/crosstools-aarch64-gcc-5.3-linux-4.1-glibc-2.22-binutils-
          2.25/usr/bin:/projects/hnd/tools/linux/hndtools-armeabi-2011.09/bin:$PATH

	Mediatek/Ralink SoC models
	==========================

		To install the tools:
	    	    - copy the tools/brcm/ directory to /opt
		    - add /opt/brcm/hndtools-mipsel-linux/bin to your path
		    - add /opt/brcm/hndtools-mipsel-uclibc/bin to your path
		    If it is MT7621 or MT7628 chip:
	    	    - extract tools/buildroot-gcc463_32bits.tar.bz2 to /opt
		    - add /opt/buildroot-gcc463/bin to your path
		    otherwise :
	    	    - extract tools/buildroot-gcc342.tar.bz2 to /opt
		    - add /opt/buildroot-gcc342/bin to your path

		For MT7621 Uboot:
	    	    - extract mips-2012.03.tar.bz2 directory to /opt
		    - add /opt/mips-2012.03/bin to your uboot path

	Qualcomm QCA9557/QCA953x/QCA956x MIPS SoC models
	================================

		To install the tools:
		    Mesh Router:
		    - extract tools/openwrt-gcc463.mips.mesh.tar.bz2 directory to /opt
		    - add /opt/openwrt-gcc463.mips.mesh/bin to your path
		    - If you want to build small utilities out of asuswrt box,
		      add STAGING_DIR environment variable as below:

		      export STAGING_DIR=/opt/openwrt-gcc463.mips.mesh

		    Others: (For example, RT-AC55U, 4G-AC55U.)
	    	    - extract tools/openwrt-gcc463.mips.tar.bz2 directory to /opt
		    - add /opt/openwrt-gcc463.mips/bin to your path
		    - If you want to build small utilities out of asuswrt box,
		      add STAGING_DIR environment variable as below:

		      export STAGING_DIR=/opt/openwrt-gcc463.mips

	Qualcomm IPQ806x/IPQ40xx ARM SoC models
	===============================

		For example, BRT-AC828.

		To install the tools:
		    - extract tools/openwrt-gcc463.arm.tar.bz2 directory to /opt
		    - add /opt/openwrt-gcc463.arm/bin to your path
		    - If you want to build small utilities out of asuswrt box,
		      add STAGING_DIR environment variable as below:
	
		      export STAGING_DIR=/opt/openwrt-gcc463.arm

	Note: Broadcom/Ralink(except 4708 series) platform use the same toolchain 
        for user space program, so please set PATH to the same directory as above

   4. build firmware.

	a. rt-n16
		cd release/src-rt
		make rt-n16

	b. rt-n56u
		cd release/src-ra
		make rt-n56u

	c. rt-n65u
		cd release/src-ra-3.0
		make rt-n65u

	d. rt-n14u (/ rt-ac52u / rt-ac51u / rt-n11p / rt-n54u)
		cd release/src-ra-mt7620
		make rt-n14u
		( make rt-ac52u  )
		( make rt-ac51u  )
		( make rt-n11p   )
		( make rt-n54u   )

	e. rt-ac56u (/ rt-ac68u / rt-n18uhp)
		cd release/src-rt-6.x.4708
		make rt-ac56u
		( make rt-ac68u  )
		( make rt-n18uhp )

	f. rt-ac55u (/ rt-ac55uhp )
		cd release/src-qca
		make rt-ac55u
		( make rt-ac55uhp )

	g. brt-ac828 (/ rt-ac88q / rt-ad7200 )
		cd release/src-qca-ipq8064
		make brt-ac828
		( make rt-ad7200 )

	h. rt-ac58u (/ rt-ac82u / map-ac1300 / map-ac2200 / vrz-ac1300 )
		cd release/src-qca-dakota
		make rt-ac58u
		( make rt-ac82u )
		( make map-ac1300 )
		( make map-ac2200 )
		( make vrz-ac1300 )

	i. rt-ac85u (/ rt-ac85u / rt-ac65u / rp-ac87 )
		cd release/src-ra-5010
		make rt-ac85u
		( make rt-ac65u )
		( make rp-ac87 )

	j. rt-ac1200 (/ rt-n11p_b1 / rt-n10p_v3 / rt-ac1200gu / rt-ac51u+ / rt-ac53 )
		cd release/src-ra-4300
		make rt-ac1200
		( make rt-n11p_b1 )
		( make rt-n10p_v3 )
		( make rt-ac1200gu )
		( make rt-ac51u+ )
		( make rt-ac53 )

	k. rp-ac68u (/ rp-ac53 / rp-ac55 )
		cd release/src-rtk-819x
		make rp-ac68u
		( make rp-ac53 )
		( make rp-ac55 )

f. cd release/src-qca - Qualcomm Atheros (QCA)

g. cd release/src-qca-ipq8064 - Qualcomm IPQ8064 (QCA)

h. cd release/src-qca-dakota - Qualcomm IPQ4018/IPQ4019 - (QCA) Dakota

i. cd release/src-ra-5010 - MediaTek (RaLink)

j. cd release/src-ra-4300 - MediaTek (RaLink)

k. cd release/src-rtk-819x - Realtek RTL819x

 • # Realtek SoC
#export RT-RTL8198C := REALTEK=y RTL8198C=y XHCI=y RTK_NAND=y \
  #IPV6SUPP=y HTTPS=y MIPS32=r2 BBEXTRAS=y USBEXTRAS=y EBTABLES=y SAMBA3=y MODEM=y 
  PARENTAL2=y ACCEL_PPTPD=y USB="USB" BUILD_NAME="RT-RTL8198C" #DNSMQ=y LFP=y 
  NVRAM_64K=y ODMPID=y OPTIMIZE_XBOX=y JFFS2=y JFFS2LOG=y REPEATER=y DUALWAN=y 
  USER_LOW_RSSI=y AUTODICT=y PROXYSTA=y CFE_NVRAM_CHK=y #DUMP_OOPS_MSG=y DEBUGFS=y

export RP-AC68U := REALTEK=y RTL8198C=y XHCI=y RTK_NAND=y \
  HTTPS=y MIPS32=r2 BBEXTRAS=y USBEXTRAS=y EBTABLES=y SAMBA3=y MEDIASRV=y WEBDAV=y 
  SMARTSYNCBASE=y PRINTER=y USB="USB" APP="installed" BUILD_NAME="RP-AC68U" 
  RPAC68U=y NVRAM_64K=y TFAT=y NTFS="tuxera" HFS="tuxera" ODMPID=y YAFFS=y 
  PSISTLOG=y REPEATER=y NEW_USER_LOW_RSSI=y AUTODICT=y PROXYSTA=y DEBUGFS=y 
  CONCURRENTREPEATER=y MDNS=y FINDASUS=y TEMPROOTFS=y NATNL_AICLOUD=y 
  REDIRECT_DNAME=y DHCP_OVERRIDE=y SSH=y DISABLE_NETWORKMAP=y DEF_REPEATER=y

export RP-AC55 := REALTEK=y RTL8197F=y \
  HTTPS=y EBTABLES=y BUILD_NAME="RP-AC55" NVRAM_64K=y ODMPID=y REPEATER=y 
  NEW_USER_LOW_RSSI=y AUTODICT=y PROXYSTA=y DEBUGFS=y CONCURRENTREPEATER=y 
  MDNS=y FINDASUS=y TEMPROOTFS=y REDIRECT_DNAME=y DHCP_OVERRIDE=y SSH=y 
  DISABLE_NETWORKMAP=y WLCSCAN_RSSI=y BT_CONN=y MUMIMO_5G=y DEF_REPEATER=y

export RP-AC53 := REALTEK=y RTL819X=y \
  HTTPS=y EBTABLES=y BUILD_NAME="RP-AC53" NVRAM_64K=y ODMPID=y REPEATER=y 
  USER_LOW_RSSI=y AUTODICT=y PROXYSTA=y DEBUGFS=y CONCURRENTREPEATER=y 
  MDNS=y FINDASUS=y TEMPROOTFS=y REDIRECT_DNAME=y DHCP_OVERRIDE=y SSH=y 
  DISABLE_NETWORKMAP=y DEF_REPEATER=y