Openwrt for Linksys EA8100

Version 5.1 by Leon Poon on 2019/02/16 05:58

switch0: port 0 = wan, port 1,2,3,4 = lan

https://github.com/LeonPoon/openwrt/compare/master...master-linksys_ea8100

b90086cc98a15a2774382b691f1249f4ad11a1c7:

<code>check env def auto_recovery no
check env def auto_recovery yes
check env def boot_part 1
check env def boot_part_ready 3
enabled:1, boot_part:2, boot_part_ready:3
..nand read ret = 0x20000
boot_count:1, next_record:4
boot_count:1, next_record:4

3: System Boot system code via Flash.
## Booting image at be980000 ...
   Image Name:   MIPS OpenWrt Linux-4.14.101
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1908285 Bytes =  1.8 MB
   Load Address: 80001000
   Entry Point:  80001000
..............................   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 256

Starting kernel ...

[    0.000000] Linux version 4.14.101 () (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r9033-cbee2131d6)) #0 SMP Sat Feb 16 05:28:27 2019
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is Linksys EA8100
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 10000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] random: get_random_bytes called from start_kernel+0x90/0x4a4 with crng_init=0
[    0.000000] percpu: Embedded 14 pages/cpu @8120f000 s26192 r8192 d22960 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Writing ErrCtl register=0002c42c
[    0.000000] Readback ErrCtl register=0002c42c
[    0.000000] Memory: 253304K/262144K available (4502K kernel code, 233K rwdata, 1000K rodata, 268K init, 248K bss, 8840K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS: 256
[    0.000000] CPU Clock: 880MHz
[    0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.000009] sched_clock: 32 bits at 440MHz, resolution 2ns, wraps every 4880645118ns
[    0.007805] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.073978] pid_max: default: 32768 minimum: 301
[    0.078744] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.085252] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.094034] Hierarchical SRCU implementation.
[    0.099185] smp: Bringing up secondary CPUs ...
[    0.109505] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.109515] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.109526] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.109664] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.163934] Synchronize counters for CPU 1: done.
[    0.203356] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.203365] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.203372] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.203446] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.255085] Synchronize counters for CPU 2: done.
[    0.290669] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.290678] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.290686] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.290767] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.340270] Synchronize counters for CPU 3: done.
[    0.370137] smp: Brought up 1 node, 4 CPUs
[    0.377732] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.387523] futex hash table entries: 1024 (order: 3, 32768 bytes)
[    0.393811] pinctrl core: initialized pinctrl subsystem
[    0.400270] NET: Registered protocol family 16
[    0.423063] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.428878] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.434658] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.442956] clocksource: Switched to clocksource GIC
[    0.449425] NET: Registered protocol family 2
[    0.454419] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.461303] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    0.467778] TCP: Hash tables configured (established 2048 bind 2048)
[    0.474212] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.479979] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.486452] NET: Registered protocol family 1
[    0.722896] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    0.729302] Crashlog allocated RAM at address 0x3f00000
[    0.734701] workingset: timestamp_bits=30 max_order=16 bucket_order=0
[    0.748195] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.753975] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.765554] random: fast init done
[    0.770526] io scheduler noop registered
[    0.774396] io scheduler deadline registered (default)
[    0.780409] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.788106] console [ttyS0] disabled
[    0.791645] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
[    0.800653] console [ttyS0] enabled
[    0.800653] console [ttyS0] enabled
[    0.807523] bootconsole [early0] disabled
[    0.807523] bootconsole [early0] disabled
[    0.816146] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.823038] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    0.830119] Enable NFI Clock
[    0.833044] # MTK NAND # : Use HW ECC
[    0.836708] Device not found, ID: c2f1
[    0.840433] Not Support this Device!
[    0.844177] chip_mode=00000001
[    0.847217] Support this Device in MTK table! c2f1
[    0.852163] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[    0.858632] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
[    0.864966] nand: Macronix NAND 128MiB 3,3V 8-bit
[    0.869648] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.877212] Scanning device for bad blocks
[    0.898080] Bad eraseblock 71 at 0x0000008e0000
[    0.967695] Bad eraseblock 349 at 0x000002ba0000
[    0.978049] Bad eraseblock 374 at 0x000002ec0000
[    0.987933] Bad eraseblock 397 at 0x0000031a0000
[    1.006268] Bad eraseblock 456 at 0x000003900000
[    1.021533] Bad eraseblock 502 at 0x000003ec0000
[    1.034940] Bad eraseblock 540 at 0x000004380000
[    1.050681] Bad eraseblock 588 at 0x000004980000
[    1.107262] Bad eraseblock 810 at 0x000006540000
[    1.129339] Bad eraseblock 885 at 0x000006ea0000
[    1.166421] 7 fixed-partitions partitions found on MTD device MT7621-NAND
[    1.173195] Creating 7 MTD partitions on "MT7621-NAND":
[    1.178405] 0x000000000000-0x000000080000 : "uboot"
[    1.184240] 0x000000080000-0x0000000c0000 : "uboot_env"
[    1.190298] 0x0000000c0000-0x000000100000 : "factory"
[    1.196219] 0x000000100000-0x000000140000 : "s_env"
[    1.201900] 0x000000140000-0x000000180000 : "devinfo"
[    1.207850] 0x000000180000-0x000002980000 : "firmware1"
[    1.216116] 0x000002980000-0x000005180000 : "firmware2"
[    1.223224] 1 uboot-env-boot_part partitions found on MTD device firmware2
[    1.230090] 0x000002980000-0x000005180000 : "firmware"
[    1.784436] 2 uimage-fw partitions found on MTD device firmware
[    1.790355] 0x000002980000-0x000002b60000 : "kernel"
[    1.796251] 0x000002b60000-0x000005180000 : "ubi"
[    1.802130] [mtk_nand] probe successfully!
[    1.806957] Signature matched and data read!
[    1.811205] load_fact_bbt success 1023
[    1.815701] libphy: Fixed MDIO Bus: probed
[    1.885315] mtd_read_prop_mac: find prop "hw_mac_addr" in devinfo(max 0x40000) from 0x0
[    1.893332] mtd_read_prop_mac: hw_mac_addr=XX:YY:ZZ:00:11:33
[    1.899142] libphy: mdio: probed
[    3.302014] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    3.308669] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[    3.319426] NET: Registered protocol family 10
[    3.325219] Segment Routing with IPv6
[    3.328949] NET: Registered protocol family 17
[    3.333457] 8021q: 802.1Q VLAN Support v1.8
[    3.340506] UBI: auto-attach mtd9
[    3.343893] ubi0: attaching mtd9
[    3.363286] UBI: EOF marker found, PEBs from 15 will be erased
[    3.369474] ubi0: scanning is finished
[    3.411360] ubi0: volume 1 ("rootfs_data") re-sized from 9 to 269 LEBs
[    3.418731] ubi0: attached mtd9 (name "ubi", size 38 MiB)
[    3.424164] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    3.431006] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    3.437780] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.444725] ubi0: good PEBs: 298, bad PEBs: 7, corrupted PEBs: 0
[    3.450701] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    3.457906] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1203044710
[    3.467015] ubi0: available PEBs: 0, total reserved PEBs: 298, PEBs reserved for bad PEB handling: 13
[    3.476230] ubi0: background thread "ubi_bgt0d" started, PID 359
[    3.477972] block ubiblock0_0: created from ubi0:0(rootfs)
[    3.487716] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    3.494673] hctosys: unable to open rtc device (rtc0)
[    3.519930] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    3.527684] Freeing unused kernel memory: 268K
[    3.532122] This architecture does not have kernel memory protection.
[    4.017012] init: Console is alive
[    4.020616] init: - watchdog -
[    4.354210] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.443714] usbcore: registered new interface driver usbfs
[    4.449260] usbcore: registered new interface driver hub
[    4.454739] usbcore: registered new device driver usb
[    4.467426] SCSI subsystem initialized
[    4.480878] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vbus not found, using dummy regulator
[    4.489588] xhci-mtk 1e1c0000.xhci: 1e1c0000.xhci supply vusb33 not found, using dummy regulator
[    4.498507] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    4.503843] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    4.523114] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000210010
[    4.532283] xhci-mtk 1e1c0000.xhci: irq 19, io mem 0x1e1c0000
[    4.538971] hub 1-0:1.0: USB hub found
[    4.542796] hub 1-0:1.0: 2 ports detected
[    4.547400] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    4.552722] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    4.560210] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0  SuperSpeed
[    4.560493] mtk_soc_eth 1e100000.ethernet eth0: port 4 link up
[    4.566816] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.581320] hub 2-0:1.0: USB hub found
[    4.585161] hub 2-0:1.0: 1 port detected
[    4.593449] usbcore: registered new interface driver usb-storage
[    4.599693] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.623240] init: - preinit -
[    5.073028] usb 1-2: new high-speed USB device number 2 using xhci-mtk
[    5.221107] mtk_soc_eth 1e100000.ethernet: PPE started
[    5.255985] usb-storage 1-2:1.0: USB Mass Storage device detected
[    5.262845] scsi host0: usb-storage 1-2:1.0
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
[    5.312718] random: procd: uninitialized urandom read (4 bytes read)
[    6.273781] scsi 0:0:0:0: Direct-Access     SanDisk  Ultra Fit        1.00 PQ: 0 ANSI: 6
[    6.283479] sd 0:0:0:0: [sda] 60063744 512-byte logical blocks: (30.8 GB/28.6 GiB)
[    6.291556] sd 0:0:0:0: [sda] Write Protect is off
[    6.297040] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    6.313010] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    8.450677] UBIFS (ubi0:1): default file-system created
[    8.457372] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 474
[    8.568317] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[    8.576154] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    8.586040] UBIFS (ubi0:1): FS size: 32886784 bytes (31 MiB, 259 LEBs), journal size 1650688 bytes (1 MiB, 13 LEBs)
[    8.596442] UBIFS (ubi0:1): reserved for root: 1553323 bytes (1516 KiB)
[    8.603051] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID D42C5178-C937-4CB4-94EE-0031FFF6550A, small LPT model
[    8.617248] mount_root: overlay filesystem has not been fully initialized yet
[    8.624849] mount_root: switching to ubifs overlay
[    8.647505] urandom-seed: Seed file not found (/etc/urandom.seed)
[    8.728797] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[    8.743450] procd: - early -
[    8.746426] procd: - watchdog -
[    9.403107] procd: - watchdog -
[    9.406559] procd: - ubus -
[    9.457080] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.464255] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.470985] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.478186] procd: - init -
Please press Enter to activate this console.
[    9.714720] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.724486] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.738298] ip_tables: (C) 2000-2006 Netfilter Core Team
[    9.749820] nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
[    9.790837] xt_time: kernel timezone is -0000
[    9.801201] PPP generic driver version 2.4.2
[    9.806822] NET: Registered protocol family 24
[    9.813785] kmodloader: done loading kernel modules from /etc/modules.d/*
[   10.951148] urandom_read: 5 callbacks suppressed
[   10.951161] random: jshn: uninitialized urandom read (4 bytes read)
[   16.501675] mtk_soc_eth 1e100000.ethernet: PPE started
[   16.512395] br-lan: port 1(eth0.2) entered blocking state
[   16.517965] br-lan: port 1(eth0.2) entered disabled state
[   16.523873] device eth0.2 entered promiscuous mode
[   16.528744] device eth0 entered promiscuous mode
[   16.537326] br-lan: port 1(eth0.2) entered blocking state
[   16.542760] br-lan: port 1(eth0.2) entered forwarding state
[   16.548768] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   17.553672] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   21.883773] random: crng init done
                                                                                                                                                                                                                                                                                              

BusyBox v1.30.1 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r9254+122-3b40121530
 -----------------------------------------------------
=== 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@OpenWrt:/# free
              total        used        free      shared  buff/cache   available
Mem:         253572       23256      224316          60        6000      203516
Swap:             0           0           0
root@OpenWrt:/# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 1.5M      1.5M         0 100% /rom
tmpfs                   123.8M     60.0K    123.8M   0% /tmp
/dev/ubi0_1              28.3M     36.0K     26.8M   0% /overlay
overlayfs:/overlay       28.3M     36.0K     26.8M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev</code>