Hi, elektroman, did you see my new post? https://forum.openwrt.org/viewtopic.php?id=68019
I copy import information to this page. I used the bcm5301x-nand-cs0-bch1.dtsi file, but still failed.
------------------------------------------------------------------------------
My router is similar to netgear r6300v2 and asus rt68u router. So I compiled the lede code and get firmware for r6300v2 or asus rt68u. I flash the firmware to my router. In another word, I use the dts or physical address for these two types router. Is it a good idea for a new person(like me)? If this is OK, I will make my own dts file. I'm not 100% sure of difference between my router and r6300v2.
I know r6300v2, rt68u, and my router are BCM4708+ 4360 + 4331 solution, 128MB nand flash( 2KB/page ). They use the same broadcom hardware design. The lede firmware runs OK on r6300v2, but failed on my router.
You mean start address?
check your physical address.
Is it ?
Starting program at 0x00008000
My router also use 0x00008000 if I flash the broadcom sdk firmware.
The boot information on r6300v2 is as follows:
Decompressing...done
SHMOO VER 1.13
PKID07DC06011801080000000000001A103F01000000
S300402CF
00002350
RDLYW0 00000004
RDENW0 00000045
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 00000031
WRDMW0 00000031
ADDR
0000000000111111111122222222223333333333444444444455555555556666
0123456789012345678901234567890123456789012345678901234567890123
00 +++++++++++++++++++++++++++++++X+++S++++++++++++++++++++++++++++
Decompressing...done
CFE for Foxconn Router R6300v2 version: v1.0.15
Build Date: Fri May 24 13:47:09 CST 2013
Init Arena
Init Devs.
Boot up from NAND flash...
Boot partition size = 262144(0x40000)
DDR Clock: 533 MHz
Info: DDR frequency set from clkfreq=800,*533*
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.30.163.2002 (r382208)
CPU type 0x0: 800MHz
Tot mem: 262144 KBytes
Device eth0: hwaddr 00-FF-FF-FF-FF-FF, 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: .. 1539871 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.27 (wangfeng@software) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1967) ) #0 SMP Mon Oct 24 20:52:44 2016
[ 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 R6300 V2 (BCM4708)
[ 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 @c6dce000 s12928 r8192 d23936 u45056
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65280
[ 0.000000] Kernel command line: console=ttyS0,115200
[ 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: 254748K/262144K available (3202K kernel code, 102K rwdata, 1208K rodata, 220K init, 280K bss, 7396K 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 - 0xc0456e44 (4412 kB)
[ 0.000000] .init : 0xc0457000 - 0xc048e000 ( 220 kB)
[ 0.000000] .data : 0xc048e000 - 0xc04a7b2c ( 103 kB)
[ 0.000000] .bss : 0xc04a7b2c - 0xc04eddec ( 281 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:16 nr_irqs:16 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.000015] sched_clock: 64 bits at 400MHz, resolution 2ns, wraps every 4398046511103ns
[ 0.000040] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x5c4093a7d1, max_idle_ns: 440795210635 ns
[ 0.000254] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
[ 0.090143] pid_max: default: 32768 minimum: 301
[ 0.090236] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.090248] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.090798] CPU: Testing write buffer coherency: ok
[ 0.091105] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.091202] Setting up static identity map for 0x82a0 - 0x82d4
[ 0.130138] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.130227] Brought up 2 CPUs
[ 0.130250] SMP: Total of 2 processors activated (3188.32 BogoMIPS).
[ 0.130260] CPU: WARNING: CPU(s) started in wrong/inconsistent modes (primary CPU mode 0x13)
[ 0.130266] CPU: This may indicate a broken bootloader or firmware.
[ 0.132589] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.132715] pinctrl core: initialized pinctrl subsystem
[ 0.133207] NET: Registered protocol family 16
[ 0.133988] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.162541] clocksource: Switched to clocksource arm_global_timer
[ 0.163916] NET: Registered protocol family 2
[ 0.164584] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.164618] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.164643] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.164747] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.164795] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.165040] NET: Registered protocol family 1
[ 0.166353] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.166562] Crashlog allocated RAM at address 0x3f00000
[ 0.172918] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.172960] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.174921] bounce: pool size: 64 pages
[ 0.174949] io scheduler noop registered
[ 0.174965] io scheduler deadline registered (default)
[ 0.175505] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.176256] console [ttyS0] disabled
[ 0.176318] 18000300.serial: ttyS0 at MMIO 0x18000300 (irq = 18, base_baud = 6250000) is a 16550
[ 0.620917] console [ttyS0] enabled
[ 0.625774] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[ 0.632155] nand: Samsung NAND 128MiB 3,3V 8-bit
[ 0.636753] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 0.644323] iproc_nand 18028000.nand: detected 128MiB total, 128KiB blocks, 2KiB pages, 16B OOB, 8-bit, BCH-8
[ 0.654220] Scanning device for bad blocks
[ 1.175724] Bad eraseblock 683 at 0x000005560000
[ 1.444351] random: nonblocking pool is initialized
[ 2.251905] 6 bcm47xxpart partitions found on MTD device brcmnand.0
[ 2.258142] Creating 6 MTD partitions on "brcmnand.0":
[ 2.263275] 0x000000000000-0x000000080000 : "boot"
[ 2.269064] 0x000000080000-0x0000002a0000 : "nvram"
[ 2.274901] 0x0000002a0000-0x000000380000 : "ML"
[ 2.280467] 0x000000380000-0x000008000000 : "firmware"
[ 2.287183] 0x00000038001c-0x000000780000 : "linux"
[ 2.293060] 0x000000780000-0x000008000000 : "ubi"
[ 2.299723] libphy: Fixed MDIO Bus: probed
[ 2.303953] bgmac_bcma: Broadcom 47xx GBit MAC driver loaded
[ 2.309864] bcma: bus0: Found chip with id 53010, rev 0x00 and package 0x02
[ 2.316926] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x2A, class 0x0)
[ 2.325581] bcma: bus0: Core 1 found: Chipcommon B (manuf 0x4BF, id 0x50B, rev 0x01, class 0x0)
[ 2.334394] bcma: bus0: Core 2 found: DMA (manuf 0x4BF, id 0x502, rev 0x01, class 0x0)
[ 2.342413] bcma: bus0: Core 3 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x04, class 0x0)
[ 2.350860] bcma: bus0: Core 4 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x04, class 0x0)
[ 2.359298] bcma: bus0: Core 5 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x04, class 0x0)
[ 2.367754] bcma: bus0: Core 6 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x04, class 0x0)
[ 2.376186] bcma: bus0: Core 7 found: PCIe Gen 2 (manuf 0x4BF, id 0x501, rev 0x01, class 0x0)
[ 2.384791] bcma: bus0: Core 8 found: PCIe Gen 2 (manuf 0x4BF, id 0x501, rev 0x01, class 0x0)
[ 2.393424] bcma: bus0: Core 9 found: ARM Cortex A9 core (ihost) (manuf 0x4BF, id 0x510, rev 0x01, class 0x0)
[ 2.403416] bcma: bus0: Core 10 found: USB 2.0 (manuf 0x4BF, id 0x504, rev 0x01, class 0x0)
[ 2.411837] bcma: bus0: Core 11 found: USB 3.0 (manuf 0x4BF, id 0x505, rev 0x01, class 0x0)
[ 2.420299] bcma: bus0: Core 12 found: SDIO3 (manuf 0x4BF, id 0x503, rev 0x01, class 0x0)
[ 2.428571] bcma: bus0: Core 13 found: ARM Cortex A9 JTAG (manuf 0x4BF, id 0x506, rev 0x01, class 0x0)
[ 2.437975] bcma: bus0: Core 14 found: Denali DDR2/DDR3 memory controller (manuf 0x4BF, id 0x507, rev 0x01, class 0x0)
[ 2.448764] bcma: bus0: Core 15 found: ROM (manuf 0x4BF, id 0x508, rev 0x01, class 0x0)
[ 2.456869] bcma: bus0: Core 16 found: NAND flash controller (manuf 0x4BF, id 0x509, rev 0x01, class 0x0)
[ 2.466522] bcma: bus0: Core 17 found: SPI flash controller (manuf 0x4BF, id 0x50A, rev 0x01, class 0x0)
[ 2.475985] bcma: bus0: Flash type not supported
[ 2.482243] m25p80 spi32766.0: unrecognized JEDEC id bytes: ff, ff, ff
[ 2.488948] m25p80 spi32766.0: using Read Manufacturer / Device ID command (0x90) returned ff ff
[ 2.497772] m25p80: probe of spi32766.0 failed with error -2
[ 2.594044] bgmac_bcma bcma0:3: Found PHY addr: 30 (NOREGS)
[ 2.599606] bgmac_bcma bcma0:3: Support for Roboswitch not implemented
[ 2.608602] b53_common: found switch: BCM53011, rev 2
[ 2.614624] bgmac_bcma bcma0:4: Found PHY addr: 0
[ 2.619333] bgmac_bcma bcma0:4: Support for Roboswitch not implemented
[ 2.627943] bgmac_bcma bcma0:5: Found PHY addr: 0
[ 2.632718] bgmac_bcma bcma0:5: Support for Roboswitch not implemented
[ 2.639314] bgmac_bcma bcma0:5: Invalid MAC addr: 00:00:00:00:00:00
[ 2.645609] bgmac_bcma bcma0:5: Using random MAC: e2:94:df:48:88:f3
[ 2.653843] bgmac_bcma bcma0:6: Unsupported core_unit 3
[ 2.659085] bgmac_bcma: probe of bcma0:6 failed with error -524
[ 2.770289] pcie_iproc_bcma bcma0:7: PCI host bridge to bus 0000:00
[ 2.776551] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fffffff]
[ 2.783434] pcie_iproc_bcma bcma0:7: link: UP
[ 2.788056] PCI: bus0: Fast back to back transfers disabled
[ 2.793635] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 2.802132] PCI: bus1: Fast back to back transfers disabled
[ 2.807749] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x080fffff]
[ 2.814541] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x08003fff 64bit]
[ 2.821841] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 2.826789] pci 0000:00:00.0: bridge window [mem 0x08000000-0x080fffff]
[ 2.940267] pcie_iproc_bcma bcma0:8: PCI host bridge to bus 0001:00
[ 2.946523] pci_bus 0001:00: root bus resource [mem 0x40000000-0x47ffffff]
[ 2.953403] pcie_iproc_bcma bcma0:8: link: UP
[ 2.958005] PCI: bus0: Fast back to back transfers disabled
[ 2.963584] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 2.972076] PCI: bus1: Fast back to back transfers disabled
[ 2.977695] pci 0001:00:00.0: BAR 8: assigned [mem 0x40000000-0x400fffff]
[ 2.984489] pci 0001:01:00.0: BAR 0: assigned [mem 0x40000000-0x40007fff 64bit]
[ 2.991785] pci 0001:00:00.0: PCI bridge to [bus 01]
[ 2.996730] pci 0001:00:00.0: bridge window [mem 0x40000000-0x400fffff]
[ 3.005109] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds, Software Timer)
[ 3.014084] bcma: bus0: Bus registered
[ 3.017985] pci 0000:00:00.0: enabling device (0140 -> 0142)
[ 3.023658] bcma-pci-bridge 0000:01:00.0: enabling device (0140 -> 0142)
[ 3.030385] bcma: bus1: Found chip with id 0x4331, rev 0x02 and package 0x08
[ 3.037427] bcma: bus1: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x25, class 0x0)
[ 3.045944] bcma: bus1: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x1D, class 0x0)
[ 3.054560] bcma: bus1: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x13, class 0x0)
[ 3.186481] bcma: bus1: Invalid SPROM read from the PCIe card, trying to use fallback SPROM
[ 3.330402] bcma: bus1: Bus registered
[ 3.334223] pci 0001:00:00.0: enabling device (0140 -> 0142)
[ 3.339873] bcma-pci-bridge 0001:01:00.0: enabling device (0140 -> 0142)
[ 3.346612] bcma: bus2: Found chip with id 0x4360, rev 0x03 and package 0x01
[ 3.353681] bcma: bus2: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x2B, class 0x0)
[ 3.362194] bcma: bus2: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x2A, class 0x0)
[ 3.370801] bcma: bus2: Core 2 found: ARM CR4 (manuf 0x4BF, id 0x83E, rev 0x02, class 0x0)
[ 3.379051] bcma: bus2: Core 3 found: PCIe Gen2 (manuf 0x4BF, id 0x83C, rev 0x01, class 0x0)
[ 3.387476] bcma: bus2: Core 4 found: USB 2.0 Device (manuf 0x4BF, id 0x81A, rev 0x11, class 0x0)
[ 3.427865] bcma: bus2: Invalid SPROM read from the PCIe card, trying to use fallback SPROM
[ 3.459176] bcma: bus2: Bus registered
[ 3.464134] NET: Registered protocol family 10
[ 3.469839] NET: Registered protocol family 17
[ 3.474409] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 3.486988] 8021q: 802.1Q VLAN Support v1.8
[ 3.491257] Registering SWP/SWPB emulation handler
[ 3.498462] UBI: auto-attach mtd5
[ 3.501672] ubi0: attaching mtd5
[ 3.914024] ubi0: scanning is finished
[ 3.945811] ubi0: volume 1 ("rootfs_data") re-sized from 9 to 924 LEBs
[ 3.953063] ubi0: attached mtd5 (name "ubi", size 120 MiB)
[ 3.958529] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 3.965400] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 3.972163] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 3.979091] ubi0: good PEBs: 963, bad PEBs: 1, corrupted PEBs: 0
[ 3.985079] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[ 3.992275] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 33275472
[ 4.001199] ubi0: available PEBs: 0, total reserved PEBs: 963, PEBs reserved for bad PEB handling: 19
[ 4.010400] ubi0: background thread "ubi_bgt0d" started, PID 326
[ 4.011796] block ubiblock0_0: created from ubi0:0(rootfs)
[ 4.011804] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[ 4.034852] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 4.042371] Freeing unused kernel memory: 220K (c0457000 - c048e000)
[ 4.639996] init: Console is alive
[ 4.643692] init: - watchdog -
[ 5.177347] usbcore: registered new interface driver usbfs
[ 5.183045] usbcore: registered new interface driver hub
[ 5.188460] usbcore: registered new device driver usb
[ 5.197185] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 5.204590] ehci-platform: EHCI generic platform driver
[ 5.211674] ehci-platform 18021000.ehci: EHCI Host Controller
[ 5.212419] bcm_ns_usb3 18105000.usb3-phy: Registered Broadcom Northstar USB 3.0 PHY driver
[ 5.213840] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 5.214566] ohci-platform: OHCI generic platform driver
[ 5.214782] ohci-platform 18022000.ohci: Generic Platform OHCI controller
[ 5.214815] ohci-platform 18022000.ohci: new USB bus registered, assigned bus number 1
[ 5.214972] ohci-platform 18022000.ohci: irq 28, io mem 0x18022000
[ 5.258027] ehci-platform 18021000.ehci: new USB bus registered, assigned bus number 2
[ 5.266105] ehci-platform 18021000.ehci: irq 28, io mem 0x18021000
[ 5.275071] hub 1-0:1.0: USB hub found
[ 5.279013] hub 1-0:1.0: 2 ports detected
[ 5.289150] xhci-hcd 18023000.xhci: xHCI Host Controller
[ 5.294551] xhci-hcd 18023000.xhci: new USB bus registered, assigned bus number 3
[ 5.302353] xhci-hcd 18023000.xhci: hcc params 0x02501164 hci version 0x100 quirks 0x01010010
[ 5.302990] ehci-platform 18021000.ehci: USB 2.0 started, EHCI 1.00
[ 5.303707] hub 2-0:1.0: USB hub found
[ 5.303756] hub 2-0:1.0: 2 ports detected
[ 5.324967] xhci-hcd 18023000.xhci: irq 29, io mem 0x18023000
[ 5.331549] hub 3-0:1.0: USB hub found
[ 5.335378] hub 3-0:1.0: config failed, hub doesn't have any ports! (err -19)
[ 5.342772] xhci-hcd 18023000.xhci: xHCI Host Controller
[ 5.348100] xhci-hcd 18023000.xhci: new USB bus registered, assigned bus number 4
[ 5.370322] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 5.379143] hub 4-0:1.0: USB hub found
[ 5.383090] hub 4-0:1.0: 1 port detected
[ 5.403213] init: - preinit -
[ 7.518554] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 7.524578] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
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
[ 8.620277] bgmac_bcma bcma0:3 eth0: Link is Up - 1Gbps/Full - flow control off
[ 8.627595] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 8.634180] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[ 10.743312] UBIFS (ubi0:1): default file-system created
[ 10.749575] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 473
[ 10.831833] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[ 10.839644] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 10.849554] UBIFS (ubi0:1): FS size: 115929088 bytes (110 MiB, 913 LEBs), journal size 5840896 bytes (5 MiB, 46 LEBs)
[ 10.860145] UBIFS (ubi0:1): reserved for root: 4952683 bytes (4836 KiB)
[ 10.866733] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID 65E39360-6CCE-4179-BCD2-67294FED1422, small LPT model
[ 10.880299] mount_root: overlay filesystem has not been fully initialized yet
[ 10.887996] mount_root: switching to ubifs overlay
[ 10.896323] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 10.998570] procd: - early -
[ 11.001668] procd: - watchdog -
[ 11.620476] procd: - ubus -
[ 11.681837] procd: - init -
Please press Enter to activate this console.
[ 11.861680] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 11.875005] Loading modules backported from Linux version wt-2016-10-03-1-g6fcb1a6
[ 11.882608] Backport generated by backports.git backports-20160324-9-g0e38f5c
[ 11.891454] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 11.902105] nf_conntrack version 0.5.0 (3983 buckets, 15932 max)
[ 12.012978] xt_time: kernel timezone is -0000
[ 12.045654] PPP generic driver version 2.4.2
[ 12.051417] NET: Registered protocol family 24
[ 12.062114] b43-phy0: Broadcom 4331 WLAN found (core revision 29)
[ 12.070207] b43-phy0: Found PHY: Analog 9, Type 7 (HT), Revision 1
[ 12.076370] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2059, Revision 0, Version 1
[ 12.090335] b43-phy1: Broadcom 4360 WLAN found (core revision 42)
[ 12.100458] b43-phy1 ERROR: FOUND UNSUPPORTED PHY (Analog 12, Type 11 (AC), Revision 1)
[ 12.108480] b43: probe of bcma2:1 failed with error -95
[ 12.113838] Broadcom 43xx driver loaded [ Features: NL ]
[ 17.868084] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 17.881819] device eth0.1 entered promiscuous mode
[ 17.886627] device eth0 entered promiscuous mode
[ 17.894572] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 17.931983] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[ 18.620220] bgmac_bcma bcma0:3 eth0: Link is Up - 1Gbps/Full - flow control off
[ 18.628235] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 18.650690] br-lan: port 1(eth0.1) entered forwarding state
[ 18.656330] br-lan: port 1(eth0.1) entered forwarding state
[ 18.662098] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[ 18.671149] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 20.650164] br-lan: port 1(eth0.1) entered forwarding state
BusyBox v1.25.1 () built-in shell (ash)
_________
/ /\ _ ___ ___ ___
/ LE / \ | | | __| \| __|
/ DE / \ | |__| _|| |) | _|
/________/ LE \ |____|___|___/|___| lede-project.org
\ \ DE /
\ LE \ / -----------------------------------------------------------
\ DE \ / Reboot (HEAD, r1967)
\________\/ -----------------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@lede:/#
root@lede:/#
root@lede:/#
root@lede:/# ifconfig
br-lan Link encap:Ethernet HWaddr 00:FF:FF:FF:FF:FF
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fda4:bcf7:d61d::1/60 Scope:Global
inet6 addr: fe80::2ff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:59 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3767 (3.6 KiB) TX bytes:4043 (3.9 KiB)
eth0 Link encap:Ethernet HWaddr 00:FF:FF:FF:FF:FF
inet6 addr: fe80::2ff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:82 errors:0 dropped:0 overruns:0 frame:0
TX packets:84 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7239 (7.0 KiB) TX bytes:11914 (11.6 KiB)
Interrupt:22
eth0.1 Link encap:Ethernet HWaddr 00:FF:FF:FF:FF:FF
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:71 errors:0 dropped:0 overruns:0 frame:0
TX packets:38 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4407 (4.3 KiB) TX bytes:4135 (4.0 KiB)
eth0.2 Link encap:Ethernet HWaddr 00:FF:FF:FF:FF:FF
inet6 addr: fe80::2ff:ffff:feff:ffff/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:5595 (5.4 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:32 errors:0 dropped:0 overruns:0 frame:0
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:2192 (2.1 KiB) TX bytes:2192 (2.1 KiB)
root@lede:/#
My own router failed:
Decompressing...done
CFE version 6.37.14.62 (r436032) based on BBP 1.0.37 for BCM947XX (32bit,SP,)
Build Date: Tue Jun 21 15:42:09 CST 2016 (li@software)
Copyright (C) 2000-2008 Broadcom Corporation.
Init Arena
Init Devs.
Boot partition size = 262144(0x40000)
DDR Clock: 400 MHz
Info: DDR frequency set from clkfreq=800,*400*
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.37.14.62 (r436032)
CPU type 0x0: 800MHz
Tot mem: 131072 KBytes
CFE mem: 0x00F00000 - 0x01791D54 (8985940)
Data: 0x00F4A3CC - 0x00F4A88C (1216)
BSS: 0x00F4A898 - 0x00F8FD54 (283836)
Heap: 0x00F8FD54 - 0x0178FD54 (8388608)
Stack: 0x0178FD54 - 0x01791D54 (8192)
Text: 0x00F00000 - 0x00F416F8 (268024)
Committing NVRAM...done
Waiting for reset button release...donDigital core power voltage set to 0.9375V
Decompressing...done
CFE version 6.37.14.62 (r436032) based on BBP 1.0.37 for BCM947XX (32bit,SP,)
Build Date: Tue Jun 21 15:42:09 CST 2016 (li@software)
Copyright (C) 2000-2008 Broadcom Corporation.
Init Arena
Init Devs.
Boot partition size = 262144(0x40000)
DDR Clock: 400 MHz
Info: DDR frequency set from clkfreq=800,*400*
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.37.14.62 (r436032)
CPU type 0x0: 800MHz
Tot mem: 131072 KBytes
CFE mem: 0x00F00000 - 0x01791D54 (8985940)
Data: 0x00F4A3CC - 0x00F4A88C (1216)
BSS: 0x00F4A898 - 0x00F8FD54 (283836)
Heap: 0x00F8FD54 - 0x0178FD54 (8388608)
Stack: 0x0178FD54 - 0x01791D54 (8192)
Text: 0x00F00000 - 0x00F416F8 (268024)
Device eth0: hwaddr 00-90-4C-0F-F4-6C, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Loader:raw Filesys:tftp Dev:eth0 File:: Options:(null)
Loading: Failed.
Could not load :: Timeout occured
Loader:raw Filesys:raw Dev:nflash0.os File: Options:(null)
Loading: .. 1539871 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.27 (wangfeng@software) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1967) ) #0 SMP Mon Oct 24 20:52:44 2016
[ 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 R6300 V2 (BCM4708)
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] PERCPU: Embedded 11 pages/cpu @c6dce000 s12928 r8192 d23936 u45056
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65280
[ 0.000000] Kernel command line: console=ttyS0,115200
[ 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: 254748K/262144K available (3202K kernel code, 102K rwdata, 1208K rodata, 220K init, 280K bss, 7396K 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 - 0xc0456e44 (4412 kB)
[ 0.000000] .init : 0xc0457000 - 0xc048e000 ( 220 kB)
[ 0.000000] .data : 0xc048e000 - 0xc04a7b2c ( 103 kB)
[ 0.000000] .bss : 0xc04a7b2c - 0xc04eddec ( 281 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:16 nr_irqs:16 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.000015] sched_clock: 64 bits at 400MHz, resolution 2ns, wraps every 4398046511103ns
[ 0.000039] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x5c4093a7d1, max_idle_ns: 440795210635 ns
[ 0.000255] Calibrating delay loop... 1594.16 BogoMIPS (lpj=7970816)
[ 0.090144] pid_max: default: 32768 minimum: 301
[ 0.090235] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.090247] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.090792] CPU: Testing write buffer coherency: ok
[ 0.091089] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.091181] Setting up static identity map for 0x82a0 - 0x82d4
[ 0.130139] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.130228] Brought up 2 CPUs
[ 0.130249] SMP: Total of 2 processors activated (3188.32 BogoMIPS).
[ 0.130259] CPU: WARNING: CPU(s) started in wrong/inconsistent modes (primary CPU mode 0x13)
[ 0.130266] CPU: This may indicate a broken bootloader or firmware.
[ 0.132571] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.132696] pinctrl core: initialized pinctrl subsystem
[ 0.133182] NET: Registered protocol family 16
[ 0.133956] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.162509] clocksource: Switched to clocksource arm_global_timer
[ 0.163864] NET: Registered protocol family 2
[ 0.164536] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.164569] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.164595] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.164692] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.164727] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.164971] NET: Registered protocol family 1
[ 0.166253] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.166456] Crashlog allocated RAM at address 0x3f00000
[ 0.172506] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.172541] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.174483] bounce: pool size: 64 pages
[ 0.174510] io scheduler noop registered
[ 0.174525] io scheduler deadline registered (default)
[ 0.175048] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.175810] console [ttyS0] disabled
[ 0.175871] 18000300.serial: ttyS0 at MMIO 0x18000300 (irq = 18, base_baud = 6250000) is a 16550
[ 0.607329] console [ttyS0] enabled
[ 0.612470] nand: Could not find valid ONFI parameter page; aborting
[ 0.618823] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[ 0.625179] nand: AMD/Spansion NAND 128MiB 3,3V 8-bit
[ 0.630216] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 0.637769] iproc_nand 18028000.nand: detected 128MiB total, 128KiB blocks, 2KiB pages, 16B OOB, 8-bit, BCH-8
[ 0.647655] Scanning device for bad blocks
[ 0.752255] Bad eraseblock 123 at 0x000000f60000
[ 1.314718] Bad eraseblock 865 at 0x000006c20000
[ 1.393633] Bad eraseblock 965 at 0x0000078a0000
[ 1.442035] mtd_read error while parsing (offset: 0x0): -74
[ 1.448041] mtd_read error while parsing (offset: 0x20000): -74
[ 1.456032] mtd_read error while parsing (offset: 0x80000): -74
[ 1.466141] random: nonblocking pool is initialized
[ 1.476237] mtd_read error while parsing (offset: 0x200000): -74
[ 1.482679] mtd_read error while parsing (offset: 0x220000): -74
[ 1.489110] mtd_read error while parsing (offset: 0x240000): -74
[ 1.495551] mtd_read error while parsing (offset: 0x260000): -74
[ 1.501997] mtd_read error while parsing (offset: 0x280000): -74
[ 1.508430] mtd_read error while parsing (offset: 0x2A0000): -74
[ 1.514870] mtd_read error while parsing (offset: 0x2C0000): -74
[ 1.521313] mtd_read error while parsing (offset: 0x2E0000): -74
[ 1.527740] mtd_read error while parsing (offset: 0x300000): -74
[ 1.534180] mtd_read error while parsing (offset: 0x320000): -74
[ 1.540624] mtd_read error while parsing (offset: 0x340000): -74
[ 1.547049] mtd_read error while parsing (offset: 0x360000): -74
[ 1.553490] mtd_read error while parsing (offset: 0x380000): -74
[ 1.559924] mtd_read error while parsing (offset: 0x3A0000): -74
[ 1.566364] mtd_read error while parsing (offset: 0x3C0000): -74
。。。
[ 7.542791] mtd_read error while parsing (offset: 0x7F00000): -74
[ 7.549277] mtd_read error while parsing (offset: 0x7F20000): -74
[ 7.555771] mtd_read error while parsing (offset: 0x7F40000): -74
[ 7.562264] mtd_read error while parsing (offset: 0x7F60000): -74
[ 7.568751] mtd_read error while parsing (offset: 0x7F80000): -74
[ 7.575244] mtd_read error while parsing (offset: 0x7FA0000): -74
[ 7.581739] mtd_read error while parsing (offset: 0x7FC0000): -74
[ 7.588227] mtd_read error while parsing (offset: 0x7FE0000): -74
[ 7.597346] libphy: Fixed MDIO Bus: probed
[ 7.601564] bgmac_bcma: Broadcom 47xx GBit MAC driver loaded
[ 7.607461] bcma: bus0: Found chip with id 53010, rev 0x00 and package 0x02
[ 7.614489] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x2A, class 0x0)
[ 7.623136] bcma: bus0: Core 1 found: Chipcommon B (manuf 0x4BF, id 0x50B, rev 0x01, class 0x0)
[ 7.631943] bcma: bus0: Core 2 found: DMA (manuf 0x4BF, id 0x502, rev 0x01, class 0x0)
[ 7.639954] bcma: bus0: Core 3 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x05, class 0x0)
[ 7.648413] bcma: bus0: Core 4 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x05, class 0x0)
[ 7.656870] bcma: bus0: Core 5 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x05, class 0x0)
[ 7.665318] bcma: bus0: Core 6 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x05, class 0x0)
[ 7.673745] bcma: bus0: Core 7 found: PCIe Gen 2 (manuf 0x4BF, id 0x501, rev 0x01, class 0x0)
[ 7.682348] bcma: bus0: Core 8 found: PCIe Gen 2 (manuf 0x4BF, id 0x501, rev 0x01, class 0x0)
[ 7.690953] bcma: bus0: Core 9 found: PCIe Gen 2 (manuf 0x4BF, id 0x501, rev 0x01, class 0x0)
[ 7.699574] bcma: bus0: Core 10 found: ARM Cortex A9 core (ihost) (manuf 0x4BF, id 0x510, rev 0x01, class 0x0)
[ 7.709653] bcma: bus0: Core 11 found: USB 2.0 (manuf 0x4BF, id 0x504, rev 0x01, class 0x0)
[ 7.718083] bcma: bus0: Core 12 found: USB 3.0 (manuf 0x4BF, id 0x505, rev 0x01, class 0x0)
[ 7.726543] bcma: bus0: Core 13 found: SDIO3 (manuf 0x4BF, id 0x503, rev 0x01, class 0x0)
[ 7.734825] bcma: bus0: Core 14 found: ARM Cortex A9 JTAG (manuf 0x4BF, id 0x506, rev 0x01, class 0x0)
[ 7.744234] bcma: bus0: Core 15 found: Denali DDR2/DDR3 memory controller (manuf 0x4BF, id 0x507, rev 0x01, class 0x0)
[ 7.755025] bcma: bus0: Core 16 found: ROM (manuf 0x4BF, id 0x508, rev 0x01, class 0x0)
[ 7.763130] bcma: bus0: Core 17 found: NAND flash controller (manuf 0x4BF, id 0x509, rev 0x01, class 0x0)
[ 7.772789] bcma: bus0: Core 18 found: SPI flash controller (manuf 0x4BF, id 0x50A, rev 0x01, class 0x0)
[ 7.782255] bcma: bus0: Flash type not supported
[ 7.788459] m25p80 spi32766.0: unrecognized JEDEC id bytes: ff, ff, ff
[ 7.795213] m25p80 spi32766.0: using Read Manufacturer / Device ID command (0x90) returned ff ff
[ 7.803995] m25p80: probe of spi32766.0 failed with error -2
[ 7.810235] bgmac_bcma bcma0:3: Found PHY addr: 0
[ 7.815011] bgmac_bcma bcma0:3: Invalid MAC addr: 00:00:00:00:00:00
[ 7.821306] bgmac_bcma bcma0:3: Using random MAC: 56:84:cf:0a:5e:9a
[ 7.829466] b53_common: found switch: BCM53011, rev 5
[ 7.835453] bgmac_bcma bcma0:4: Found PHY addr: 0
[ 7.840304] bgmac_bcma bcma0:4: Invalid MAC addr: 00:00:00:00:00:00
[ 7.846574] bgmac_bcma bcma0:4: Using random MAC: 52:c4:a1:d7:ea:1f
[ 7.854333] bgmac_bcma bcma0:5: Found PHY addr: 0
[ 7.859119] bgmac_bcma bcma0:5: Invalid MAC addr: 00:00:00:00:00:00
[ 7.865440] bgmac_bcma bcma0:5: Using random MAC: be:d9:aa:8a:83:83
[ 7.873208] bgmac_bcma bcma0:6: Unsupported core_unit 3
[ 7.878453] bgmac_bcma: probe of bcma0:6 failed with error -524
[ 7.990287] pcie_iproc_bcma bcma0:7: PCI host bridge to bus 0000:00
[ 7.996548] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fffffff]
[ 8.003431] pcie_iproc_bcma bcma0:7: link: UP
[ 8.008059] PCI: bus0: Fast back to back transfers disabled
[ 8.013639] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 8.022137] PCI: bus1: Fast back to back transfers disabled
[ 8.027754] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x080fffff]
[ 8.034546] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x08003fff 64bit]
[ 8.041846] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 8.046796] pci 0000:00:00.0: bridge window [mem 0x08000000-0x080fffff]
[ 8.160272] pcie_iproc_bcma bcma0:8: PCI host bridge to bus 0001:00
[ 8.166531] pci_bus 0001:00: root bus resource [mem 0x40000000-0x47ffffff]
[ 8.173409] pcie_iproc_bcma bcma0:8: link: UP
[ 8.178037] PCI: bus0: Fast back to back transfers disabled
[ 8.183616] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 8.192094] PCI: bus1: Fast back to back transfers disabled
[ 8.197709] pci 0001:00:00.0: BAR 8: assigned [mem 0x40000000-0x400fffff]
[ 8.204500] pci 0001:01:00.0: BAR 0: assigned [mem 0x40000000-0x40007fff 64bit]
[ 8.211801] pci 0001:00:00.0: PCI bridge to [bus 01]
[ 8.216744] pci 0001:00:00.0: bridge window [mem 0x40000000-0x400fffff]
[ 8.330288] pcie_iproc_bcma bcma0:9: PCI host bridge to bus 0002:00
[ 8.336539] pci_bus 0002:00: root bus resource [mem 0x48000000-0x4fffffff]
[ 8.343410] pcie_iproc_bcma bcma0:9: PHY or data link is INACTIVE!
[ 8.349562] pcie_iproc_bcma bcma0:9: no PCIe EP device detected
[ 8.355551] pcie_iproc_bcma bcma0:9: PCIe controller setup failed
[ 8.362902] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds, Software Timer)
[ 8.371880] bcma: bus0: Bus registered
[ 8.375785] pci 0000:00:00.0: enabling device (0140 -> 0142)
[ 8.381469] bcma-pci-bridge 0000:01:00.0: enabling device (0140 -> 0142)
[ 8.388179] bcma: bus1: Found chip with id 0x4331, rev 0x02 and package 0x08
[ 8.395239] bcma: bus1: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x25, class 0x0)
[ 8.403757] bcma: bus1: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x1D, class 0x0)
[ 8.412373] bcma: bus1: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x13, class 0x0)
[ 8.544268] bcma: bus1: Invalid SPROM read from the PCIe card, trying to use fallback SPROM
[ 8.590411] bcma: bus1: Bus registered
[ 8.594219] pci 0001:00:00.0: enabling device (0140 -> 0142)
[ 8.599866] bcma-pci-bridge 0001:01:00.0: enabling device (0140 -> 0142)
[ 8.606598] bcma: bus2: Found chip with id 0x4360, rev 0x03 and package 0x01
[ 8.613659] bcma: bus2: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x2B, class 0x0)
[ 8.622170] bcma: bus2: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x2A, class 0x0)
[ 8.630777] bcma: bus2: Core 2 found: ARM CR4 (manuf 0x4BF, id 0x83E, rev 0x02, class 0x0)
[ 8.639025] bcma: bus2: Core 3 found: PCIe Gen2 (manuf 0x4BF, id 0x83C, rev 0x01, class 0x0)
[ 8.647450] bcma: bus2: Core 4 found: USB 2.0 Device (manuf 0x4BF, id 0x81A, rev 0x11, class 0x0)
[ 8.687832] bcma: bus2: Invalid SPROM read from the PCIe card, trying to use fallback SPROM
[ 8.698786] bcma: bus2: Bus registered
[ 8.703744] NET: Registered protocol family 10
[ 8.709438] NET: Registered protocol family 17
[ 8.714009] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 8.726595] 8021q: 802.1Q VLAN Support v1.8
[ 8.730857] Registering SWP/SWPB emulation handler
[ 8.738938] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[ 8.746455] Please append a correct "root=" boot option; here are the available partitions:
[ 8.754797] 1f00 131072 mtdblock0 (driver?)
[ 8.759836] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 8.768060] CPU1: stopping
[ 8.770768] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.4.27 #0
[ 8.776660] Hardware name: BCM5301X
[ 8.780135] Backtrace:
[ 8.782606] [<c0017074>] (dump_backtrace) from [<c0017270>] (show_stack+0x18/0x1c)
[ 8.790139] r7:c7859f60 r6:00000000 r5:60000193 r4:00000000
[ 8.795827] [<c0017258>] (show_stack) from [<c017d218>] (dump_stack+0x84/0xa4)
[ 8.803024] [<c017d194>] (dump_stack) from [<c0018a58>] (handle_IPI+0xf4/0x19c)
[ 8.810295] r5:00000001 r4:c04a7ca8
[ 8.813871] [<c0018964>] (handle_IPI) from [<c000948c>] (gic_handle_irq+0x80/0x9c)
[ 8.821399] r7:c049aeec r6:c7859f60 r5:c0490708 r4:c8802100
[ 8.827067] [<c000940c>] (gic_handle_irq) from [<c000a074>] (__irq_svc+0x54/0x70)
[ 8.834516] Exception stack(0xc7859f60 to 0xc7859fa8)
[ 8.839550] 9f60: 00000000 000012ec c6dd9254 c000ae40 c048a224 c0490498 10c0387d c04a7cb0
[ 8.847689] 9f80: 0000406a 413fc090 00000000 c7859fbc c7859fc0 c7859fb0 c0014560 c0014564
[ 8.855822] 9fa0: 60000013 ffffffff
[ 8.859292] r9:413fc090 r8:0000406a r7:c7859f94 r6:ffffffff r5:60000013 r4:c0014564
[ 8.867050] [<c0014530>] (arch_cpu_idle) from [<c004fc34>] (default_idle_call+0x30/0x34)
[ 8.875104] [<c004fc04>] (default_idle_call) from [<c004fd68>] (cpu_startup_entry+0x130/0x194)
[ 8.883674] [<c004fc38>] (cpu_startup_entry) from [<c0018764>] (secondary_start_kernel+0x10c/0x128)
[ 8.892677] [<c0018658>] (secondary_start_kernel) from [<0000954c>] (0x954c)
[ 8.899685] r5:00000051 r4:0784006a
[ 8.906260] Rebooting in 1 seconds..Digital core power voltage set to 0.9375V
I change the kernel config: support software BCH ECC, nand ECC SMart Media Byte Order.
But it still failed to boot.
I can see, brcmnand_read_by_pio() function returns -74 when read oob data. Sometimes OK, and sometimes failed when nand_do_read_oob() called.
After flashing broadcom sdk firmware, my router print :
Northstar brcmnand NAND Flash Controller driver, Version 0.1 (c) Broadcom Inc. 2012
NAND device: Manufacturer ID: 0x01, Chip ID: 0xf1 (AMD NAND 128MiB 3,3V 8-bit)
Spare area=64 eccbytes 8, ecc bytes located at:
14 15 30 31 46 47 62 63
Available 55 bytes at (off,len):
(1,13) (16,14) (32,14) (48,14) (0,0) (0,0) (0,0) (0,0)
Scanning device for bad blocks
The brcmnand.c file is very different between chaos calmer and lede. Both two open source code can boot the netgear r6300v2, but not my new BCM4708 device.