OpenWrt Forum Archive

Topic: Netgear r7800 support

The content of this topic has been archived between 25 Apr 2018 and 26 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello, considering the horrible stock firmware I'm here to try my luck to get any kind of support by openwrt.
I know that there is no ath10k support of qca9984 as of yet because of absent firmware, but maybe there is a chance to build firmware without wifi support at least?
Should I give any of prebuilt trunks wether for ap148 or d7800 a go maybe. How safe will it be?

I installed openwrt 12.09.1 build from http://myopenrouter.com/download/r7800-openwrt-firmware that is built upon stock firmware with proprietary wireless I guess, the cpuinfo points it's reference board ap161, just for your info.

So is there a chance r7800 gets a support even without wireless anytime soon?

(Last edited by dissent on 4 May 2016, 16:23)

I can provide you one such firmware without wireless and USB support. Will that be of any help?

Thank you very much, but usb3.0 is vital:)
I've modified netgear hw ids in d7800 profile to reflect r7800s and compiled the firmware, but I hesitate to to flash it because kernel size in mtd mapping differs, is it as it should be? I neither have the cable nor can disassemble the unit in case of warranty issues.
Btw, considering you offer the version without usb support - does it mean that usb chip in r7800 differs from the one in d7800 or openwrt doesn't have usb3.0 support for d7800 as well?

I'm using your 12.09.1 build that is stable so far,  thank you very much for that smile is there a way to fix led and pwrctl issues?:)

(Last edited by dissent on 10 May 2016, 08:03)

The stock firmware for this great piece of hardware is pretty awful, can't monitor anything or add packages. Love to see openWRT support for it. DD-WRT is starting to support it, but liking openWRT more these days.

Thanks!

Apologies, I read d7800 in the main post.

Not much info about the r7800 http://techinfodepot.info/wiki/Netgear_R7800 otherwise.

Some kind of dual.core CPU @ 1.7GHz?
128MB flash?
512MB RAM?
No photos of the board.
No OEM boot logs.

(Last edited by Xotic750 on 22 May 2016, 22:29)

According to what I see:

Qualcomm dual-core IPQ8065 Internet Processor @ 1.7 GHz

512MB RAM and 128MB flash

Photos of the board here, along with other information:

http://www.smallnetbuilder.com/wireless … r-reviewed

Don't have OEM boot logs, though.

(Last edited by RogerSC on 22 May 2016, 23:41)

I don't have access to serial console so I dumped OEM boot log through debug menu.

Booting Linux on physical CPU 0
Linux version 3.4.103 (hardy.zhang@dnixm-compiler1) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 SMP Thu Apr 21 21:59:02 CST 2016
CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Machine: Qualcomm Atheros AP161 reference board
QCA command line: console=ttyHSL1,115200n8
DNI command line: console=ttyHSL1,115200n8 ubi.mtd=netgear root=/dev/mtdblock6
msm_reserve_memory: 0x44600000, 0x200000
memory pool 3 (start 5fc00000 size 400000) initialized
Memory policy: ECC disabled, Data cache writealloc
smem_find(137, 80): wrong size 72
socinfo_init: v6, id=280, ver=3.0, raw_id=17, raw_ver=17, hw_plat=0,  hw_plat_ver=65536
 accessory_chip=0 hw_plat_subtype=0
PERCPU: Embedded 8 pages/cpu @c0d53000 s10624 r8192 d13952 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 123178
Kernel command line: console=ttyHSL1,115200n8 ubi.mtd=netgear root=/dev/mtdblock6
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 49MB 436MB = 485MB total
Memory: 482500k/488644k available, 14140k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xdf000000 - 0xff000000   ( 512 MB)
    lowmem  : 0xc0000000 - 0xdeb00000   ( 491 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0630000   (6304 kB)
      .init : 0xc0700000 - 0xc0802980   (1035 kB)
      .data : 0xc0804000 - 0xc08a78e0   ( 655 kB)
       .bss : 0xc08a7904 - 0xc094f598   ( 672 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:1689
sched_clock: 32 bits at 32kHz, resolution 31240ns, wraps every 134175798ms
Console: colour dummy device 80x30
Calibrating delay using timer specific routine.. 12.55 BogoMIPS (lpj=62792)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x419527f0 - 0x41952878
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (25.11 BogoMIPS).
dummy: 
NET: Registered protocol family 16
AXI: msm_bus_fabric_init_driver(): msm_bus_fabric_init_driver
meminfo_init: smem ram ptable found: ver: 0 len: 5
Found 1 memory banks grouped into 8 memory regions
gpiochip_add: registered GPIOs 0 to 151 on device: msmgpio
smem_find(137, 80): wrong size 72
socinfo_init: v6, id=280, ver=3.0, raw_id=17, raw_ver=17, hw_plat=0,  hw_plat_ver=65536
 accessory_chip=0 hw_plat_subtype=0
msm_rpm_init: RPM firmware 3.0.16777364
clk_tbl_nss_fast - loaded
msm_dmov_memcpy_init: Success
sps:BAM 0x12244000 enabled: ver:0x5, number of pipes:20
sps:BAM 0x12244000 is registered.
sps:sps is ready.
msm_pcie_setup: link initialized
PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fefffff]
PCI: bus0: Fast back to back transfers disabled
pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
PCI: bus1: Fast back to back transfers disabled
msm_pcie_setup: link initialized
PCI host bridge to bus 0000:02
pci_bus 0000:02: root bus resource [mem 0x2e000000-0x31efffff]
PCI: bus2: Fast back to back transfers disabled
pci 0000:02:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
PCI: bus3: Fast back to back transfers disabled
msm_pcie_setup: link initialization failed
pci 0000:02:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
pci 0000:03:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
pci 0000:02:00.0: PCI bridge to [bus 03-03]
pci 0000:02:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
PCI: enabling device 0000:02:00.0 (0140 -> 0143)
bio: create slab <bio-0> at 0



sysinit: cat: /tmp/debug_store_locate: No such file or directory

sysinit: cat: /tmp/wanlan_capture: No such file or directory

sysinit: athstats: wifi0: No such device or address

sysinit: Changing password for admin

sysinit: New password:/etc/rc.common: eval: 1: cannot create /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load: Directory nonexistent

sysinit: /etc/rc.common: eval: 1: cannot create /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_multi_core: Directory nonexistent

sysinit: /etc/rc.common: eval: 1: cannot create /sys/devices/system/cpu/cpufreq/ondemand/optimal_freq: Directory nonexistent

sysinit: /etc/rc.common: eval: 1: cannot create /sys/devices/system/cpu/cpufreq/ondemand/sync_freq: Directory nonexistent

sysinit: DNI streamboost auto_update

sysinit: streamboost: StreamBoost: Executing boot all

sysinit: :( ntpst - (offset 0x00040000 bytes in POT partition) one NTP Sync Timestamp existed: 08:59:33, Apr 21, 2016

sysinit:  [  OK  ] 01_redis boot

sysinit:  [  OK  ] 10_policy-reader boot

sysinit: Configuration file: /var/run/hostapd-ath0.conf

 ieee80211_ioctl_siwmode: imr.ifm_active=66176, new mode=3, valid=1 
 DEVICE IS DOWN ifname=ath0
sysinit: ath0: Could not connect to kernel driver

 DEVICE IS DOWN ifname=ath0
sysinit: Using interface ath0 with hwaddr dc:ef:09:xx:xx:xx and ssid “XXXXXXXX”

sysinit:  [  OK  ] 11_sbsaved boot

vap-0: ieee80211_state_event: VAP state event 0, cur_state=0, vap_deleted_is_set=0
vap-0: ieee80211_state_event: VAP state event 11, cur_state=0, vap_deleted_is_set=0
vap-0: ieee80211_state_event: VAP EVENT_NODE_FREED node count 1 
OL vap_start +
wmi_unified_vdev_start_send for vap 0 (d9450000)
OL vap_start -
vap-0: ieee80211_state_event: VAP state event 11, cur_state=0, vap_deleted_is_set=0
vap-0: ieee80211_state_event: VAP EVENT_NODE_FREED node count 1 
sysinit:  [  OK  ] 12_settings-loader boot

sysinit:  [  OK  ] 13_prio-reader boot

sysinit:  [  OK  ] 25_sea boot

sysinit: Retype password: [  OK  ] 30_sbnoded boot

sysinit:  [  OK  ] 31_nodedetectd boot

sysinit:  [  OK  ] 32_sbnamed boot

sysinit:  [  OK  ] 33_sbmacouid boot

ol_vdev_start_resp_ev for vap 0 (d9450000)
vap-0: ieee80211_state_event: VAP state event 1, cur_state=0, vap_deleted_is_set=0
vap-0: ieee80211_state_event: VAP state transition INIT -> JOIN 
ol_ath_vap_join: join operation is only for STA/IBSS mode
ol_ath_wmm_update:
vap-0: ieee80211_state_event: VAP state event 5, cur_state=2, vap_deleted_is_set=0
vap-0: ieee80211_state_event: VAP state transition JOIN -> RUN 
su bfee 1 mu bfee 0 su bfer 1 mu bfer 1 impl bf 1 sounding dim 3
wmi_unified_vdev_up_send for vap 0 (d9450000)
__ieee80211_smart_ant_init: Smart Antenna is not supported 
sysinit:  [  OK  ] 34_jigglyp0f boot

sysinit:  [  OK  ] 35_leash boot

ol_ath_vap_set_param: Now supported MGMT RATE is 6000(kbps) and rate code: 0x3
br0: port 3(ath0) entered forwarding state
br0: port 3(ath0) entered forwarding state
8021q: adding VLAN 0 to HW filter on device ath0
sysinit: ath0: interface state UNINITIALIZED->ENABLED

sysinit: ath0: AP-ENABLED 

vap-0: ieee80211_beacon_update: reinit beacon
vap-0: [dc:ef:09:xx:xx:xx]ieee80211_beacon_update: TIM updated, pending 0, off 0, len 1
sysinit: /sbin/wlan: eval: 15: scan_interfaces: not found

sysinit: /sbin/wlan: eval: 15: setup_interface: not found

sysinit: time zone index is : 8

sysinit: Run NTP Client with setting: pri:time-e.netgear.com sec:time-f.netgear.com

[wifi0] FWLOG: [43371] WAL_DBGID_SECURITY_ENCR_EN (  )
[wifi0] FWLOG: [43371] WAL_DBGID_SECURITY_MCAST_KEY_SET ( 0x1 )
[wifi0] FWLOG: [43408] vap-0 VDEV_MGR_VDEV_START ( 0x1671, 0x2, 0x0, 0x0 )
[wifi0] FWLOG: [43408] WAL channel change freq=5745, mode=10 flags=0 rx_ok=1 tx_ok=1
[wifi0] FWLOG: [43811] VDEV_MGR_HP_START_TIME ( 0x0, 0x1671, 0xbd1001 )
[wifi0] FWLOG: [43811] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x1 )
[wifi0] FWLOG: [43811] RESMGR_OCS_GEN_PERIODIC_NOA ( 0x0 )
[wifi0] FWLOG: [43811] VDEV_MGR_AP_TBTT_CONFIG ( 0x0, 0x1671, 0x0, 0x0 )
sysinit: Sorry, rule does not exist.

sysinit: Sorry, rule does not exist.

sysinit: Sorry, rule does not exist.

sysinit: Sorry, rule does not exist.

sysinit: Sorry, rule does not exist.

sysinit: Sorry, rule does not exist.

sysinit: Sorry, rule does not exist.

sysinit: Sorry, rule does not exist.

sysinit: mac80211: Interface type not supported on_led function

xt_connbytes: Forcing CT accounting to be enabled
Saving Data... 
Done!

sysinit: Password for admin changed by root

sysinit:  [  OK  ] 40_qdiscman boot

sysinit:  [  OK  ] 43_flowmark boot

sysinit:  [  OK  ] 44_overlord boot

sysinit:  [  OK  ] 45_flowman boot

sysinit:  [  OK  ] 49_cape boot

sysinit:  [  OK  ] 50_drflocs boot

sysinit: no process in pidfile '/var/run/forked-daapd.pid' found; none killed

sysinit: killall: net6conf: no process killed

sysinit:  [  OK  ] 52_p0f boot

sysinit:  [  OK  ] 60_ozker boot

sysinit: iptables: No chain/target/match by that name.

sysinit: iptables: No chain/target/match by that name.

sysinit: iptables: Bad rule (does a matching rule exist in that chain?).

sysinit: iptables: No chain/target/match by that name.

sysinit: iptables: No chain/target/match by that name.

sysinit: iptables: Bad rule (does a matching rule exist in that chain?).

sysinit: iptables: No chain/target/match by that name.

sysinit: iptables: Bad rule (does a matching rule exist in that chain?).

sysinit: iptables: No chain/target/match by that name.

sysinit: iptables: No chain/target/match by that name.

sysinit: iptables: Bad rule (does a matching rule exist in that chain?).

sysinit: iptables: No chain/target/match by that name.

sysinit: iptables: Bad rule (does a matching rule exist in that chain?).

sysinit: iptables: No chain/target/match by that name.

sysinit: iptables: No chain/target/match by that name.

sysinit: Starting Firewall...

sysinit: Done!

sysinit: streamboost: StreamBoost: Executing start all

sysinit: streamboost: streamboost update 

sysinit:  [  OK  ] 01_redis start

sysinit:  [  OK  ] 10_policy-reader start

sysinit:  [  OK  ] 11_sbsaved start

sysinit: killall: proftpd: no process killed

sysinit:  [  OK  ] 12_settings-loader start

sysinit:  [  OK  ] 13_prio-reader start

sysinit:  [  OK  ] 25_sea start

sysinit:  [  OK  ] 30_sbnoded start

sysinit:  [  OK  ] 31_nodedetectd start

sysinit:  [  OK  ] 32_sbnamed start

sysinit:  [  OK  ] 33_sbmacouid start

sysinit:  [  OK  ] 34_jigglyp0f start

sysinit:  [  OK  ] 35_leash start

sysinit:  [  OK  ] 40_qdiscman start

sysinit:  [  OK  ] 43_flowmark start

sysinit:  [  OK  ] 44_overlord start

sysinit:  [  OK  ] 45_flowman start

sysinit:  [  OK  ] 49_cape start

sysinit:  [  OK  ] 50_drflocs start

sysinit:  [  OK  ] 52_p0f start

sysinit:  [  OK  ] 60_ozker start

sysinit: Collected errors:

sysinit:  * opkg_conf_load: Could not lock /var/lock/opkg.lock: Resource temporarily unavailable.

sysinit: iptables: No chain/target/match by that name.

sysinit: iptables: No chain/target/match by that name.

sysinit: iptables: Bad rule (does a matching rule exist in that chain?).

sysinit: iptables: No chain/target/match by that name.

sysinit: iptables: No chain/target/match by that name.

sysinit: iptables: Bad rule (does a matching rule exist in that chain?).

sysinit: iptables: No chain/target/match by that name.

sysinit: iptables: Bad rule (does a matching rule exist in that chain?).

sysinit: iptables: No chain/target/match by that name.

sysinit: iptables: No chain/target/match by that name.

sysinit: iptables: No chain/target/match by that name.

sysinit: iptables: Bad rule (does a matching rule exist in that chain?).

sysinit: iptables: No chain/target/match by that name.

sysinit: iptables: Bad rule (does a matching rule exist in that chain?).

sysinit: iptables: No chain/target/match by that name.

sysinit: ip6tables: No chain/target/match by that name.

sysinit: ip6tables: No chain/target/match by that name.

sysinit: ip6tables: No chain/target/match by that name.

sysinit: ip6tables: No chain/target/match by that name.

sysinit: ip6tables: No chain/target/match by that name.

sysinit: ip6tables: No chain/target/match by that name.

sysinit: ip6tables: No chain/target/match by that name.

sysinit: Collected errors:

sysinit:  * opkg_conf_load: Could not lock /var/lock/opkg.lock: Resource temporarily unavailable.

sysinit: Starting Firewall...

sysinit: Done!

sysinit: streamboost: streamboost update 

sysinit: Collected errors:

sysinit:  * opkg_conf_load: Could not lock /var/lock/opkg.lock: Resource temporarily unavailable.

sysinit: streamboost: [ FAIL ] Update failed.

vap-0: [14:f6:5a:xx:xx:xx]UAPSD bit settings from STA: 00vap-0: ieee80211_parse_htcap:SM powersave disabled
vap-0: ieee80211_parse_htcap:calculated updaterates 0x1
vap-0: ieee80211_parse_htcap: ni_htcap 0x12c
vap-0: ieee80211_update_noderates: updating rates: smen 1 dyn 0 ratechg 0 
[wifi1] FWLOG: [47558] RATE: ChainMask 1, peer_mac 67:a7, phymode 5, ni_flags 0x00201006, vht_mcs_set 0x0000, ht_mcs_set 0x00ff, legacy_rate_set 0xb9d3
[wifi1] FWLOG: [47571] WAL_DBGID_SECURITY_ENCR_EN (  )
[wifi1] FWLOG: [47571] WAL_DBGID_SECURITY_MCAST_KEY_SET ( 0x1 )
[wifi1] FWLOG: [47657] WAL_DBGID_SECURITY_UCAST_KEY_SET ( 0x67a7, 0x0 )
[wifi1] FWLOG: [47657] WAL_DBGID_SECURITY_ENCR_EN (  )
[wifi1] FWLOG: [47657] WAL_DBGID_SECURITY_ALLOW_DATA ( sysinit: Downloading https://updates.r7800.netgear.streamboost.yeti.bigfootnetworks.com/banana/packages-2/Packages.gz.0x4493ac

 )
sysinit: Updated list of available packages in /var/opkg-lists/streamboost.

sysinit: streamboost: [  OK  ] Everything is up-to-date.

[wifi1] FWLOG: [48414] WAL_DBGID_TX_BA_SETUP ( 0x4493ac, 0x67a70006, 0x2, 0x40, 0x1 )
[wifi1] FWLOG: [48415] RATE: ChainMask 1, peer_mac 67:a7, phymode 5, ni_flags 0x00201006, vht_mcs_set 0x0000, ht_mcs_set 0x00ff, legacy_rate_set 0xbecb
[wifi1] FWLOG: [48843] WAL_DBGID_TX_BA_SETUP ( 0x4493ac, 0x67a70000, 0x0, 0x40, 0x1 )
sysinit: AUTO FW CHECK: power cycle

FW checking ...
sysinit: week_day == 3

vap-0: [dc:ef:09:xx:xx:xx]ieee80211_beacon_update: TIM updated, pending 1, off 0, len 1
vap-0: [dc:ef:09:xx:xx:xx]ieee80211_beacon_update: TIM updated, pending 0, off 0, len 1
DNS-LOOKUP dns : 168.95.1.1


Host: updates1.netgear.com, Inet: 14.0.63.170

sysinit: ftp://updates1.netgear.com/r7800/ww/fileinfo.txt (6K)

sysinit: fileinfo.txt             [                         ]       0K
fileinfo.txt             [                         ]       0K |    0.00K/s
fileinfo.txt             [#######                  ]       1K | 2560.16K/s
fileinfo.txt             [##############           ]       3K | 4569.22K/s
fileinfo.txt             [###############          ]       4K | 4502.47K/s
fileinfo.txt             [######################   ]       6K |  768.48K/s
fileinfo.txt             [#########################]       6K |  849.74K/s

sysinit: 7122 bytes transferred in 0.01 sec (836.97k/sec)

Download fileinfo.txt from ftp://updates1.netgear.com successfully!!!

---------------------------------------------
firmware:
ver =V1.0.1.30
file=/r7800/ww/R7800-V1.0.1.30.img
md5 =F42F7E62419750048694C4109F5ECD51
size=22857857
---------------------------------------------

current version: V1.0.2.00-low-throughput-db0510; new version: V1.0.1.30
---------------------------------------------
      language table:  
ver =V1.0.0.256
file=/r7800/ww/R7800-V1.0.0.256Eng-Language-table
md5 =A7920D147CD3872539F35FF0519135CC
size=87045
---------------------------------------------

current version: V1.0.0.259; new version: V1.0.0.256
The abbreviation of English is Eng!

Didn't find the language table we need!

vap-0: [a4:e4:b8:xx:xx:xx]UAPSD bit settings from STA: 2fvap-0: ieee80211_parse_htcap:SM powersave disabled
vap-0: ieee80211_parse_htcap:calculated updaterates 0x1
vap-0: ieee80211_parse_htcap: ni_htcap 0x16f
vap-0: ieee80211_update_noderates: updating rates: smen 1 dyn 0 ratechg 0 
[wifi0] FWLOG: [60983] RATE: ChainMask 1, peer_mac 67:3f, phymode 10, ni_flags 0x0621b806, vht_mcs_set 0xfffe, ht_mcs_set 0x00ff, legacy_rate_set 0xee42
[wifi0] FWLOG: [60994] WAL_DBGID_SECURITY_ENCR_EN (  )
[wifi0] FWLOG: [60994] WAL_DBGID_SECURITY_MCAST_KEY_SET ( 0x1 )
[wifi0] FWLOG: [61023] WAL_DBGID_SECURITY_UCAST_KEY_SET ( 0x673f, 0x0 )
[wifi0] FWLOG: [61023] WAL_DBGID_SECURITY_ENCR_EN (  )
[wifi0] FWLOG: [61023] WAL_DBGID_SECURITY_ALLOW_DATA ( 0x4493ac )
[wifi0] FWLOG: [61366] WAL_DBGID_TX_BA_SETUP ( 0x4493ac, 0x673f0000, 0x0, 0x20, 0x1 )
[wifi0] FWLOG: [61368] RATE: ChainMask 1, peer_mac 67:3f, phymode 15, ni_flags 0x0621b806, vht_mcs_set 0xfffe, ht_mcs_set 0x00ff, legacy_rate_set 0x0000
[wifi0] FWLOG: [62519] WAL_DBGID_TX_BA_SETUP ( 0x4493ac, 0x673f0006, 0x2, 0x20, 0x1 )
Save the collect log into debug-log.zip and upload to user
Good, No kernel panic found so far...

(Last edited by tomkao on 23 May 2016, 07:31)

That firmware is only 20 days old and doesn't seem to have made it into linux wireless firmware yet (at least I could not see a commit https://git.kernel.org/cgit/linux/kerne … mware.git/). From reading about the ath10k firmware it seems to be kernel version dependent?

OpenWRT is pulling firmware from https://us.codeaurora.org/cgit/quic/qsd … in/ath10k/ and you can see it is not present there. Would your device work with QCA99X0? Don't count on it. Though it does also pull from https://github.com/kvalo/ath10k-firmware.git and so may already be included as ath10k-firmware-default.

I started looking through the code and began adding a profile into a branch on my repo (just to see what is involved) https://github.com/Xotic750/mirror-lede/tree/r7800, but even if someone (or yourself) build a flash for your device if you dare not open it and fit a serial cable then how do you hope to diagnose any problems or if you have a bad flash then how are you intending to recover to factory?

DD-WRT seems to suggest that it supports it. http://www.dd-wrt.com/wiki/index.php/Supported_Devices since 5 days ago.

If you are willing to play (at your own risk) then I have built the binaries from my repo https://www.dropbox.com/s/upkxd7uze35vr … ar.xz?dl=0 I included luci as the only addition from a default.

Target System (Qualcomm Atheros IPQ806X)  --->
Target Profile (Netgear Nighthawk X4S R7800)  ---> 
[graham@tyr mirror-lede]$ make -j3
Collecting target info: done
 make[1] world
 make[2] package/cleanup
 make[2] target/compile
 make[3] -C target/linux compile
 make[2] package/compile
 make[3] -C package/libs/toolchain compile
 make[3] -C package/system/usign host-compile
 make[3] -C feeds/luci/modules/luci-base host-compile
 make[3] -C package/utils/lua host-compile
 make[3] -C package/kernel/gpio-button-hotplug compile
 make[3] -C package/network/ipv6/odhcp6c compile
 make[3] -C package/network/services/dnsmasq compile
 make[3] -C package/network/services/dropbear compile
 make[3] -C package/libs/libpcap compile
 make[3] -C package/network/utils/linux-atm compile
 make[3] -C package/network/utils/resolveip compile
 make[3] -C package/utils/busybox compile
 make[3] -C package/libs/libnl-tiny compile
 make[3] -C package/libs/libjson-c compile
 make[3] -C package/utils/lua compile
 make[3] -C package/libs/lzo compile
 make[3] -C package/libs/zlib compile
 make[3] -C package/utils/util-linux compile
 make[3] -C package/system/lede-keyring compile
 make[3] -C package/firmware/linux-firmware compile
 make[3] -C package/libs/mbedtls compile
 make[3] -C package/libs/polarssl compile
 make[3] -C package/firmware/b43legacy-firmware compile
 make[3] -C package/network/utils/iw compile
 make[3] -C package/libs/libubox compile
 make[3] -C package/utils/ubi-utils compile
 make[3] -C package/kernel/linux compile
 make[3] -C feeds/luci/libs/luci-lib-ip compile
 make[3] -C feeds/luci/libs/luci-lib-jsonc compile
 make[3] -C feeds/luci/libs/luci-lib-nixio compile
 make[3] -C feeds/luci/protocols/luci-proto-ppp compile
 make[3] -C feeds/luci/themes/luci-theme-bootstrap compile
 make[3] -C package/libs/ustream-ssl compile
 make[3] -C feeds/luci/protocols/luci-proto-ipv6 compile
 make[3] -C package/libs/uclient compile
 make[3] -C package/system/mtd compile
 make[3] -C package/system/opkg compile
 make[3] -C package/system/ubus compile
 make[3] -C package/system/uci compile
 make[3] -C package/utils/jsonfilter compile
 make[3] -C package/system/usign compile
 make[3] -C package/network/services/uhttpd compile
 make[3] -C package/network/services/hostapd compile
 make[3] -C package/network/config/swconfig compile
 make[3] -C package/network/services/odhcpd compile
 make[3] -C package/network/config/netifd compile
 make[3] -C package/system/ubox compile
 make[3] -C package/network/utils/iwinfo compile
 make[3] -C package/system/fstools compile
 make[3] -C package/system/procd compile
 make[3] -C package/system/rpcd compile
 make[3] -C package/base-files compile
 make[3] -C feeds/luci/modules/luci-base compile
 make[3] -C package/kernel/mac80211 compile
 make[3] -C package/network/utils/iptables compile
 make[3] -C package/network/services/ppp compile
 make[3] -C package/network/config/firewall compile
 make[3] -C feeds/luci/modules/luci-mod-admin-full compile
 make[3] -C package/firmware/ath10k-firmware compile
 make[3] -C feeds/luci/applications/luci-app-firewall compile
 make[3] -C feeds/luci/collections/luci compile
 make[2] package/install
 make[3] -C package/system/opkg host-install
 make[3] package/preconfig
 make[2] target/install
 make[3] -C target/linux install
 make[2] package/index

(Last edited by Xotic750 on 23 May 2016, 15:00)

It has been a while, thought the thread was trashed smile
I've been running dd-wrt since initial support and it seems pretty stable.

I'll take a look at it, thank you very much. Will provide feedback smile

(Last edited by dissent on 7 Jun 2016, 10:09)

Browsing through your code there are couple of questions:
1. You are using a qcom-ipq8064.dtsi, that has a bit different clocks and voltages considering ipq8065. Guess this one can be watched over in dd-wrt source:)
2. Not including usb, led and other packages in target profile?
3. Forgot to include "+cascade" in the end of netgear_hw_id in the image/Makefile.
4. Package source version in package/firmware/ath10k-firmware/Makefile is rather old and qca9984 firmware define is absent. Qca9984 gets downloaded during the build process with the latest commit

(Last edited by dissent on 7 Jun 2016, 13:25)

Initial R7800 recently has been added to lede trunk - networking and wifi are ok.

I can't figure out why USBs are not functioning. If anyone could help it would have been great.

dissent wrote:

Initial R7800 recently has been added to lede trunk - networking and wifi are ok.

I can't figure out why USBs are not functioning. If anyone could help it would have been great.

Hi Dissent

I download https://downloads.openwrt.org/snapshots … actory.img and install to my R7800 yesterday (07-07-2016).

Networking is ok but wifi is not work.

Please verify the wifi is work ok.

Thank you.

(Last edited by easyzone on 8 Jul 2016, 06:08)

easyzone wrote:

Thank you so much
Did you test on Netgear R7000?
Does the wifi is work?

Do you mean r7800? I'm not near the router at the moment, but it really should work. Try restoring to defaults after reboot.
You can also use dd-wrt that has full support for r7800. Lede doesn't have full support yet.

dissent wrote:
easyzone wrote:

Thank you so much
Did you test on Netgear R7000?
Does the wifi is work?

Do you mean r7800? I'm not near the router at the moment, but it really should work. Try restoring to defaults after reboot.
You can also use dd-wrt that has full support for r7800. Lede doesn't have full support yet.


Thank you so much.
I mean Netgear R7000 which has not wifi support on Openwrt.
I need to know if I install Lede on R7000, wifi is work or not.
I can try myself.

Thank you again.

easyzone wrote:

Thank you so much.
I mean Netgear R7000 which has not wifi support on Openwrt.
I need to know if I install Lede on R7000, wifi is work or not.
I can try myself.

Thank you again.

I don't have R7000, so I don't know. But you should not try if you are not sure.
For R7000 you can go for dd-wrt or Asus version that is pretty nice http://xvtx.ru/xwrt/download.htm - I use it myself on similar router

Just test Lede on Netgear R7000. It 's not support wifi.

Someone is working on this Router support  now ?

(Last edited by zozo on 22 Nov 2016, 19:07)

Someone is working on this Router full support  in LEDE ?
Not only just a snapshot support ?