Netgear R7800 exploration (IPQ8065, QCA9984)


#1412

Tack so mycke, Shelterx.


#1413
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.81 (hingbong@hingbong-machine) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r9256-79929deb41)) #0 SMP Mon Nov 19 11:25:25 2018
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: Netgear Nighthawk X4S R7800
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 122880
[    0.000000] free_area_init_node: node 0, pgdat c0a25800, node_mem_map dda39000
[    0.000000]   Normal zone: 960 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 122880 pages, LIFO batch:31
[    0.000000] random: get_random_bytes called from start_kernel+0x88/0x408 with crng_init=0
[    0.000000] percpu: Embedded 15 pages/cpu @dda01000 s29324 r8192 d23924 u61440
[    0.000000] pcpu-alloc: s29324 r8192 d23924 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 121920
[    0.000000] Kernel command line: 
[    0.000000] Bootloader command line (ignored): console=ttyHSL1,115200n8
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 477384K/491520K available (4747K kernel code, 152K rwdata, 1260K rodata, 1024K init, 228K bss, 14136K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xde800000 - 0xff800000   ( 528 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xde000000   ( 480 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0208000 - 0xc07a2d58   (5740 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a26100   ( 153 kB)
[    0.000000]        .bss : 0xc0a28000 - 0xc0a61098   ( 229 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000006] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000019] Switching to timer-based delay loop, resolution 160ns
[    0.000216] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000239] pid_max: default: 32768 minimum: 301
[    0.000366] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000383] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000943] CPU: Testing write buffer coherency: ok
[    0.001695] Setting up static identity map for 0x42300000 - 0x42300060
[    0.001845] Hierarchical SRCU implementation.
[    0.002578] smp: Bringing up secondary CPUs ...
[    0.004428] smp: Brought up 1 node, 2 CPUs
[    0.004445] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.004455] CPU: All CPU(s) started in SVC mode.
[    0.015416] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.015584] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.015610] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.015720] pinctrl core: initialized pinctrl subsystem
[    0.016733] NET: Registered protocol family 16
[    0.016978] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.018324] cpuidle: using governor ladder
[    0.018388] cpuidle: using governor menu
[    0.039811] msm_bus_fabric_init_driver
[    0.041258] usbcore: registered new interface driver usbfs
[    0.041344] usbcore: registered new interface driver hub
[    0.041542] usbcore: registered new device driver usb
[    0.041596] pps_core: LinuxPPS API ver. 1 registered
[    0.041608] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.041641] PTP clock support registered
[    0.043352] clocksource: Switched to clocksource dg_timer
[    0.046668] NET: Registered protocol family 2
[    0.047199] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.047240] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.047294] TCP: Hash tables configured (established 4096 bind 4096)
[    0.047381] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.047405] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.047588] NET: Registered protocol family 1
[    0.047635] PCI: CLS 0 bytes, default 64
[    0.048770] No memory allocated for crashlog
[    0.049051] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.053960] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.053975] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.060823] io scheduler noop registered
[    0.060841] io scheduler deadline registered (default)
[    0.062485] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda not found, using dummy regulator
[    0.062596] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_phy not found, using dummy regulator
[    0.062689] qcom-pcie 1b500000.pci: 1b500000.pci supply vdda_refclk not found, using dummy regulator
[    0.063474] OF: PCI: host bridge /soc/pci@1b500000 ranges:
[    0.063520] OF: PCI:    IO 0x0fe00000..0x0fefffff -> 0x0fe00000
[    0.063543] OF: PCI:   MEM 0x08000000..0x0fdfffff -> 0x08000000
[    0.171715] qcom-pcie 1b500000.pci: link up
[    0.171876] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.171900] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.171922] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfe00000-0xfefffff])
[    0.171936] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.171952] pci_bus 0000:00: scanning bus
[    0.171996] pci 0000:00:00.0: [17cb:0101] type 01 class 0x060400
[    0.172093] pci 0000:00:00.0: calling pci_fixup_ide_bases+0x0/0x44
[    0.172167] pci 0000:00:00.0: supports D1
[    0.172180] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.172195] pci 0000:00:00.0: PME# disabled
[    0.172453] pci_bus 0000:00: fixups for bus
[    0.172476] PCI: bus0: Fast back to back transfers disabled
[    0.172496] pci 0000:00:00.0: scanning [bus 01-ff] behind bridge, pass 0
[    0.172618] pci_bus 0000:01: scanning bus
[    0.172794] pci 0000:01:00.0: [168c:0046] type 00 class 0x028000
[    0.173145] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.173726] pci 0000:01:00.0: calling pci_fixup_ide_bases+0x0/0x44
[    0.174371] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.174411] pci 0000:01:00.0: PME# disabled
[    0.174742] pci_bus 0000:01: fixups for bus
[    0.174813] PCI: bus1: Fast back to back transfers disabled
[    0.174827] pci_bus 0000:01: bus scan returning with max=01
[    0.174844] pci 0000:00:00.0: scanning [bus 01-ff] behind bridge, pass 1
[    0.174861] pci_bus 0000:00: bus scan returning with max=ff
[    0.174911] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.174935] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.175063] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.175086] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.175133] pci 0000:00:00.0: calling qcom_pcie_fixup_final+0x0/0x94
[    0.175326] pcieport 0000:00:00.0: assign IRQ: got 67
[    0.175663] pcieport 0000:00:00.0: AER enabled with IRQ 35
[    0.175785] pci 0000:01:00.0: calling qcom_pcie_fixup_final+0x0/0x94
[    0.176211] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda not found, using dummy regulator
[    0.176311] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_phy not found, using dummy regulator
[    0.176416] qcom-pcie 1b700000.pci: 1b700000.pci supply vdda_refclk not found, using dummy regulator
[    0.177197] OF: PCI: host bridge /soc/pci@1b700000 ranges:
[    0.177234] OF: PCI:    IO 0x31e00000..0x31efffff -> 0x31e00000
[    0.177259] OF: PCI:   MEM 0x2e000000..0x31dfffff -> 0x2e000000
[    0.287172] qcom-pcie 1b700000.pci: link up
[    0.287326] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.287347] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.287361] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.287375] pci_bus 0001:00: scanning bus
[    0.287416] pci 0001:00:00.0: [17cb:0101] type 01 class 0x060400
[    0.287496] pci 0001:00:00.0: calling pci_fixup_ide_bases+0x0/0x44
[    0.287560] pci 0001:00:00.0: supports D1
[    0.287571] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[    0.287583] pci 0001:00:00.0: PME# disabled
[    0.287828] pci_bus 0001:00: fixups for bus
[    0.287846] PCI: bus0: Fast back to back transfers disabled
[    0.287862] pci 0001:00:00.0: scanning [bus 01-ff] behind bridge, pass 0
[    0.287986] pci_bus 0001:01: scanning bus
[    0.288171] pci 0001:01:00.0: [168c:0046] type 00 class 0x028000
[    0.288543] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.289042] pci 0001:01:00.0: calling pci_fixup_ide_bases+0x0/0x44
[    0.289733] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[    0.289775] pci 0001:01:00.0: PME# disabled
[    0.290121] pci_bus 0001:01: fixups for bus
[    0.290197] PCI: bus1: Fast back to back transfers disabled
[    0.290211] pci_bus 0001:01: bus scan returning with max=01
[    0.290228] pci 0001:00:00.0: scanning [bus 01-ff] behind bridge, pass 1
[    0.290244] pci_bus 0001:00: bus scan returning with max=ff
[    0.290281] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.290303] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.290436] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.290456] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.290493] pci 0001:00:00.0: calling qcom_pcie_fixup_final+0x0/0x94
[    0.290676] pcieport 0001:00:00.0: assign IRQ: got 100
[    0.290953] pcieport 0001:00:00.0: AER enabled with IRQ 68
[    0.291069] pci 0001:01:00.0: calling qcom_pcie_fixup_final+0x0/0x94
[    0.293280] L2 @ QSB rate. Forcing new rate.
[    0.293497] L2 @ 384000 KHz
[    0.293796] CPU0 @ 800000 KHz
[    0.293808] CPU1 @ QSB rate. Forcing new rate.
[    0.293929] CPU1 @ 384000 KHz
[    0.297877] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.299830] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.300675] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.300779] msm_serial 16340000.serial: uartclk = 7372800
[    0.300860] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 101, base_baud = 460800) is a MSM
[    0.300901] msm_serial: console setup on port #0
[    1.023259] console [ttyMSM0] enabled
[    1.028113] msm_serial: driver initialized
[    1.036738] loop: module loaded
[    1.038764] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xa1
[    1.038796] nand: Micron MT29F1G08ABBEAH4
[    1.045406] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.049298] 8 fixed-partitions partitions found on MTD device qcom_nand.0
[    1.056733] Creating 8 MTD partitions on "qcom_nand.0":
[    1.063523] 0x000000000000-0x000000c80000 : "qcadata"
[    1.073630] random: fast init done
[    1.091324] 0x000000c80000-0x000001180000 : "APPSBL"
[    1.100809] 0x000001180000-0x000001200000 : "APPSBLENV"
[    1.102453] 0x000001200000-0x000001340000 : "art"
[    1.107815] 0x000001340000-0x000001480000 : "artbak"
[    1.112643] 0x000001480000-0x000001880000 : "kernel"
[    1.122510] 0x000001880000-0x000007900000 : "ubi"
[    1.291891] 0x000007900000-0x000008000000 : "reserve"
[    1.306200] libphy: GPIO Bitbanged MDIO: probed
[    1.327567] switch0: Atheros AR8337 rev. 2 switch registered on gpio-0
[    2.185837] libphy: Fixed MDIO Bus: probed
[    2.188059] ipq806x-gmac-dwmac 37200000.ethernet: PTP uses main clock
[    2.189161] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    2.195447] ipq806x-gmac-dwmac 37200000.ethernet: Ring mode enabled
[    2.200380] ipq806x-gmac-dwmac 37200000.ethernet: DMA HW capability register supported
[    2.206533] ipq806x-gmac-dwmac 37200000.ethernet: Enhanced/Alternate descriptors
[    2.214521] ipq806x-gmac-dwmac 37200000.ethernet: Enabled extended descriptors
[    2.221993] ipq806x-gmac-dwmac 37200000.ethernet: RX Checksum Offload Engine supported
[    2.229114] ipq806x-gmac-dwmac 37200000.ethernet: COE Type 2
[    2.236984] ipq806x-gmac-dwmac 37200000.ethernet: TX Checksum insertion supported
[    2.242743] ipq806x-gmac-dwmac 37200000.ethernet: Wake-Up On Lan supported
[    2.250203] ipq806x-gmac-dwmac 37200000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.258537] ipq806x-gmac-dwmac 37400000.ethernet: PTP uses main clock
[    2.265757] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    2.271817] ipq806x-gmac-dwmac 37400000.ethernet: Ring mode enabled
[    2.276941] ipq806x-gmac-dwmac 37400000.ethernet: DMA HW capability register supported
[    2.282931] ipq806x-gmac-dwmac 37400000.ethernet: Enhanced/Alternate descriptors
[    2.290996] ipq806x-gmac-dwmac 37400000.ethernet: Enabled extended descriptors
[    2.298525] ipq806x-gmac-dwmac 37400000.ethernet: RX Checksum Offload Engine supported
[    2.305588] ipq806x-gmac-dwmac 37400000.ethernet: COE Type 2
[    2.313397] ipq806x-gmac-dwmac 37400000.ethernet: TX Checksum insertion supported
[    2.319300] ipq806x-gmac-dwmac 37400000.ethernet: Wake-Up On Lan supported
[    2.326674] ipq806x-gmac-dwmac 37400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.334058] i2c /dev entries driver
[    2.342822] Calibration not found.
[    2.345242] qcom-tsens 900000.thermal-sensor: tsens calibration failed
[    2.349803] Speed bin: 0
[    2.355240] PVS bin: 4
[    2.359152] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[    2.360078] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[    2.367818] sdhci: Secure Digital Host Controller Interface driver
[    2.374590] sdhci: Copyright(c) Pierre Ossman
[    2.380753] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.386880] NET: Registered protocol family 10
[    2.392145] Segment Routing with IPv6
[    2.395335] NET: Registered protocol family 17
[    2.399603] 8021q: 802.1Q VLAN Support v1.8
[    2.403270] Registering SWP/SWPB emulation handler
[    2.420053] qcom_rpm 108000.rpm: RPM firmware 3.0.16777364
[    2.435980] s1a: supplied by regulator-dummy
[    2.436079] s1a: Bringing 0uV into 1050000-1050000uV
[    2.439590] s1b: supplied by regulator-dummy
[    2.444422] s1b: Bringing 0uV into 1050000-1050000uV
[    2.448763] s2a: supplied by regulator-dummy
[    2.453523] s2a: Bringing 0uV into 775000-775000uV
[    2.458045] s2b: supplied by regulator-dummy
[    2.462370] s2b: Bringing 0uV into 775000-775000uV
[    2.471690] UBI: auto-attach mtd6
[    2.471723] ubi0: attaching mtd6
[    2.523633] random: crng init done
[    3.181203] ubi0: scanning is finished
[    3.190828] ubi0: attached mtd6 (name "ubi", size 96 MiB)
[    3.190846] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    3.195261] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    3.201966] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.208887] ubi0: good PEBs: 772, bad PEBs: 0, corrupted PEBs: 0
[    3.215660] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    3.221845] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 1971817280
[    3.228938] ubi0: available PEBs: 0, total reserved PEBs: 772, PEBs reserved for bad PEB handling: 20
[    3.238322] ubi0: background thread "ubi_bgt0d" started, PID 61
[    3.238901] block ubiblock0_0: created from ubi0:0(rootfs)
[    3.238905] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    3.238909] hctosys: unable to open rtc device (rtc0)
[    3.275359] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    3.276099] Freeing unused kernel memory: 1024K
[    3.750782] init: Console is alive
[    3.750987] init: - watchdog -
[    4.675975] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.744499] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.747140] SCSI subsystem initialized
[    4.752944] libata version 3.00 loaded.
[    4.756066] ahci 29000000.sata: forcing port_map 0x0 -> 0x1
[    4.756127] ahci 29000000.sata: AHCI 0001.0300 32 slots 1 ports 6 Gbps 0x1 impl platform mode
[    4.760446] ahci 29000000.sata: flags: ncq sntf pm led clo only pmp pio slum part ccc apst 
[    4.770001] scsi host0: ahci
[    4.777592] ata1: SATA max UDMA/133 mmio [mem 0x29000000-0x2900017f] port 0x100 irq 26
[    5.106281] ata1: SATA link down (SStatus 0 SControl 300)
[    5.108996] ehci-platform: EHCI generic platform driver
[    5.115514] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.116477] ohci-platform: OHCI generic platform driver
[    5.252713] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    5.252787] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    5.257515] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x02010010
[    5.264825] xhci-hcd xhci-hcd.0.auto: irq 105, io mem 0x11000000
[    5.274062] hub 1-0:1.0: USB hub found
[    5.279601] hub 1-0:1.0: 1 port detected
[    5.283402] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    5.287295] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    5.292514] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0  SuperSpeed
[    5.300216] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.307053] hub 2-0:1.0: USB hub found
[    5.315079] hub 2-0:1.0: 1 port detected
[    5.318784] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    5.322640] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    5.328127] xhci-hcd xhci-hcd.1.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x02010010
[    5.335567] xhci-hcd xhci-hcd.1.auto: irq 106, io mem 0x10000000
[    5.344607] hub 3-0:1.0: USB hub found
[    5.350430] hub 3-0:1.0: 1 port detected
[    5.354240] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    5.358051] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    5.363346] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0  SuperSpeed
[    5.371051] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.377891] hub 4-0:1.0: USB hub found
[    5.385931] hub 4-0:1.0: 1 port detected
[    5.390981] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.400447] init: - preinit -
[    7.170075] Generic PHY fixed-0:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=fixed-0:01, irq=POLL)
[    7.171322] dwmac1000: Master AXI performs any burst length
[    7.179069] ipq806x-gmac-dwmac 37400000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported
[    7.184595] ipq806x-gmac-dwmac 37400000.ethernet eth1: registered PTP clock
[    7.194352] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[    8.234060] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[    8.234137] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   10.364402] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 143
[   10.472517] UBIFS (ubi0:1): recovery needed
[   10.532144] UBIFS (ubi0:1): recovery completed
[   10.532217] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   10.535585] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   10.543391] UBIFS (ubi0:1): FS size: 82534400 bytes (78 MiB, 650 LEBs), journal size 4190208 bytes (3 MiB, 33 LEBs)
[   10.553371] UBIFS (ubi0:1): reserved for root: 3898303 bytes (3806 KiB)
[   10.563579] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID 3500A5E8-C2A6-485A-847E-80AC4DA4D67E, small LPT model
[   10.578102] mount_root: switching to ubifs overlay
[   10.602055] urandom-seed: Seeding with /etc/urandom.seed
[   10.700617] procd: - early -
[   10.700753] procd: - watchdog -
[   11.332698] procd: - watchdog -
[   11.333297] procd: - ubus -
[   11.419058] procd: - init -
[   11.845344] kmodloader: loading kernel modules from /etc/modules.d/*
[   11.877392] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   11.881063] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[   11.897051] Netfilter messages via NETLINK v0.30.
[   11.897738] ip_set: protocol 6
[   11.913460] u32 classifier
[   11.913478]     input device check on
[   11.915126]     Actions configured
[   11.919628] Mirror/redirect action on
[   11.925370] Loading modules backported from Linux version v4.19-rc5-0-g6bf4ca7fbc85
[   11.925817] Backport generated by backports.git v4.19-rc5-1-0-g05571dcd
[   11.934792] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.955844] ctnetlink v0.93: registering with nfnetlink.
[   11.990766] xt_time: kernel timezone is -0000
[   12.012450] PPP generic driver version 2.4.2
[   12.013143] NET: Registered protocol family 24
[   12.022806] ath10k_pci 0000:01:00.0: assign IRQ: got 67
[   12.023155] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
[   12.023242] ath10k_pci 0000:01:00.0: enabling bus mastering
[   12.023751] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   12.199904] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA9984/hw1.0/firmware-6.bin failed with error -2
[   12.199949] ath10k_pci 0000:01:00.0: Falling back to user helper
[   12.229626] firmware ath10k!QCA9984!hw1.0!firmware-6.bin: firmware_loading_store: map pages failed
[   12.597563] ath10k_pci 0000:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[   12.597612] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   12.611253] ath10k_pci 0000:01:00.0: firmware ver 10.4-3.6.0.1-00004 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps crc32 05feb8e2
[   14.890007] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 0:1 crc32 cf58c3bc
[   20.785876] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
[   20.877741] ath: EEPROM regdomain: 0x0
[   20.877755] ath: EEPROM indicates default country code should be used
[   20.877765] ath: doing EEPROM country->regdmn map search
[   20.877783] ath: country maps to regdmn code: 0x3a
[   20.877796] ath: Country alpha2 being used: US
[   20.877806] ath: Regpair used: 0x3a
[   20.883210] ath10k_pci 0001:01:00.0: assign IRQ: got 100
[   20.884308] ath10k_pci 0001:01:00.0: enabling device (0140 -> 0142)
[   20.884465] ath10k_pci 0001:01:00.0: enabling bus mastering
[   20.885148] ath10k_pci 0001:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   21.057593] ath10k_pci 0001:01:00.0: Direct firmware load for ath10k/QCA9984/hw1.0/firmware-6.bin failed with error -2
[   21.057625] ath10k_pci 0001:01:00.0: Falling back to user helper
[   21.150127] firmware ath10k!QCA9984!hw1.0!firmware-6.bin: firmware_loading_store: map pages failed
[   21.150334] ath10k_pci 0001:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[   21.158126] ath10k_pci 0001:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   21.170790] ath10k_pci 0001:01:00.0: firmware ver 10.4-3.6.0.1-00004 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps crc32 05feb8e2
[   23.448411] ath10k_pci 0001:01:00.0: board_file api 2 bmi_id 0:2 crc32 cf58c3bc
[   29.395399] ath10k_pci 0001:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
[   29.486775] ath: EEPROM regdomain: 0x0
[   29.486788] ath: EEPROM indicates default country code should be used
[   29.486797] ath: doing EEPROM country->regdmn map search
[   29.486814] ath: country maps to regdmn code: 0x3a
[   29.486825] ath: Country alpha2 being used: US
[   29.486834] ath: Regpair used: 0x3a
[   29.495534] kmodloader: done loading kernel modules from /etc/modules.d/*
[   34.287911] Generic PHY fixed-0:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=fixed-0:01, irq=POLL)
[   34.288961] dwmac1000: Master AXI performs any burst length
[   34.296936] ipq806x-gmac-dwmac 37400000.ethernet eth1: IEEE 1588-2008 Advanced Timestamp supported
[   34.302430] ipq806x-gmac-dwmac 37400000.ethernet eth1: registered PTP clock
[   34.311506] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   34.323083] br-lan: port 1(eth1.1) entered blocking state
[   34.324070] br-lan: port 1(eth1.1) entered disabled state
[   34.329672] device eth1.1 entered promiscuous mode
[   34.334896] device eth1 entered promiscuous mode
[   34.342913] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   34.354892] Generic PHY fixed-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=fixed-0:00, irq=POLL)
[   34.355839] dwmac1000: Master AXI performs any burst length
[   34.363953] ipq806x-gmac-dwmac 37200000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[   34.369347] ipq806x-gmac-dwmac 37200000.ethernet eth0: registered PTP clock
[   34.378867] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   34.391181] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[   35.353940] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[   35.355637] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   35.365192] br-lan: port 1(eth1.1) entered blocking state
[   35.367873] br-lan: port 1(eth1.1) entered forwarding state
[   35.373593] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   35.433869] ipq806x-gmac-dwmac 37200000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   35.433929] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   35.466162] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[   42.086240] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   48.262249] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   48.265772] pppoe-wan: renamed from ppp0
[   48.337162] br-lan: port 2(wlan0) entered blocking state
[   48.337187] br-lan: port 2(wlan0) entered disabled state
[   48.341736] device wlan0 entered promiscuous mode
[   48.347265] br-lan: port 3(wlan1) entered blocking state
[   48.351430] br-lan: port 3(wlan1) entered disabled state
[   48.357126] device wlan1 entered promiscuous mode
[   48.754302] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   48.754639] br-lan: port 3(wlan1) entered blocking state
[   48.759788] br-lan: port 3(wlan1) entered forwarding state
[   49.199352] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   49.199599] br-lan: port 2(wlan0) entered blocking state
[   49.204896] br-lan: port 2(wlan0) entered forwarding state
[   63.913152] ipq806x-gmac-dwmac 37400000.ethernet eth1: len 1629 larger than size (1536)
[   63.990995] ipq806x-gmac-dwmac 37400000.ethernet eth1: len 1629 larger than size (1536)
[   64.132003] ipq806x-gmac-dwmac 37400000.ethernet eth1: len 1629 larger than size (1536)
[   64.413053] ipq806x-gmac-dwmac 37400000.ethernet eth1: len 1629 larger than size (1536)
[   68.260951] ipq806x-gmac-dwmac 37400000.ethernet eth1: len 1629 larger than size (1536)
[   68.416361] ipq806x-gmac-dwmac 37400000.ethernet eth1: len 1629 larger than size (1536)
[   68.713036] ipq806x-gmac-dwmac 37400000.ethernet eth1: len 1629 larger than size (1536)
[   69.171465] ipq806x-gmac-dwmac 37400000.ethernet eth1: len 1629 larger than size (1536)
[   63.913152] ipq806x-gmac-dwmac 37400000.ethernet eth1: len 1629 larger than size (1536)
[   63.990995] ipq806x-gmac-dwmac 37400000.ethernet eth1: len 1629 larger than size (1536)
[   64.132003] ipq806x-gmac-dwmac 37400000.ethernet eth1: len 1629 larger than size (1536)
[   64.413053] ipq806x-gmac-dwmac 37400000.ethernet eth1: len 1629 larger than size (1536)
[   68.260951] ipq806x-gmac-dwmac 37400000.ethernet eth1: len 1629 larger than size (1536)
[   68.416361] ipq806x-gmac-dwmac 37400000.ethernet eth1: len 1629 larger than size (1536)
[   68.713036] ipq806x-gmac-dwmac 37400000.ethernet eth1: len 1629 larger than size (1536)
[   69.171465] ipq806x-gmac-dwmac 37400000.ethernet eth1: len 1629 larger than size (1536)

does anyone got this in kernel log?


#1414

Note: using LuCI to sysupgrade from master builds between r8530-41770add03 of Nov 26th and r8614-78ca6a5578 may fail, or at least the shown SHA256 checksum is wrong.

The issue got fixed a few minutes ago by https://github.com/openwrt/openwrt/commit/9808bd279927bcd2d3a78d19a55229b93bbbcf05 , so sysupgrading from r8615-9808bd27 or newer builds is again possible in normal fashion.

If you are using a build from that problematic time period, you can either

  • use SCP to transfer the image file to the router and do sysupgrade from console, or
  • do the simple one-line edit for /lib/upgrade/fwtool.sh to mimic 9808bd27 (removal of the recently added -t option)

Note, the issue concerns likely all routers with metadata at the end of the sysupgrade image. At least the ipq806x routers, and based on the LuCI issue report also ath79, but possibly other targets, too.


#1415

I hope I am posting in the correct thread being new to openwrt.

I recently (end of November) switched to an R7800 and openwrt from an r7000 with dd-wrt. I am comfortable configuring and brick recovery as I have done that with dd-wrt. I have the install completed and all of the packages (I think) that I want including adding usb drives and using extroot to increase storage size for packages.

The firmware I used to upgrade from stock is the img file for the R7800 which is dated August 17, 2018 and I have been reading through the forum. I am looking at 2 more issues now and have questions.

Regarding the wifi lights on the R7800, I understand that a patch is needed for ath10k...

Is that patch something that is included in a newer master build, that can be added to what I have now, or is that something that has to be implemented in a a new build which I would have to compile and build myself.

I have compiled I think 1 package ever for linux and am not comfortable doing that at this point.

The second issue is about distribution between the cpu cores. From what I read in this forum thread, their are 2 choices: irq balancing and affinity. From what I can tell, the affinity choice seems to be the one to try. Like the other issue, is this in one of the newer trunk versions or can it be added to what I have, or does it take a new compile and build?


#1416

It's a kernel patch (well, technically a patched mac80211 backports package), this is present (and should be fully functional) in recent master snapshots. While backporting the required changes to 18.06.x would be possible, doing so would require building a custom OpenWrt image from source (full buildroot, not imagebuilder); the patches are too intrusive to be accepted for the 18.06.x branch, so you either have to use snapshots for now or wait until 19.01.0.


#1417

Thank you slh.

Your comment quoted my question regarding wifi lights. I take it that the second part of my question regarding distribution between the cores has the same answer although it may need some extra configuration.

I may see about going for a snapshot build soon. I have read that snapshots can affect packages sometimes. My packages are not special since they come from the packages repository and are only configured normally. I am no where near skilled enough to modify them.

If I were to use a snapshot, can I have a reasonable expectation that these packages will continue to perform as they do with stable?

Thank you for the assistance. Much to learn about this. Imagebuilder sounds interesting even if it does not address my 2 issues.


#1418

Install irqbalance with opkg or through luci is probably the easiest way.
You need to put a line with irqbalance in /etc/rc.local to make it run automatically on boot.
But before you do this, login to the routers shell and run irqbalance manually to see if it runs well or if you encounter any issues. Let it run for a few days before you decide.


#1419

Ok. I will look into that at some point. My setup seems pretty stable, but I am interested in seeing what can be done with owrt. I had seen that cpu1 seems to be used less and so I thought I would consider trying to balance things out.

My connection seems similar to what it was with the R7000. Speeds on the download side are not as high as I would like, but that was happening before. I have a 1gbit downstream with 35 up (goes to about 41). My downloads have been in the 300mbit range at best, but that was happening before like I said.

I think my connection to comcast is a bit off. I haven't bothered with it though because I got the speed level for upload. Also, about the best I did previously was a while back. It was 500+ wired.

I know that open source firmware is not going to be as fast on the download as stock, but again, it is not a big deal. I like what I can do with open source over stock and I figure I can get the speeds up over time with owrt improvements and when I get around to checking the comcast connection.


#1420

https://github.com/kvalo/ath10k-firmware/blob/master/QCA9984/hw1.0/3.9.0.1/firmware-5.bin_10.4-3.9.0.1-00008
new ath10k firmware released.


#1421

New ath10k-ct firmware has been released as well, which you can find here. The two files named firmware-5-ct-full-community-12.bin-lede.001 and firmware-5-ct-full-htt-mgt-community-12.bin-lede.001 will be the new stable ath10k-ct firmware for the R7800.

The firmware can be installed the following way (for the R7800 at least):

  1. transfer the firmware file from your computer to the router with scp:

scp name_of_firmware.bin root@192.168.1.1:/tmp

  1. ssh into the router and overwrite the existing firmware file with the new one:
cp /tmp/name_of_firmware.bin /lib/firmware/ath10k/QCA9984/hw1.0/ct-firmware-5.bin
  1. reboot the router


I'm sure @greearb will appreciate any additional testing and reporting of bugs. The process of submitting bug reports is detailed here: http://candelatech.com/ath10k-bugs.php

I've already submitted a patch to update the firmware in OpenWrt, but it's not been merged yet.


#1422

@hnyman why when I want to build from source with branch master and v18.06.1 the kmood-usb-gadget-* not found?
or it's no need?


#1423

I have never used that kmod-usb-gadget myself .Is there any connection to R7800 specifically?

But the kmod-usb-gadget module itself seems to be hidden since 2016. It apparently comes visible when you select one of the actual gadget modules.

https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/kernel/linux/modules/usb.mk;hb=HEAD#l112

https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=dc17fde99436fd7912914c0e4d3f106820ffe9e8;hp=eb88a9cacb41a69cdeb335298882b218361ff825

what made you to think that R7800 would need kmod-usb-gadget stuff?


#1424

Previously I compile a kernel for ArcherC7v5, it's needed to read my lte modem that not directly plug to router, I use USB Hub, to extroot, lte modem, and portable ssd that I mount to router n nfs it, so I think I have to install it too, but it's fine, I want to try without it sir...


#1425

Quite possible that you need it, if you have a complex USB setup.


#1426

@hnyman is there a way to enable it for ipq806X?
I use targer ar7xxx, it's appear,

14

I using opkg it's not found too...


#1427

You could have found this out from the source code by yourself, but I spent a few minutes looking it up for you...

It looks like the feature is only enabled for selected targets.

Looking at the file I linked above, the usb-gadget module depends on USB_GADGET_SUPPORT symbol

 112 define KernelPackage/usb-gadget
 113   TITLE:=USB Gadget support
 114   KCONFIG:=CONFIG_USB_GADGET
 115   HIDDEN:=1
 116   FILES:=\
 117         $(LINUX_DIR)/drivers/usb/gadget/udc/udc-core.ko
 118   AUTOLOAD:=$(call AutoLoad,21,udc-core,1)
 119   DEPENDS:=@USB_GADGET_SUPPORT
 120   $(call AddDepends/usb)
 121 endef

and some targets set the "usbgadget" target feature to enable that USB_GADGET_SUPPORT

https://github.com/openwrt/openwrt/search?q=USB_GADGET_SUPPORT&type=Code

https://github.com/openwrt/openwrt/search?q=usbgadget&unscoped_q=usbgadget

You may need to define the hardware feature "usbgadget" for the ipq806x Makefile, and then the modules should be visible. But I have no idea about their compatibility.

Example is how it has been defined for ar71xx and at91:
https://github.com/openwrt/openwrt/blob/80c61c161ac5943137ade233d62cf89d746de5a2/target/linux/ar71xx/Makefile#L12

https://github.com/openwrt/openwrt/blob/34e22653ac18b6ac7fd368ca47625f665808067f/target/linux/at91/Makefile#L13

The point is, if you want more non-standard hardware combinations, you better be prepared to look at the source code.


#1428

thanks sir, it's quite easy to understand,
sorry for your time...
I didn't quietly understand about it (openwrt source code) actually,

thanks for your asssist... I will try it now...


#1429

is in there anyone that connect to internet with usb-modem and share it through r7800?


#1430

Wait, usb-modems? These usually are connected through some variant of usb-serial .

But USB_GADGET is something completely different, you don't need it.


#1431

@hnyman when kernel 4.19?