[GCC 7.2 BUILD] Optimized TP-Link Archer C7 V2 AC1750 LEDE Firmware

Cloned and applied the same patches on top of the latest stable 17.04.1 -- only issue was 899-SFE-patch-package-makefile.patch

the 'qca' folder structure has changed. Wondering if some files are not in the lede repo or are no longer necessary as the make file is significantly shorter

@shunjou any advice on building on the latest stable branch?

id like to do the same as e97 and apply the patches to 17.04.1, but im pretty much a n00b to the firmware development at the moment. Also has anyone had any luck with adding 4.9 kernel yet? if someone can point me in the right direction on how to build something based off the generic..or give me a little advice id be thankful. Also id like to get active connections to show geolocation information like in the optimized build, is there a package for that?

I'm on the same boat, I can compile a generic build, but I don't know how to apply patches using the r00t or shunjou repos.
If someone can explain how to do that task would be greatly appreciated.
The quilt documentation is confusing, or maybe I'm missing something.
Thanks.

I guess these are questions for the development category, maybe someone will be more informative there. Glad to know im not alone @ clio, i'm currently trying to work with build system documentation, considering when i run quilt new 00-example.patch on a root shell the command doesnt exist, so i'm definitely on the wrong track i guess. im guessing a lot of these people are pretty busy building images to really want to discuss much of it in depth.
Thanks to everyone!

well i finally built one with the 4.9 kernel, woo hoo, using the image builder, had to load some kernel modules of course to get everything working since i didnt install the packages in my build. but heres a look at the kernel log, nothing fancy yet
kernel log:

[    0.000000] Linux version 4.9.58 (buildbot@builds) (gcc version 5.5.0 (LEDE GCC 5.5.0 r5142-20d363a) ) #0 Wed Oct 25 07:22:14 2017
[    0.000000] MyLoader: sysp=dfb2e6f3, boardp=e7d39179, parts=efda76d1
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] OF: fdt:No valid device tree found, continuing without
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] On node 0 totalpages: 32768
[    0.000000] free_area_init_node: node 0, pgdat 804ba1d4, node_mem_map 81000020
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line:  board=ARCHER-C7-V2  console=ttyS0,115200 rootfstype=squashfs noinitrd
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 124484K/131072K available (3428K kernel code, 172K rwdata, 860K rodata, 332K init, 219K bss, 6588K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
[    0.000007] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
[    0.008299] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[    0.071186] pid_max: default: 32768 minimum: 301
[    0.076183] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.083230] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.092653] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.103148] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.110573] NET: Registered protocol family 16
[    0.116473] MIPS: machine is TP-LINK Archer C7
[    0.124278] ar724x-pci ar724x-pci.0: PCIe link is down
[    0.129784] registering PCI controller with io_map_base unset
[    0.135995] registering PCI controller with io_map_base unset
[    0.633726] PCI host bridge to bus 0000:00
[    0.638097] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
[    0.645443] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.651371] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    0.658596] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.667039] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.667152] PCI host bridge to bus 0000:01
[    0.671532] pci_bus 0000:01: root bus resource [mem 0x12000000-0x13ffffff]
[    0.678846] pci_bus 0000:01: root bus resource [io  0x0001]
[    0.684779] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
[    0.692001] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[    0.700457] pci 0000:01:00.0: [168c:003c] type 00 class 0x028000
[    0.700496] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.700545] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    0.700611] pci 0000:01:00.0: supports D1 D2
[    0.700774] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.700795] pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    0.708583] pci 0000:01:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[    0.716291] pci 0000:01:00.0: using irq 41 for pin 1
[    0.723889] clocksource: Switched to clocksource MIPS
[    0.730133] NET: Registered protocol family 2
[    0.735509] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.742928] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.749731] TCP: Hash tables configured (established 1024 bind 1024)
[    0.756573] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.762799] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.769693] NET: Registered protocol family 1
[    0.774392] PCI: CLS 0 bytes, default 32
[    0.776466] Crashlog allocated RAM at address 0x3f00000
[    0.782754] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.795379] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.801583] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.819038] io scheduler noop registered
[    0.823205] io scheduler deadline registered (default)
[    0.829132] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.837998] console [ttyS0] disabled
[    0.861867] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
[    0.871055] console [ttyS0] enabled
[    0.878473] bootconsole [early0] disabled
[    0.891564] m25p80 spi0.0: found w25q128, expected m25p80
[    0.897086] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.902777] 5 tp-link partitions found on MTD device spi0.0
[    0.908459] Creating 5 MTD partitions on "spi0.0":
[    0.913319] 0x000000000000-0x000000020000 : "u-boot"
[    0.919482] 0x000000020000-0x00000018ac34 : "kernel"
[    0.925824] 0x00000018ac34-0x000000ff0000 : "rootfs"
[    0.932093] mtd: device 2 (rootfs) set to be root filesystem
[    0.937935] 1 squashfs-split partitions found on MTD device rootfs
[    0.944219] 0x000000380000-0x000000ff0000 : "rootfs_data"
[    0.950945] 0x000000ff0000-0x000001000000 : "art"
[    0.957039] 0x000000020000-0x000000ff0000 : "firmware"
[    0.964333] libphy: Fixed MDIO Bus: probed
[    0.980570] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
[    1.672105] libphy: ag71xx_mdio: probed
[    2.305393] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[    2.316722] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[    2.603883] random: fast init done
[    2.945486] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
[    2.953238] NET: Registered protocol family 10
[    2.960829] NET: Registered protocol family 17
[    2.965426] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.978660] 8021q: 802.1Q VLAN Support v1.8
[    2.984246] hctosys: unable to open rtc device (rtc0)
[    2.994016] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    3.002339] Freeing unused kernel memory: 332K
[    3.006870] This architecture does not have kernel memory protection.
[    3.801557] init: Console is alive
[    3.805260] init: - watchdog -
[    4.751068] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.820305] usbcore: registered new interface driver usbfs
[    4.826000] usbcore: registered new interface driver hub
[    4.831456] usbcore: registered new device driver usb
[    4.840972] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.849000] ehci-platform: EHCI generic platform driver
[    4.854420] ehci-platform ehci-platform.0: EHCI Host Controller
[    4.860455] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[    4.870740] ehci-platform ehci-platform.0: TX-TX IDP fix enabled
[    4.876864] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
[    4.903922] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[    4.911127] hub 1-0:1.0: USB hub found
[    4.915258] hub 1-0:1.0: 1 port detected
[    4.919544] ehci-platform ehci-platform.1: EHCI Host Controller
[    4.925608] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
[    4.935901] ehci-platform ehci-platform.1: TX-TX IDP fix enabled
[    4.942000] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
[    4.973914] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
[    4.981141] hub 2-0:1.0: USB hub found
[    4.985227] hub 2-0:1.0: 1 port detected
[    4.991543] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.998982] ohci-platform: OHCI generic platform driver
[    5.004883] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.022556] init: - preinit -
[    5.707545] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    5.714685] usb 2-1: new high-speed USB device number 2 using ehci-platform
[    5.842853] eth1: link up (1000Mbps/Full duplex)
[    9.313017] jffs2: notice: (451) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    9.345164] mount_root: loading kmods from internal overlay
[   10.061634] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   10.558106] SCSI subsystem initialized
[   10.601279] usb-storage 1-1:1.0: USB Mass Storage device detected
[   10.608018] scsi host0: usb-storage 1-1:1.0
[   10.612693] usb-storage 2-1:1.0: USB Mass Storage device detected
[   10.619572] scsi host1: usb-storage 2-1:1.0
[   10.624227] usbcore: registered new interface driver usb-storage
[   10.631060] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   10.939915] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   10.954155] block: extroot: device not present, retrying in 5 seconds
[   11.736507] scsi 0:0:0:0: Direct-Access                               PMAP PQ: 0 ANSI: 4
[   11.914917] scsi 1:0:0:0: Direct-Access     WDC WD16 00BEVT-22ZCT0         PQ: 0 ANSI: 6
[   11.925277] sd 1:0:0:0: [sdb] 312581808 512-byte logical blocks: (160 GB/149 GiB)
[   11.933709] sd 1:0:0:0: [sdb] Write Protect is off
[   11.938618] sd 1:0:0:0: [sdb] Mode Sense: 3b 00 00 00
[   11.939326] sd 1:0:0:0: [sdb] No Caching mode page found
[   11.944765] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[   11.983582]  sdb: sdb1 sdb2
[   11.990209] sd 1:0:0:0: [sdb] Attached SCSI disk
[   13.124308] sd 0:0:0:0: [sda] 30283008 512-byte logical blocks: (15.5 GB/14.4 GiB)
[   13.132413] sd 0:0:0:0: [sda] Write Protect is off
[   13.137319] sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
[   13.137797] sd 0:0:0:0: [sda] No Caching mode page found
[   13.143210] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   13.177784]  sda: sda1
[   13.183046] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   16.064555] block: check_filesystem: /usr/sbin/e2fsck not found
[   16.185561] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: 
[   16.369527] mount_root: switched to extroot
[   16.377124] urandom-seed: Seeding with /etc/urandom.seed
[   16.435068] procd: - early -
[   16.438108] procd: - watchdog -
[   16.811132] Adding 2046972k swap on /dev/sdb2.  Priority:-1 extents:1 across:2046972k 
[   17.051758] procd: - watchdog -
[   17.064153] procd: - ubus -
[   17.252844] procd: - init -
[   17.510553] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: 
[   18.078964] kmodloader: loading kernel modules from /etc/modules.d/*
[   18.177314] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   18.191605] Netfilter messages via NETLINK v0.30.
[   18.198726] ip_set: protocol 6
[   18.272770] Loading modules backported from Linux version wt-2017-10-06-0-ga7a22fbbd1f0
[   18.280938] Backport generated by backports.git v4.14-rc2-1-6-gedfb595c
[   18.290355] ip_tables: (C) 2000-2006 Netfilter Core Team
[   18.319260] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[   18.327811] ctnetlink v0.93: registering with nfnetlink.
[   18.377968] usbcore: registered new interface driver ums-alauda
[   18.386061] usbcore: registered new interface driver ums-cypress
[   18.393929] usbcore: registered new interface driver ums-datafab
[   18.401633] usbcore: registered new interface driver ums-freecom
[   18.409471] usbcore: registered new interface driver ums-isd200
[   18.417319] usbcore: registered new interface driver ums-jumpshot
[   18.425157] usbcore: registered new interface driver ums-karma
[   18.433114] usbcore: registered new interface driver ums-sddr09
[   18.440915] usbcore: registered new interface driver ums-sddr55
[   18.448872] usbcore: registered new interface driver ums-usbat
[   18.470185] xt_time: kernel timezone is -0000
[   18.526586] PPP generic driver version 2.4.2
[   18.533114] NET: Registered protocol family 24
[   18.565667] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[   18.571557] ath10k_pci 0000:01:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   18.915436] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2
[   18.926329] ath10k_pci 0000:01:00.0: Falling back to user helper
[   18.991729] firmware ath10k!pre-cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed
[   19.006345] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[   19.017235] ath10k_pci 0000:01:00.0: Falling back to user helper
[   19.137770] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[   19.163831] ath10k_pci 0000:01:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   19.173229] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   19.186332] ath10k_pci 0000:01:00.0: firmware ver 10.2.4-1.0-00029 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 88595bb8
[   19.270623] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[   19.281232] ath10k_pci 0000:01:00.0: Falling back to user helper
[   19.346279] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[   19.358727] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   19.613925] random: crng init done
[   20.453405] ath10k_pci 0000:01:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[   20.595206] ath: EEPROM regdomain: 0x0
[   20.595213] ath: EEPROM indicates default country code should be used
[   20.595216] ath: doing EEPROM country->regdmn map search
[   20.595227] ath: country maps to regdmn code: 0x3a
[   20.595232] ath: Country alpha2 being used: US
[   20.595234] ath: Regpair used: 0x3a
[   20.723632] ath: EEPROM regdomain: 0x0
[   20.723639] ath: EEPROM indicates default country code should be used
[   20.723642] ath: doing EEPROM country->regdmn map search
[   20.723654] ath: country maps to regdmn code: 0x3a
[   20.723658] ath: Country alpha2 being used: US
[   20.723661] ath: Regpair used: 0x3a
[   20.739639] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   20.743722] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
[   20.764265] kmodloader: done loading kernel modules from /etc/modules.d/*
[   28.060164] eth1: link down
[   28.129187] eth1: link up (1000Mbps/Full duplex)
[   28.148111] br-lan: port 1(eth1.1) entered blocking state
[   28.153591] br-lan: port 1(eth1.1) entered disabled state
[   28.159417] device eth1.1 entered promiscuous mode
[   28.164410] device eth1 entered promiscuous mode
[   28.193624] br-lan: port 1(eth1.1) entered blocking state
[   28.199140] br-lan: port 1(eth1.1) entered forwarding state
[   28.238783] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   28.265148] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[   29.255373] eth0: link up (1000Mbps/Full duplex)
[   29.260195] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   29.313971] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[   33.728496] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   33.784267] br-lan: port 2(wlan0) entered blocking state
[   33.789700] br-lan: port 2(wlan0) entered disabled state
[   33.795434] device wlan0 entered promiscuous mode
[   34.504542] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   34.511231] br-lan: port 2(wlan0) entered blocking state
[   34.516665] br-lan: port 2(wlan0) entered forwarding state
[  407.070761] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[  407.121499] br-lan: port 3(wlan1) entered blocking state
[  407.126956] br-lan: port 3(wlan1) entered disabled state
[  407.132676] device wlan1 entered promiscuous mode
[  407.487662] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[  407.494279] br-lan: port 3(wlan1) entered blocking state
[  407.499687] br-lan: port 3(wlan1) entered forwarding state
[  458.637768] device eth0 entered promiscuous mode
[  458.744926] device eth0 left promiscuous mode
[  458.792597] device eth0 entered promiscuous mode
[  504.239658] device wlan0 left promiscuous mode
[  504.244331] br-lan: port 2(wlan0) entered disabled state
[  509.155774] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  509.191424] br-lan: port 2(wlan0) entered blocking state
[  509.196875] br-lan: port 2(wlan0) entered disabled state
[  509.202597] device wlan0 entered promiscuous mode
[  509.282092] device wlan0 left promiscuous mode
[  509.286764] br-lan: port 2(wlan0) entered disabled state
[  522.611142] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  522.637102] br-lan: port 2(wlan0) entered blocking state
[  522.642496] br-lan: port 2(wlan0) entered disabled state
[  522.648255] device wlan0 entered promiscuous mode
[  522.684838] device wlan0 left promiscuous mode
[  522.689531] br-lan: port 2(wlan0) entered disabled state
[  652.276159] device wlan1 left promiscuous mode
[  652.280943] br-lan: port 3(wlan1) entered disabled state
[  657.849131] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  657.938716] br-lan: port 2(wlan0) entered blocking state
[  657.944110] br-lan: port 2(wlan0) entered disabled state
[  657.949882] device wlan0 entered promiscuous mode
[  658.018427] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[  658.194774] br-lan: port 3(wlan1) entered blocking state
[  658.200215] br-lan: port 3(wlan1) entered disabled state
[  658.205967] device wlan1 entered promiscuous mode
[  658.210896] br-lan: port 3(wlan1) entered blocking state
[  658.216321] br-lan: port 3(wlan1) entered forwarding state
[  658.935907] br-lan: port 3(wlan1) entered disabled state
[  660.322255] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[  660.328891] br-lan: port 3(wlan1) entered blocking state
[  660.334285] br-lan: port 3(wlan1) entered forwarding state
[  720.529332] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  720.536034] br-lan: port 2(wlan0) entered blocking state
[  720.541494] br-lan: port 2(wlan0) entered forwarding state
[  795.521929] device wlan0 left promiscuous mode
[  795.526597] br-lan: port 2(wlan0) entered disabled state
[  801.020348] ath10k_pci 0000:01:00.0: failed to receive initialized event from target: 00000000
[  810.230127] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  810.313126] br-lan: port 2(wlan0) entered blocking state
[  810.318584] br-lan: port 2(wlan0) entered disabled state
[  810.324306] device wlan0 entered promiscuous mode
[  874.130493] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  874.137175] br-lan: port 2(wlan0) entered blocking state
[  874.142600] br-lan: port 2(wlan0) entered forwarding state
[ 1098.405105] device wlan1 left promiscuous mode
[ 1098.409773] br-lan: port 3(wlan1) entered disabled state
[ 1100.227625] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 1100.378279] br-lan: port 3(wlan1) entered blocking state
[ 1100.383673] br-lan: port 3(wlan1) entered disabled state
[ 1100.389431] device wlan1 entered promiscuous mode
[ 1102.528156] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 1102.534752] br-lan: port 3(wlan1) entered blocking state
[ 1102.540179] br-lan: port 3(wlan1) entered forwarding state

i think im finally starting to understand how to build images thanks for all your help in the forums, discussions and tutorials!!

An overview of the build process is outlined here: https://lede-project.org/docs/guide-developer/quickstart-build-images

There's more to learn about modules, installing them into the image and installing/loading them on the device.

For patching , I used patch. For more info man patch, typical usage patch -p1 < patches/*. I'm unfamiliar with quilt but it looks interesting, thanks for mentioning it.

gwlim's patch script, patch_LEDE.sh (https://github.com/gwlim/mips74k-ar71xx-lede-patch) explains which directories are moved from feed for successful patching.

oh yeah i found this Quickstart guide compiling LEDE after i decided to look in the developer section, . Thanks for the response though e97, its easier than microwaving a hot pocket and i get to eat it while running make :slight_smile:

But where is @r00t? There is long time we didn't ear him. A bit disapointed he didn't released new builds with latest fixes (KRAK) and improvement.

Hope @root comes back soon with new builds.

Maybe he'll come back as "I am gr00t" lolol

Hopefully it will ship with the 4.9 kernel...

https://github.com/sycohexor/Lede-4.9-archer-c7-v2
well heres a build with 4.9 thats working pretty well so far, just did a sysupgrade with 17.01.4, no patches or anything but i have added http://1289707005.blogspot.de/2017/09/install-luci-wrtbwmon-and-wrtbwmon-on.html, adblock is working pretty well, mount point kmods installed and block mount for usb storage on overlay working great, and speeds looking good on 2.4, 5 and ethernet. let me know if you need any help i know im kind of new to this but im slowly getting there, feel free to give me any advice or whatever.
give it a spin if you want.

P.S Also youll notice some python programs in there for rebooting your modem and then ssh into your router changing your mac then it logs the ip to a list.
one allows you to enter the ip address and password to your router then automates everything else, the other you can place your router ip address where it says "ENTER ROUTER IP HERE" and "ENTER PASSWORD HERE", if you dont want to enter it in each time. If you dont know how to do a post or get request to your modem to reboot it feel free and ask me ill tell you on pretty much all modems.

Great!

Is TCP_BBR enabled and does it help?

The C7 lede snapshots have 4.9 kernel and there is no BBR in it. sysctl net.ipv4.tcp_available_congestion_control shows cubic and reno.

Maybe the LEDE dev should turn it on by default?

Anyway, I found this on how to do it:

1 Like

TCP BBR is for servers, on routers it's not helpful.

from what i see in /proc/sys/net/ipv4/tcp_congestion_control is set to cubic by default in 4.9.58 kernel. also you can set tcp_low_latency by echo 1 > /proc/sys/net/ipv4/tcp_low_latency. i just place a few sysctl mods in startup or you can change it in sysctl.conf. /proc/sys/net/ipv4/tcp_allowed_congestion_control shows cubic and reno.

heres a guide for tweaking the kernel https://tweaked.io/guide/kernel/

Any benchmark available that shows that it is not useful on routers?

I found this write up, this seemed to be most relevant part of the article.

BBR appears to have been designed to avoid this form of behaviour. The reason BBR will claim its “fair share” is the periodic probing at an elevated sending rate. This behaviour will “push” against the concurrent drop-based TCP sessions and allow BBR to stabilize on its fair share bottleneck bandwidth estimate. However, this works effectively when the internal network buffers are sized according to the delay bandwidth product of the link they are driving.

If the queues are over-provisioned, the BBR probe phase may not create sufficient pressure against the drop-based TCP sessions that occupy the queue and BBR might not be able to make an impact on these sessions, and may risk losing its fair share of the bottleneck bandwidth. On the other hand, there is the distinct risk that if BBR overestimates the RTT it will stabilise at a level that has a permanent queue occupancy. In this case, it may starve the drop-based flow algorithms and crowd them out.

Is better or worse as @r00t patched version with Fastpath support?

Thanks a lot @sycohexor