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.

mojolacerator wrote:

Image at link below, working very well for the R8000

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

If it doesn't containing other patches, then there must be something related to the compile options.

xkszltl wrote:
mojolacerator wrote:

Image at link below, working very well for the R8000

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

If it doesn't containing other patches, then there must be something related to the compile options.

it's running 472678, USB working and Wireless is working very well !

(Last edited by mojolacerator on 16 Nov 2015, 15:20)

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!

Just received my R8000 and decided to test your build. I downloaded this one:
http://luci.subsignal.org/~trondah/r800 … uashfs.chk

I tried upgrading via Netgear Genie interface, I selected upgrade firmware section and uploaded mentioned build. After it restarted I can no longer access the router, I believe it is bricked sad

When I set my PC network card to obtain IP address automatically, it says network unidentified. I tried setting IP address to static something like 192.168.1.66 and pinging the router 192.168.1.1, it didnt work... I also tried changing IP address 192.168.0.66 and pinging 192.168.0.1, still nothing, so I assume it's bricked.

I also tried resetting the router by holding 7 seconds on the reset button, it didn't help either sad

Now I have to research how to debrick it...

mojolacerator wrote:
LogicoZone wrote:
mojolacerator wrote:

Get serial access( I have permanent, fed it through one of the antenna openings, after attaching it).

Reboot router - watch the serial read out as it's booting, hit "ctrl c" to interrupt the boot. At the prompt, type "tftpd", it will turn into a tftp server. Then just tftp/"put" the new inage in.
takes about 5 minutes.

This tftp version seems to work the best for me:

http://download.cnet.com/Tftpd32/3000-2 … 14225.html

I use "putty" for serial readout.

Do you have any information on the serial port and photo of the board?

http://www.myopenrouter.com/article/how … gear-r8000

I didn't take mine all apart. Took out all the screws, removed the plastic frame.
Wedged the board and top housing apart so I could slip on the Serial cable ends.
Made sure it was communicating, didn't the first time, I had to switch tx and rx and then it was fine.
Fed the cable back through the closest antenna opening and put it all back together.

Now I can brick it and recover it in 5 minutes or less.........................lol................

Which USB to TTL cable do you use? I did some reading today and it seems I need to make sure the cable is not 5V because there is possibility to fry something? The ones which are suited for rpi2, arduino etc should be fine?

mojolacerator, I've just watched an excellent youtube video where itexplained how it is possible to debrick the router without a serial connection. Would you be so kind to provide which IP address R8000 expects tftpd server to be? How I should name firmware, so R8000 catches it up.

Here is the link if someone is interested:
https://youtu.be/0k1sxwX5pMk?list=PLnxX … XKAN3-_urP

Many thanks in advance.

PS I also tried to debrick using the technique below which seemed to me promising but it didn't work (I saw ping 3-4 ping replies during boot up but couldn't place a firmware during that time frame):
https://community.netgear.com/t5/Genera … d-p/153385

I bricked my newly arrived R8000 router using the latest arokh's build and don't have a cable to connect it via serial connection at the moment.

I can possibly unbrick it without a serial connection if someone could tell me what IP address R8000 expects tftpd server to be during boot up? How should I exactly name the firmware?

Many thanks in advance

visata wrote:

I bricked my newly arrived R8000 router using the latest arokh's build and don't have a cable to connect it via serial connection at the moment.

I can possibly unbrick it without a serial connection if someone could tell me what IP address R8000 expects tftpd server to be during boot up? How should I exactly name the firmware?

Many thanks in advance

i think the only way to restore the original firmware is use serial console,because i have the same problem when flash the latest firmware,and arokh said Looks like some sort of crash during PCI setup, nothing he can fix...

trombonist wrote:
visata wrote:

I bricked my newly arrived R8000 router using the latest arokh's build and don't have a cable to connect it via serial connection at the moment.

I can possibly unbrick it without a serial connection if someone could tell me what IP address R8000 expects tftpd server to be during boot up? How should I exactly name the firmware?

Many thanks in advance

i think the only way to restore the original firmware is use serial console,because i have the same problem when flash the latest firmware,and arokh said Looks like some sort of crash during PCI setup, nothing he can fix...

I dont have much experience debricking routers. I watched a youtube video yesterday which explained that during boot up, it is looking for a certainly named firmware on a certain IP. So if I knew which IP and name, the router looks for, I could possibly debrick it? Do you think it wouldnt work in our case?

Here is the link to the video:
https://youtu.be/0k1sxwX5pMk?list=PLnxX … XKAN3-_urP

visata wrote:

I dont have much experience debricking routers. I watched a youtube video yesterday which explained that during boot up, it is looking for a certainly named firmware on a certain IP. So if I knew which IP and name, the router looks for, I could possibly debrick it? Do you think it wouldnt work in our case?

i'm freshhand too wink and i think this vedio can not help us,in my opinion,use serial console is the best simple way to solve our problem...oh,sorry about my poor english...;)

Will be getting a cable for a serial connection tonight. Will post if possible to debrick it like in that youtube video.

What's the last arokh's build which doesn't brick the router (R8000)? He is making the best optimized builds smile My WDR4300 router got like 40% increase of NAT throughput compared with CC. The only issue that I can't install udpxy there sad

visata wrote:

Will be getting a cable for a serial connection tonight. Will post if possible to debrick it like in that youtube video.

On the R8000 you will serial console is the only way to start the TFTPd recovery from the bootloader. Many other older routers have a part of the boot process early on where the TFTP server runs automatically for a few seconds, or can be triggered by holding a certain button during boot up, but in my experience the R8000 does not have either of those. The only way to do it is connect serial console, power on and during the boot loader messages press "ctrl -c" or enter (can't remember which now) to break into the boot loader. You'll get a CFE prompt. Type "tftpd" to launch the built in TFTPd daemon. Then just use your favourite tftp client to send the replacement firmware to 192.168.1.1.

jolouis wrote:
visata wrote:

Will be getting a cable for a serial connection tonight. Will post if possible to debrick it like in that youtube video.

On the R8000 you will serial console is the only way to start the TFTPd recovery from the bootloader. Many other older routers have a part of the boot process early on where the TFTP server runs automatically for a few seconds, or can be triggered by holding a certain button during boot up, but in my experience the R8000 does not have either of those. The only way to do it is connect serial console, power on and during the boot loader messages press "ctrl -c" or enter (can't remember which now) to break into the boot loader. You'll get a CFE prompt. Type "tftpd" to launch the built in TFTPd daemon. Then just use your favourite tftp client to send the replacement firmware to 192.168.1.1.

Thanks for your input.

I was playing today with Wireshark, capturing packets and trying to see whether R8000 makes any connection to some IP address on tftp port during boot up but it didn't happen. Only saw ARP packets. Like you said, the only possible solution to replace a firmware via serial.

Here is the log:

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

SHMOO VER 1.13

PKID07DC06011801080000000000001A103F01000000

S300001D3
000012F0


RDLYW0 00000004

RDENW0 00000034

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 00000022
WRDMW0 00000023


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 A0-63-91-C9-35-60, 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: ... 1575520 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 4.4.0-rc3 (trondah@ff0) (gcc version 5.2.0 (OpenWrt GCC 5.2.0 r47799) ) #1 SMP Mon Dec 7 20:01:28 CET 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] Hit pending asynchronous external abort (FSR=0x00001c06) during first unmask, this is most likely caused by a firmware/bootloader bug.

[    0.000000] PERCPU: Embedded 11 pages/cpu @c6dcf000 s12992 r8192 d23872 u45056

[    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: 254984K/262144K available (3302K kernel code, 106K rwdata, 896K rodata, 216K init, 281K bss, 7160K reserved, 0K cma-reserved, 131072K highmem)

[    0.000000] Virtual kernel memory layout:

[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)

[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)

[    0.000000]     vmalloc : 0xc8800000 - 0xff800000   ( 880 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 - 0xc0421e54   (4200 kB)

[    0.000000]       .init : 0xc0422000 - 0xc0458000   ( 216 kB)

[    0.000000]       .data : 0xc0458000 - 0xc0472a78   ( 107 kB)

[    0.000000]        .bss : 0xc0472a78 - 0xc04b8ec0   ( 282 kB)

[    0.000000] Hierarchical RCU implementation.

[    0.000000] NR_IRQS:16 nr_irqs:16 16

[    0.000000] L2C: DT/platform modifies aux control register: 0x0a130000 -> 0x0a530000

[    0.000000] L2C-310 enabling early BRESP for Cortex-A9

[    0.000000] L2C-310 full line of zeros enabled for 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.000011] sched_clock: 64 bits at 500MHz, resolution 2ns, wraps every 4398046511103ns

[    0.008127] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0xe6a171a037, max_idle_ns: 881590485102 ns

[    0.019473] Calibrating delay loop... 1987.37 BogoMIPS (lpj=9936896)

[    0.082226] pid_max: default: 32768 minimum: 301

[    0.087021] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)

[    0.093744] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)

[    0.101298] CPU: Testing write buffer coherency: ok

[    0.106479] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000

[    0.112325] Setting up static identity map for 0x82a0 - 0x82d4

[    0.179377] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001

[    0.179445] Brought up 2 CPUs

[    0.188259] SMP: Total of 2 processors activated (3981.31 BogoMIPS).

[    0.194722] CPU: WARNING: CPU(s) started in wrong/inconsistent modes (primary CPU mode 0x13)

[    0.203268] CPU: This may indicate a broken bootloader or firmware.

[    0.211098] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns

[    0.221135] pinctrl core: initialized pinctrl subsystem

[    0.226837] NET: Registered protocol family 16

[    0.231982] DMA: preallocated 256 KiB pool for atomic coherent allocations

[    0.271407] clocksource: Switched to clocksource arm_global_timer

[    0.278475] NET: Registered protocol family 2

[    0.283481] TCP established hash table entries: 1024 (order: 0, 4096 bytes)

[    0.290608] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)

[    0.297079] TCP: Hash tables configured (established 1024 bind 1024)

[    0.303605] UDP hash table entries: 256 (order: 1, 8192 bytes)

[    0.309576] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)

[    0.316141] NET: Registered protocol family 1

[    0.321457] futex hash table entries: 512 (order: 3, 32768 bytes)

[    0.328207] squashfs: version 4.0 (2009/01/31) Phillip Lougher

[    0.334195] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.

[    0.344809] bounce: pool size: 64 pages

[    0.348749] io scheduler noop registered

[    0.352792] io scheduler deadline registered (default)

[    0.358382] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled

[    0.365384] console [ttyS0] disabled

[    0.369084] 18000300.serial: ttyS0 at MMIO 0x18000300 (irq = 18, base_baud = 7812500) is a 16550

[    0.378018] console [ttyS0] enabled
[    0.378018] console [ttyS0] enabled

[    0.385100] bootconsole [earlycon0] disabled
[    0.385100] bootconsole [earlycon0] disabled

[    0.394838] nand: Could not find valid ONFI parameter page; aborting
[    0.401256] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[    0.407625] nand: AMD/Spansion NAND 128MiB 3,3V 8-bit
[    0.412711] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.420349] iproc_nand 18028000.nand: detected 128MiB total, 128KiB blocks, 2KiB pages, 16B OOB, 8-bit, BCH-8
[    0.430328] Scanning device for bad blocks
[    1.072591] brcmnand.0: 'partitions' subnode not found on /nand@18028000/nandcs@0. Trying to parse direct subnodes as partitions.
[    1.089070] random: nonblocking pool is initialized
[    1.279043] mtd_read error while parsing (offset: 0x3200000)!
[    1.285184] mtd_read error while parsing (offset: 0x3220000)!
[    1.291317] mtd_read error while parsing (offset: 0x3240000)!
[    1.297448] mtd_read error while parsing (offset: 0x3260000)!
[    1.303583] mtd_read error while parsing (offset: 0x3280000)!
[    1.309717] mtd_read error while parsing (offset: 0x32A0000)!
[    1.315845] mtd_read error while parsing (offset: 0x32C0000)!
[    1.321983] mtd_read error while parsing (offset: 0x32E0000)!
[    1.328111] mtd_read error while parsing (offset: 0x3300000)!
[    1.334248] mtd_read error while parsing (offset: 0x3320000)!
[    1.340381] mtd_read error while parsing (offset: 0x3340000)!
[    1.346511] mtd_read error while parsing (offset: 0x3360000)!
[    1.352648] mtd_read error while parsing (offset: 0x3380000)!
[    1.358774] mtd_read error while parsing (offset: 0x33A0000)!
[    1.364910] mtd_read error while parsing (offset: 0x33C0000)!
[    1.371045] mtd_read error while parsing (offset: 0x33E0000)!
[    1.377174] mtd_read error while parsing (offset: 0x3400000)!
[    1.383312] mtd_read error while parsing (offset: 0x3420000)!
[    1.389444] mtd_read error while parsing (offset: 0x3440000)!
[    1.395568] mtd_read error while parsing (offset: 0x3460000)!
[    1.401703] mtd_read error while parsing (offset: 0x3480000)!
[    1.407832] mtd_read error while parsing (offset: 0x34A0000)!
[    1.413967] mtd_read error while parsing (offset: 0x34C0000)!
[    1.420102] mtd_read error while parsing (offset: 0x34E0000)!
[    1.426230] mtd_read error while parsing (offset: 0x3500000)!
[    1.432367] mtd_read error while parsing (offset: 0x3520000)!
[    1.438494] mtd_read error while parsing (offset: 0x3540000)!
[    1.444631] mtd_read error while parsing (offset: 0x3560000)!
[    1.450767] mtd_read error while parsing (offset: 0x3580000)!
[    1.456895] mtd_read error while parsing (offset: 0x35A0000)!
[    1.463032] mtd_read error while parsing (offset: 0x35C0000)!
[    1.469158] mtd_read error while parsing (offset: 0x35E0000)!
[    1.475297] mtd_read error while parsing (offset: 0x3600000)!
[    1.481430] mtd_read error while parsing (offset: 0x3620000)!
[    1.487559] mtd_read error while parsing (offset: 0x3640000)!
[    1.493697] mtd_read error while parsing (offset: 0x3660000)!
[    1.499830] mtd_read error while parsing (offset: 0x3680000)!
[    1.505959] mtd_read error while parsing (offset: 0x36A0000)!
[    1.512096] mtd_read error while parsing (offset: 0x36C0000)!
[    1.518223] mtd_read error while parsing (offset: 0x36E0000)!
[    1.524364] mtd_read error while parsing (offset: 0x3700000)!
[    1.530495] mtd_read error while parsing (offset: 0x3720000)!
[    1.536624] mtd_read error while parsing (offset: 0x3740000)!
[    1.542760] mtd_read error while parsing (offset: 0x3760000)!
[    1.548888] mtd_read error while parsing (offset: 0x3780000)!
[    1.555024] mtd_read error while parsing (offset: 0x37A0000)!
[    1.561160] mtd_read error while parsing (offset: 0x37C0000)!
[    1.567288] mtd_read error while parsing (offset: 0x37E0000)!
[    1.573425] mtd_read error while parsing (offset: 0x3800000)!
[    1.579552] mtd_read error while parsing (offset: 0x3820000)!
[    1.585679] mtd_read error while parsing (offset: 0x3840000)!
[    1.591817] mtd_read error while parsing (offset: 0x3860000)!
[    1.597943] mtd_read error while parsing (offset: 0x3880000)!
[    1.604080] mtd_read error while parsing (offset: 0x38A0000)!
[    1.610215] mtd_read error while parsing (offset: 0x38C0000)!
[    1.616344] mtd_read error while parsing (offset: 0x38E0000)!
[    1.622480] mtd_read error while parsing (offset: 0x3900000)!
[    1.628607] mtd_read error while parsing (offset: 0x3920000)!
[    1.634744] mtd_read error while parsing (offset: 0x3940000)!
[    1.640878] mtd_read error while parsing (offset: 0x3960000)!
[    1.647007] mtd_read error while parsing (offset: 0x3980000)!
[    1.653144] mtd_read error while parsing (offset: 0x39A0000)!
[    1.659271] mtd_read error while parsing (offset: 0x39C0000)!
[    1.665409] mtd_read error while parsing (offset: 0x39E0000)!
[    1.671541] mtd_read error while parsing (offset: 0x3A00000)!
[    1.677664] mtd_read error while parsing (offset: 0x3A20000)!
[    1.683801] mtd_read error while parsing (offset: 0x3A40000)!
[    1.689936] mtd_read error while parsing (offset: 0x3A60000)!
[    1.696063] mtd_read error while parsing (offset: 0x3A80000)!
[    1.702200] mtd_read error while parsing (offset: 0x3AA0000)!
[    1.708327] mtd_read error while parsing (offset: 0x3AC0000)!
[    1.714466] mtd_read error while parsing (offset: 0x3AE0000)!
[    1.720599] mtd_read error while parsing (offset: 0x3B00000)!
[    1.726728] mtd_read error while parsing (offset: 0x3B20000)!
[    1.732864] mtd_read error while parsing (offset: 0x3B40000)!
[    1.738991] mtd_read error while parsing (offset: 0x3B60000)!
[    1.745128] mtd_read error while parsing (offset: 0x3B80000)!
[    1.751262] mtd_read error while parsing (offset: 0x3BA0000)!
[    1.757391] mtd_read error while parsing (offset: 0x3BC0000)!
[    1.763529] mtd_read error while parsing (offset: 0x3BE0000)!
[    1.769656] mtd_read error while parsing (offset: 0x3C00000)!
[    1.775783] mtd_read error while parsing (offset: 0x3C20000)!
[    1.781920] mtd_read error while parsing (offset: 0x3C40000)!
[    1.788049] mtd_read error while parsing (offset: 0x3C60000)!
[    1.794184] mtd_read error while parsing (offset: 0x3C80000)!
[    1.800319] mtd_read error while parsing (offset: 0x3CA0000)!
[    1.806447] mtd_read error while parsing (offset: 0x3CC0000)!
[    1.812584] mtd_read error while parsing (offset: 0x3CE0000)!
[    1.818711] mtd_read error while parsing (offset: 0x3D00000)!
[    1.824847] mtd_read error while parsing (offset: 0x3D20000)!
[    1.830982] mtd_read error while parsing (offset: 0x3D40000)!
[    1.837111] mtd_read error while parsing (offset: 0x3D60000)!
[    1.843249] mtd_read error while parsing (offset: 0x3D80000)!
[    1.849376] mtd_read error while parsing (offset: 0x3DA0000)!
[    1.855502] mtd_read error while parsing (offset: 0x3DC0000)!
[    1.861640] mtd_read error while parsing (offset: 0x3DE0000)!
[    1.867767] mtd_read error while parsing (offset: 0x3E00000)!
[    1.873904] mtd_read error while parsing (offset: 0x3E20000)!
[    1.880039] mtd_read error while parsing (offset: 0x3E40000)!
[    1.886170] mtd_read error while parsing (offset: 0x3E60000)!
[    1.892304] mtd_read error while parsing (offset: 0x3E80000)!
[    1.898430] mtd_read error while parsing (offset: 0x3EA0000)!
[    1.904568] mtd_read error while parsing (offset: 0x3EC0000)!
[    1.910703] mtd_read error while parsing (offset: 0x3EE0000)!
[    1.916832] mtd_read error while parsing (offset: 0x3F00000)!
....
....
....
[    5.062943] mtd_read error while parsing (offset: 0x7F20000)!
[    5.069073] mtd_read error while parsing (offset: 0x7F40000)!
[    5.075211] mtd_read error while parsing (offset: 0x7F60000)!
[    5.081343] mtd_read error while parsing (offset: 0x7F80000)!
[    5.087472] mtd_read error while parsing (offset: 0x7FA0000)!
[    5.094275] mtd_read error while parsing (offset: 0x7FE0000)!
[    5.101038] 16 bcm47xxpart partitions found on MTD device brcmnand.0
[    5.107402] Creating 16 MTD partitions on "brcmnand.0":
[    5.112649] 0x000000000000-0x000000080000 : "boot"
[    5.118185] 0x000000080000-0x000000200000 : "nvram"
[    5.123785] 0x000000200000-0x000002600000 : "firmware"
[    5.129686] 0x00000020001c-0x000000600000 : "linux"
[    5.135247] 0x000000600000-0x000002600000 : "ubi"
[    5.140708] 0x000002600000-0x000002680000 : "board_data"
[    5.146680] 0x000002680000-0x0000026a0000 : "POT"
[    5.152119] 0x0000026a0000-0x000002780000 : "POT"
[    5.157516] 0x000002780000-0x0000027a0000 : "POT"
[    5.162990] 0x0000027a0000-0x000002e80000 : "POT"
[    5.168406] 0x000002e80000-0x000002f00000 : "ML"
[    5.173807] 0x000002f00000-0x000002f80000 : "ML"
[    5.179095] 0x000002f80000-0x000003000000 : "ML"
[    5.184458] 0x000003000000-0x000003080000 : "ML"
[    5.189813] 0x000003080000-0x000003100000 : "ML"
[    5.195115] 0x000003100000-0x000008000000 : "ML"
[    5.201135] libphy: Fixed MDIO Bus: probed
[    5.205301] bgmac: Broadcom 47xx GBit MAC driver loaded
[    5.210767] bcma: bus0: Found chip with id 53010, rev 0x00 and package 0x00
[    5.217800] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x2A, class 0x0)
[    5.226457] bcma: bus0: Core 1 found: Chipcommon B (manuf 0x4BF, id 0x50B, rev 0x01, class 0x0)
[    5.235266] bcma: bus0: Core 2 found: DMA (manuf 0x4BF, id 0x502, rev 0x01, class 0x0)
[    5.243309] bcma: bus0: Core 3 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x05, class 0x0)
[    5.251760] bcma: bus0: Core 4 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x05, class 0x0)
[    5.260206] bcma: bus0: Core 5 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x05, class 0x0)
[    5.268643] bcma: bus0: Core 6 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x05, class 0x0)
[    5.277061] bcma: bus0: Core 7 found: PCIe Gen 2 (manuf 0x4BF, id 0x501, rev 0x01, class 0x0)
[    5.285667] bcma: bus0: Core 8 found: PCIe Gen 2 (manuf 0x4BF, id 0x501, rev 0x01, class 0x0)
[    5.294273] bcma: bus0: Core 9 found: PCIe Gen 2 (manuf 0x4BF, id 0x501, rev 0x01, class 0x0)
[    5.302909] bcma: bus0: Core 10 found: ARM Cortex A9 core (ihost) (manuf 0x4BF, id 0x510, rev 0x01, class 0x0)
[    5.313004] bcma: bus0: Core 11 found: USB 2.0 (manuf 0x4BF, id 0x504, rev 0x01, class 0x0)
[    5.321447] bcma: bus0: Core 12 found: USB 3.0 (manuf 0x4BF, id 0x505, rev 0x01, class 0x0)
[    5.329899] bcma: bus0: Core 13 found: SDIO3 (manuf 0x4BF, id 0x503, rev 0x01, class 0x0)
[    5.338167] bcma: bus0: Core 14 found: I2S (manuf 0x4BF, id 0x834, rev 0x03, class 0x0)
[    5.346273] bcma: bus0: Core 15 found: ARM Cortex A9 JTAG (manuf 0x4BF, id 0x506, rev 0x01, class 0x0)
[    5.355682] bcma: bus0: Core 16 found: Denali DDR2/DDR3 memory controller (manuf 0x4BF, id 0x507, rev 0x01, class 0x0)
[    5.366485] bcma: bus0: Core 17 found: ROM (manuf 0x4BF, id 0x508, rev 0x01, class 0x0)
[    5.374588] bcma: bus0: Core 18 found: NAND flash controller (manuf 0x4BF, id 0x509, rev 0x01, class 0x0)
[    5.384271] bcma: bus0: Core 19 found: SPI flash controller (manuf 0x4BF, id 0x50A, rev 0x01, class 0x0)
[    5.394764] bcm53xxspiflash spi32766.0: unrecognized JEDEC id bytes: ff, ff, ff
[    5.402150] bcm53xxspiflash: probe of spi32766.0 failed with error -2
[    5.433265] bgmac bcma0:3: Invalid MAC addr: 00:00:00:00:00:00
[    5.439137] bgmac bcma0:3: Using random MAC: ce:fc:f7:3b:00:6c
[    5.445045] bgmac bcma0:3: Found PHY addr: 30 (NOREGS)
[    5.450893] bgmac bcma0:3: Support for Roboswitch not implemented
[    5.458436] b53_common: found switch: BCM53012, rev 5
[    5.464135] bgmac bcma0:4: Invalid MAC addr: 00:00:00:00:00:00
[    5.470026] bgmac bcma0:4: Using random MAC: 6e:b1:dc:21:48:9e
[    5.475916] bgmac bcma0:4: Found PHY addr: 30 (NOREGS)
[    5.481772] bgmac bcma0:4: Support for Roboswitch not implemented
[    5.488766] bgmac bcma0:5: Found PHY addr: 30 (NOREGS)
[    5.494648] bgmac bcma0:5: Support for Roboswitch not implemented
[    5.501601] bgmac: Unsupported core_unit 3
[    5.505724] bgmac: probe of bcma0:6 failed with error -524
[    5.619459] pcie_iproc_bcma bcma0:7: PCI host bridge to bus 0000:00
[    5.625750] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fffffff]
[    5.632664] pcie_iproc_bcma bcma0:7: link: UP
[    5.637257] PCI: bus0: Fast back to back transfers disabled
[    5.642868] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    5.651312] PCI: bus1: Fast back to back transfers disabled
[    5.656949] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x085fffff]
[    5.663778] pci 0000:01:00.0: BAR 2: assigned [mem 0x08000000-0x083fffff 64bit]
[    5.671129] pci 0000:01:00.0: BAR 0: assigned [mem 0x08400000-0x08407fff 64bit]
[    5.678465] pci 0000:00:00.0: PCI bridge to [bus 01]
[    5.683456] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x085fffff]
[    5.799440] pcie_iproc_bcma bcma0:8: PCI host bridge to bus 0001:00
[    5.805730] pci_bus 0001:00: root bus resource [mem 0x40000000-0x47ffffff]
[    5.812645] pcie_iproc_bcma bcma0:8: link: UP
[    5.817232] PCI: bus0: Fast back to back transfers disabled
[    5.822840] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    5.831290] PCI: bus1: Fast back to back transfers disabled
[    5.836882] pci 0001:01:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    5.845034] Unhandled fault: imprecise external abort (0x1406) at 0x00000000
[    5.852099] pgd = c0004000
[    5.854804] [00000000] *pgd=00000000
[    5.858397] Internal error: : 1406 [#1] SMP ARM
[    5.862933] Modules linked in:
[    5.866003] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.0-rc3 #1
[    5.872195] Hardware name: BCM5301X
[    5.875688] task: c7826c00 ti: c782c000 task.ti: c782c000
[    5.881111] PC is at pci_generic_config_read32+0x48/0x74
[    5.886442] LR is at arm_heavy_mb+0x20/0x40
[    5.890634] pc : [<c01b7744>]    lr : [<c001b4b8>]    psr: a0000093
[    5.890634] sp : c782d980  ip : c782d948  fp : c782d99c
[    5.902138] r10: 00000000  r9 : 00000000  r8 : c01b76fc
[    5.907369] r7 : c782da0c  r6 : 00000004  r5 : c782d9ac  r4 : 00000000
[    5.913907] r3 : c88c4000  r2 : c88c41f8  r1 : 00120000  r0 : c88c41fc
[    5.920445] Flags: NzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment none
[    5.927685] Control: 10c5387d  Table: 0000404a  DAC: 00000051
[    5.933438] Process swapper/0 (pid: 1, stack limit = 0xc782c190)
[    5.939452] Stack: (0xc782d980 to 0xc782e000)
[    5.943818] d980: c7ad0400 00000000 60000013 c782da0c c782d9d4 c782d9a0 c01b75f0 c01b7708
[    5.952017] d9a0: c782d9ac c01e3638 c782d9cc 00000000 c7ad0400 c782da0c c7ad0400 00000000
[    5.960216] d9c0: 0000ea60 c7ad0600 c782da04 c782d9d8 c01b90c4 c01b7598 00000000 00000000
[    5.968414] d9e0: c7ad0400 c7ad0400 00000000 00000000 00000000 c7ad0600 c782da2c c782da08
[    5.976613] da00: c01ba3a4 c01b90a4 c782da24 c782da18 c7ad0400 c7ad0400 00000001 00000000
[    5.984813] da20: c782da4c c782da30 c01ba480 c01ba370 c7ad0400 00000008 00000001 00000002
[    5.993012] da40: c782da74 c782da50 c01bb220 c01ba428 c7967400 c7ad0400 00000001 00000002
[    6.001211] da60: 00000000 c7ad0600 c782dad4 c782da78 c01bb028 c01bb204 c005357c c0055c38
[    6.009409] da80: c7967400 c782da9c c782dad4 00000000 00000000 00000000 00000000 00000001
[    6.017609] daa0: 00000001 00ff0201 c782dad4 c7ad0600 c7967400 00000001 00000001 c7ad0614
[    6.025809] dac0: c7ad0a00 00000000 c782dafc c782dad8 c01bb280 c01bad18 c787e000 c7ad0600
[    6.034008] dae0: 00000000 00000001 00000000 c7ad0a00 c782db5c c782db00 c01bb028 c01bb204
[    6.042206] db00: c005357c c0055c38 c787e000 c782db24 c782db5c 00000000 00000000 00000000
[    6.050406] db20: 00000000 00000001 00010001 00ff0100 c782db5c c7ad0a00 c787e000 00000001
[    6.058605] db40: 00000000 c7ad0a14 c0465aec 00000000 c782db84 c782db60 c01bb280 c01bad18
[    6.066804] db60: c7903f50 c7ad0a00 00000000 00000330 00000000 c0465aec c782dbec c782db88
[    6.075004] db80: c01cac6c c01bb204 c782dbf4 c782dbfc 00000000 c7a8c410 c782dbbc c782dbf4
[    6.083203] dba0: c0024fd4 90120178 c782dbf4 c782dbfc c782dbdc c782dbc0 01060400 c0024fc4
[    6.091402] dbc0: c7903f50 c7903f50 c782dbf4 c7a8c400 c7a8c410 00000000 c0465aec 00000000
[    6.099602] dbe0: c782dc34 c782dbf0 c01cae68 c01ca6f0 c7a8c410 c782dbf4 c782dbf4 40000000
[    6.107800] dc00: 47ffffff c03ddce3 00000200 c782dc18 c0106988 c01068a0 c7a8c410 c04a10c0
[    6.116000] dc20: 00000000 c04a10bc c782dc44 c782dc38 c023974c c01caddc c782dc6c c782dc48
[    6.124199] dc40: c01e72cc c0239730 c0465aec c782dcb8 c7a8c410 c7a8c444 00000000 c045a3c8
[    6.132397] dc60: c782dc8c c782dc70 c01e7594 c01e71d8 00000000 c782dcb8 c01e7508 c7a8c444
[    6.140597] dc80: c782dcb4 c782dc90 c01e5b9c c01e7514 c7881a70 c78a93b8 00000000 c7a8c410
[    6.148796] dca0: c046c35c 00000001 c782dcdc c782dcb8 c01e7134 c01e5b1c c7a8c410 00000001
[    6.156996] dcc0: c7a8c410 c046c35c c7a8c410 c78aba10 c782dcec c782dce0 c01e76cc c01e70c0
[    6.165194] dce0: c782dd0c c782dcf0 c01e6858 c01e76c4 c7a8c410 c7a8c418 00000000 c78aba10
[    6.173394] dd00: c782dd54 c782dd10 c01e4be4 c01e6834 c001bbb4 c0185a34 00000000 c79042f0
[    6.181593] dd20: c7904430 dc8ba600 c7a8c410 c7a8c410 c7a8c410 c7904410 0000052d 0000082c
[    6.189793] dd40: c046c4f8 00000000 c782dd6c c782dd58 c01e4e54 c01e4940 c7a8c400 c7a8c410
[    6.197991] dd60: c782dd8c c782dd70 c02399ac c01e4e44 c7904410 c7a8c400 c7904430 0000052d
[    6.206190] dd80: c782ddb4 c782dd90 c023a0ec c0239998 c7904410 c6de9bd4 c78aba00 c04a10bc
[    6.214390] dda0: 00000000 c046c4f8 c782ddd4 c782ddb8 c023efc8 c0239db8 c78aba10 c046c4f8
[    6.222589] ddc0: 00000000 c04a10bc c782ddec c782ddd8 c01e8a44 c023ef64 c78aba10 c04a10c0
[    6.230788] dde0: c782de14 c782ddf0 c01e72cc c01e8a10 c78aba10 c78aba44 c046c4f8 c0466794
[    6.238988] de00: c045a3c8 00000000 c782de34 c782de18 c01e74a0 c01e71d8 00000000 c046c4f8
[    6.247186] de20: c01e7430 c0466794 c782de5c c782de38 c01e5ac8 c01e743c c780775c c78a9e34
[    6.255385] de40: c7807770 c046c4f8 00000000 c7949f80 c782de6c c782de60 c01e6e68 c01e5a60
[    6.263584] de60: c782de94 c782de70 c01e6a74 c01e6e54 c03eba84 c782de80 c046c4f8 c0439bd4
[    6.271784] de80: c045dbc8 c045dbc8 c782deac c782de98 c01e7b2c c01e69ac c7a520c0 c0439bd4
[    6.279983] dea0: c782debc c782deb0 c01e89f0 c01e7a94 c782decc c782dec0 c0439d04 c01e89c4
[    6.288182] dec0: c782dedc c782ded0 c0439be4 c0439cf8 c782df5c c782dee0 c0013b3c c0439be0
[    6.296381] dee0: c00fc750 c00fc414 00000000 c04601e8 c782df14 c782df00 c0038bd4 c0038b68
[    6.304580] df00: c7ffc755 00000000 c782df5c c782df18 c0038e38 c04225ec 00000006 00000006
[    6.312780] df20: 00000033 c0420690 c0420a8c 00000000 00000000 dc8ba600 00000006 00000033
[    6.320978] df40: c044a834 c0453ab0 c0472a98 c0472a90 c782df94 c782df60 c0422e84 c001399c
[    6.329177] df60: 00000006 00000006 00000000 c04225e0 00000000 c000e2e8 00000000 00000000
[    6.337377] df80: 00000000 00000000 c782dfac c782df98 c000e2f8 c0422d6c 00000000 c000e2e8
[    6.345576] dfa0: 00000000 c782dfb0 c00097b8 c000e2f4 00000000 00000000 00000000 00000000
[    6.353774] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    6.361974] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 c782dff4 00000000
[    6.370168] Backtrace: 
[    6.372633] [<c01b76fc>] (pci_generic_config_read32) from [<c01b75f0>] (pci_bus_read_config_dword+0x64/0x8c)
[    6.382477]  r7:c782da0c r6:60000013 r5:00000000 r4:c7ad0400
[    6.388187] [<c01b758c>] (pci_bus_read_config_dword) from [<c01b90c4>] (pci_bus_read_dev_vendor_id+0x2c/0xe8)
[    6.398125]  r9:c7ad0600 r8:0000ea60 r7:00000000 r6:c7ad0400 r5:c782da0c r4:c7ad0400
[    6.405934] [<c01b9098>] (pci_bus_read_dev_vendor_id) from [<c01ba3a4>] (pci_scan_single_device+0x40/0xb8)
[    6.415603]  r9:c7ad0600 r8:00000000 r7:00000000 r6:00000000 r5:c7ad0400 r4:c7ad0400
[    6.423409] [<c01ba364>] (pci_scan_single_device) from [<c01ba480>] (pci_scan_slot+0x64/0xe4)
[    6.431950]  r7:00000000 r6:00000001 r5:c7ad0400 r4:c7ad0400
[    6.437657] [<c01ba41c>] (pci_scan_slot) from [<c01bb220>] (pci_scan_child_bus+0x28/0xa8)
[    6.445849]  r7:00000002 r6:00000001 r5:00000008 r4:c7ad0400
[    6.451558] [<c01bb1f8>] (pci_scan_child_bus) from [<c01bb028>] (pci_scan_bridge+0x31c/0x4ec)
[    6.460098]  r9:c7ad0600 r8:00000000 r7:00000002 r6:00000001 r5:c7ad0400 r4:c7967400
[    6.467905] [<c01bad0c>] (pci_scan_bridge) from [<c01bb280>] (pci_scan_child_bus+0x88/0xa8)
[    6.476269]  r10:00000000 r9:c7ad0a00 r8:c7ad0614 r7:00000001 r6:00000001 r5:c7967400
[    6.484155]  r4:c7ad0600
[    6.486705] [<c01bb1f8>] (pci_scan_child_bus) from [<c01bb028>] (pci_scan_bridge+0x31c/0x4ec)
[    6.495245]  r9:c7ad0a00 r8:00000000 r7:00000001 r6:00000000 r5:c7ad0600 r4:c787e000
[    6.503050] [<c01bad0c>] (pci_scan_bridge) from [<c01bb280>] (pci_scan_child_bus+0x88/0xa8)
[    6.511416]  r10:00000000 r9:c0465aec r8:c7ad0a14 r7:00000000 r6:00000001 r5:c787e000
[    6.519302]  r4:c7ad0a00
[    6.521855] [<c01bb1f8>] (pci_scan_child_bus) from [<c01cac6c>] (iproc_pcie_setup+0x588/0x690)
[    6.530487]  r9:c0465aec r8:00000000 r7:00000330 r6:00000000 r5:c7ad0a00 r4:c7903f50
[    6.538293] [<c01ca6e4>] (iproc_pcie_setup) from [<c01cae68>] (iproc_pcie_bcma_probe+0x98/0xd0)
[    6.547007]  r10:00000000 r9:c0465aec r8:00000000 r7:c7a8c410 r6:c7a8c400 r5:c782dbf4
[    6.554894]  r4:c7903f50
[    6.557444] [<c01cadd0>] (iproc_pcie_bcma_probe) from [<c023974c>] (bcma_device_probe+0x28/0x34)
[    6.566244]  r7:c04a10bc r6:00000000 r5:c04a10c0 r4:c7a8c410
[    6.571952] [<c0239724>] (bcma_device_probe) from [<c01e72cc>] (driver_probe_device+0x100/0x264)
[    6.580759] [<c01e71cc>] (driver_probe_device) from [<c01e7594>] (__device_attach_driver+0x8c/0x98)
[    6.589822]  r9:c045a3c8 r8:00000000 r7:c7a8c444 r6:c7a8c410 r5:c782dcb8 r4:c0465aec
[    6.597634] [<c01e7508>] (__device_attach_driver) from [<c01e5b9c>] (bus_for_each_drv+0x8c/0x9c)
[    6.606438]  r7:c7a8c444 r6:c01e7508 r5:c782dcb8 r4:00000000
[    6.612146] [<c01e5b10>] (bus_for_each_drv) from [<c01e7134>] (__device_attach+0x80/0xd4)
[    6.620338]  r6:00000001 r5:c046c35c r4:c7a8c410
[    6.624992] [<c01e70b4>] (__device_attach) from [<c01e76cc>] (device_initial_probe+0x14/0x18)
[    6.633534]  r7:c78aba10 r6:c7a8c410 r5:c046c35c r4:c7a8c410
[    6.639241] [<c01e76b8>] (device_initial_probe) from [<c01e6858>] (bus_probe_device+0x30/0x88)
[    6.647875] [<c01e6828>] (bus_probe_device) from [<c01e4be4>] (device_add+0x2b0/0x504)
[    6.655808]  r7:c78aba10 r6:00000000 r5:c7a8c418 r4:c7a8c410
[    6.661516] [<c01e4934>] (device_add) from [<c01e4e54>] (device_register+0x1c/0x20)
[    6.669185]  r10:00000000 r9:c046c4f8 r8:0000082c r7:0000052d r6:c7904410 r5:c7a8c410
[    6.677072]  r4:c7a8c410
[    6.679620] [<c01e4e38>] (device_register) from [<c02399ac>] (bcma_register_core+0x20/0x54)
[    6.687986]  r5:c7a8c410 r4:c7a8c400
[    6.691587] [<c023998c>] (bcma_register_core) from [<c023a0ec>] (bcma_bus_register+0x340/0x360)
[    6.700303]  r7:0000052d r6:c7904430 r5:c7a8c400 r4:c7904410
[    6.706014] [<c0239dac>] (bcma_bus_register) from [<c023efc8>] (bcma_host_soc_probe+0x70/0x94)
[    6.714646]  r9:c046c4f8 r8:00000000 r7:c04a10bc r6:c78aba00 r5:c6de9bd4 r4:c7904410
[    6.722455] [<c023ef58>] (bcma_host_soc_probe) from [<c01e8a44>] (platform_drv_probe+0x40/0x74)
[    6.731167]  r7:c04a10bc r6:00000000 r5:c046c4f8 r4:c78aba10
[    6.736874] [<c01e8a04>] (platform_drv_probe) from [<c01e72cc>] (driver_probe_device+0x100/0x264)
[    6.745763]  r5:c04a10c0 r4:c78aba10
[    6.749364] [<c01e71cc>] (driver_probe_device) from [<c01e74a0>] (__driver_attach+0x70/0x94)
[    6.757818]  r9:00000000 r8:c045a3c8 r7:c0466794 r6:c046c4f8 r5:c78aba44 r4:c78aba10
[    6.765624] [<c01e7430>] (__driver_attach) from [<c01e5ac8>] (bus_for_each_dev+0x74/0x98)
[    6.773816]  r7:c0466794 r6:c01e7430 r5:c046c4f8 r4:00000000
[    6.779523] [<c01e5a54>] (bus_for_each_dev) from [<c01e6e68>] (driver_attach+0x20/0x28)
[    6.787543]  r6:c7949f80 r5:00000000 r4:c046c4f8
[    6.792196] [<c01e6e48>] (driver_attach) from [<c01e6a74>] (bus_add_driver+0xd4/0x1f0)
[    6.800134] [<c01e69a0>] (bus_add_driver) from [<c01e7b2c>] (driver_register+0xa4/0xe8)
[    6.808153]  r7:c045dbc8 r6:c045dbc8 r5:c0439bd4 r4:c046c4f8
[    6.813861] [<c01e7a88>] (driver_register) from [<c01e89f0>] (__platform_driver_register+0x38/0x4c)
[    6.822924]  r5:c0439bd4 r4:c7a520c0
[    6.826532] [<c01e89b8>] (__platform_driver_register) from [<c0439d04>] (bcma_host_soc_register_driver+0x18/0x20)
[    6.836824] [<c0439cec>] (bcma_host_soc_register_driver) from [<c0439be4>] (bcma_modinit+0x10/0x44)
[    6.845899] [<c0439bd4>] (bcma_modinit) from [<c0013b3c>] (do_one_initcall+0x1ac/0x1ec)
[    6.853928] [<c0013990>] (do_one_initcall) from [<c0422e84>] (kernel_init_freeable+0x124/0x1f8)
[    6.862641]  r9:c0472a90 r8:c0472a98 r7:c0453ab0 r6:c044a834 r5:00000033 r4:00000006
[    6.870452] [<c0422d60>] (kernel_init_freeable) from [<c000e2f8>] (kernel_init+0x10/0x104)
[    6.878734]  r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c000e2e8 r4:00000000
[    6.886541] [<c000e2e8>] (kernel_init) from [<c00097b8>] (ret_from_fork+0x14/0x3c)
[    6.894123]  r5:c000e2e8 r4:00000000
[    6.897723] Code: e5853000 e89da8f0 e5901000 f57ff04f (e3560002) 
[    6.903845] ---[ end trace efa9be0cbd49a471 ]---
[    6.908499] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    6.908499] 
[    6.917654] CPU1: stopping
[    6.920372] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D         4.4.0-rc3 #1
[    6.927781] Hardware name: BCM5301X
[    6.931272] Backtrace: 
[    6.933741] [<c001725c>] (dump_backtrace) from [<c0017458>] (show_stack+0x18/0x1c)
[    6.941325]  r7:c7851f60 r6:00000000 r5:00000001 r4:00000000
[    6.947035] [<c0017440>] (show_stack) from [<c01841b4>] (dump_stack+0x78/0x94)
[    6.954274] [<c018413c>] (dump_stack) from [<c0018c40>] (handle_IPI+0xf4/0x19c)
[    6.961596]  r5:00000001 r4:c0472be8
[    6.965197] [<c0018b4c>] (handle_IPI) from [<c0009488>] (gic_handle_irq+0x7c/0x98)
[    6.972781]  r7:c04652ac r6:c7851f60 r5:c045a714 r4:c8802100
[    6.978488] [<c000940c>] (gic_handle_irq) from [<c000a074>] (__irq_svc+0x54/0x70)
[    6.985987] Exception stack(0xc7851f60 to 0xc7851fa8)
[    6.991048] 1f60: 00000000 0000109e c6dda254 c000ae20 c0454224 c045a498 10c0387d c0472bf0
[    6.999248] 1f80: 0000406a 413fc090 00000000 c7851fbc c7851fc0 c7851fb0 c001473c c0014740
[    7.007441] 1fa0: 60000013 ffffffff
[    7.010930]  r9:413fc090 r8:0000406a r7:c7851f94 r6:ffffffff r5:60000013 r4:c0014740
[    7.018740] [<c001470c>] (arch_cpu_idle) from [<c004fcd4>] (default_idle_call+0x30/0x34)
[    7.026858] [<c004fca4>] (default_idle_call) from [<c004fe08>] (cpu_startup_entry+0x130/0x194)
[    7.035491] [<c004fcd8>] (cpu_startup_entry) from [<c001894c>] (secondary_start_kernel+0x10c/0x128)
[    7.044559] [<c0018840>] (secondary_start_kernel) from [<0000954c>] (0x954c)
[    7.051622]  r5:00000051 r4:0783006a
[    7.055221] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

(Last edited by visata on 14 Dec 2015, 09:13)

When I tried using CC (11 September release), there were some wifi issues. After I set a password on 5Ghz, it stopped working (2.4Ghz worked fine). Then I tried messing around with settings changing from 80Mhz to 40Mhz or even to 20Mhz, it kind of started to work but a signal was weak and only one radio of 5Ghz worked, the other didn't. So I decided to test DD-WRT.

I've just noticed that arokh's builds are up again online. Not sure which one to use without bricking the router (r47799 will brick it for sure):
r47665/                                            27-Nov-2015 22:57                   -
r47677/                                            30-Nov-2015 17:40                   -
r47692/                                            03-Dec-2015 00:36                   -
r47799/                                            07-Dec-2015 19:02                   -

r47692 should be fine, it's built with 4.1 kernel.

r47692  didn't brick the router indeed. The issue that wifi doesn't seem to work by default. Here is some more info:

root@OpenWrt ~# dmesg | grep brcmfmac
[   19.973617] usbcore: registered new interface driver brcmfmac
[   19.985177] brcmfmac 0000:01:00.0: enabling device (0140 -> 0142)
[   20.393825] brcmfmac 0000:01:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.txt failed with error -2
[   20.403731] brcmfmac 0000:01:00.0: Falling back to user helper
[   20.416307] firmware brcm!brcmfmac43602-pcie.txt: firmware_loading_store: map pages failed
[   20.623364] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Mar  3 2015 04:46:51 version 7.35.177.33 (r538052) FWID 01-c8317c80
[   20.646596] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[   27.897987] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[   27.904579] brcmfmac: brcmf_add_if: ignore IF event
[   28.303156] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[   28.309730] brcmfmac: brcmf_add_if: ignore IF event
[   28.630989] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[   28.637542] brcmfmac: brcmf_add_if: ignore IF event
[  939.499339] brcmfmac: brcmf_fweh_call_event_handler: no interface object
[  939.506095] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[  939.512672] brcmfmac: brcmf_add_if: ignore IF event
[  940.529906] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[  940.536456] brcmfmac: brcmf_add_if: ignore IF event
[  940.731156] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[  940.737708] brcmfmac: brcmf_add_if: ignore IF event
[  949.190830] brcmfmac: brcmf_fweh_call_event_handler: no interface object
[  949.224251] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[  949.230900] brcmfmac: brcmf_add_if: ignore IF event
[  950.251424] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[  950.257978] brcmfmac: brcmf_add_if: ignore IF event
[  950.460976] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[  950.467536] brcmfmac: brcmf_add_if: ignore IF event
[  962.989643] brcmfmac: brcmf_fweh_call_event_handler: no interface object
[  962.996381] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[  963.002965] brcmfmac: brcmf_add_if: ignore IF event
[  963.389719] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[  963.396275] brcmfmac: brcmf_add_if: ignore IF event
[  963.590919] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[  963.597467] brcmfmac: brcmf_add_if: ignore IF event

root@OpenWrt ~# cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '36'
        option hwmode '11a'
        option path 'platform/18000000.axi/bcma0:7/pci0000:00/0000:00:00.0/0000:01:00.0'
        option htmode 'VHT80'
        option disabled '0'
        option log_level '3'
        option country 'US'

config wifi-iface
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'psk2'
        option key 'changeme'
        option wps_pushbutton '0'

config wifi-iface 'tor'
        option device 'radio0'
        option network 'tor'
        option mode 'ap'
        option ssid 'OpenWrt Tor'
        option encryption 'psk2'
        option key 'changeme'
        option disabled '0'

I could try playing around with wifi detect > /etc/config/wireless but by default wifi doesn't work.

I'd also like to share some benchmark results of NAT throughput. My ISP provides me with 600 Mbps speed. I tested simply via OOKLA.

Download speed via OOKLA:

  • Stock firmware - 610 Mbps

  • Arok's r47692  - 490 Mbps

  • CC (Sep 11, 2015) - 450 Mbps

  • DD-WRT Kong Mod (10-26-15) - 420 Mbps

Upload is usually much better (for example on Arokh's build 550Mbps) but I didn't take the notes smile

(Last edited by visata on 14 Dec 2015, 11:45)

visata wrote:

I'd also like to share some benchmark results of NAT throughput. My ISP provides me with 600 Mbps speed.

I am just curious. Can you please tell us who is your ISP?

Sure, TEO located in Lithuania smile

Seems a bit weak, is SMP enabled? Do a "zcat /proc/config.gz | grep SMP" and check /proc/cpuinfo that both cores are enabled. My WDR4900 is able to do about 500Mbps with its 800MHz PPC. It might actually be more powerful than a single ARM, but Linux should be able to utilize a dualcore to achieve better speeds. I noticed there were some SMP fix for BCM5301x in r47809, so it might not be enabled in my r47692.

Not sure whether it's a coincidence or not (I need further testing) but if I use default router's IP (192.168.1.1), I'm getting speed 517Mpbs. If I change to my preferred one 192.168.0.3, I'm getting 480 Mbps.

Please check the output:

root@OpenWrt ~# zcat /proc/config.gz | grep SMP
zcat: /proc/config.gz: No such file or directory
root@OpenWrt ~# cat /proc/cpuinfo
processor       : 0
model name      : ARMv7 Processor rev 0 (v7l)
BogoMIPS        : 1987.37
Features        : half thumb fastmult edsp tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x3
CPU part        : 0xc09
CPU revision    : 0

processor       : 1
model name      : ARMv7 Processor rev 0 (v7l)
BogoMIPS        : 1993.93
Features        : half thumb fastmult edsp tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x3
CPU part        : 0xc09
CPU revision    : 0

Hardware        : BCM5301X
Revision        : 0000
Serial          : 0000000000000000
visata wrote:

r47692  didn't brick the router indeed. The issue that wifi doesn't seem to work by default. Here is some more info:

root@OpenWrt ~# dmesg | grep brcmfmac
[   19.973617] usbcore: registered new interface driver brcmfmac
[   19.985177] brcmfmac 0000:01:00.0: enabling device (0140 -> 0142)
[   20.393825] brcmfmac 0000:01:00.0: Direct firmware load for brcm/brcmfmac43602-pcie.txt failed with error -2
[   20.403731] brcmfmac 0000:01:00.0: Falling back to user helper
[   20.416307] firmware brcm!brcmfmac43602-pcie.txt: firmware_loading_store: map pages failed
[   20.623364] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Mar  3 2015 04:46:51 version 7.35.177.33 (r538052) FWID 01-c8317c80
[   20.646596] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[   27.897987] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[   27.904579] brcmfmac: brcmf_add_if: ignore IF event
[   28.303156] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[   28.309730] brcmfmac: brcmf_add_if: ignore IF event
[   28.630989] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[   28.637542] brcmfmac: brcmf_add_if: ignore IF event
[  939.499339] brcmfmac: brcmf_fweh_call_event_handler: no interface object
[  939.506095] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[  939.512672] brcmfmac: brcmf_add_if: ignore IF event
[  940.529906] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[  940.536456] brcmfmac: brcmf_add_if: ignore IF event
[  940.731156] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[  940.737708] brcmfmac: brcmf_add_if: ignore IF event
[  949.190830] brcmfmac: brcmf_fweh_call_event_handler: no interface object
[  949.224251] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[  949.230900] brcmfmac: brcmf_add_if: ignore IF event
[  950.251424] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[  950.257978] brcmfmac: brcmf_add_if: ignore IF event
[  950.460976] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[  950.467536] brcmfmac: brcmf_add_if: ignore IF event
[  962.989643] brcmfmac: brcmf_fweh_call_event_handler: no interface object
[  962.996381] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[  963.002965] brcmfmac: brcmf_add_if: ignore IF event
[  963.389719] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[  963.396275] brcmfmac: brcmf_add_if: ignore IF event
[  963.590919] brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
[  963.597467] brcmfmac: brcmf_add_if: ignore IF event

root@OpenWrt ~# cat /etc/config/wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '36'
        option hwmode '11a'
        option path 'platform/18000000.axi/bcma0:7/pci0000:00/0000:00:00.0/0000:01:00.0'
        option htmode 'VHT80'
        option disabled '0'
        option log_level '3'
        option country 'US'

config wifi-iface
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'psk2'
        option key 'changeme'
        option wps_pushbutton '0'

config wifi-iface 'tor'
        option device 'radio0'
        option network 'tor'
        option mode 'ap'
        option ssid 'OpenWrt Tor'
        option encryption 'psk2'
        option key 'changeme'
        option disabled '0'

I could try playing around with wifi detect > /etc/config/wireless but by default wifi doesn't work.

It appears only one device got detected on the PCI bus. I doubt the "wifi detect" will help. I full log would be helpful. What did you do after 15 minutes? Change the configuration of the wireless device?

Hm, I think I tried only running wifi with the hope to detect wifi... but the problem is deeper than this? I tried flashing the router with r47692 twice and both times, wifi wasn't detected.

I'm currently on stock firmware because I need wifi but it's easy to reflash. Let me know which logs do you need?

"wifi detect" does nothing if /etc/config/wireless exists, you should delete that first. Also, you should provide full dmesg and logread. And perhaps "iw phy0 info" and same for phy1/phy2.