What's new

target.mak Flags

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Shonk

Senior Member
One of the things that that i dont like with the AC88U in comparison the my old AC66U
is the boot time and also the way for example if you apply a setting in the firmware
even though the BWDPI engine is disabled it will be started and stopped anyway

So im going to remove anything i dont use in future


Removed/Disabled
JFFS2LOG=n (Log to nand)
TIMEMACHINE=n (Time Machine)
MDNS=n (Avahi / Bonjour)
BWDPI=n (Trend Micro Deep Packet Inspection)
EMAIL=n (Sendmail Needed to remove if BWDPI was disabled)
NFS=n (NFS Support)
WTFAST=n (Crappy vpn with support for only 9 games (PC Only)
MEDIASRV=n (UPNP Media Server)
PRINTER=n (Print Server)
APP="nolocaldm" (Dont add Optional Asus Apps)

TRX Image:
Total Size .... : 26341376 (25724.0 KB) (25.1 MB) (vs 41.8 MB Stock)

AC66U Boot time 63% or so
AC88U Boot time 98% or so
AC88U Boot time 73% or so (with above removed)

Here's any flags im not 100% sure on
would be handy to know what each flag does
so i can remove anything else i dont need


Code:
AUTODICT=y
BBEXTRAS=y
USBEXTRAS=y
EBTABLES=y
MODEM=y
MODEMPIN=y
BECEEM=y
WEBDAV=y
CLOUDSYNC=y
SWEBDAVCLIENT=y
GRO=y
DNSMQ=y
SHP=y
TUNEK="n"
DISK_MONITOR=y
BTN_WIFITOG=y
ODMPID=y
BCMSMP=y 
USER_LOW_RSSI=y
VPNC=y
FAKEID=n
QUAGGA=y
DUMP_OOPS_MSG=y
DEBUGFS=y
TEMPROOTFS=y
WIFILOGO=n
DROPBOXCLIENT=y
ROG=y
SSD=n
STAINFO=y
BCM_RECVFILE=y 
CFEZ=y
NATNL=y
ERPTEST=n
CLOUDCHECK=y
ASPMD=n
BCMEVENT=n
WLCLMLOAD=n
IPSEC=n
SNMPD=y
UPNPIGD2=n
DNSSEC=y
NOWLALL=n
ROMCFE=n
NOWL=y
DHDAP=y
DPSTA=y
USB_DEBUG=n
BCMFA=n
GMAC3=y
PROXYSTA=y
FORCE_SN="380"
FORCE_EN="664"


Can Take a Good Guess what these do
Code:
IPV6SUPP=y
HTTPS=y
ARM=y
BCM57=y
SAMBA3=y 
USB="USB"
PARENTAL2=y
ACCEL_PPTPD=y
OPTIMIZE_XBOX=y
LED_BTN=y
XHCI=y
FTPCLIENT=y
REPEATER=y
OPENVPN=y
LINUX_MTD="64"
BRCM_NAND_JFFS2=y
BCMWL6=y
BCMWL6A=y
BCM5301X=y
DUALWAN=y
REBOOT_SCHEDULE=y
FORCE_AUTO_UPGRADE=n
MULTICASTIPTV=y
SAMBACLIENT=y
SSH=y
TFAT=y
NTFS="tuxera"
HFS="tuxera"
BCM_MUMIMO=y
DNSFILTER=y
SAMBA36=y
TOR=y
RGMII_BRCM5301X=y
SWITCH2="RTL8365MB"
BCM_MMC=n
BCM_7114=y
ETLAN_LED=y
NVSIZE="128"
LACP=y
RESET_SWITCH=n
DISABLE_REPEATER_UI=n
BCM5301X_TRAFFIC_MONITOR=n
 
Unhappy with boot time on RT-AC88U? (I kinda agree) You should then try a RT-AC87U, you will for sure think twice next time. :)

RT-AC88U/RT-AC3100 and RT-AC5300 have new flags not available on older models, so even the router performance is better theres more "services" running, and obvious that will have an inpact on boot timing.
 
BWDPI cannot be removed. The wireless driver is compiled against it.

You won't get much improvements on boot time, as the biggest slowdown is at the bootloader itself.
 
I don't know enough about the firmware to be anything other than dangerous. That said, when I compile the RT-AC68U firmware with BWDPI=N, I also had to patch a source file to get it to compile without error.

Code:
--- a/asuswrt-merlin-380.58/release/src-rt-6.x.4708/router/shared/misc.c    2016-03-20 15:45:51.000000000 -0600
+++ b/asuswrt-merlin-380.58/release/src-rt-6.x.4708/router/shared/misc.c    2016-03-22 12:57:57.886669908 -0600
@@ -1788,7 +1788,7 @@
}
#endif
-#ifdef RTCONFIG_BWDPI
+//#ifdef RTCONFIG_BWDPI
/*
     usage in rc or bwdpi for checking service
*/
@@ -1821,7 +1821,7 @@
     return enabled;
}
-#endif
+//#endif
/*
     transfer timestamp into date
 
BWDPI cannot be removed. The wireless driver is compiled against it.

You won't get much improvements on boot time, as the biggest slowdown is at the bootloader itself.


BWDPI is already out
i had to remove Email also for it to compile with BWDPI removed

Been using it for about 5 days and has been fine
as far as i can tell
 
BWDPI is already out
i had to remove Email also for it to compile with BWDPI removed

Been using it for about 5 days and has been fine
as far as i can tell

Check your syslog for any kernel symbol errors. Last time I tried it (that was months ago), there were a lot of kernel-related errors about missing symbols.
 
Check your syslog for any kernel symbol errors. Last time I tried it (that was months ago), there were a lot of kernel-related errors about missing symbols.

im obsessive compulsive with the error log
i clear it on boot and watch for any attempted pptp logins to block them
there's been nothing new popping up
will keep an extra eye out though..
 
im obsessive compulsive with the error log
i clear it on boot and watch for any attempted pptp logins to block them
there's been nothing new popping up
will keep an extra eye out though..
Not only wit the error log... ;-)
Boot time maybe a bit slower, but essentially a router is supposed to remain on as long as possible and not switched on and off continuously. So increased boot time does not really is a USP for a router. At least, it should not be. You also don't judge a car tire on the time it takes to be inflated...
 
Its around 3x as slow as the AC66U
and just over 2x as slow after i have trimmed it

The main reason i did it anyway is the starting of unused services
every time you change something

and tbh if i dont use it i dont want it there within reason
esp a dpi engine that sucks up packets and adds latency however small when running


Not only wit the error log... ;-)
Boot time maybe a bit slower, but essentially a router is supposed to remain on as long as possible and not switched on and off continuously. So increased boot time does not really is a USP for a router. At least, it should not be. You also don't judge a car tire on the time it takes to be inflated...
 
Similar threads

Similar threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top