タグ: Z-Loader

WN-DX1200GR OpenWrt書き込みメモ (Z-LOADER)

commit: 24d5ef8757171948332a53b49253d3bb16023174

U-Boot 1.1.3 (Jun  3 2019 - 10:14:35)

Board: Ralink APSoC DRAM:  128 MB
relocate_code Pointer at: 87f98000

Config XHCI 40M PLL
Allocate 16 byte aligned buffer: 87fcb030
Enable NFI Clock
# MTK NAND # : Use HW ECC
NAND ID [C2 F1 80 95 02]
Device found in MTK table, ID: c2f1, EXT_ID: 809502
Support this Device in MTK table! c2f1
select_chip
[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
Signature matched and data read!
load_fact_bbt success 1023
load fact bbt success
[mtk_nand] probe successfully!
mtd->writesize=2048 mtd->oobsize=64,    mtd->erasesize=131072  devinfo.iowidth=8
....============================================
Ralink UBoot Version: 5.0.0.0
--------------------------------------------
ASIC MT7621A DualCore (MAC to MT7530 Mode)
DRAM_CONF_FROM: Auto-Detection
DRAM_TYPE: DDR3
DRAM bus: 16 bit
Xtal Mode=3 OCP Ratio=1/3
Flash component: NAND Flash
Date:Jun  3 2019  Time:10:14:35
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:256, ways:4, linesz:32 ,total:32768

##### The CPU freq = 880 MHZ ####
estimate memory size =128 Mbytes
#Reset_MT7530
set LAN/WAN WLLLL
.## Starting application at 0x81E00000 ...

Z-LOADER V1.29 | 06/03/2019 10:14:38

...Hit ESC key to stop autoboot: 1
ZLB>
ATGO              boot up the whole system
ATGU              go back to U-Boot command line
ATNR    x,y       upgrade image by TFTP (x=type[1:ras, 2:bootloader, 3:config, 4:romd 6:factory], y=filename)
ATBT    x         block0 write enable (1=enable, 0=disable)
ATEN    x,(y)     set BootExtension Debug Flag (y=password)
ATSE    x         show the seed of password generator
ATWZ    a,(b,c,d) write MAC , Country code, EngDbgFlag, MAC Quantity to FLASH
ATSH              dump manufacturer related data in FLASH
ATBU              dump manufacturer related data in working buffer
ATCB              copy FLASH MRD to working buffer
ATSN    x         set serial number to flash
ATSB              save working buffer to FLASH
ATQY    x         set MAC Quantity to working buffer
ATFL    x         set EngDebugFlag to working buffer
ATCO    x         set country code to working buffer
ATSR              reset
ATRT    (x,y,z,u) RAM read/write test (x=level, y=start addr, z=end addr, u=interations)
ATRM              restore default MRD
ATBR              reset to default Romfile
ATER              erase ROM-D data
ATHV    x         set hardware version to flash
ATGP    x,y       led control
ZLB> ATNR 1,test.bin

NetLoop,call eth_halt !

NetLoop,call eth_init !
Trying Eth0 (10/100-M)

Waitting for RX_DMA_BUSY status Start... done

ETH_STATE_ACTIVE!!
Using Eth0 (10/100-M) device
TFTP from server 10.10.10.3; our IP address is 10.10.10.123
Filename 'test.bin'.

TIMEOUT_COUNT=10,Load address: 0x84000000
Loading: checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
Got ARP REPLY, set server/gtwy eth addr (50:7b:9d:d7:f0:15)
Got it
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##########################
done
Bytes transferred = 6118556 (5d5c9c hex)
LoadAddr=84000000 NetBootFileXferSize= 005d5c9c
receive langth = 6118556

!!Upgrade File @84000000, length 6118556, type 1, offset 0x400000.  !!
__ranand_erase: start:400000, len:20000
..__ranand_erase: start:420000, len:20000
..__ranand_erase: start:440000, len:20000
..__ranand_erase: start:460000, len:20000
..__ranand_erase: start:480000, len:20000
..__ranand_erase: start:4a0000, len:20000
..__ranand_erase: start:4c0000, len:20000
..__ranand_erase: start:4e0000, len:20000
..__ranand_erase: start:500000, len:20000
..__ranand_erase: start:520000, len:20000
..__ranand_erase: start:540000, len:20000
..__ranand_erase: start:560000, len:20000
..__ranand_erase: start:580000, len:20000
..__ranand_erase: start:5a0000, len:20000
..__ranand_erase: start:5c0000, len:20000
..__ranand_erase: start:5e0000, len:20000
..__ranand_erase: start:600000, len:20000
..__ranand_erase: start:620000, len:20000
..__ranand_erase: start:640000, len:20000
..__ranand_erase: start:660000, len:20000
..__ranand_erase: start:680000, len:20000
..__ranand_erase: start:6a0000, len:20000
..__ranand_erase: start:6c0000, len:20000
..__ranand_erase: start:6e0000, len:20000
..__ranand_erase: start:700000, len:20000
..__ranand_erase: start:720000, len:20000
..__ranand_erase: start:740000, len:20000
..__ranand_erase: start:760000, len:20000
..__ranand_erase: start:780000, len:20000
..__ranand_erase: start:7a0000, len:20000
..__ranand_erase: start:7c0000, len:20000
..__ranand_erase: start:7e0000, len:20000
..__ranand_erase: start:800000, len:20000
..__ranand_erase: start:820000, len:20000
..__ranand_erase: start:840000, len:20000
..__ranand_erase: start:860000, len:20000
..__ranand_erase: start:880000, len:20000
..__ranand_erase: start:8a0000, len:20000
..__ranand_erase: start:8c0000, len:20000
..__ranand_erase: start:8e0000, len:20000
..__ranand_erase: start:900000, len:20000
..__ranand_erase: start:920000, len:20000
..__ranand_erase: start:940000, len:20000
..__ranand_erase: start:960000, len:20000
..__ranand_erase: start:980000, len:20000
..__ranand_erase: start:9a0000, len:20000
....__ranand_erase: start:9c0000, len:20000
.(5230)offs=0x9c0000 piece=0x0 piece_size=0x15c9c rc=0x0
Done!
ZLB> ATGO

Checking image 1...
Image Name:   3.10(XIQ.0)b20
Image Type:   MIPS Linux Kernel Image (lzma compressed)
Data Size:    6118492 Bytes =  5.8 MB
Load Address: 80001000
Entry Point:  80001000
..............................................................................................   Verifying Combo Checksum ... ..............................................................................................## Booting image at bc400000 ...
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 128

Starting kernel ...

OpenWrt kernel loader for MIPS based SoC
Copyright (C) 2011 Gabor Juhos 
Decompressing kernel... done!
Starting kernel at 80001000...

[    0.000000] Linux version 5.4.92 ([email protected]) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r0+15625-24d5ef8757)) #0 SMP Wed Jan 27 09:20:42 2021
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is I-O DATA WN-DX1200GR
[    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 14 pages/cpu s26736 r8192 d22416 u57344
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Writing ErrCtl register=00030801
[    0.000000] Readback ErrCtl register=00030801
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 117260K/131072K available (5799K kernel code, 201K rwdata, 1244K rodata, 4776K init, 230K bss, 13812K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 256
[    0.000000] random: get_random_bytes called from start_kernel+0x340/0x558 with crng_init=0
[    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.015477] Calibrating delay loop... 583.68 BogoMIPS (lpj=1167360)
[    0.055829] pid_max: default: 32768 minimum: 301
[    0.065177] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.079583] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.097686] rcu: Hierarchical SRCU implementation.
[    0.107789] smp: Bringing up secondary CPUs ...
[    0.947448] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.947458] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.947470] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.947571] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.144964] Synchronize counters for CPU 1: done.
[    1.038473] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    1.038481] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    1.038489] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    1.038554] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.239408] Synchronize counters for CPU 2: done.
[    1.129609] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    1.129617] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    1.129625] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    1.129688] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.327006] Synchronize counters for CPU 3: done.
[    0.386612] smp: Brought up 1 node, 4 CPUs
[    0.399156] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.418446] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.432271] pinctrl core: initialized pinctrl subsystem
[    0.444057] NET: Registered protocol family 16
[    0.480210] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.499346] random: fast init done
[    0.507661] clocksource: Switched to clocksource GIC
[    0.519310] NET: Registered protocol family 2
[    0.528541] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.545076] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.560255] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.574256] TCP: Hash tables configured (established 1024 bind 1024)
[    0.586997] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.599890] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.613952] NET: Registered protocol family 1
[    0.622516] PCI: CLS 0 bytes, default 32
[    4.735628] 4 CPUs re-calibrate udelay(lpj = 1167360)
[    4.747297] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    4.771696] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    4.783172] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    4.805551] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    4.816869] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    4.828116] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    4.839972] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    4.853841] printk: console [ttyS0] disabled
[    4.862278] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    4.880214] printk: console [ttyS0] enabled
[    4.880214] printk: console [ttyS0] enabled
[    4.896763] printk: bootconsole [early0] disabled
[    4.896763] printk: bootconsole [early0] disabled
[    4.917714] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[    4.932567] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xf1
[    4.945216] nand: Macronix MX30LF1G189C
[    4.952852] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    4.967928] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[    4.980964] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    4.995540] mt7621-nand 1e003000.nand: Using programmed access timing: 21005134
[    5.010100] nand: timing mode 1 not acknowledged by the NAND chip
[    5.022235] mt7621-nand 1e003000.nand: Using programmed access timing: 31c07388
[    5.036810] Scanning device for bad blocks
[    6.341383] 11 fixed-partitions partitions found on MTD device mt7621-nand
[    6.355074] Creating 11 MTD partitions on "mt7621-nand":
[    6.365659] 0x000000000000-0x000000100000 : "u-boot"
[    6.376782] 0x000000100000-0x000000200000 : "u-boot-env"
[    6.388510] 0x000000200000-0x000000400000 : "factory"
[    6.399781] 0x000000400000-0x000000800000 : "kernel"
[    6.410798] 0x000000800000-0x000003600000 : "ubi"
[    6.421532] 0x000003600000-0x000003700000 : "Config"
[    6.432554] 0x000003700000-0x000006900000 : "firmware_2"
[    6.444533] 0x000006900000-0x000006a00000 : "Config_2"
[    6.455981] 0x000006a00000-0x000006b00000 : "persist"
[    6.467152] 0x000006b00000-0x000006c00000 : "idmkey"
[    6.478229] 0x000006c00000-0x000007f80000 : "Backup"
[    6.490649] libphy: Fixed MDIO Bus: probed
[    6.526041] libphy: mdio: probed
[    6.532703] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    6.548940] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[    6.567775] mt7621-pci 1e140000.pcie: Parsing DT failed
[    6.580838] NET: Registered protocol family 10
[    6.591078] Segment Routing with IPv6
[    6.598498] NET: Registered protocol family 17
[    6.607680] 8021q: 802.1Q VLAN Support v1.8
[    6.617923] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    6.705260] libphy: dsa slave smi: probed
[    6.713696] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[    6.731503] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY]
[    6.749429] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[    6.767359] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[    6.785275] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[    6.803249] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    6.820878] DSA: tree 0 setup
[    6.827147] rt2880-pinmux pinctrl: pcie is already enabled
[    6.838094] mt7621-pci 1e140000.pcie: Error applying setting, reverse things back
[    6.853146] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    6.868063] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    6.982809] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    6.993921] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    7.104970] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    7.118836] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    7.128547] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    7.138262] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    7.156982] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    7.169659] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    7.183352] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    7.197047] pci_bus 0000:00: root bus resource [bus 00-ff]
[    7.208011] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    7.220012] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    7.232496] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    7.245046] pci 0000:00:00.0: supports D1
[    7.253029] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    7.264885] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    7.276886] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    7.289370] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    7.301909] pci 0000:00:01.0: supports D1
[    7.309891] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    7.322612] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.338569] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    7.354749] pci 0000:01:00.0: [14c3:7603] type 00 class 0x028000
[    7.366766] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    7.379383] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    7.392845] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    7.403266] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    7.415403] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    7.428926] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    7.443313] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    7.456724] pci 0000:02:00.0: [14c3:7663] type 00 class 0x000280
[    7.468755] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    7.483161] pci 0000:02:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    7.497561] pci 0000:02:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    7.512060] pci 0000:02:00.0: supports D1 D2
[    7.520562] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    7.533765] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    7.562567] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    7.572990] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    7.585125] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff]
[    7.598643] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    7.613040] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    7.626258] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    7.639430] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    7.653299] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    7.666471] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    7.680340] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    7.693862] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x601fffff pref]
[    7.708249] pci 0000:00:01.0: BAR 8: assigned [mem 0x60200000-0x602fffff]
[    7.721771] pci 0000:00:01.0: BAR 9: assigned [mem 0x60300000-0x604fffff pref]
[    7.736164] pci 0000:00:00.0: BAR 1: assigned [mem 0x60500000-0x6050ffff]
[    7.749695] pci 0000:00:01.0: BAR 1: assigned [mem 0x60510000-0x6051ffff]
[    7.763217] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    7.776740] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    7.790268] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff]
[    7.803794] pci 0000:00:00.0: PCI bridge to [bus 01]
[    7.813680] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    7.827198] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    7.840720] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x601fffff pref]
[    7.855111] pci 0000:02:00.0: BAR 0: assigned [mem 0x60300000-0x603fffff 64bit pref]
[    7.870548] pci 0000:02:00.0: BAR 2: assigned [mem 0x60400000-0x60403fff 64bit pref]
[    7.885991] pci 0000:02:00.0: BAR 4: assigned [mem 0x60404000-0x60404fff 64bit pref]
[    7.901424] pci 0000:00:01.0: PCI bridge to [bus 02]
[    7.911310] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    7.924832] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x602fffff]
[    7.938350] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x604fffff pref]
[    7.954082] UBI error: no valid UBI magic found inside mtd4
[    7.965255] hctosys: unable to open rtc device (rtc0)
[    7.976026] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[    7.995750] Freeing unused kernel memory: 4776K
[    8.004795] This architecture does not have kernel memory protection.
[    8.017616] Run /init as init process
[    8.361655] init: Console is alive
[    8.369126] init: - watchdog -
[    8.386461] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    8.404724] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    8.424006] init: - preinit -
[    8.564669] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    8.580749] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    8.597638] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.666784] random: jshn: uninitialized urandom read (4 bytes read)
[    8.735010] random: jshn: uninitialized urandom read (4 bytes read)
[    8.778131] random: jshn: uninitialized urandom read (4 bytes read)
[    8.993451] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    9.007049] 8021q: adding VLAN 0 to HW filter on device lan1
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
[   13.158409] procd: - early -
[   13.164330] procd: - watchdog -
[   13.707800] procd: - watchdog -
[   13.714509] procd: - ubus -
[   13.773468] procd: - init -
Please press Enter to activate this console.
[   14.090486] kmodloader: loading kernel modules from /etc/modules.d/*
[   14.159369] Loading modules backported from Linux version v5.8.18-0-gab435ce49bd1
[   14.174322] Backport generated by backports.git v5.8.18-1-0-ga630fd46
[   14.234119] xt_time: kernel timezone is -0000
[   14.246207] urngd: v1.0.2 started.
[   14.285967] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=22
[   14.296796] pci 0000:00:00.0: enabling device (0004 -> 0007)
[   14.308086] mt7603e 0000:01:00.0: enabling device (0000 -> 0002)
[   14.320253] mt7603e 0000:01:00.0: ASIC revision: 76030010
[   14.389613] random: crng init done
[   14.396411] random: 7 urandom warning(s) missed due to ratelimiting
[   14.948563] mt7603e 0000:01:00.0: Firmware Version: ap_pcie
[   14.959738] mt7603e 0000:01:00.0: Build Time: 20160107100755
[   14.995644] mt7603e 0000:01:00.0: firmware init done
[   15.183306] mt7621-pci 1e140000.pcie: bus=2 slot=1 irq=23
[   15.194201] pci 0000:00:01.0: enabling device (0004 -> 0007)
[   15.205524] mt7615e 0000:02:00.0: enabling device (0000 -> 0002)
[   15.227436] mt7615e 0000:02:00.0: Invalid MAC address, using random address 12:e3:7d:89:9e:bb
[   15.271326] PPP generic driver version 2.4.2
[   15.281314] NET: Registered protocol family 24
[   15.316146] kmodloader: done loading kernel modules from /etc/modules.d/*
[   15.885787] mt7615e 0000:02:00.0: mediatek/mt7663pr2h.bin not found, switching to mediatek/mt7663pr2h_rebb.bin
[   15.907827] mt7615e 0000:02:00.0: HW/SW Version: 0x65322d31, Build Time: 19091404338b809
[   15.907827]
[   15.933355] mt7615e 0000:02:00.0: N9 Firmware Version: 7663mp1827, Build Time: 20190914043434
[   15.950399] mt7615e 0000:02:00.0: Region number: 0x3
[   15.960312] mt7615e 0000:02:00.0: Parsing tailer Region: 0
[   15.973925] mt7615e 0000:02:00.0: Region 0, override_addr = 0x00112c00
[   15.986977] mt7615e 0000:02:00.0: Parsing tailer Region: 1
[   15.998714] mt7615e 0000:02:00.0: Parsing tailer Region: 2
[   16.010040] mt7615e 0000:02:00.0: override_addr = 0x00112c00, option = 3
[   28.356477] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   28.368685] mtk_soc_eth 1e100000.ethernet: PPE table busy
[   28.388626] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   28.404737] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   28.410639] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   28.435495] 8021q: adding VLAN 0 to HW filter on device lan1
[   28.450159] br-lan: port 1(lan1) entered blocking state
[   28.460703] br-lan: port 1(lan1) entered disabled state
[   28.472080] device lan1 entered promiscuous mode
[   28.481374] device eth0 entered promiscuous mode
[   28.494224] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   28.522227] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   28.536444] 8021q: adding VLAN 0 to HW filter on device lan2
[   28.551003] br-lan: port 2(lan2) entered blocking state
[   28.561538] br-lan: port 2(lan2) entered disabled state
[   28.573111] device lan2 entered promiscuous mode
[   28.592940] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   28.606697] 8021q: adding VLAN 0 to HW filter on device lan3
[   28.621205] br-lan: port 3(lan3) entered blocking state
[   28.631690] br-lan: port 3(lan3) entered disabled state
[   28.643520] device lan3 entered promiscuous mode
[   28.661730] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[   28.675783] 8021q: adding VLAN 0 to HW filter on device lan4
[   28.690470] br-lan: port 4(lan4) entered blocking state
[   28.700989] br-lan: port 4(lan4) entered disabled state
[   28.713005] device lan4 entered promiscuous mode
[   28.737575] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[   28.751437] 8021q: adding VLAN 0 to HW filter on device wan
[   32.780167] mt7530 mdio-bus:1f lan4: Link is Up - 1Gbps/Full - flow control rx/tx
[   32.795138] br-lan: port 4(lan4) entered blocking state
[   32.805571] br-lan: port 4(lan4) entered forwarding state
[   32.817258] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

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

_______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
|__| W I R E L E S S   F R E E D O M
-----------------------------------------------------
OpenWrt SNAPSHOT, r0+15625-24d5ef8757
-----------------------------------------------------
=== 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:/#

WN-DX1167R ファームウェア書き込みメモ (Z-Loader)

Z-Loader経由でOpenWrtファームウェアを書き込んだメモ。5chユーザーのWN-AX2033GRにおける先行事例を参考にした。
ハイライトはキー入力個所

U-Boot 1.1.3 (Aug  6 2018 - 14:37:41)

Board: Ralink APSoC DRAM:  128 MB
relocate_code Pointer at: 87f98000

Config XHCI 40M PLL 
******************************
Software System Reset Occurred
******************************
Allocate 16 byte aligned buffer: 87fcb030
Enable NFI Clock
# MTK NAND # : Use HW ECC
NAND ID [01 F1 80 1D 01]
Device found in MTK table, ID: 1f1, EXT_ID: 801d01
Support this Device in MTK table! 1f1 
select_chip
[NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
Signature matched and data read!
load_fact_bbt success 1023
load fact bbt success
[mtk_nand] probe successfully!
mtd->writesize=2048 mtd->oobsize=64,    mtd->erasesize=131072  devinfo.iowidth=8
....============================================ 
Ralink UBoot Version: 5.0.0.0
-------------------------------------------- 
ASIC MT7621A DualCore (MAC to MT7530 Mode)
DRAM_CONF_FROM: Auto-Detection 
DRAM_TYPE: DDR3 
DRAM bus: 16 bit
Xtal Mode=3 OCP Ratio=1/3
Flash component: NAND Flash
Date:Aug  6 2018  Time:14:37:41
============================================ 
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:256, ways:4, linesz:32 ,total:32768 

 ##### The CPU freq = 880 MHZ #### 
 estimate memory size =128 Mbytes
#Reset_MT7530
set LAN/WAN WLLLL
.## Starting application at 0x81E00000 ...


Z-LOADER V1.28 | 08/06/2018 14:37:44


..Hit ESC key to stop autoboot: 1
ZLB> 
ATGO              boot up the whole system
ATGU              go back to U-Boot command line
ATUR              upgrade ras image by console
ATUF              upgrade factory by console
ATNR    x,y       upgrade image by TFTP (x=type[1:ras, 2:bootloader, 3:config, 4:romd 6:factory], y=filename)
ATUX              upgrade bootloader
ATBT    x         block0 write enable (1=enable, 0=disable)
ATEN    x,(y)     set BootExtension Debug Flag (y=password)
ATSE    x         show the seed of password generator
ATWZ    a,(b,c,d) write MAC , Country code, EngDbgFlag, MAC Quantity to FLASH
ATSH              dump manufacturer related data in FLASH
ATBU              dump manufacturer related data in working buffer
ATCB              copy FLASH MRD to working buffer
ATSN    x         set serial number to flash
ATSB              save working buffer to FLASH
ATQY    x         set MAC Quantity to working buffer
ATFL    x         set EngDebugFlag to working buffer
ATCO    x         set country code to working buffer
ATSR              reset
ATRT    (x,y,z,u) RAM read/write test (x=level, y=start addr, z=end addr, u=interations)
ATRM              restore default MRD
ATBR              reset to default Romfile
ATER              erase ROM-D data
ATHV    x         set hardware version to flash
ATGP    x,y       led control
ZLB> ATNR 1,openwrt-ramips-mt7621-iodata_wn-dx1167r-squashfs-tftp-ras.bin

 NetLoop,call eth_halt ! 

 NetLoop,call eth_init ! 
Trying Eth0 (10/100-M)

 Waitting for RX_DMA_BUSY status Start... done


 ETH_STATE_ACTIVE!! 
Using Eth0 (10/100-M) device
TFTP from server 10.10.10.3; our IP address is 10.10.10.123
Filename 'openwrt-ramips-mt7621-iodata_wn-dx1167r-squashfs-tftp-ras.bin'.

 TIMEOUT_COUNT=10,Load address: 0x84000000
Loading: checksum bad
checksum bad
checksum bad
checksum bad
Got ARP REPLY, set server/gtwy eth addr (5c:9a:d8:e6:3f:b3)
Got it
#################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ####################Got ARP REQUEST, return our IP
#############################################
         #################################################################
         #################################################################
         #################################################################
         ##############################################
done
Bytes transferred = 6553600 (640000 hex)
LoadAddr=84000000 NetBootFileXferSize= 00640000
receive langth = 6553600

!!Upgrade File @84000000, length 6553600, type 1, offset 0x400000.  !!
ranand_erase: start:400000, len:20000 
..ranand_erase: start:420000, len:20000 
..ranand_erase: start:440000, len:20000 
..ranand_erase: start:460000, len:20000 
..ranand_erase: start:480000, len:20000 
..ranand_erase: start:4a0000, len:20000 
..ranand_erase: start:4c0000, len:20000 
..ranand_erase: start:4e0000, len:20000 
..ranand_erase: start:500000, len:20000 
..ranand_erase: start:520000, len:20000 
..ranand_erase: start:540000, len:20000 
..ranand_erase: start:560000, len:20000 
..ranand_erase: start:580000, len:20000 
..ranand_erase: start:5a0000, len:20000 
..ranand_erase: start:5c0000, len:20000 
..ranand_erase: start:5e0000, len:20000 
..ranand_erase: start:600000, len:20000 
..ranand_erase: start:620000, len:20000 
..ranand_erase: start:640000, len:20000 
..ranand_erase: start:660000, len:20000 
..ranand_erase: start:680000, len:20000 
..ranand_erase: start:6a0000, len:20000 
..ranand_erase: start:6c0000, len:20000 
..ranand_erase: start:6e0000, len:20000 
..ranand_erase: start:700000, len:20000 
..ranand_erase: start:720000, len:20000 
..ranand_erase: start:740000, len:20000 
..ranand_erase: start:760000, len:20000 
..ranand_erase: start:780000, len:20000 
..ranand_erase: start:7a0000, len:20000 
..ranand_erase: start:7c0000, len:20000 
..ranand_erase: start:7e0000, len:20000 
..ranand_erase: start:800000, len:20000 
..ranand_erase: start:820000, len:20000 
..ranand_erase: start:840000, len:20000 
..ranand_erase: start:860000, len:20000 
..ranand_erase: start:880000, len:20000 
..ranand_erase: start:8a0000, len:20000 
..ranand_erase: start:8c0000, len:20000 
..ranand_erase: start:8e0000, len:20000 
..ranand_erase: start:900000, len:20000 
..ranand_erase: start:920000, len:20000 
..ranand_erase: start:940000, len:20000 
..ranand_erase: start:960000, len:20000 
..ranand_erase: start:980000, len:20000 
..ranand_erase: start:9a0000, len:20000 
..ranand_erase: start:9c0000, len:20000 
..ranand_erase: start:9e0000, len:20000 
..ranand_erase: start:a00000, len:20000 
..ranand_erase: start:a20000, len:20000 
..Done!
ZLB> ATGO

Checking image 1...
   Image Name:   MIPS OpenWrt Linux-4.14.
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1904268 Bytes =  1.8 MB
   Load Address: 80001000
   Entry Point:  80001000
..............................   Verifying Checksum ... ## Booting image at bc400000 ...
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80001000) ...
## Giving linux memsize in MB, 128

Starting kernel ...

[    0.000000] Linux version 4.14.111 (jenkins@tofu-z77hvub18_openwrt) (gcc version 7.4.0 (OpenWrt GCC 7.4.0 r0+9824-b80243858e)) #0 SMP Wed Apr 10 22:14:24 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 I-O DATA WN-DX1167R
[    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] random: get_random_bytes called from start_kernel+0x90/0x4a4 with crng_init=0
[    0.000000] percpu: Embedded 14 pages/cpu @81110000 s26192 r8192 d22960 u57344
[    0.000000] Built 1 zonelists, 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=00041000
[    0.000000] Readback ErrCtl register=00041000
[    0.000000] Memory: 123412K/131072K available (4495K kernel code, 232K rwdata, 1000K rodata, 212K init, 248K bss, 7660K 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.015489] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.087819] pid_max: default: 32768 minimum: 301
[    0.097130] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.110152] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.125872] Hierarchical SRCU implementation.
[    0.135333] smp: Bringing up secondary CPUs ...
[    0.157193] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.157203] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.157214] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.157346] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.204708] Synchronize counters for CPU 1: done.
[    0.280962] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.280971] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.280978] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.281053] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.325550] Synchronize counters for CPU 2: done.
[    0.398048] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.398057] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.398064] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.398161] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.445120] Synchronize counters for CPU 3: done.
[    0.504727] smp: Brought up 1 node, 4 CPUs
[    0.516496] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.535966] futex hash table entries: 1024 (order: 3, 32768 bytes)
[    0.548388] pinctrl core: initialized pinctrl subsystem
[    0.559959] NET: Registered protocol family 16
[    0.577853] pull PCIe RST: RALINK_RSTCTRL = 4000000
[    0.887862] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.897927] ***** Xtal 40MHz *****
[    0.904660] release PCIe RST: RALINK_RSTCTRL = 7000000
[    0.914864] Port 0 N_FTS = 1b102800
[    0.921765] Port 1 N_FTS = 1b105000
[    0.928690] Port 2 N_FTS = 1b102800
[    2.087414] PCIE0 no card, disable it(RST&CLK)
[    2.096102] PCIE2 no card, disable it(RST&CLK)
[    2.104905]  -> 20107f2
[    2.109754] PCIE1 enabled
[    2.114934] PCI host bridge /pcie@1e140000 ranges:
[    2.124462]  MEM 0x0000000060000000..0x000000006fffffff
[    2.134818]   IO 0x000000001e160000..0x000000001e16ffff
[    2.145185] PCI coherence region base: 0xbfbf8000, mask/settings: 0x60000000
[    2.167904] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.179202] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.190476] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    2.203006] PCI host bridge to bus 0000:00
[    2.211026] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    2.224685] pci_bus 0000:00: root bus resource [io  0xffffffff]
[    2.236430] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    2.249905] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    2.266775] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    2.279797] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.293616] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    2.307095] pci 0000:00:00.0: BAR 1: assigned [mem 0x60100000-0x6010ffff]
[    2.320588] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
[    2.335105] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.344928] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    2.359781] clocksource: Switched to clocksource GIC
[    2.371091] NET: Registered protocol family 2
[    2.380381] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    2.394113] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    2.406716] TCP: Hash tables configured (established 1024 bind 1024)
[    2.419449] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    2.430952] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    2.443591] NET: Registered protocol family 1
[    2.689726] 4 CPUs re-calibrate udelay(lpj = 2924544)
[    2.701085] Crashlog allocated RAM at address 0x3f00000
[    2.711776] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    2.731556] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.743066] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.763642] random: fast init done
[    2.772704] io scheduler noop registered
[    2.780396] io scheduler deadline registered (default)
[    2.791494] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    2.805397] console [ttyS0] disabled
[    2.812500] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
[    2.830396] console [ttyS0] enabled
[    2.830396] console [ttyS0] enabled
[    2.844183] bootconsole [early0] disabled
[    2.844183] bootconsole [early0] disabled
[    2.860765] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    2.873648] MediaTek Nand driver init, version v2.1 Fix AHB virt2phys error
[    2.887677] Enable NFI Clock
[    2.893419] # MTK NAND # : Use HW ECC
[    2.900732] Device found in MTK table, ID: 1f1, EXT_ID: 801d01
[    2.912350] Support this Device in MTK table! 1f1 
[    2.922073] [NAND]select ecc bit:4, sparesize :64 spare_per_sector=16
[    2.934943] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[    2.947593] nand: AMD/Spansion NAND 128MiB 3,3V 8-bit
[    2.957650] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.972740] Scanning device for bad blocks
[    3.262508] 12 fixed-partitions partitions found on MTD device MT7621-NAND
[    3.276195] Creating 12 MTD partitions on "MT7621-NAND":
[    3.286781] 0x000000000000-0x000000100000 : "Bootloader"
[    3.298419] 0x000000100000-0x000000200000 : "u-boot-env"
[    3.310086] 0x000000200000-0x000000300000 : "Factory"
[    3.321209] 0x000000300000-0x000000400000 : "SecondBoot"
[    3.332822] 0x000000400000-0x000000800000 : "kernel"
[    3.343791] 0x000000800000-0x000003600000 : "ubi"
[    3.354558] 0x000003600000-0x000003700000 : "Config"
[    3.365513] 0x000003700000-0x000006900000 : "firmware_2"
[    3.377505] 0x000006900000-0x000006a00000 : "Config_2"
[    3.388796] 0x000006a00000-0x000006b00000 : "persist"
[    3.399956] 0x000006b00000-0x000006c00000 : "idmkey"
[    3.410900] 0x000006c00000-0x000007f80000 : "Backup"
[    3.421985] [mtk_nand] probe successfully!
[    3.430894] Signature matched and data read!
[    3.439376] load_fact_bbt success 1023
[    3.447583] libphy: Fixed MDIO Bus: probed
[    3.522344] libphy: mdio: probed
[    4.928371] mtk_soc_eth 1e100000.ethernet: loaded mt7530 driver
[    4.940908] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 19
[    4.959966] NET: Registered protocol family 10
[    4.970170] Segment Routing with IPv6
[    4.977536] NET: Registered protocol family 17
[    4.986428] 8021q: 802.1Q VLAN Support v1.8
[    4.997556] UBI: auto-attach mtd5
[    5.004248] ubi0: attaching mtd5
[    5.025850] UBI: EOF marker found, PEBs from 13 will be erased
[    5.037929] ubi0: scanning is finished
[    5.084852] ubi0: volume 1 ("rootfs_data") re-sized from 9 to 333 LEBs
[    5.098640] ubi0: attached mtd5 (name "ubi", size 46 MiB)
[    5.109444] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    5.123159] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    5.136677] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    5.150539] ubi0: good PEBs: 368, bad PEBs: 0, corrupted PEBs: 0
[    5.162500] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    5.176880] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 964880614
[    5.194896] ubi0: available PEBs: 0, total reserved PEBs: 368, PEBs reserved for bad PEB handling: 20
[    5.213277] ubi0: background thread "ubi_bgt0d" started, PID 369
[    5.215189] block ubiblock0_0: created from ubi0:0(rootfs)
[    5.236218] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    5.250120] hctosys: unable to open rtc device (rtc0)
[    5.320902] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    5.335589] Freeing unused kernel memory: 212K
[    5.344455] This architecture does not have kernel memory protection.
[    6.357057] init: Console is alive
[    6.364108] init: - watchdog -
[    6.453838] mtk_soc_eth 1e100000.ethernet eth0: port 3 link up
[    6.529355] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.619659] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.650049] init: - preinit -
[    7.337540] mtk_soc_eth 1e100000.ethernet: PPE started
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.548994] UBIFS (ubi0:1): default file-system created
[   10.561060] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 439
[   10.593041] random: procd: uninitialized urandom read (4 bytes read)
[   10.675612] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[   10.691242] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   10.710990] UBIFS (ubi0:1): FS size: 41013248 bytes (39 MiB, 323 LEBs), journal size 2031616 bytes (1 MiB, 16 LEBs)
[   10.731760] UBIFS (ubi0:1): reserved for root: 1937156 bytes (1891 KiB)
[   10.744926] UBIFS (ubi0:1): media format: w4/r0 (latest is w5/r0), UUID B81C08C4-63C6-4F2A-9209-8BD51995109A, small LPT model
[   10.770363] mount_root: overlay filesystem has not been fully initialized yet
[   10.784963] mount_root: switching to ubifs overlay
[   10.810343] urandom-seed: Seed file not found (/etc/urandom.seed)
[   10.897251] mtk_soc_eth 1e100000.ethernet: 0x100 = 0x6060000c, 0x10c = 0x80818
[   10.918904] procd: - early -
[   10.924772] procd: - watchdog -
[   11.549909] procd: - watchdog -
[   11.556472] procd: - ubus -
[   11.609170] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.622535] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.635596] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.649111] procd: - init -
Please press Enter to activate this console.
[   11.910565] kmodloader: loading kernel modules from /etc/modules.d/*
[   11.927475] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   11.944856] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.961078] nf_conntrack version 0.5.0 (2048 buckets, 8192 max)
[   12.003913] xt_time: kernel timezone is -0000
[   12.018142] PPP generic driver version 2.4.2
[   12.027837] NET: Registered protocol family 24
[   12.038953] kmodloader: done loading kernel modules from /etc/modules.d/*
[   13.206587] urandom_read: 5 callbacks suppressed
[   13.206599] random: jshn: uninitialized urandom read (4 bytes read)
[   23.311257] mtk_soc_eth 1e100000.ethernet: PPE started
[   23.327072] br-lan: port 1(eth0.1) entered blocking state
[   23.337924] br-lan: port 1(eth0.1) entered disabled state
[   23.349363] device eth0.1 entered promiscuous mode
[   23.359238] device eth0 entered promiscuous mode
[   23.371147] br-lan: port 1(eth0.1) entered blocking state
[   23.381939] br-lan: port 1(eth0.1) entered forwarding state
[   23.393592] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   24.350325] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   24.725924] 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, r0+9856-c5e6f6b6c2
 -----------------------------------------------------
=== 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:/#