Finally got to boot all the way into user land for the DIR-868L! Woo-hoo!
The .dts used to boot, as well as the boot log shown below:
/*
* Broadcom BCM470X / BCM5301X ARM platform code.
* DTS for D-Link DIR-868L
*
* Copyright (C) 2015 Rafał Miłecki <zajec5@gmail.com>
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
* AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
/dts-v1/;
#include "bcm4708.dtsi"
#include "bcm5301x-nand-cs0-bch8.dtsi"
/ {
compatible = "dlink,dir-868l", "brcm,bcm4708";
model = "D-Link DIR-868L (BCM4708)";
chosen {
bootargs = "console=ttyS0,115200";
};
memory {
reg = <0x00000000 0x08000000
0x88000000 0x08000000>;
};
nand: nand@18028000 {
nandcs@0 {
firmware@0x0 {
label = "firmware";
reg = <0x00000000 0x02000000>;
};
};
};
leds {
compatible = "gpio-leds";
power-amber {
label = "bcm53xx:amber:power";
gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>;
linux,default-trigger = "default-on";
};
wan-amber {
label = "bcm53xx:amber:wan";
gpios = <&chipcommon 1 GPIO_ACTIVE_LOW>;
};
power-green {
label = "bcm53xx:gree:power";
gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>;
};
wan-green {
label = "bcm53xx:green:wan";
gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>;
};
};
gpio-keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
wps {
label = "WPS";
linux,code = <KEY_WPS_BUTTON>;
gpios = <&chipcommon 7 GPIO_ACTIVE_LOW>;
};
restart {
label = "Reset";
linux,code = <KEY_RESTART>;
gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
};
};
};
&usb3 {
vcc-gpio = <&chipcommon 10 GPIO_ACTIVE_HIGH>;
};
&spi_nor {
status = "okay";
};
&mdio {
status = "okay";
};
==================
Serial console boot log:
SVN revision: 810
Decompressing...done
R 1.13
07DC06011801080000000000001A103F01000000
S3004029B
00001F50
00000004
00000046
0000003100000031
SVN revision: 810
Decompressing...done
Found a ST compatible (Marconix) serial flash with 32 64KB blocks; total size 2MB
CFE version 6.30.163.18 (r377098) based on BBP 1.0.37 for BCM947XX (32bit,SP,)
Build Date: Fri Mar 8 14:09:35 CST 2013 (tom_lin@RangeRover)
Copyright (C) 2000-2008 Broadcom Corporation.
Init Arena
Init Devs.
Boot partition size = 262144(0x40000)
Found a AMD NAND flash:
Total size: 128MB
Block size: 128KB
Page Size: 2048B
OOB Size: 64B
Sector size: 512B
Spare size: 16B
ECC level: 8-bit
Device ID: 0x01 0xf1 0x80 0x1d 0x01
DDR Clock: 533 MHz
Info: DDR frequency set from clkfreq=800,*533*
et0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 6.30.163.18 (r377098)
CPU type 0x0: 800MHz
Tot mem: 262144 KBytes
CFE mem: 0x00F00000 - 0x01092CA4 (1649828)
Data: 0x00F5A758 - 0x00F5AC9C (1348)
BSS: 0x00F5ACA8 - 0x00F90CA4 (221180)
Heap: 0x00F90CA4 - 0x01090CA4 (1048576)
Stack: 0x01090CA4 - 0x01092CA4 (8192)
Text: 0x00F00000 - 0x00F4F474 (324724)
Boot: 0x01093000 - 0x010D3000
Reloc: I:00000000 - D:00000000
Board Name: WRGAC02
SVN revision: 810
We disable the arp for self.
emergency web server running ...
We disable the arp for self.
Device eth0: hwaddr E8-CC-18-XX-XX-XX, ipaddr 192.168.0.1, mask 255.255.255.0
gateway not set, nameserver not set
[ALPHA] PRESS Ctrl-C TO ENTER EMERGENCY MODE ...
Loader:raw Filesys:tftp Dev:eth0 File:: Options:(null)
Loading: Failed.
Could not load :: Timeout occured
Dest=00008000, source =02000000, filename=nflash1.trx
verify_seama: data=0x02000000, size=6946820
SEAMA ==========================================
magic : 5ea3a417
meta size : 36 bytes
meta data : dev=/dev/mtdblock/7
meta data : type=firmware
meta data :
meta data :
image size : 6946756 bytes
verify_seama: signature=[(null)], type=[firmware]
checksum : 5D85CFAE00A709668E84E6CFC277029D
digest : 5D85CFAE00A709668E84E6CFC277029D
Selected !!!
================================================
seama check OK!!
insize = 2097152, out size =8388608
uncompressed size = 1615235
lzma decompress success !
Closing network.
emergency web server closing ...
Starting program at 0x00008000
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.40 (xxx@dxxx) (gcc version 5.4.0 (LEDE GCC 5.4.0 r4659-b87b473) ) #0 SMP Tue Aug 8 19:34:16 2017
[ 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] OF: fdt:Machine model: D-Link DIR-868L (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 12 pages/cpu @c6dd8000 s17932 r8192 d23028 u49152
[ 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: 254740K/262144K available (3507K kernel code, 106K rwdata, 920K rodata, 228K init, 293K bss, 7404K 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 - 0xc03750b8 (3509 kB)
[ 0.000000] .init : 0xc045d000 - 0xc0496000 ( 228 kB)
[ 0.000000] .data : 0xc0496000 - 0xc04b0940 ( 107 kB)
[ 0.000000] .bss : 0xc04b0940 - 0xc04f9d60 ( 294 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 erratum 769419 enabled
[ 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.000016] sched_clock: 64 bits at 400MHz, resolution 2ns, wraps every 4398046511103ns
[ 0.000041] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x5c4093a7d1, max_idle_ns: 440795210635 ns
[ 0.000071] Switching to timer-based delay loop, resolution 2ns
[ 0.000285] Calibrating delay loop (skipped), value calculated using timer frequency.. 800.00 BogoMIPS (lpj=4000000)
[ 0.000302] pid_max: default: 32768 minimum: 301
[ 0.000398] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000409] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000972] CPU: Testing write buffer coherency: ok
[ 0.001274] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.001331] Setting up static identity map for 0x82a0 - 0x82d4
[ 0.003079] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.003187] Brought up 2 CPUs
[ 0.003209] SMP: Total of 2 processors activated (1600.00 BogoMIPS).
[ 0.003219] CPU: WARNING: CPU(s) started in wrong/inconsistent modes (primary CPU mode 0x13)
[ 0.003225] CPU: This may indicate a broken bootloader or firmware.
[ 0.005655] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.005684] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.005825] pinctrl core: initialized pinctrl subsystem
[ 0.006255] NET: Registered protocol family 16
[ 0.007014] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.052600] clocksource: Switched to clocksource arm_global_timer
[ 0.054026] NET: Registered protocol family 2
[ 0.054701] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.054731] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.054757] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.054829] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.054864] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.055058] NET: Registered protocol family 1
[ 0.056253] Crashlog allocated RAM at address 0x3f00000
[ 0.056799] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[ 0.061710] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.061734] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.064030] bounce: pool size: 64 pages
[ 0.064049] io scheduler noop registered
[ 0.064058] io scheduler deadline registered (default)
[ 0.064678] bcm_ns_usb3 18105000.usb3-phy: Registered Broadcom Northstar USB 3.0 PHY driver
[ 0.065307] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.066136] console [ttyS0] disabled
[ 0.066204] 18000300.serial: ttyS0 at MMIO 0x18000300 (irq = 18, base_baud = 6250000) is a 16550
[ 0.541005] console [ttyS0] enabled
[ 0.545955] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[ 0.552327] nand: AMD/Spansion S34ML01G2
[ 0.556244] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 0.563816] iproc_nand 18028000.nand: detected 128MiB total, 128KiB blocks, 2KiB pages, 16B OOB, 8-bit, BCH-8
[ 0.573710] Scanning device for bad blocks
[ 0.601231] random: fast init done
[ 1.686608] 1 ofpart partitions found on MTD device brcmnand.0
[ 1.692437] Creating 1 MTD partitions on "brcmnand.0":
[ 1.697557] 0x000000000000-0x000002000000 : "firmware"
[ 1.716644] 2 seama-fw partitions found on MTD device firmware
[ 1.722496] 0x000000000040-0x000000400000 : "kernel"
[ 1.728437] 0x000000400000-0x000002000000 : "ubi"
[ 1.735853] libphy: Fixed MDIO Bus: probed
[ 1.740131] bgmac_bcma: Broadcom 47xx GBit MAC driver loaded
[ 1.746379] bcma: bus0: Found chip with id 53010, rev 0x00 and package 0x02
[ 1.753426] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x2A, class 0x0)
[ 1.762088] bcma: bus0: Core 1 found: Chipcommon B (manuf 0x4BF, id 0x50B, rev 0x01, class 0x0)
[ 1.770910] bcma: bus0: Core 2 found: DMA (manuf 0x4BF, id 0x502, rev 0x01, class 0x0)
[ 1.779005] bcma: bus0: Core 3 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x05, class 0x0)
[ 1.787537] bcma: bus0: Core 4 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x05, class 0x0)
[ 1.796057] bcma: bus0: Core 5 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x05, class 0x0)
[ 1.804587] bcma: bus0: Core 6 found: GBit MAC (manuf 0x4BF, id 0x82D, rev 0x05, class 0x0)
[ 1.813026] bcma: bus0: Core 7 found: PCIe Gen 2 (manuf 0x4BF, id 0x501, rev 0x01, class 0x0)
[ 1.821649] bcma: bus0: Core 8 found: PCIe Gen 2 (manuf 0x4BF, id 0x501, rev 0x01, class 0x0)
[ 1.830332] bcma: bus0: Core 9 found: PCIe Gen 2 (manuf 0x4BF, id 0x501, rev 0x01, class 0x0)
[ 1.838975] bcma: bus0: Core 10 found: ARM Cortex A9 core (ihost) (manuf 0x4BF, id 0x510, rev 0x01, class 0x0)
[ 1.849113] bcma: bus0: Core 11 found: USB 2.0 (manuf 0x4BF, id 0x504, rev 0x01, class 0x0)
[ 1.857602] bcma: bus0: Core 12 found: USB 3.0 (manuf 0x4BF, id 0x505, rev 0x01, class 0x0)
[ 1.866081] bcma: bus0: Core 13 found: SDIO3 (manuf 0x4BF, id 0x503, rev 0x01, class 0x0)
[ 1.874385] bcma: bus0: Core 14 found: ARM Cortex A9 JTAG (manuf 0x4BF, id 0x506, rev 0x01, class 0x0)
[ 1.883814] bcma: bus0: Core 15 found: Denali DDR2/DDR3 memory controller (manuf 0x4BF, id 0x507, rev 0x01, class 0x0)
[ 1.894620] bcma: bus0: Core 16 found: ROM (manuf 0x4BF, id 0x508, rev 0x01, class 0x0)
[ 1.902784] bcma: bus0: Core 17 found: NAND flash controller (manuf 0x4BF, id 0x509, rev 0x01, class 0x0)
[ 1.912460] bcma: bus0: Core 18 found: SPI flash controller (manuf 0x4BF, id 0x50A, rev 0x01, class 0x0)
[ 1.921931] bcma: bus0: Flash type not supported
[ 1.928089] m25p80 spi32766.0: mx25l1606e (2048 Kbytes)
[ 1.949251] 3 bcm47xxpart partitions found on MTD device spi32766.0
[ 1.955505] Creating 3 MTD partitions on "spi32766.0":
[ 1.960637] 0x000000000000-0x0000001e0000 : "boot"
[ 1.966442] 0x0000001e0000-0x0000001f0000 : "nvram"
[ 1.972323] 0x0000001f0000-0x000000200000 : "nvram"
[ 2.074498] bgmac_bcma bcma0:3: Found PHY addr: 30 (NOREGS)
[ 2.080067] bgmac_bcma bcma0:3: Support for Roboswitch not implemented
[ 2.089022] b53_common: found switch: BCM53011, rev 5
[ 2.095035] bgmac_bcma bcma0:4: Found PHY addr: 0
[ 2.099738] bgmac_bcma bcma0:4: Support for Roboswitch not implemented
[ 2.106275] bgmac_bcma bcma0:4: Invalid MAC addr: 00:00:00:00:00:00
[ 2.112532] bgmac_bcma bcma0:4: Using random MAC: 0e:b9:dd:f3:cc:44
[ 2.120802] bgmac_bcma bcma0:5: Found PHY addr: 0
[ 2.125505] bgmac_bcma bcma0:5: Support for Roboswitch not implemented
[ 2.132066] bgmac_bcma bcma0:5: Invalid MAC addr: 00:00:00:00:00:00
[ 2.138310] bgmac_bcma bcma0:5: Using random MAC: 5e:a9:97:34:7f:02
[ 2.146570] bgmac_bcma bcma0:6: Unsupported core_unit 3
[ 2.151883] bgmac_bcma: probe of bcma0:6 failed with error -524
[ 2.270324] pcie_iproc_bcma bcma0:7: PCI host bridge to bus 0000:00
[ 2.276580] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fffffff]
[ 2.283458] pcie_iproc_bcma bcma0:7: link: UP
[ 2.288094] PCI: bus0: Fast back to back transfers disabled
[ 2.293674] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 2.302192] PCI: bus1: Fast back to back transfers disabled
[ 2.307805] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x080fffff]
[ 2.314595] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x08003fff 64bit]
[ 2.321895] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 2.326844] pci 0000:00:00.0: bridge window [mem 0x08000000-0x080fffff]
[ 2.450319] pcie_iproc_bcma bcma0:8: PCI host bridge to bus 0001:00
[ 2.456575] pci_bus 0001:00: root bus resource [mem 0x40000000-0x47ffffff]
[ 2.463451] pcie_iproc_bcma bcma0:8: link: UP
[ 2.468087] PCI: bus0: Fast back to back transfers disabled
[ 2.473669] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 2.482141] PCI: bus1: Fast back to back transfers disabled
[ 2.487748] pci 0001:00:00.0: BAR 8: assigned [mem 0x40000000-0x400fffff]
[ 2.494538] pci 0001:01:00.0: BAR 0: assigned [mem 0x40000000-0x40007fff 64bit]
[ 2.501838] pci 0001:00:00.0: PCI bridge to [bus 01]
[ 2.506790] pci 0001:00:00.0: bridge window [mem 0x40000000-0x400fffff]
[ 2.630285] pcie_iproc_bcma bcma0:9: PCI host bridge to bus 0002:00
[ 2.636537] pci_bus 0002:00: root bus resource [mem 0x48000000-0x4fffffff]
[ 2.643408] pcie_iproc_bcma bcma0:9: PHY or data link is INACTIVE!
[ 2.649560] pcie_iproc_bcma bcma0:9: no PCIe EP device detected
[ 2.655546] pcie_iproc_bcma bcma0:9: PCIe controller setup failed
[ 2.664167] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds, Software Timer)
[ 2.673140] bcma: bus0: Bus registered
[ 2.677044] pci 0000:00:00.0: enabling device (0140 -> 0142)
[ 2.682732] bcma-pci-bridge 0000:01:00.0: enabling device (0140 -> 0142)
[ 2.689449] bcma: bus1: Found chip with id 0x4331, rev 0x02 and package 0x08
[ 2.696512] bcma: bus1: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x25, class 0x0)
[ 2.705028] bcma: bus1: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x1D, class 0x0)
[ 2.713644] bcma: bus1: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x13, class 0x0)
[ 2.845583] bcma: bus1: Invalid SPROM read from the PCIe card, trying to use fallback SPROM
[ 2.990499] bcma: bus1: Bus registered
[ 2.994313] pci 0001:00:00.0: enabling device (0140 -> 0142)
[ 2.999958] bcma-pci-bridge 0001:01:00.0: enabling device (0140 -> 0142)
[ 3.006713] bcma: bus2: Found chip with id 0x4360, rev 0x03 and package 0x01
[ 3.013773] bcma: bus2: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x2B, class 0x0)
[ 3.022287] bcma: bus2: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x2A, class 0x0)
[ 3.030898] bcma: bus2: Core 2 found: ARM CR4 (manuf 0x4BF, id 0x83E, rev 0x02, class 0x0)
[ 3.039146] bcma: bus2: Core 3 found: PCIe Gen2 (manuf 0x4BF, id 0x83C, rev 0x01, class 0x0)
[ 3.047569] bcma: bus2: Core 4 found: USB 2.0 Device (manuf 0x4BF, id 0x81A, rev 0x11, class 0x0)
[ 3.087994] bcma: bus2: Invalid SPROM read from the PCIe card, trying to use fallback SPROM
[ 3.118885] bcma: bus2: Bus registered
[ 3.123549] NET: Registered protocol family 10
[ 3.129445] NET: Registered protocol family 17
[ 3.133997] 8021q: 802.1Q VLAN Support v1.8
[ 3.138234] Registering SWP/SWPB emulation handler
[ 3.145306] UBI: auto-attach mtd2
[ 3.148638] ubi0: attaching mtd2
[ 3.252873] ubi0: scanning is finished
[ 3.286956] ubi0: volume 1 ("rootfs_data") re-sized from 9 to 181 LEBs
[ 3.294089] ubi0: attached mtd2 (name "ubi", size 28 MiB)
[ 3.299470] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 3.306341] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 3.313106] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 3.320032] ubi0: good PEBs: 224, bad PEBs: 0, corrupted PEBs: 0
[ 3.326021] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[ 3.333218] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 389068700
[ 3.342227] ubi0: available PEBs: 0, total reserved PEBs: 224, PEBs reserved for bad PEB handling: 20
[ 3.351431] ubi0: background thread "ubi_bgt0d" started, PID 377
[ 3.358209] block ubiblock0_0: created from ubi0:0(rootfs)
[ 3.363742] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[ 3.382664] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 3.390136] Freeing unused kernel memory: 228K (c045d000 - c0496000)
[ 3.396544] This architecture does not have kernel memory protection.
[ 3.532993] random: crng init done
[ 3.974067] init: Console is alive
[ 3.977853] init: - watchdog -
[ 4.377987] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 4.426597] usbcore: registered new interface driver usbfs
[ 4.432243] usbcore: registered new interface driver hub
[ 4.437635] usbcore: registered new device driver usb
[ 4.445990] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.453416] ehci-platform: EHCI generic platform driver
[ 4.458919] ehci-platform 18021000.ehci: EHCI Host Controller
[ 4.464749] ehci-platform 18021000.ehci: new USB bus registered, assigned bus number 1
[ 4.472855] ehci-platform 18021000.ehci: irq 30, io mem 0x18021000
[ 4.500202] ehci-platform 18021000.ehci: USB 2.0 started, EHCI 1.00
[ 4.507188] hub 1-0:1.0: USB hub found
[ 4.511028] hub 1-0:1.0: 2 ports detected
[ 4.516922] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 4.523910] ohci-platform: OHCI generic platform driver
[ 4.529371] ohci-platform 18022000.ohci: Generic Platform OHCI controller
[ 4.536198] ohci-platform 18022000.ohci: new USB bus registered, assigned bus number 2
[ 4.544237] ohci-platform 18022000.ohci: irq 30, io mem 0x18022000
[ 4.625008] hub 2-0:1.0: USB hub found
[ 4.628798] hub 2-0:1.0: 2 ports detected
[ 4.637910] xhci-hcd 18023000.xhci: xHCI Host Controller
[ 4.643285] xhci-hcd 18023000.xhci: new USB bus registered, assigned bus number 3
[ 4.651083] xhci-hcd 18023000.xhci: hcc params 0x02501164 hci version 0x100 quirks 0x20010010
[ 4.659624] xhci-hcd 18023000.xhci: irq 31, io mem 0x18023000
[ 4.666125] hub 3-0:1.0: USB hub found
[ 4.669917] hub 3-0:1.0: config failed, hub doesn't have any ports! (err -19)
[ 4.677284] xhci-hcd 18023000.xhci: xHCI Host Controller
[ 4.682623] xhci-hcd 18023000.xhci: new USB bus registered, assigned bus number 4
[ 4.700299] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 4.709020] hub 4-0:1.0: USB hub found
[ 4.712854] hub 4-0:1.0: 1 port detected
[ 4.723526] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 4.743334] init: - preinit -
[ 5.608779] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 5.614815] 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
[ 6.700235] bgmac_bcma bcma0:3 eth0: Link is Up - 1Gbps/Full - flow control off
[ 6.707557] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 6.714132] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[ 7.785616] UBIFS (ubi0:1): default file-system created
[ 7.791909] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 530
[ 7.872682] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[ 7.880527] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 7.890409] UBIFS (ubi0:1): FS size: 21712896 bytes (20 MiB, 171 LEBs), journal size 1142784 bytes (1 MiB, 9 LEBs)
[ 7.900719] UBIFS (ubi0:1): reserved for root: 1025553 bytes (1001 KiB)
[ 7.907308] UBIFS (ubi0:1): media format: w4/r0 (latest is w4/r0), UUID 01ED6976-B13B-49D2-B204-870049E0D164, small LPT model
[ 7.920912] mount_root: overlay filesystem has not been fully initialized yet
[ 7.928625] mount_root: switching to ubifs overlay
[ 7.943923] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 8.035817] procd: - early -
[ 8.038766] procd: - watchdog -
[ 8.663203] procd: - watchdog -
[ 8.666585] procd: - ubus -
[ 8.724551] procd: - init -
Please press Enter to activate this console.
[ 8.883900] kmodloader: loading kernel modules from /etc/modules.d/*
[ 8.893797] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 8.906904] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
[ 8.914913] Backport generated by backports.git backports-20160324-13-g24da7d3c
[ 8.923867] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 8.934072] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[ 8.966449] xt_time: kernel timezone is -0000
[ 8.985054] PPP generic driver version 2.4.2
[ 8.990479] NET: Registered protocol family 24
[ 9.001304] usbcore: registered new interface driver brcmfmac
[ 9.009695] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 13.620400] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 13.626330] bgmac_bcma bcma0:3 eth0: Link is Up - 1Gbps/Full - flow control off
[ 13.645947] br-lan: port 1(eth0.1) entered blocking state
[ 13.651484] br-lan: port 1(eth0.1) entered disabled state
[ 13.657308] device eth0.1 entered promiscuous mode
[ 13.662175] device eth0 entered promiscuous mode
[ 13.690287] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 13.736922] br-lan: port 1(eth0.1) entered blocking state
[ 13.742414] br-lan: port 1(eth0.1) entered forwarding state
BusyBox v1.26.2 () built-in shell (ash)
_________
/ /\ _ ___ ___ ___
/ LE / \ | | | __| \| __|
/ DE / \ | |__| _|| |) | _|
/________/ LE \ |____|___|___/|___| lede-project.org
\ \ DE /
\ LE \ / -----------------------------------------------------------
\ DE \ / Reboot (SNAPSHOT, r4659-b87b473)
\________\/ -----------------------------------------------------------
=== 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:/# lsmod
bcma_hcd 2001 0
brcmfmac 176995 0
brcmutil 4433 1 brcmfmac
cfg80211 217029 1 brcmfmac
compat 731 2 brcmfmac,cfg80211
crc_ccitt 1067 1 ppp_async
ehci_hcd 31358 1 ehci_platform
ehci_platform 4332 0
gpio_button_hotplug 6020 0
ip_tables 9751 3 iptable_nat,iptable_mangle,iptable_filter
ip6_tables 9493 2 ip6table_mangle,ip6table_filter
ip6t_REJECT 1004 2
ip6table_filter 830 1
ip6table_mangle 1214 1
ipt_MASQUERADE 818 1
ipt_REJECT 1002 2
iptable_filter 892 1
iptable_mangle 1020 1
iptable_nat 1105 1
leds_gpio 2643 0
ledtrig_usbport 2575 0
mmc_block 22922 0
mmc_core 78284 2 brcmfmac,mmc_block
nf_conntrack 57174 8 nf_conntrack_ipv6,xt_state,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_nat_ipv4,nf_nat,nf_conntrack_rtcache
nf_conntrack_ipv4 5251 10
nf_conntrack_ipv6 5628 5
nf_conntrack_rtcache 2642 0
nf_defrag_ipv4 892 1 nf_conntrack_ipv4
nf_defrag_ipv6 12884 1 nf_conntrack_ipv6
nf_log_common 2319 2 nf_log_ipv4,nf_log_ipv6
nf_log_ipv4 3126 0
nf_log_ipv6 3319 0
nf_nat 9916 4 xt_nat,nf_nat_redirect,nf_nat_masquerade_ipv4,nf_nat_ipv4
nf_nat_ipv4 3335 1 iptable_nat
nf_nat_masquerade_ipv4 1549 1 ipt_MASQUERADE
nf_nat_redirect 987 1 xt_REDIRECT
nf_reject_ipv4 1859 1 ipt_REJECT
nf_reject_ipv6 2120 1 ip6t_REJECT
nls_base 5142 1 usbcore
ohci_hcd 21563 1 ohci_platform
ohci_platform 3656 0
ppp_async 6353 0
ppp_generic 20720 3 pppoe,ppp_async,pppox
pppoe 7863 0
pppox 1383 1 pppoe
slhc 4050 1 ppp_generic
usb_common 2423 1 usbcore
usbcore 119794 9 brcmfmac,ledtrig_usbport,xhci_plat_hcd,xhci_pci,xhci_hcd,ohci_platform,ohci_hcd,ehci_platform,ehci_hcd
x_tables 11116 22 ipt_REJECT,ipt_MASQUERADE,xt_time,xt_tcpudp,xt_state,xt_nat,xt_multiport,xt_mark,xt_mac,xt_limit,xt_conntrack,xt_comment,xt_TCPMSS,xt_REDIRECT,xt_LOG,iptable_mangle,iptable_filter,ip_tables,ip6t_REJECT,ip6table_mangle,ip6table_filter,ip6_tables
xhci_hcd 78072 2 xhci_plat_hcd,xhci_pci
xhci_pci 2708 0
xhci_plat_hcd 4866 0
xt_LOG 963 0
xt_REDIRECT 949 0
xt_TCPMSS 2664 2
xt_comment 587125
xt_conntrack 2456 14
xt_limit 1165 20
xt_mac 711 0
xt_mark 800 0
xt_multiport 1364 0
xt_nat 1437 0
xt_state 905 0
xt_tcpudp 1880 10
xt_time 1702 0
root@LEDE:/#
root@LEDE:/# cat /proc/mtd
dev: size erasesize name
mtd0: 02000000 00020000 "firmware"
mtd1: 003fffc0 00020000 "kernel"
mtd2: 01c00000 00020000 "ubi"
mtd3: 001e0000 00010000 "boot"
mtd4: 00010000 00010000 "nvram"
mtd5: 00010000 00010000 "nvram"
root@LEDE:/#
root@LEDE:/#