OpenWrt Forum Archive

Topic: arokh builds for Negear R8000

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

Ah, I see the problem. The "brcmfmac" driver is not included. New build on the way smile

About the usb interface, it's set up for the use of USB tethering Android/iOS and multiwan3. More info in my thread linked above.

arokh wrote:

Ah, I see the problem. The "brcmfmac" driver is not included. New build on the way smile

About the usb interface, it's set up for the use of USB tethering Android/iOS and multiwan3. More info in my thread linked above.


Right on !

Not to be too pushy......but..... ETA?

Soon smile

Cool.

I'm in Canada, only 5:29pm.....and waiting.....lol.....

Edit:

Must be some kind of support group for router nerds like me.....

(Last edited by mojolacerator on 20 Oct 2015, 22:33)

mojolacerator wrote:

Cool.

I'm in Canada, only 5:29pm.....and waiting.....lol.....

Edit:

Must be some kind of support group for router nerds like me.....

I'm in China, 12h ahead......and sleeping......lol......

Ok who wants to go first smile

http://luci.subsignal.org/~trondah/r8000/r47238/

BTW looks like USB should be working fine from the kernel log above, did you try plugging in a formatted drive?

(Last edited by arokh on 20 Oct 2015, 22:58)

arokh wrote:

Ok who wants to go first smile

http://luci.subsignal.org/~trondah/r8000/r47238

BTW looks like USB should be working fine from the kernel log above, did you try plugging in a formatted drive?

I've tried formatted drive with exfat, ntfs and ext4 but nothing works.
From what I discovered I think this may be the reason: The usb is working but not received a power on signal which should be sent from a GPIO port.
This just a guess. For more detail about usb you can check my previous reply. There's some result of lsusb.

Still not showing any wireless for me.

Run "dmesg | grep brcmfmac" and "lsmod | grep brcmfmac"

dmesg : nothing

Ismod :  -ash: ismod: not found

xkszltl wrote:
mojolacerator wrote:

Cool.

I'm in Canada, only 5:29pm.....and waiting.....lol.....

Edit:

Must be some kind of support group for router nerds like me.....

I'm in China, 12h ahead......and sleeping......lol......


Yikes !

Not ismod, lsmod...

arokh wrote:

Not ismod, lsmod...

Same as dmesg : nothing

OK, now I think I got it lol smile Some dependencies of the brcmfmac module was not included. I've rectified this, new build incoming.

EDIT: http://luci.subsignal.org/~trondah/r8000/r47240/

Please test!

(Last edited by arokh on 21 Oct 2015, 09:09)

arokh wrote:

OK, now I think I got it lol smile Some dependencies of the brcmfmac module was not included. I've rectified this, new build incoming.

EDIT: http://luci.subsignal.org/~trondah/r8000/r47240/

Please test!

Since you're building versions (with local changes) you may want to add a little change to brcmfmac (just a suggestion). There is a file called:

compat-wireless-[some date]/drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c

Be sure to modify the compat wireless version, not the one which is part of the kernel. In this file there is a function called brcmf_cfg80211_reg_notifier. In this function there are these four lines:

    if (brcmf_fil_iovar_data_set(ifp, "country", &ccreq, sizeof(ccreq))) {
        brcmf_err("firmware rejected country setting\n");
        return;
    }

If you comment those out, putting // in front of each line or put #if 0    .....   #endif around those four lines. Then the firmware is not instructed with any country code anymore. It will then use the country code which was once upon a time configured by Netgear firmware, which should be the correct one if you did configure the r8000 while it was on stock firmware. This way people can use the correct country code and there is no need to configure it for US anymore.

Sounds simple enough, but that will make you stuck with the country that it was configured for in stock firmware right? I typically like to modify regdb.txt and allow for all frequencies/channels in my build. I'll do a build without that if statement so people can try it out.

Here's the patch to be placed in package/kernel/mac80211/patches for anyone interested:

--- a/drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c        2015-10-21 11:41:46.848999646 +0200
+++ b/drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c        2015-10-21 11:50:30.998352646 +0200
@@ -6209,10 +6209,6 @@
        memset(&ccreq, 0, sizeof(ccreq));
        ccreq.rev = cpu_to_le32(-1);
        memcpy(ccreq.ccode, req->alpha2, sizeof(req->alpha2));
-       if (brcmf_fil_iovar_data_set(ifp, "country", &ccreq, sizeof(ccreq))) {
-               brcmf_err("firmware rejected country setting\n");
-               return;
-       }
        brcmf_setup_wiphybands(wiphy);
 }

Here's the build: http://luci.subsignal.org/~trondah/r800 … k_country/

More info on issue: https://forum.openwrt.org/viewtopic.php … 39#p293939

(Last edited by arokh on 21 Oct 2015, 11:36)

So your build is ready to roll, no adjustments needed from my end?

Will be a few hours before I can try it out.

Yeah hopefully smile

arokh wrote:

OK, now I think I got it lol smile Some dependencies of the brcmfmac module was not included. I've rectified this, new build incoming.

EDIT: http://luci.subsignal.org/~trondah/r8000/r47240/

Please test!


This is smoking for me !

Slick adblocking !

R8000 is now my main router to give it the supreme test. "The family".............lol.........(teenagers ! )

@arokh:

Now that this image is running smoothly, out of respect for this thread, I will ping you with any other inquiries/observations, on your thread

https://forum.openwrt.org/viewtopic.php?id=50914

(Last edited by mojolacerator on 21 Oct 2015, 23:59)

arokh wrote:

Sounds simple enough, but that will make you stuck with the country that it was configured for in stock firmware right? I typically like to modify regdb.txt and allow for all frequencies/channels in my build. I'll do a build without that if statement so people can try it out.

Here's the patch to be placed in package/kernel/mac80211/patches for anyone interested:

--- a/drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c        2015-10-21 11:41:46.848999646 +0200
+++ b/drivers/net/wireless/brcm80211/brcmfmac/cfg80211.c        2015-10-21 11:50:30.998352646 +0200
@@ -6209,10 +6209,6 @@
        memset(&ccreq, 0, sizeof(ccreq));
        ccreq.rev = cpu_to_le32(-1);
        memcpy(ccreq.ccode, req->alpha2, sizeof(req->alpha2));
-       if (brcmf_fil_iovar_data_set(ifp, "country", &ccreq, sizeof(ccreq))) {
-               brcmf_err("firmware rejected country setting\n");
-               return;
-       }
        brcmf_setup_wiphybands(wiphy);
 }

Here's the build: http://luci.subsignal.org/~trondah/r800 … k_country/

More info on issue: https://forum.openwrt.org/viewtopic.php … 39#p293939

I've tried your latest version.

Digital core power voltage set to 1.0V
Decompressing...done
Digital core power voltage set to 1.0V

SHMOO VER 1.13

PKID07DC06011801080000000000001A103F01000000

S300001EB
00001520


RDLYW0 00000004

RDENW0 00000036

RDQSW0 

    0000000000111111111122222222223333333333444444444455555555556666
    0123456789012345678901234567890123456789012345678901234567890123
 00 ------++++++++++++++++++++++++++X+++++++++++++++++++++++++------
 01 -------+++++++++++++++++++++++++++X++++++++++++++++++++++++++---
 02 ------++++++++++++++++++++++++++X+++++++++++++++++++++++++------
 03 -----+++++++++++++++++++++++++X+++++++++++++++++++++++++--------
 04 ---+++++++++++++++++++++++++X+++++++++++++++++++++++++----------
 05 ------++++++++++++++++++++++++++X++++++++++++++++++++++++++-----
 06 ----++++++++++++++++++++++++X+++++++++++++++++++++++------------
 07 ----------+++++++++++++++++++++++++++X+++++++++++++++++++++++++-
 08 -----++++++++++++++++++++++++X+++++++++++++++++++++++-----------
 09 ------------++++++++++++++++++++++++++X+++++++++++++++++++++++--
 10 -------++++++++++++++++++++++++X+++++++++++++++++++++++---------
 11 --------------+++++++++++++++++++++++X++++++++++++++++++++++----
 12 ----+++++++++++++++++++++++++X++++++++++++++++++++++++----------
 13 ------------++++++++++++++++++++++++X+++++++++++++++++++++++----
 14 --------+++++++++++++++++++++++++X++++++++++++++++++++++++------
 15 -----------++++++++++++++++++++++++X++++++++++++++++++++++++----


PW0 

    0000000000111111111122222222223333333333444444444455555555556666
    0123456789012345678901234567890123456789012345678901234567890123
 00 ---++++++++++++++++++++++++++++X+++++++++++++++++++++++++++-----
 01 -----+++++++++++++++++++++++++++++X+++++++++++++++++++++++++++--
 02 ----+++++++++++++++++++++++++++X+++++++++++++++++++++++++++-----
 03 ---+++++++++++++++++++++++++++X+++++++++++++++++++++++++++------
 04 +++++++++++++++++++++++++++X+++++++++++++++++++++++++++---------
 05 -+++++++++++++++++++++++++++++X++++++++++++++++++++++++++++-----
 06 +++++++++++++++++++++++++++X+++++++++++++++++++++++++++---------
 07 ------+++++++++++++++++++++++++++++X+++++++++++++++++++++++++++-
 08 ++++++++++++++++++++++++++X++++++++++++++++++++++++++-----------
 09 -----+++++++++++++++++++++++++++++X+++++++++++++++++++++++++++--
 10 -+++++++++++++++++++++++++++X++++++++++++++++++++++++++---------
 11 --------++++++++++++++++++++++++++X+++++++++++++++++++++++++----
 12 +++++++++++++++++++++++++++X++++++++++++++++++++++++++----------
 13 ------+++++++++++++++++++++++++++X++++++++++++++++++++++++++----
 14 +++++++++++++++++++++++++++++X++++++++++++++++++++++++++++------
 15 ------+++++++++++++++++++++++++++X+++++++++++++++++++++++++++---


NW0 

    0000000000111111111122222222223333333333444444444455555555556666
    0123456789012345678901234567890123456789012345678901234567890123
 00 ------++++++++++++++++++++++++++X+++++++++++++++++++++++++------
 01 ---------++++++++++++++++++++++++++X+++++++++++++++++++++++++---
 02 ------++++++++++++++++++++++++++X+++++++++++++++++++++++++------
 03 -----+++++++++++++++++++++++++X+++++++++++++++++++++++++--------
 04 ---+++++++++++++++++++++++++X+++++++++++++++++++++++++----------
 05 -----+++++++++++++++++++++++++++X++++++++++++++++++++++++++-----
 06 ----++++++++++++++++++++++++X+++++++++++++++++++++++------------
 07 ----------+++++++++++++++++++++++++++X+++++++++++++++++++++++++-
 08 ----++++++++++++++++++++++++X++++++++++++++++++++++++-----------
 09 -----------++++++++++++++++++++++++++X+++++++++++++++++++++++++-
 10 -------++++++++++++++++++++++++X++++++++++++++++++++++++--------
 11 --------------+++++++++++++++++++++++X++++++++++++++++++++++----
 12 ---+-+++++++++++++++++++++++++X++++++++++++++++++++++++---------
 13 ------------++++++++++++++++++++++++X+++++++++++++++++++++++----
 14 --------+++++++++++++++++++++++++X++++++++++++++++++++++++------
 15 -----------++++++++++++++++++++++++X++++++++++++++++++++++++----


WRDQW0 

    0000000000111111111122222222223333333333444444444455555555556666
    0123456789012345678901234567890123456789012345678901234567890123
 00 ++++++++++++++++++++++++X++++++++++++++++++++++++------++++++++-
 01 ++++++++++++++++++++++++++X+++++++++++++++++++++++++-------++++-
 02 +++++++++++++++++++++++++X++++++++++++++++++++++++------+++++++-
 03 ++++++++++++++++++++++++X+++++++++++++++++++++++--------+++++++-
 04 +++++++++++++++++++++++X++++++++++++++++++++++----------+++++++-
 05 +++++++++++++++++++++++++X+++++++++++++++++++++++++-----+++++++-
 06 +++++++++++++++++++++++X++++++++++++++++++++++---------++++++++-
 07 +++++++++++++++++++++++++X+++++++++++++++++++++++++-------+++++-
 08 ++++++++++++++++++++++++X+++++++++++++++++++++++--------+++++++-
 09 -+++++++++++++++++++++++++X++++++++++++++++++++++++-----------+-
 10 +++++++++++++++++++++++++X+++++++++++++++++++++++++------+-++++-
 11 ---++++++++++++++++++++++++X+++++++++++++++++++++++-------------
 12 +++++++++++++++++++++++++X+++++++++++++++++++++++++------++++++-
 13 --+++++++++++++++++++++++++X++++++++++++++++++++++++----------+-
 14 +++++++++++++++++++++++++X+++++++++++++++++++++++++--------++++-
 15 ----+++++++++++++++++++++++X+++++++++++++++++++++++-------------


WRDMW0 00000024
WRDMW0 00000025


ADDR

    0000000000111111111122222222223333333333444444444455555555556666
    0123456789012345678901234567890123456789012345678901234567890123
 00 +++++++++++++++++++++S+++++++++X++++++++++++++++++++++++++++++++

Decompressing...done


CFE for Foxconn Router R8000 version: v1.0.8
Build Date: Fri May 30 15:03:06 CST 2014 
Init Arena
Init Devs.
Boot up from NAND flash...
Bootcode Boot partition size = 524288(0x80000)
DDR Clock: 800 MHz
Info: DDR frequency set from clkfreq=1000,*800*
et2: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 7.14.43.2 (r474543)
CPU type 0x0: 1000MHz
Tot mem: 262144 KBytes

Device eth0:  hwaddr E8-FC-AF-F5-A7-D1, ipaddr 192.168.1.1, mask 255.255.255.0
        gateway not set, nameserver not set
Checking crc...Loader:raw Filesys:raw Dev:nflash0.os File: Options:(null)
Loading: .. 1484662 bytes read
Entry at 0x00008000
Closing network.
Starting program at 0x00008000
Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.18.22 (trondah@NUC) (gcc version 5.2.0 (OpenWrt GCC 5.2.0 r47237) ) #1 SMP Wed Oct 21 12:10:46 CEST 2015
[    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Netgear R8000 (BCM4709)
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] PERCPU: Embedded 9 pages/cpu @c6dd4000 s6080 r8192 d22592 u36864
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65280
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk
[    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] Memory: 255304K/262144K available (3094K kernel code, 113K rwdata, 820K rodata, 188K init, 282K bss, 6840K reserved, 131072K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
[    0.000000]     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc03dadec   (3916 kB)
[    0.000000]       .init : 0xc03db000 - 0xc040a000   ( 188 kB)
[    0.000000]       .data : 0xc040a000 - 0xc04267f8   ( 114 kB)
[    0.000000]        .bss : 0xc04267f8 - 0xc046d1a4   ( 283 kB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] L2C: platform modifies aux control register: 0x0a130000 -> 0x7a530001
[    0.000000] L2C: platform provided aux values permit register corruption.
[    0.000000] L2C: DT/platform modifies aux control register: 0x0a130000 -> 0x7a530001
[    0.000000] L2C-310 erratum 769419 enabled
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310: enabling full line of zeros but not enabled in Cortex-A9
[    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x7e530001
[    0.000015] sched_clock: 64 bits at 400MHz, resolution 2ns, wraps every 2748779069440ns
[    0.010422] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
[    0.103838] pid_max: default: 32768 minimum: 301
[    0.109884] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.118289] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.127724] CPU: Testing write buffer coherency: ok
[    0.134197] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.141517] Setting up static identity map for 0x11fc0 - 0x11ff4
[    0.151017] CPU1: Booted secondary processor
[    0.190228] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.190306] Brought up 2 CPUs
[    0.206786] SMP: Total of 2 processors activated (3188.32 BogoMIPS).
[    0.214865] CPU: WARNING: CPU(s) started in wrong/inconsistent modes (primary CPU mode 0x13)
[    0.225545] CPU: This may indicate a broken bootloader or firmware.
[    0.240498] NET: Registered protocol family 16
[    0.246929] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.282713] Switched to clocksource arm_global_timer
[    0.290383] NET: Registered protocol family 2
[    0.296670] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.305540] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.313630] TCP: Hash tables configured (established 1024 bind 1024)
[    0.321753] TCP: reno registered
[    0.325905] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.333353] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.341550] NET: Registered protocol family 1
[    0.348102] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.356874] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.364334] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.376882] msgmni has been set to 242
[    0.382480] bounce: pool size: 64 pages
[    0.387400] io scheduler noop registered
[    0.392468] io scheduler deadline registered (default)
[    0.399333] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.408077] console [ttyS0] disabled
[    0.412719] 18000300.serial: ttyS0 at MMIO 0x18000300 (irq = 117, base_baud = 7812500) is a 16550
[    0.423977] console [ttyS0] enabled
[    0.423977] console [ttyS0] enabled
[    0.432825] bootconsole [earlycon0] disabled
[    0.432825] bootconsole [earlycon0] disabled
[    0.445023] libphy: Fixed MDIO Bus: probed
[    0.450268] bgmac: Broadcom 47xx GBit MAC driver loaded
[    0.457037] bcma: bus0: Found chip with id 53010, rev 0x00 and package 0x00
[    0.465845] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x2A, class 0x0)
[    0.476622] bcma: bus0: Core 1 found: Chipcommon B (manuf 0x4BF, id 0x50B, rev 0x01, class 0x0)
[    0.487613] bcma: bus0: Core 2 found: DMA (manuf 0x4BF, id 0x502, rev 0x01, class 0x0)
[    0.497608] bcma: bus0: Core 3 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x05, class 0x0)
[    0.508147] bcma: bus0: Core 4 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x05, class 0x0)
[    0.518676] bcma: bus0: Core 5 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x05, class 0x0)
[    0.529210] bcma: bus0: Core 6 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x05, class 0x0)
[    0.539713] bcma: bus0: Core 7 found: PCIe Gen 2 (manuf 0x4BF, id 0x501, rev 0x01, class 0x0)
[    0.550456] bcma: bus0: Core 8 found: PCIe Gen 2 (manuf 0x4BF, id 0x501, rev 0x01, class 0x0)
[    0.561200] bcma: bus0: Core 9 found: PCIe Gen 2 (manuf 0x4BF, id 0x501, rev 0x01, class 0x0)
[    0.571967] bcma: bus0: Core 10 found: ARM Cortex A9 core (ihost) (manuf 0x4BF, id 0x510, rev 0x01, class 0x0)
[    0.584562] bcma: bus0: Core 11 found: USB 2.0 (manuf 0x4BF, id 0x504, rev 0x01, class 0x0)
[    0.595093] bcma: bus0: Core 12 found: USB 3.0 (manuf 0x4BF, id 0x505, rev 0x01, class 0x0)
[    0.605646] bcma: bus0: Core 13 found: SDIO3 (manuf 0x4BF, id 0x503, rev 0x01, class 0x0)
[    0.615984] bcma: bus0: Core 14 found: I2S (manuf 0x4BF, id 0x834, rev 0x03, class 0x0)
[    0.626104] bcma: bus0: Core 15 found: ARM Cortex A9 JTAG (manuf 0x4BF, id 0x506, rev 0x01, class 0x0)
[    0.637861] bcma: bus0: Core 16 found: Denali DDR2/DDR3 memory controller (manuf 0x4BF, id 0x507, rev 0x01, class 0x0)
[    0.651344] bcma: bus0: Core 17 found: ROM (manuf 0x4BF, id 0x508, rev 0x01, class 0x0)
[    0.661450] bcma: bus0: Core 18 found: NAND flash controller (manuf 0x4BF, id 0x509, rev 0x01, class 0x0)
[    0.673530] bcma: bus0: Core 19 found: SPI flash controller (manuf 0x4BF, id 0x50A, rev 0x01, class 0x0)
[    0.700288] bcm_nand bcma0:18: NAND Controller rev 6.01
[    0.730291] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
[    0.738252] nand: Macronix NAND 128MiB 3,3V 8-bit
[    0.744164] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[    1.313182] mtd_read error while parsing (offset: 0x30A0000)!
[    1.575554] mtd_read error while parsing (offset: 0x45A0000)!
[    1.917100] mtd_read error while parsing (offset: 0x6100000)!
[    2.010786] random: nonblocking pool is initialized
[    2.159483] mtd_read error while parsing (offset: 0x73C0000)!
[    2.308766] mtd_read error while parsing (offset: 0x7F60000)!
[    2.324225] 16 bcm47xxpart partitions found on MTD device bcm_nand
[    2.331975] Creating 16 MTD partitions on "bcm_nand":
[    2.338302] 0x000000000000-0x000000080000 : "boot"
[    2.346182] 0x000000080000-0x000000200000 : "nvram"
[    2.356419] 0x000000200000-0x000002600000 : "firmware"
[    2.445871] 0x00000020001c-0x000000600000 : "linux"
[    2.461827] 0x000000600000-0x000002600000 : "ubi"
[    2.541582] 0x000002600000-0x000002680000 : "board_data"
[    2.550045] 0x000002680000-0x0000026a0000 : "POT"
[    2.556933] 0x0000026a0000-0x000002780000 : "POT"
[    2.565562] 0x000002780000-0x0000027a0000 : "POT"
[    2.572469] 0x0000027a0000-0x000002e80000 : "POT"
[    2.594831] 0x000002e80000-0x000002f00000 : "ML"
[    2.602522] 0x000002f00000-0x000002f80000 : "ML"
[    2.610154] 0x000002f80000-0x000003000000 : "ML"
[    2.617838] 0x000003000000-0x000003080000 : "ML"
[    2.625479] 0x000003080000-0x000003100000 : "ML"
[    2.633119] 0x000003100000-0x000008000000 : "ML"
[    2.820520] bcm53xxspiflash spi32766.0: unrecognized JEDEC id bytes: ff, ff, ff
[    2.829715] bcm53xxspiflash: probe of spi32766.0 failed with error -2
[    2.875561] bgmac bcma0:3: Invalid MAC addr: 00:00:00:00:00:00
[    2.882915] bgmac bcma0:3: Using random MAC: 6a:c4:6b:4c:8c:48
[    2.890283] bgmac bcma0:3: Found PHY addr: 30 (NOREGS)
[    2.897561] bgmac bcma0:3: Support for Roboswitch not implemented
[    2.906784] b53_common: found switch: BCM53012, rev 5
[    2.913861] bgmac bcma0:4: Invalid MAC addr: 00:00:00:00:00:00
[    2.921208] bgmac bcma0:4: Using random MAC: c2:32:0e:13:d4:d8
[    2.928566] bgmac bcma0:4: Found PHY addr: 30 (NOREGS)
[    2.935863] bgmac bcma0:4: Support for Roboswitch not implemented
[    2.944591] bgmac bcma0:5: Found PHY addr: 30 (NOREGS)
[    2.951928] bgmac bcma0:5: Support for Roboswitch not implemented
[    2.960644] bgmac: Unsupported core_unit 3
[    2.965792] bgmac: probe of bcma0:6 failed with error -524
[    2.972795] pci_host_bcm5301x bcma0:7: initializing PCIe controller
[    3.250250] pci_host_bcm5301x bcma0:7: link: UP
[    3.256051] pci_host_bcm5301x bcma0:7: PCI host bridge to bus 0000:00
[    3.264147] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fffffff]
[    3.272772] pci_bus 0000:00: root bus resource [io  0x0000]
[    3.279758] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    3.289973] PCI: bus0: Fast back to back transfers disabled
[    3.297457] PCI: bus1: Fast back to back transfers disabled
[    3.304588] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x085fffff]
[    3.313116] pci 0000:01:00.0: BAR 2: assigned [mem 0x08000000-0x083fffff 64bit]
[    3.322297] pci 0000:01:00.0: BAR 0: assigned [mem 0x08400000-0x08407fff 64bit]
[    3.331477] pci 0000:00:00.0: PCI bridge to [bus 01]
[    3.337697] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x085fffff]
[    3.346355] pci_host_bcm5301x bcma0:8: initializing PCIe controller
[    3.630247] pci_host_bcm5301x bcma0:8: link: UP
[    3.636057] pci_host_bcm5301x bcma0:8: PCI host bridge to bus 0001:00
[    3.644150] pci_bus 0001:00: root bus resource [mem 0x40000000-0x47ffffff]
[    3.652776] pci_bus 0001:00: root bus resource [io  0x0000]
[    3.659764] pci_bus 0001:00: No busn resource found for root bus, will use [bus 00-ff]
[    3.669954] PCI: bus0: Fast back to back transfers disabled
[    3.677484] PCI: bus1: Fast back to back transfers disabled
[    3.684494] pci 0001:01:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.694727] pci 0001:02:00.0: unknown header type 12, ignoring device
[    3.711782] PCI: bus2: Fast back to back transfers disabled
[    3.718771] pci 0001:02:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.728836] pci 0001:02:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.739584] PCI: bus3: Fast back to back transfers disabled
[    3.747265] PCI: bus4: Fast back to back transfers disabled
[    3.755508] pci 0001:00:00.0: BAR 8: assigned [mem 0x40000000-0x40cfffff]
[    3.764044] pci 0001:00:00.0: BAR 9: assigned [mem 0x40d00000-0x40efffff 64bit pref]
[    3.773770] pci 0001:01:00.0: BAR 8: assigned [mem 0x40000000-0x40bfffff]
[    3.782281] pci 0001:01:00.0: BAR 9: assigned [mem 0x40d00000-0x40efffff 64bit pref]
[    3.791998] pci 0001:01:00.0: BAR 0: assigned [mem 0x40c00000-0x40c03fff]
[    3.800520] pci 0001:01:00.0: BAR 7: no space for [io  size 0x1000]
[    3.808375] pci 0001:01:00.0: BAR 7: failed to assign [io  size 0x1000]
[    3.816679] pci 0001:02:01.0: BAR 8: assigned [mem 0x40000000-0x405fffff]
[    3.825194] pci 0001:02:02.0: BAR 8: assigned [mem 0x40600000-0x40bfffff]
[    3.833711] pci 0001:02:01.0: BAR 9: assigned [mem 0x40d00000-0x40efffff 64bit pref]
[    3.843426] pci 0001:02:01.0: BAR 7: no space for [io  size 0x1000]
[    3.851289] pci 0001:02:01.0: BAR 7: failed to assign [io  size 0x1000]
[    3.859579] pci 0001:03:00.0: BAR 2: assigned [mem 0x40000000-0x403fffff 64bit]
[    3.868763] pci 0001:03:00.0: BAR 0: assigned [mem 0x40400000-0x40407fff 64bit]
[    3.877944] pci 0001:02:01.0: PCI bridge to [bus 03]
[    3.884177] pci 0001:02:01.0:   bridge window [mem 0x40000000-0x405fffff]
[    3.892695] pci 0001:02:01.0:   bridge window [mem 0x40d00000-0x40efffff 64bit pref]
[    3.902426] pci 0001:04:00.0: BAR 2: assigned [mem 0x40800000-0x40bfffff 64bit]
[    3.911610] pci 0001:04:00.0: BAR 0: assigned [mem 0x40600000-0x40607fff 64bit]
[    3.920800] pci 0001:02:02.0: PCI bridge to [bus 04]
[    3.927025] pci 0001:02:02.0:   bridge window [mem 0x40600000-0x40bfffff]
[    3.935544] pci 0001:01:00.0: PCI bridge to [bus 02-04]
[    3.942102] pci 0001:01:00.0:   bridge window [mem 0x40000000-0x40bfffff]
[    3.950617] pci 0001:01:00.0:   bridge window [mem 0x40d00000-0x40efffff 64bit pref]
[    3.960338] pci 0001:00:00.0: PCI bridge to [bus 01-04]
[    3.966886] pci 0001:00:00.0:   bridge window [mem 0x40000000-0x40cfffff]
[    3.975400] pci 0001:00:00.0:   bridge window [mem 0x40d00000-0x40efffff 64bit pref]
[    3.985522] pci_host_bcm5301x bcma0:9: initializing PCIe controller
[    4.380249] pci_host_bcm5301x bcma0:9: link: DOWN
[    4.388248] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds, Software Timer)
[    4.399522] bcma: bus0: Bus registered
[    4.404734] TCP: cubic registered
[    4.408989] NET: Registered protocol family 10
[    4.415778] NET: Registered protocol family 17
[    4.421440] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    4.437285] Bridge firewalling registered
[    4.442325] 8021q: 802.1Q VLAN Support v1.8
[    4.447649] Registering SWP/SWPB emulation handler
[    4.456482] UBI: auto-attach mtd4
[    4.460681] UBI: attaching mtd4 to ubi0
[    4.914672] UBI: scanning is finished
[    4.937018] UBI: attached mtd4 (name "ubi", size 32 MiB) to ubi0
[    4.944573] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    4.953086] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    4.961482] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[    4.970093] UBI: good PEBs: 256, bad PEBs: 0, corrupted PEBs: 0
[    4.977509] UBI: user volume: 2, internal volumes: 1, max. volumes count: 128
[    4.986453] UBI: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 2128447783
[    4.997802] UBI: available PEBs: 0, total reserved PEBs: 256, PEBs reserved for bad PEB handling: 20
[    5.009308] UBI: background thread "ubi_bgt0d" started, PID 319
[    5.017878] UBI: ubiblock0_0 created from ubi0:0(rootfs)
[    5.024561] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    5.039106] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    5.048325] Freeing unused kernel memory: 188K (c03db000 - c040a000)
[    5.618892] External imprecise Data abort at addr=0x0, fsr=0x1406 ignored.
[    5.757276] init: Console is alive
[    5.761789] init: - watchdog -
[    7.016078] usbcore: registered new interface driver usbfs
[    7.023092] usbcore: registered new interface driver hub
[    7.029843] usbcore: registered new device driver usb
[    7.038527] exFAT: Version 1.2.9
[    7.061382] SCSI subsystem initialized
[    7.068926] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    7.077856] ehci-platform: EHCI generic platform driver
[    7.084595] ehci-platform ehci-platform.0: EHCI Host Controller
[    7.092068] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
[    7.102378] ehci-platform ehci-platform.0: irq 111, io mem 0x18021000
[    7.130254] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
[    7.138939] hub 1-0:1.0: USB hub found
[    7.143708] hub 1-0:1.0: 2 ports detected
[    7.150335] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    7.158783] ohci-platform: OHCI generic platform driver
[    7.165505] ohci-platform ohci-platform.0: Generic Platform OHCI controller
[    7.174275] ohci-platform ohci-platform.0: new USB bus registered, assigned bus number 2
[    7.184537] ohci-platform ohci-platform.0: irq 111, io mem 0x18022000
[    7.254869] hub 2-0:1.0: USB hub found
[    7.259614] hub 2-0:1.0: 2 ports detected
[    7.291012] usbcore: registered new interface driver usb-storage
[    7.790415] init: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   10.000278] eth0: Link is Up - 1Gbps/Full - flow control off
[   12.353252] mount_root: loading kmods from internal overlay
[   12.790480] UBIFS: background thread "ubifs_bgt0_1" started, PID 425
[   12.891037] UBIFS: recovery needed
[   13.104674] UBIFS: recovery completed
[   13.109359] UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   13.117454] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   13.128920] UBIFS: FS size: 19173376 bytes (18 MiB, 151 LEBs), journal size 1015809 bytes (0 MiB, 8 LEBs)
[   13.140920] UBIFS: reserved for root: 905605 bytes (884 KiB)
[   13.148024] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 69838F3C-F39A-464D-BE6D-2DE8569BF4A0, small LPT model
[   13.162875] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   13.181834] block: extroot: not configured
[   13.210405] UBIFS: un-mount UBI device 0, volume 1
[   13.216432] UBIFS: background thread "ubifs_bgt0_1" stops
[   13.228228] UBIFS: background thread "ubifs_bgt0_1" started, PID 428
[   13.423335] UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   13.431444] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   13.442895] UBIFS: FS size: 19173376 bytes (18 MiB, 151 LEBs), journal size 1015809 bytes (0 MiB, 8 LEBs)
[   13.454889] UBIFS: reserved for root: 905605 bytes (884 KiB)
[   13.461988] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 69838F3C-F39A-464D-BE6D-2DE8569BF4A0, small LPT model
[   13.849468] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[   13.868457] block: extroot: not configured
[   13.905250] mount_root: switching to jffs2 overlay
[   13.985923] procd: - early -
[   13.989591] procd: - watchdog -
[   14.680463] procd: - ubus -
[   15.774913] procd: - init -
Please press Enter to activate this console.
[   21.022339] Initializing XFRM netlink socket
[   21.029038] NET: Registered protocol family 15
[   21.035968] tun: Universal TUN/TAP device driver, 1.6
[   21.042317] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   21.064852] sit: IPv6 over IPv4 tunneling driver
[   21.077696] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   21.091995] Netfilter messages via NETLINK v0.30.
[   21.102422] ip_set: protocol 6
[   21.172129] u32 classifier
[   21.175536]     input device check on
[   21.180156]     Actions configured
[   21.190036] Mirror/redirect action on
[   21.200870] nf_conntrack version 0.5.0 (3992 buckets, 15968 max)
[   21.266375] Loading modules backported from Linux version master-2015-07-21-0-g47cd203
[   21.276414] Backport generated by backports.git backports-20150626-0-gc1a4168
[   21.287807] ip_tables: (C) 2000-2006 Netfilter Core Team
[   21.295998] usbcore: registered new interface driver ipheth
[   21.410740] xt_time: kernel timezone is -0000
[   21.417906] usbcore: registered new interface driver cdc_ether
[   21.436260] cfg80211: World regulatory domain updated:
[   21.442749] cfg80211:  DFS Master region: unset
[   21.448223] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   21.460476] cfg80211:   (2402000 KHz - 2494000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   21.470519] cfg80211:   (4910000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[   21.503573] PPP generic driver version 2.4.2
[   21.510410] NET: Registered protocol family 24
[   21.517964] usbcore: registered new interface driver rndis_host
[   21.543264] usbcore: registered new interface driver brcmfmac
[   21.550545] brcmfmac 0000:01:00.0: enabling device (0140 -> 0142)
[   21.975798] brcmfmac 0000:01:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.txt failed with error -2
[   21.988174] brcmfmac 0000:01:00.0: Falling back to user helper
[   22.004181] firmware brcm!brcmfmac43602-pcie.txt: firmware_loading_store: map pages failed
[   22.014863] brcmfmac: brcmf_fw_request_nvram_done: Found platform NVRAM (41036 B)
[   22.376370] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Mar  3 2015 04:46:51 version 7.35.177.33 (r538052) FWID 01-c8317c80
[   22.400783] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[   22.411416] pci 0001:01:00.0: enabling device (0140 -> 0142)
[   22.418568] pci 0001:02:01.0: enabling device (0140 -> 0142)
[   22.425754] brcmfmac 0001:03:00.0: enabling device (0140 -> 0142)
[   22.593249] brcmfmac 0001:03:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.txt failed with error -2
[   22.605633] brcmfmac 0001:03:00.0: Falling back to user helper
[   22.621702] firmware brcm!brcmfmac43602-pcie.txt: firmware_loading_store: map pages failed
[   22.632386] brcmfmac: brcmf_fw_request_nvram_done: Found platform NVRAM (41036 B)
[   22.966475] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Mar  3 2015 04:46:51 version 7.35.177.33 (r538052) FWID 01-c8317c80
[   22.992739] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[   23.004928] pci 0001:02:02.0: enabling device (0140 -> 0142)
[   23.012131] brcmfmac 0001:04:00.0: enabling device (0140 -> 0142)
[   23.173186] brcmfmac 0001:04:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.txt failed with error -2
[   23.185567] brcmfmac 0001:04:00.0: Falling back to user helper
[   23.201511] firmware brcm!brcmfmac43602-pcie.txt: firmware_loading_store: map pages failed
[   23.212192] brcmfmac: brcmf_fw_request_nvram_done: Found platform NVRAM (41036 B)
[   23.606464] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Mar  3 2015 04:46:51 version 7.35.177.33 (r538052) FWID 01-c8317c80
[   23.631112] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[   27.873359] device eth0.1 entered promiscuous mode
[   27.879375] device eth0 entered promiscuous mode
[   27.888032] br-lan: port 1(eth0.1) entered forwarding state
[   27.895139] br-lan: port 1(eth0.1) entered forwarding state
[   28.055340] eth0: Link is Up - 1Gbps/Full - flow control off
[   29.054953] cfg80211: Regulatory domain changed to country: US
[   29.062324] cfg80211:  DFS Master region: FCC
[   29.067565] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   29.079830] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   29.089905] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
[   29.101824] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
[   29.113754] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2300 mBm), (0 s)
[   29.123934] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[   29.133993] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[   29.154145] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[   29.162382] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[   29.170536] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[   29.178620] cfg80211: World regulatory domain updated:
[   29.185096] cfg80211:  DFS Master region: unset
[   29.190600] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   29.202830] cfg80211:   (2402000 KHz - 2494000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   29.212878] cfg80211:   (4910000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[   29.891165] br-lan: port 1(eth0.1) entered forwarding state
[   30.659960] brcmfmac: brcmf_add_if: ERROR: netdev:wlan2 already exists
[   30.668228] brcmfmac: brcmf_add_if: ignore IF event
[   30.679756] device wlan2 entered promiscuous mode
[   30.685877] br-lan: port 2(wlan2) entered forwarding state
[   30.692852] br-lan: port 2(wlan2) entered forwarding state
[   30.759787] cfg80211: Regulatory domain changed to country: US
[   30.767178] cfg80211:  DFS Master region: FCC
[   30.772448] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   30.784679] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   30.794729] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
[   30.806618] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
[   30.818508] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2300 mBm), (0 s)
[   30.828724] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[   30.838800] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[   30.962800] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[   30.971037] brcmfmac: brcmf_add_if: ignore IF event
[   30.983690] device wlan0 entered promiscuous mode
[   30.989700] br-lan: port 3(wlan0) entered forwarding state
[   30.996697] br-lan: port 3(wlan0) entered forwarding state
[   31.056615] device wlan2 left promiscuous mode
[   31.062401] br-lan: port 2(wlan2) entered disabled state
[   31.179137] device wlan0 left promiscuous mode
[   31.184876] br-lan: port 3(wlan0) entered disabled state
[   31.308109] brcmfmac: brcmf_add_if: ERROR: netdev:wlan1 already exists
[   31.316344] brcmfmac: brcmf_add_if: ignore IF event
[   31.328189] device wlan1 entered promiscuous mode
[   31.334318] br-lan: port 2(wlan1) entered forwarding state
[   31.341313] br-lan: port 2(wlan1) entered forwarding state
[   32.373292] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[   32.381462] cfg80211: World regulatory domain updated:
[   32.387901] cfg80211:  DFS Master region: unset
[   32.393415] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   32.405649] cfg80211:   (2402000 KHz - 2494000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   32.415692] cfg80211:   (4910000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[   33.340248] br-lan: port 2(wlan1) entered forwarding state

No working 5GHz WIFI & USB.

arokh wrote:

Try the build that mojolacerator had success with: http://luci.subsignal.org/~trondah/r8000/r47240/

It doesn't have the patch suggested by meuleman, which I guess is what's causing wifi to not work.

Or try setting a different/correct country code. cfg80211 still wants a correct country code. I think in this case cfg80211 is filtering out all frequencies. The log indicates that the country code configured is wrong:

[   32.373292] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code

And my guess is that cfg80211 also doesn't like it and therefor limits the channel/frequency possibilities. The device (43602) will use the country code as once configured by your stock (netgear) firmware and that should be fine.

Which country code did you use? I could give it a try locally to see what is wrong.

meuleman wrote:
arokh wrote:

Try the build that mojolacerator had success with: http://luci.subsignal.org/~trondah/r8000/r47240/

It doesn't have the patch suggested by meuleman, which I guess is what's causing wifi to not work.

Or try setting a different/correct country code. cfg80211 still wants a correct country code. I think in this case cfg80211 is filtering out all frequencies. The log indicates that the country code configured is wrong:

[   32.373292] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code

And my guess is that cfg80211 also doesn't like it and therefor limits the channel/frequency possibilities. The device (43602) will use the country code as once configured by your stock (netgear) firmware and that should be fine.

Which country code did you use? I could give it a try locally to see what is wrong.

CN.
But that's no the reason. In CC build I can set country code to US to release all those frequency and make it work. But in this build changing it doesn't have any effect. Maybe I should do it in the stock firmware first?

arokh wrote:

Try the build that mojolacerator had success with: http://luci.subsignal.org/~trondah/r8000/r47240/

It doesn't have the patch suggested by meuleman, which I guess is what's causing wifi to not work.

Effortless image to flash, and running extremely well. Nice extras too!

Here's the openssl speed test as provided by mojolacerator:

Doing md5 for 3s on 16 size blocks: 1157433 md5's in 2.97s
Doing md5 for 3s on 64 size blocks: 977891 md5's in 3.01s
Doing md5 for 3s on 256 size blocks: 641993 md5's in 3.00s
Doing md5 for 3s on 1024 size blocks: 269738 md5's in 3.01s
Doing md5 for 3s on 8192 size blocks: 41976 md5's in 2.99s
Doing sha1 for 3s on 16 size blocks: 991077 sha1's in 2.99s
Doing sha1 for 3s on 64 size blocks: 733814 sha1's in 3.01s
Doing sha1 for 3s on 256 size blocks: 409614 sha1's in 3.01s
Doing sha1 for 3s on 1024 size blocks: 148541 sha1's in 3.00s
Doing sha1 for 3s on 8192 size blocks: 21400 sha1's in 3.01s
Doing sha256 for 3s on 16 size blocks: 1365388 sha256's in 2.99s
Doing sha256 for 3s on 64 size blocks: 763446 sha256's in 3.00s
Doing sha256 for 3s on 256 size blocks: 317137 sha256's in 2.93s
Doing sha256 for 3s on 1024 size blocks: 98295 sha256's in 3.01s
Doing sha256 for 3s on 8192 size blocks: 13150 sha256's in 3.01s
Doing sha512 for 3s on 16 size blocks: 361612 sha512's in 2.99s
Doing sha512 for 3s on 64 size blocks: 362860 sha512's in 3.01s
Doing sha512 for 3s on 256 size blocks: 126862 sha512's in 3.01s
Doing sha512 for 3s on 1024 size blocks: 43235 sha512's in 3.00s
Doing sha512 for 3s on 8192 size blocks: 6044 sha512's in 3.01s
Doing des cbc for 3s on 16 size blocks: 2279978 des cbc's in 3.01s
Doing des cbc for 3s on 64 size blocks: 594227 des cbc's in 3.00s
Doing des cbc for 3s on 256 size blocks: 150479 des cbc's in 3.01s
Doing des cbc for 3s on 1024 size blocks: 37724 des cbc's in 3.00s
Doing des cbc for 3s on 8192 size blocks: 4716 des cbc's in 3.01s
Doing des ede3 for 3s on 16 size blocks: 873417 des ede3's in 2.99s
Doing des ede3 for 3s on 64 size blocks: 223851 des ede3's in 3.01s
Doing des ede3 for 3s on 256 size blocks: 56209 des ede3's in 3.01s
Doing des ede3 for 3s on 1024 size blocks: 14070 des ede3's in 3.00s
Doing des ede3 for 3s on 8192 size blocks: 1756 des ede3's in 3.00s
Doing aes-128 cbc for 3s on 16 size blocks: 3885722 aes-128 cbc's in 3.01s
Doing aes-128 cbc for 3s on 64 size blocks: 1091973 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 256 size blocks: 287440 aes-128 cbc's in 3.01s
Doing aes-128 cbc for 3s on 1024 size blocks: 72786 aes-128 cbc's in 3.01s
Doing aes-128 cbc for 3s on 8192 size blocks: 9132 aes-128 cbc's in 3.01s
Doing aes-192 cbc for 3s on 16 size blocks: 3398650 aes-192 cbc's in 2.99s
Doing aes-192 cbc for 3s on 64 size blocks: 933091 aes-192 cbc's in 3.01s
Doing aes-192 cbc for 3s on 256 size blocks: 240224 aes-192 cbc's in 2.98s
Doing aes-192 cbc for 3s on 1024 size blocks: 57219 aes-192 cbc's in 2.73s
Doing aes-192 cbc for 3s on 8192 size blocks: 7677 aes-192 cbc's in 3.01s
Doing aes-256 cbc for 3s on 16 size blocks: 3083639 aes-256 cbc's in 3.01s
Doing aes-256 cbc for 3s on 64 size blocks: 833955 aes-256 cbc's in 3.01s
Doing aes-256 cbc for 3s on 256 size blocks: 215570 aes-256 cbc's in 3.01s
Doing aes-256 cbc for 3s on 1024 size blocks: 54330 aes-256 cbc's in 3.01s
Doing aes-256 cbc for 3s on 8192 size blocks: 6811 aes-256 cbc's in 3.01s
Doing 2048 bit private rsa's for 10s: 244 2048 bit private RSA's in 10.04s
Doing 2048 bit public rsa's for 10s: 8388 2048 bit public RSA's in 10.01s
Doing 2048 bit sign dsa's for 10s: 825 2048 bit DSA signs in 10.02s
Doing 2048 bit verify dsa's for 10s: 693 2048 bit DSA verify in 10.01s
OpenSSL 1.0.2d 9 Jul 2015
built on: reproducible build, date unspecified
options:bn(64,32) rc4(ptr,char) des(idx,cisc,2,long) aes(partial) blowfish(ptr)
compiler: arm-openwrt-linux-muslgnueabi-gcc -I. -I.. -I../include  -fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -I/home/trondah/build/trunk/staging_dir/target-arm_cortex-a9_musl-1.1.11_eabi/usr/include -I/home/trondah/build/trunk/staging_dir/target-arm_cortex-a9_musl-1.1.11_eabi/include -I/home/trondah/build/trunk/staging_dir/toolchain-arm_cortex-a9_gcc-5.2.0_musl-1.1.11_eabi/usr/include -I/home/trondah/build/trunk/staging_dir/toolchain-arm_cortex-a9_gcc-5.2.0_musl-1.1.11_eabi/include/fortify -I/home/trondah/build/trunk/staging_dir/toolchain-arm_cortex-a9_gcc-5.2.0_musl-1.1.11_eabi/include -znow -zrelro -DOPENSSL_SMALL_FOOTPRINT -DOPENSSL_NO_ERR -DTERMIOS -Os -pipe -march=armv7-a -mtune=cortex-a9 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -mfloat-abi=soft -O2 -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DBSAES_ASM -DGHASH_ASM
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
md5               6235.33k    20792.37k    54783.40k    91764.69k   115005.82k
sha1              5303.42k    15602.69k    34837.60k    50701.99k    58242.13k
des cbc          12119.48k    12676.84k    12798.21k    12876.46k    12835.04k
des ede3          4673.80k     4759.62k     4780.57k     4802.56k     4795.05k
aes-128 cbc      20655.00k    23295.42k    24446.72k    24761.75k    24853.60k
aes-192 cbc      18186.76k    19839.81k    20636.69k    21462.36k    20893.68k
aes-256 cbc      16391.44k    17731.93k    18334.19k    18483.03k    18536.78k
sha256            7306.42k    16286.85k    27708.90k    33439.89k    35788.97k
sha512            1935.05k     7715.30k    10789.59k    14757.55k    16449.32k
                  sign    verify    sign/s verify/s
rsa 2048 bits 0.041148s 0.001193s     24.3    838.0
                  sign    verify    sign/s verify/s
dsa 2048 bits 0.012145s 0.014444s     82.3     69.2

| r47245 | 1.0.2d | 91764690 | 50701990 | 33439890 | 14757550 | 12876460 | 4802560 | 24761750 | 21462360 | 18483030 | 24.3 | 838.0 82.3 | 69.2 |

I thought it seems pretty weak actually most scores are lower than my 800MHz WDR4900. The WRT1900AC scores much better.

(Last edited by arokh on 23 Oct 2015, 20:30)