[FS#1165] MT7621 device with 32MB SPI NOR flashrom MX25L25645G hangs when sysupgrade or reboot.

LEDE Bugs lede-bugs at lists.infradead.org
Sun Nov 12 05:55:09 PST 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - nobk (nobk) 

Attached to Project - LEDE Project
Summary - MT7621 device with 32MB SPI NOR flashrom MX25L25645G hangs when sysupgrade or reboot.
Task Type - Bug Report
Category - Kernel
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Critical
Priority - Very Low
Reported Version - All
Due in Version - Undecided
Due Date - Undecided
Details - Supply the following if possible:
 - Device problem occurs on reboot, full logs start from boot loader, end to hangs point.

Boot and Recovery Environment for Embedded Devices
Copyright (C) 2017 HackPascal 
Build date 2017-09-21 [git-35a696e]
Version 1.1 (r1126)

DRAM: 128MB
Platform: MediaTek MT7621A ver 1, eco 3
Board: Phicomm K2P
Clocks: CPU: 880MHz, DDR: 1200MHz, Bus: 293MHz, Ref: 40MHz
Environment variables @ 0001d000 on flash bank 0, size 00002000
Flash: Macronix MX25L25635E (32MB) on rt6855a-spi
rt2880-eth: MAC address from EEPROM is invalid, using default settings.
rt2880-eth: Using MAC address 00:0c:43:00:00:01
eth0: MediaTek MT7530 Gigabit switch

Network started on eth0, inet addr 192.168.1.1, netmask 255.255.255.0

Press any key to interrupt autoboot ... 0

Trying to boot firmware from 0x00050000 in flash bank 0 ...
Reading data into memory ...
U-Boot firmware image header detected.
    Image Name:   MIPS LEDE Linux-4.9.58
    Data Size:    1653410 Bytes
    Load Address: 80001000
    Entry Point:  80001000
Uncompressing data (LZMA) ... done.
Flushing cache ... done.

Starting kernel at 0x80001000...

[    0.000000] Linux version 4.9.58 (user at ubuntu) (gcc version 5.5.0 (LEDE GCC 5.5.0 r5095-699c6fc) ) #0 SMP Sat Nov 11 12:20:39 2017
[    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 Phicomm K2P
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 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-0x0000000007ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] percpu: Embedded 12 pages/cpu @8110e000 s17776 r8192 d23184 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    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] Writing ErrCtl register=0001c801
[    0.000000] Readback ErrCtl register=0001c801
[    0.000000] Memory: 124080K/131072K available (3937K kernel code, 215K rwdata, 896K rodata, 252K init, 267K bss, 6992K 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] 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.015473] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.080699] pid_max: default: 32768 minimum: 301
[    0.090016] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.103032] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    7.220958] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    7.220973] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    7.220987] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    7.221174] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.228130] Synchronize counters for CPU 1:
[    0.228131] done.
[    9.268223] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    9.268231] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    9.268239] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    9.268332] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.351407] Synchronize counters for CPU 2:
[    0.351408] done.
[    5.834725] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    5.834733] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    5.834742] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    5.834843] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.470148] Synchronize counters for CPU 3:
[    0.470149] done.
[    0.482543] Brought up 4 CPUs
[    0.491960] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.511423] futex hash table entries: 1024 (order: 3, 32768 bytes)
[    0.523812] pinctrl core: initialized pinctrl subsystem
[    0.534683] NET: Registered protocol family 16
[    0.584510] pull PCIe RST: RALINK_RSTCTRL = 0
[    0.893356] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.903422] ***** Xtal 40MHz *****
[    0.910148] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.920358] Port 0 N_FTS = 1b102800
[    0.927253] Port 1 N_FTS = 1b102800
[    0.934182] Port 2 N_FTS = 1b102800
[    2.092179] PCIE1 no card, disable it(RST&CLK)
[    2.100863] PCIE2 no card, disable it(RST&CLK)
[    2.109661]  -> 21007f2
[    2.114514] PCIE0 enabled
[    2.119687] PCI host bridge /pcie at 1e140000 ranges:
[    2.129223]  MEM 0x0000000060000000..0x000000006fffffff
[    2.139577]   IO 0x000000001e160000..0x000000001e16ffff
[    2.149945] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    2.205287] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.216628] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.227923] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.240278] PCI host bridge to bus 0000:00
[    2.248285] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    2.261970] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    2.273695] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    2.287174] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    2.303300] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    2.319691] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    2.332719] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.346534] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.360012] pci 0000:00:00.0: BAR 1: assigned [mem 0x60100000-0x6010ffff]
[    2.373500] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    2.388020] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.397838] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.411345] BAR0 at slot 0 = 0
[    2.417354] bus=0x0, slot = 0x0
[    2.423603] bus=0x1, slot = 0x0, irq=0x0
[    2.432551] clocksource: Switched to clocksource GIC
[    2.443903] NET: Registered protocol family 2
[    2.453211] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    2.466955] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    2.479550] TCP: Hash tables configured (established 1024 bind 1024)
[    2.492227] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    2.503768] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    2.516408] NET: Registered protocol family 1
[    2.762500] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    2.773876] Crashlog allocated RAM at address 0x3f00000
[    2.784498] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    2.804126] random: fast init done
[    2.805739] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.805746] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.844326] io scheduler noop registered
[    2.851974] io scheduler deadline registered (default)
[    2.863142] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    2.876698] console [ttyS0] disabled
[    2.883739] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
[    2.901676] console [ttyS0] enabled
[    2.901676] console [ttyS0] enabled
[    2.915469] bootconsole [early0] disabled
[    2.915469] bootconsole [early0] disabled
[    2.932388] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    2.946638] spi-mt7621 1e000b00.spi: sys_freq: 50000000
[    2.958005] m25p80 spi32766.0: using chunked io (size=32)
[    2.968822] m25p80 spi32766.0: mx25l25635e (32768 Kbytes)
[    2.979630] 4 ofpart partitions found on MTD device spi32766.0
[    2.991242] Creating 4 MTD partitions on "spi32766.0":
[    3.001486] 0x000000000000-0x000000030000 : "u-boot"
[    3.012792] 0x000000030000-0x000000040000 : "u-boot-env"
[    3.024720] 0x000000040000-0x000000050000 : "factory"
[    3.036081] 0x000000050000-0x000002000000 : "firmware"
[    3.130859] 2 uimage-fw partitions found on MTD device firmware
[    3.142678] 0x000000050000-0x0000001e3ae2 : "kernel"
[    3.153899] 0x0000001e3ae2-0x000002000000 : "rootfs"
[    3.165013] mtd: device 5 (rootfs) set to be root filesystem
[    3.176417] 1 squashfs-split partitions found on MTD device rootfs
[    3.188736] 0x000000c80000-0x000002000000 : "rootfs_data"
[    3.201389] libphy: Fixed MDIO Bus: probed
[    3.274584] libphy: mdio: probed
[    4.680459] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    4.693000] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[    4.711440] NET: Registered protocol family 10
[    4.721871] NET: Registered protocol family 17
[    4.730807] 8021q: 802.1Q VLAN Support v1.8
[    4.741162] hctosys: unable to open rtc device (rtc0)
[    4.758213] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    4.772906] Freeing unused kernel memory: 252K
[    4.781748] This architecture does not have kernel memory protection.
[    5.101015] random: crng init done
[    5.477249] init: Console is alive
[    5.484285] init: - watchdog -
[    6.427184] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
[    6.779525] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
[    6.901363] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    7.048462] usbcore: registered new interface driver usbfs
[    7.059527] usbcore: registered new interface driver hub
[    7.070281] usbcore: registered new device driver usb
[    7.099062] SCSI subsystem initialized
[    7.128520] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    7.139181] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1
[    7.162706] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x00210010
[    7.179586] xhci-mtk 1e1c0000.xhci: irq 19, io mem 0x1e1c0000
[    7.192075] hub 1-0:1.0: USB hub found
[    7.199675] hub 1-0:1.0: 2 ports detected
[    7.208108] xhci-mtk 1e1c0000.xhci: xHCI Host Controller
[    7.218734] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2
[    7.233834] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    7.250822] hub 2-0:1.0: USB hub found
[    7.258407] hub 2-0:1.0: 1 port detected
[    7.275276] MTK MSDC device init.
[    7.282044] mtk-sd: MediaTek MT6575 MSDC Driver
[    7.292752] sdhci: Secure Digital Host Controller Interface driver
[    7.305073] sdhci: Copyright(c) Pierre Ossman
[    7.314698] sdhci-pltfm: SDHCI platform and OF driver helper
[    7.328105] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    7.362859] init: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   10.238733] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
[   10.590303] mtk_soc_eth 1e100000.ethernet eth0: port 2 link down
[   11.803901] mount_root: loading kmods from internal overlay
[   11.840869] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   11.858337] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   12.283613] jffs2: notice: (448) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   12.315084] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   12.336779] block: extroot: not configured
[   12.515441] jffs2: notice: (445) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   12.806611] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   12.828013] block: extroot: not configured
[   12.873658] mount_root: switching to jffs2 overlay
[   12.912838] urandom-seed: Seeding with /etc/urandom.seed
[   13.002067] procd: - early -
[   13.007960] procd: - watchdog -
[   13.585086] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
[   13.682690] procd: - watchdog -
[   13.689216] procd: - ubus -
[   13.791068] procd: - init -
Please press Enter to activate this console.
[   14.292092] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.323536] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   14.342073] Netfilter messages via NETLINK v0.30.
[   14.354586] ip_set: protocol 6
[   14.400893] u32 classifier
[   14.406314]     input device check on
[   14.413601]     Actions configured
[   14.423032] Mirror/redirect action on
[   14.439609] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[   14.457233] fuse init (API version 7.26)
[   14.469045] Loading modules backported from Linux version wt-2017-10-06-0-ga7a22fbbd1f0
[   14.485023] Backport generated by backports.git v4.14-rc2-1-6-gedfb595c
[   14.500562] ip_tables: (C) 2000-2006 Netfilter Core Team
[   14.516881] ctnetlink v0.93: registering with nfnetlink.
[   14.585285] xt_time: kernel timezone is -0000
[   14.648088] PPP generic driver version 2.4.2
[   14.658168] NET: Registered protocol family 24
[   14.669686] kmodloader: done loading kernel modules from /etc/modules.d/*
[   18.492649] br-lan: port 1(eth0) entered blocking state
[   18.503120] br-lan: port 1(eth0) entered disabled state
[   18.514278] device eth0 entered promiscuous mode
[   18.531575] br-lan: port 1(eth0) entered blocking state
[   18.542057] br-lan: port 1(eth0) entered forwarding state



BusyBox v1.27.2 () built-in shell (ash)
Enter 'help' for a list of built-in commands.

     _________
    /        /\      _    ___ ___  ___
   /  LE    /  \    | |  | __|   \| __|
  /    DE  /    \   | |__| _|| |) | _|
 /________/  LE  \  |____|___|___/|___|                      lede-project.org
 \        \   DE /
  \    LE  \    /  -----------------------------------------------------------
   \  DE    \  /    Reboot (SNAPSHOT, r5322-12f9305)
    \________\/    -----------------------------------------------------------

root at k2p:/# reboot
root at k2p:/# [  262.025966] br-lan: port 1(eth0) entered disabled state
[  262.045247] device eth0 left promiscuous mode
[  262.054125] br-lan: port 1(eth0) entered disabled state
[  262.068827] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  266.751148] reboot: Restarting system

 - Software versions of LEDE release, packages, etc.
version: Reboot (SNAPSHOT, r5322-12f9305)
build with support of SPI NOR 32MB flash and mtd layout.

diff --git a/target/linux/ramips/dts/K2P.dts b/target/linux/ramips/dts/K2P.dts
index db4dc29..1a9864a 100644
--- a/target/linux/ramips/dts/K2P.dts
+++ b/target/linux/ramips/dts/K2P.dts
@@ -65,30 +65,21 @@
                partition at 0 {
                        label = "u-boot";
                        reg = ;
-                       read-only;
                };

                partition at 30000 {
                        label = "u-boot-env";
                        reg = ;
-                       read-only;
                };

                factory: partition at 40000 {
                        label = "factory";
                        reg = ;
-                       read-only;
                };

                partition at 50000 {
-                       label = "permanent_config";
-                       reg = ;
-                       read-only;
-               };
-
-               partition at a0000 {
                        label = "firmware";
-                       reg = ;
+                       reg = ;
                };
        };
 };
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk
index 8bd7e03..fd7e2bb 100644
--- a/target/linux/ramips/image/mt7621.mk
+++ b/target/linux/ramips/image/mt7621.mk
@@ -100,7 +100,7 @@ TARGET_DEVICES += hc5962

 define Device/k2p
   DTS := K2P
-  IMAGE_SIZE := $(ralink_default_fw_size_16M)
+  IMAGE_SIZE := $(ralink_default_fw_size_32M)
   DEVICE_TITLE := Phicomm K2P
 endef
 TARGET_DEVICES += k2p


 - Steps to reproduce
 on bash prompt type: reboot
or type: sysupgrade /tmp/lede-ramips-mt7621-k2p-squashfs-sysupgrade.bin

after apply the flowing patch, will fix this bug.

--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -257,6 +257,16 @@
        return mtd_device_unregister(&flash->spi_nor.mtd);
 }

+static void m25p_shutdown(struct spi_device *spi)
+{
+       struct m25p     *flash = spi_get_drvdata(spi);
+
+       flash->command[0] = 0x66;
+       spi_write(flash->spi, flash->command, 1);
+       flash->command[0] = 0x99;
+       spi_write(flash->spi, flash->command, 1);
+}
+
 /*
  * Do NOT add to this array without reading the following:
  *
@@ -327,6 +337,7 @@
        .id_table       = m25p_ids,
        .probe  = m25p_probe,
        .remove = m25p_remove,
+       .shutdown = m25p_shutdown,

        /* REVISIT: many of these chips have deep power-down modes, which
         * should clearly be entered on suspend() to minimize power use.


 when upgrade to patched firmware and try reboot

root at k2p:/tmp# sysupgrade lede-ramips-mt7621-k2p-squashfs-sysupgrade.bin
Saving config files...
killall: watchdog: no process killed
Commencing upgrade. All shell sessions will be closed now.
Watchdog handover: fd=3
- watchdog -
killall: telnetd: no process killed
Sending TERM to remaining processes ... ubusd logd netifd odhcpd crond ntpd dnsmasq
Sending KILL to remaining processes ...
Switching to ramdisk...
Performing system upgrade...
Unlocking firmware ...

Writing from  to firmware ...
Appending jffs2 data from /tmp/sysupgrade.tgz to firmware..
.
Writing from  to firmware ...
Upgrade completed
Rebooting system...
umount: can't unmount /dev: Resource busy
umount: can't unmount /tmp: Resource busy
[ 1122.337585] reboot: Restarting system

Boot and Recovery Environment for Embedded Devices
Copyright (C) 2017 HackPascal 
Build date 2017-09-21 [git-35a696e]
Version 1.1 (r1126)

DRAM: 128MB
Platform: MediaTek MT7621A ver 1, eco 3
Board: Phicomm K2P
Clocks: CPU: 880MHz, DDR: 1200MHz, Bus: 293MHz, Ref: 40MHz
Environment variables @ 0001d000 on flash bank 0, size 00002000
Flash: Macronix MX25L25635E (32MB) on rt6855a-spi
rt2880-eth: MAC address from EEPROM is invalid, using default settings.
rt2880-eth: Using MAC address 00:0c:43:00:00:01
eth0: MediaTek MT7530 Gigabit switch

Network started on eth0, inet addr 192.168.1.1, netmask 255.255.255.0

Press any key to interrupt autoboot ... 0

Trying to boot firmware from 0x00050000 in flash bank 0 ...
Reading data into memory ...
U-Boot firmware image header detected.
    Image Name:   MIPS LEDE Linux-4.9.58
    Data Size:    1643006 Bytes
    Load Address: 80001000
    Entry Point:  80001000
Uncompressing data (LZMA) ... done.
Flushing cache ... done.

Starting kernel at 0x80001000...

[    0.000000] Linux version 4.9.58 (user at ubuntu) (gcc version 5.5.0 (LEDE GCC 5.5.0 r5095-699c6fc) ) #0 SMP Sat Nov 11 12:20:39 2017
[    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 Phicomm K2P
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 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-0x0000000007ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] percpu: Embedded 12 pages/cpu @8110e000 s17776 r8192 d23184 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    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] Writing ErrCtl register=0001c800
[    0.000000] Readback ErrCtl register=0001c800
[    0.000000] Memory: 124144K/131072K available (3908K kernel code, 212K rwdata, 888K rodata, 228K init, 267K bss, 6928K 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] 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.015477] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.080706] pid_max: default: 32768 minimum: 301
[    0.090032] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.103049] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    7.415509] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    7.415525] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    7.415540] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    7.415729] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.228870] Synchronize counters for CPU 1:
[    0.228871] done.
[    7.166750] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    7.166759] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    7.166768] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    7.166861] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.352199] Synchronize counters for CPU 2:
[    0.352200] done.
[    7.288725] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    7.288734] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    7.288743] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    7.288840] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.470947] Synchronize counters for CPU 3:
[    0.470948] done.
[    0.483347] Brought up 4 CPUs
[    0.492794] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.512259] futex hash table entries: 1024 (order: 3, 32768 bytes)
[    0.524654] pinctrl core: initialized pinctrl subsystem
[    0.535536] NET: Registered protocol family 16
[    0.575354] pull PCIe RST: RALINK_RSTCTRL = 0
[    0.884373] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.894441] ***** Xtal 40MHz *****
[    0.901168] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.911384] Port 0 N_FTS = 1b105000
[    0.918273] Port 1 N_FTS = 1b102800
[    0.925201] Port 2 N_FTS = 1b102800
[    2.083785] PCIE1 no card, disable it(RST&CLK)
[    2.092470] PCIE2 no card, disable it(RST&CLK)
[    2.101269]  -> 21007f2
[    2.106121] PCIE0 enabled
[    2.111296] PCI host bridge /pcie at 1e140000 ranges:
[    2.120829]  MEM 0x0000000060000000..0x000000006fffffff
[    2.131187]   IO 0x000000001e160000..0x000000001e16ffff
[    2.141558] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    2.196954] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.208258] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.219494] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.231875] PCI host bridge to bus 0000:00
[    2.239890] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    2.253575] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    2.265295] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    2.278780] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    2.295582] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    2.308623] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.322430] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.335905] pci 0000:00:00.0: BAR 1: assigned [mem 0x60100000-0x6010ffff]
[    2.349399] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    2.363906] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.373728] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.387248] BAR0 at slot 0 = 0
[    2.393247] bus=0x0, slot = 0x0
[    2.399498] bus=0x1, slot = 0x0, irq=0x0
[    2.408596] clocksource: Switched to clocksource GIC
[    2.419902] NET: Registered protocol family 2
[    2.429216] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    2.442952] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    2.455552] TCP: Hash tables configured (established 1024 bind 1024)
[    2.468230] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    2.479769] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    2.492413] NET: Registered protocol family 1
[    2.738543] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    2.749913] Crashlog allocated RAM at address 0x3f00000
[    2.760562] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    2.780172] random: fast init done
[    2.781950] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.781957] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.820147] io scheduler noop registered
[    2.827796] io scheduler deadline registered (default)
[    2.838903] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    2.852569] console [ttyS0] disabled
[    2.859602] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
[    2.877554] console [ttyS0] enabled
[    2.877554] console [ttyS0] enabled
[    2.891342] bootconsole [early0] disabled
[    2.891342] bootconsole [early0] disabled
[    2.908241] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    2.922452] spi-mt7621 1e000b00.spi: sys_freq: 50000000
[    2.933819] m25p80 spi32766.0: using chunked io (size=32)
[    2.944692] m25p80 spi32766.0: mx25l25635e (32768 Kbytes)
[    2.955482] 4 ofpart partitions found on MTD device spi32766.0
[    2.967092] Creating 4 MTD partitions on "spi32766.0":
[    2.977329] 0x000000000000-0x000000030000 : "u-boot"
[    2.988667] 0x000000030000-0x000000040000 : "u-boot-env"
[    3.000641] 0x000000040000-0x000000050000 : "factory"
[    3.012057] 0x000000050000-0x000002000000 : "firmware"
[    3.081885] 2 uimage-fw partitions found on MTD device firmware
[    3.093705] 0x000000050000-0x0000001e123e : "kernel"
[    3.104942] 0x0000001e123e-0x000002000000 : "rootfs"
[    3.116109] mtd: device 5 (rootfs) set to be root filesystem
[    3.127513] 1 squashfs-split partitions found on MTD device rootfs
[    3.139848] 0x000000320000-0x000002000000 : "rootfs_data"
[    3.152390] libphy: Fixed MDIO Bus: probed
[    3.230634] libphy: mdio: probed
[    4.636505] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    4.649100] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[    4.667932] NET: Registered protocol family 10
[    4.678339] NET: Registered protocol family 17
[    4.687297] 8021q: 802.1Q VLAN Support v1.8
[    4.697992] hctosys: unable to open rtc device (rtc0)
[    4.714535] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    4.729126] Freeing unused kernel memory: 228K
[    4.737967] This architecture does not have kernel memory protection.
[    4.835879] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[    5.076672] random: crng init done
[    5.334423] init: Console is alive
[    5.341446] init: - watchdog -
[    5.526071] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.640954] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.658920] init: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    6.891111] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
[    9.581465] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[    9.595964] jffs2_build_filesystem(): unlocking the mtd device... [    9.607919] done.
[    9.611751] jffs2_build_filesystem(): erasing all blocks after the end marker... [  171.301324] done.
[  171.305193] jffs2: notice: (390) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  171.337694] mount_root: overlay filesystem has not been fully initialized yet
[  171.353359] mount_root: switching to jffs2 overlay
- config restore -
[  171.876600] urandom-seed: Seed file not found (/etc/urandom.seed)
[  171.961747] procd: - early -
[  171.967569] procd: - watchdog -
[  172.628755] procd: - watchdog -
[  172.635303] procd: - ubus -
[  172.717023] procd: - init -
Please press Enter to activate this console.
[  172.952661] kmodloader: loading kernel modules from /etc/modules.d/*
[  172.968799] ip6_tables: (C) 2000-2006 Netfilter Core Team
[  172.987032] ip_tables: (C) 2000-2006 Netfilter Core Team
[  173.003068] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[  173.042682] xt_time: kernel timezone is -0000
[  173.057017] PPP generic driver version 2.4.2
[  173.066689] NET: Registered protocol family 24
[  173.077852] kmodloader: done loading kernel modules from /etc/modules.d/*
[  175.972096] br-lan: port 1(eth0) entered blocking state
[  175.982550] br-lan: port 1(eth0) entered disabled state
[  175.993722] device eth0 entered promiscuous mode
[  176.009785] br-lan: port 1(eth0) entered blocking state
[  176.020242] br-lan: port 1(eth0) entered forwarding state



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

     _________
    /        /\      _    ___ ___  ___
   /  LE    /  \    | |  | __|   \| __|
  /    DE  /    \   | |__| _|| |) | _|
 /________/  LE  \  |____|___|___/|___|                      lede-project.org
 \        \   DE /
  \    LE  \    /  -----------------------------------------------------------
   \  DE    \  /    Reboot (SNAPSHOT, r5322-12f9305)
    \________\/    -----------------------------------------------------------

root at k2p:/# reboot
root at k2p:/# [  199.650018] br-lan: port 1(eth0) entered disabled state
[  199.667313] device eth0 left promiscuous mode
[  199.676175] br-lan: port 1(eth0) entered disabled state
[  199.689568] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[  204.199343] reboot: Restarting system

Boot and Recovery Environment for Embedded Devices
Copyright (C) 2017 HackPascal 
Build date 2017-09-21 [git-35a696e]
Version 1.1 (r1126)

DRAM: 128MB
Platform: MediaTek MT7621A ver 1, eco 3
Board: Phicomm K2P
Clocks: CPU: 880MHz, DDR: 1200MHz, Bus: 293MHz, Ref: 40MHz
Environment variables @ 0001d000 on flash bank 0, size 00002000
Flash: Macronix MX25L25635E (32MB) on rt6855a-spi
rt2880-eth: MAC address from EEPROM is invalid, using default settings.
rt2880-eth: Using MAC address 00:0c:43:00:00:01
eth0: MediaTek MT7530 Gigabit switch

Network started on eth0, inet addr 192.168.1.1, netmask 255.255.255.0

Press any key to interrupt autoboot ... 0

Trying to boot firmware from 0x00050000 in flash bank 0 ...
Reading data into memory ...
U-Boot firmware image header detected.
    Image Name:   MIPS LEDE Linux-4.9.58
    Data Size:    1643006 Bytes
    Load Address: 80001000
    Entry Point:  80001000
Uncompressing data (LZMA) ... done.
Flushing cache ... done.

Starting kernel at 0x80001000...

[    0.000000] Linux version 4.9.58 (user at ubuntu) (gcc version 5.5.0 (LEDE GCC 5.5.0 r5095-699c6fc) ) #0 SMP Sat Nov 11 12:20:39 2017
[    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 Phicomm K2P
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 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-0x0000000007ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] percpu: Embedded 12 pages/cpu @8110e000 s17776 r8192 d23184 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    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] Writing ErrCtl register=0001c800
[    0.000000] Readback ErrCtl register=0001c800
[    0.000000] Memory: 124144K/131072K available (3908K kernel code, 212K rwdata, 888K rodata, 228K init, 267K bss, 6928K 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] 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.015478] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.080708] pid_max: default: 32768 minimum: 301
[    0.090035] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.103052] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    6.836230] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    6.836247] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    6.836262] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    6.836450] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.228906] Synchronize counters for CPU 1:
[    0.228908] done.
[    6.587505] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    6.587514] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    6.587523] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    6.587615] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.352231] Synchronize counters for CPU 2:
[    0.352232] done.
[    6.709482] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    6.709490] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    6.709499] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    6.709596] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.470983] Synchronize counters for CPU 3:
[    0.470984] done.
[    0.483381] Brought up 4 CPUs
[    0.492831] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.512297] futex hash table entries: 1024 (order: 3, 32768 bytes)
[    0.524692] pinctrl core: initialized pinctrl subsystem
[    0.535575] NET: Registered protocol family 16
[    0.575384] pull PCIe RST: RALINK_RSTCTRL = 0
[    0.884205] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.894273] ***** Xtal 40MHz *****
[    0.900999] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.911208] Port 0 N_FTS = 1b105000
[    0.918104] Port 1 N_FTS = 1b102800
[    0.925032] Port 2 N_FTS = 1b102800
[    2.082925] PCIE1 no card, disable it(RST&CLK)
[    2.091608] PCIE2 no card, disable it(RST&CLK)
[    2.100407]  -> 21007f2
[    2.105260] PCIE0 enabled
[    2.110433] PCI host bridge /pcie at 1e140000 ranges:
[    2.119968]  MEM 0x0000000060000000..0x000000006fffffff
[    2.130325]   IO 0x000000001e160000..0x000000001e16ffff
[    2.140691] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    2.186072] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.197363] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.208573] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.220875] PCI host bridge to bus 0000:00
[    2.228892] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    2.242555] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    2.254294] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    2.267770] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    2.284598] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    2.297621] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.311446] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.324918] pci 0000:00:00.0: BAR 1: assigned [mem 0x60100000-0x6010ffff]
[    2.338406] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    2.352920] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.362750] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.376252] BAR0 at slot 0 = 0
[    2.382265] bus=0x0, slot = 0x0
[    2.388509] bus=0x1, slot = 0x0, irq=0x0
[    2.397683] clocksource: Switched to clocksource GIC
[    2.409113] NET: Registered protocol family 2
[    2.418393] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    2.432127] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    2.444735] TCP: Hash tables configured (established 1024 bind 1024)
[    2.457405] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    2.468942] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    2.481596] NET: Registered protocol family 1
[    2.727617] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    2.738857] Crashlog allocated RAM at address 0x3f00000
[    2.749545] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    2.771057] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.782601] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.804783] io scheduler noop registered
[    2.812483] io scheduler deadline registered (default)
[    2.822808] random: fast init done
[    2.823381] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    2.824589] console [ttyS0] disabled
[    2.849206] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
[    2.867198] console [ttyS0] enabled
[    2.867198] console [ttyS0] enabled
[    2.880930] bootconsole [early0] disabled
[    2.880930] bootconsole [early0] disabled
[    2.898014] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    2.912211] spi-mt7621 1e000b00.spi: sys_freq: 50000000
[    2.923627] m25p80 spi32766.0: using chunked io (size=32)
[    2.934483] m25p80 spi32766.0: mx25l25635e (32768 Kbytes)
[    2.945268] 4 ofpart partitions found on MTD device spi32766.0
[    2.956872] Creating 4 MTD partitions on "spi32766.0":
[    2.967113] 0x000000000000-0x000000030000 : "u-boot"
[    2.978464] 0x000000030000-0x000000040000 : "u-boot-env"
[    2.990437] 0x000000040000-0x000000050000 : "factory"
[    3.001855] 0x000000050000-0x000002000000 : "firmware"
[    3.071661] 2 uimage-fw partitions found on MTD device firmware
[    3.083474] 0x000000050000-0x0000001e123e : "kernel"
[    3.094724] 0x0000001e123e-0x000002000000 : "rootfs"
[    3.105870] mtd: device 5 (rootfs) set to be root filesystem
[    3.117268] 1 squashfs-split partitions found on MTD device rootfs
[    3.129591] 0x000000320000-0x000002000000 : "rootfs_data"
[    3.142111] libphy: Fixed MDIO Bus: probed
[    3.219694] libphy: mdio: probed
[    4.625518] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    4.638112] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[    4.656927] NET: Registered protocol family 10
[    4.667363] NET: Registered protocol family 17
[    4.676312] 8021q: 802.1Q VLAN Support v1.8
[    4.687014] hctosys: unable to open rtc device (rtc0)
[    4.703588] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    4.718204] Freeing unused kernel memory: 228K
[    4.727045] This architecture does not have kernel memory protection.
[    4.825040] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up
[    5.090422] random: crng init done
[    5.389481] init: Console is alive
[    5.396470] init: - watchdog -
[    5.610447] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.743917] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.777961] init: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    6.970913] mtk_soc_eth 1e100000.ethernet eth0: port 2 link up
[    9.771176] jffs2: notice: (391) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[    9.803546] mount_root: switching to jffs2 overlay
[    9.837012] urandom-seed: Seeding with /etc/urandom.seed
[    9.927864] procd: - early -
[    9.933689] procd: - watchdog -
[   10.597824] procd: - watchdog -
[   10.604375] procd: - ubus -
[   10.701486] procd: - init -
Please press Enter to activate this console.
[   10.982046] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.998337] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   11.016859] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.033211] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[   11.073511] xt_time: kernel timezone is -0000
[   11.088010] PPP generic driver version 2.4.2
[   11.097804] NET: Registered protocol family 24
[   11.109103] kmodloader: done loading kernel modules from /etc/modules.d/*
[   13.273319] br-lan: port 1(eth0) entered blocking state
[   13.283803] br-lan: port 1(eth0) entered disabled state
[   13.295002] device eth0 entered promiscuous mode
[   13.313679] br-lan: port 1(eth0) entered blocking state
[   13.324203] br-lan: port 1(eth0) entered forwarding state

For more information on LEDE forum
https://forum.lede-project.org/t/to-felix-fietkau-about-lede-source-commit-22d982-ramips-add-support-for-switching-between-3-byte-and-4-byte-addressing-on-w25q256-flash/8582/15


More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=1165



More information about the lede-bugs mailing list