WX3600HP FW Header

     +---------------------------+-------------+-------------+
0x00 |   codename ("g.soleil")   | FF FF FF FF |Magic(txt)?->|
     +---------------------------+-------------+-------------+
0x10 |-->   Magic(Text)?         |kernel crc32 |kernel length|
     +-------------+-------------+-------------+-------------+
0x20 |rootfs crc32 |rootfs offset|rootfs length| 00 00 00 00 |
     +-------------+-------------+-------------+-------------+
0x30 |                    Version (Text)                     |
     +-------------------------------------------------------+

rootfs長はパディング無しの実サイズ

SA-W2

吉川のハードオフにふらっと行った際、青箱に転がっているのを見つけ、事前情報は何も持っていない状態であったものの、RJ45のコンソールポートを搭載していること、USBポートを2つ搭載していることから強く惹かれ、ダメだったらその時はその時と割り切って確保。500円+税であったことも理由。
なんとなく可能性は考えていたものの、やはりU-Bootではなかった。
弄っていくのでメモ。

Switch

zone WAN LAN
port
(SA-W2)
GE0/PoE GE1 3 GE1 2 GE1 1 GE1 0
port
(88E6172)
port4 port3 port2 port1 port0

MAC

  • LAN: 00:E0:4D:xx:xx:19 (?)
  • WAN: 00:E0:4D:xx:xx:18 (board_info, 0x6 (hex))
  • 2.4G: 84:25:3F:xx:xx:xx (Mini PCIe Card)
  • 5G: 84:25:3F:xx:xx:xx (Mini PCIe Card)

Bootloader

initramfsイメージでのブートが無理そうな気がする
tftpload —> go

  • help
    一覧には無いがRAMにロードされたSEILファームウェア形式を実行する go コマンドも存在している

    #help
    help                            show this message
    ver                             show version and information
    about                           show copyright notice
    set [<var>=<value>]             set or show variables
    unset <var>                     unset variables
    resetenv                        reset all variables
    dir [<path>]                    show directory contents
    boot [<bootdev>]                boot from $BOOTDEV device
    reboot                          reboot
    d [<address>] [<length>]        dump memory
    eb [<address>]                  memory edit (byte access)
    ew [<address>]                  memory edit (word access)
    ed [<address>]                  memory edit (double word access)
    loadfirm                        download firmware from stdin
    loadipl                         download ipl from stdin
    address [<ip> [lan?]]           set IP address
    rarp [lan?]                     reverse arp
    bootp [lan?]                    bootp
    usbload <file>                  load a file from USB memory
    tftpload <ip> <file>            load a file by tftp
    iplwrite                        write loaded data to ipl block
    firmwrite                       write loaded data to firmware block
    rescuewrite                     write loaded data to rescue firmware block
    firmcheck                       check firmware image of normal and rescue firmware block
    flashload <device>              load data from flash block
    flashwrite [<device> ...]       write loaded data to flash block
    iplcmp                          compare loaded data with ipl block
    firmcmp                         compare loaded data with firmware block
    rescuecmp                       compare loaded data with rescue firmware block
    

  • ver
    #ver
    IPL ver  : 1.20
    H/W type : SA-W2
    CPU type : ARMADA 38x
    H/W rev  : E
    lan0     : 00:e0:4d:xx:xx:18
    lan1     : 00:e0:4d:xx:xx:19
    flash0   : device W25Q256, base 0xd4000000, size 0x2000000
    bootdev  : flash
    dipsw    : 0xff
    

  • about
    #about
    
    PMON2000 is an Open Source, BSD style licenced, firmware system created
    at  Opsycon AB, Sweden.  It can be freely redistributed and  used under
    the described conditions.
    
    The first PMON2000 version was based on PMON by Algorithmics UK, which
    was based on PMON for the MIPS(R) architecture, created by Phil Bunce.
    The initial PowerPC implementation was created 2000 on sub-contract to
    RTMX Inc and later the MIPS implementation was created on sub-contract
    to PMC-Sierra, Inc.
    
    Visit the "PMON2000 On-line" Web Site, http://www.pmon2000.com for
    reference documentation, additional information and support.
    
    For other related activities / products / services visit.
    Opsycon AB, Sweden              http://www.opsycon.com
    GroupBSD Open Source (RTMX)     http://groupbsd.org
    OpenBSD Project                 http://www.openbsd.org
    

  • set
    #set
    VENDOR=OEM
    MANUALBOOT=no
    CONSOLE=serial0
    CONSPEED=115200
    BOOTDEV=flash
    

  • firmcheck
    #firmcheck
    [Normal firmware]
    ident: 'SEIL2015'
    copyright: 'Copyright (c) 2020 Internet Initiative Japan Inc. All rights reserved.'
    version format: 1
    version major: 4
    version minor: 73
    version release: 'Release'
    body size: 11157143
    checksum: 0x703d3265
    
    [Rescue firmware]
    ident: 'SEIL2015'
    copyright: 'Copyright (c) 2017 Internet Initiative Japan Inc. All rights reserved.'
    version format: 1
    version major: 3
    version minor: 70
    version release: 'Release'
    body size: 10152458
    checksum: 0x8f9518c2
    

  • d <addr> 0x100
    #d 0xd4000000 0x100
    d4000000: 5A 00 00 00 60 C9 06 00 01 01 A0 36 A0 36 01 00 <Z...`......6.6..>
    d4000010: 00 80 00 00 00 80 00 00 00 00 00 00 00 00 01 F0 <................>
    d4000020: 02 01 74 36 02 00 00 00 5B 00 00 00 68 00 00 00 <..t6....[...h...>
    d4000030: FF 5F 2D E9 C1 02 00 FA 00 00 A0 E3 FF 9F BD E8 <._-.............>
    d4000040: FE 1F 2D E9 36 0F 07 EE FE 1F BD E8 1E FF 2F E1 <..-.6........./.>
    d4000050: FE 1F 2D E9 BA 0F 07 EE 3E 0F 07 EE 9A 0F 07 EE <..-.....>.......>
    d4000060: FE 1F BD E8 1E FF 2F E1 FE 1F 2D E9 5F F0 7F F5 <....../...-._...>
    d4000070: 3E 0F 07 EE 4F F0 7F F5 FE 1F BD E8 1E FF 2F E1 <>...O........./.>
    d4000080: 10 1F 11 EE 02 1A C1 E3 00 10 81 E1 10 1F 01 EE <................>
    d4000090: 4F F0 7F F5 1E FF 2F E1 00 10 0F E1 01 1C C1 E3 <O...../.........>
    d40000a0: 00 10 81 E1 01 F0 22 E1 1E FF 2F E1 01 20 51 E2 <......".../.. Q.>
    d40000b0: 1E FF 2F 01 74 00 00 3A 01 00 50 E1 6B 00 00 9A <../.t..:..P.k...>
    d40000c0: 02 00 11 E1 6C 00 00 0A 10 3F 6F E1 11 2F 6F E1 <....l....?o../o.>
    d40000d0: 03 30 42 E0 1F 30 73 E2 83 30 83 10 00 20 A0 E3 <.0B..0s..0... ..>
    d40000e0: 03 F1 8F 10 00 00 A0 E1 81 0F 50 E1 02 20 A2 E0 <..........P.. ..>
    d40000f0: 81 0F 40 20 01 0F 50 E1 02 20 A2 E0 01 0F 40 20 <..@ ..P.. ....@ >
    #d 0xd407ff00 0x100
    d407ff00: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d407ff10: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d407ff20: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d407ff30: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d407ff40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d407ff50: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d407ff60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d407ff70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d407ff80: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d407ff90: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d407ffa0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d407ffb0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d407ffc0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d407ffd0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d407ffe0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d407fff0: 53 45 49 4C 32 30 31 35 FF FF FF FF F1 46 AF F6 <SEIL2015.....F..>
    #d 0xd4100000 0x100
    d4100000: 56 45 4E 44 4F 52 3D 4F 45 4D 00 4D 41 4E 55 41 <VENDOR=OEM.MANUA>
    d4100010: 4C 42 4F 4F 54 3D 6E 6F 00 43 4F 4E 53 4F 4C 45 <LBOOT=no.CONSOLE>
    d4100020: 3D 73 65 72 69 61 6C 30 00 43 4F 4E 53 50 45 45 <=serial0.CONSPEE>
    d4100030: 44 3D 31 31 35 32 30 30 00 42 4F 4F 54 44 45 56 <D=115200.BOOTDEV>
    d4100040: 3D 66 6C 61 73 68 00 00 00 00 00 00 00 00 00 00 <=flash..........>
    d4100050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <................>
    d4100060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <................>
    d4100070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <................>
    d4100080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <................>
    d4100090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <................>
    d41000a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <................>
    d41000b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <................>
    d41000c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <................>
    d41000d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <................>
    d41000e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <................>
    d41000f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <................>
    #d 0xd4110000 0x100
    d4110000: 53 45 49 4C 20 45 00 E0 4D xx xx 18 FF FF FF FF <SEIL E..Mxx.....>
    d4110010: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d4110020: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d4110030: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d4110040: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d4110050: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d4110060: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d4110070: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d4110080: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d4110090: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d41100a0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d41100b0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d41100c0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d41100d0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d41100e0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    d41100f0: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF <................>
    #d 0xd4200000 0x100
    d4200000: 53 45 49 4C 32 30 31 35 43 6F 70 79 72 69 67 68 <SEIL2015Copyrigh>
    d4200010: 74 20 28 63 29 20 32 30 32 30 20 49 6E 74 65 72 <t (c) 2020 Inter>
    d4200020: 6E 65 74 20 49 6E 69 74 69 61 74 69 76 65 20 4A <net Initiative J>
    d4200030: 61 70 61 6E 20 49 6E 63 2E 20 41 6C 6C 20 72 69 <apan Inc. All ri>
    d4200040: 67 68 74 73 20 72 65 73 65 72 76 65 64 2E 00 00 <ghts reserved...>
    d4200050: 00 00 00 00 00 00 00 00 70 3D 32 65 00 00 00 01 <........p=2e....>
    d4200060: 00 00 00 04 00 00 00 49 52 65 6C 65 61 73 65 00 <.......IRelease.>
    d4200070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <................>
    d4200080: 00 00 00 00 00 00 00 00 00 00 00 52 00 AA 3E 97 <...........R..>.>
    d4200090: 0E 00 00 EA 18 F0 9F E5 18 F0 9F E5 18 F0 9F E5 <................>
    d42000a0: 18 F0 9F E5 18 F0 9F E5 18 F0 9F E5 18 F0 9F E5 <................>
    d42000b0: 40 00 00 05 84 01 00 05 DC 01 00 05 34 02 00 05 <@...........4...>
    d42000c0: 88 02 00 05 00 00 00 00 28 03 00 05 54 03 00 05 <........(...T...>
    d42000d0: 00 C0 0F E1 C0 C0 8C E3 0C F0 29 E1 B4 D3 9F E5 <..........).....>
    d42000e0: 01 D9 4D E2 00 80 A0 E1 01 90 A0 E1 02 A0 A0 E1 <..M.............>
    d42000f0: 68 B0 4F E2 15 0F 07 EE 95 0F 07 EE 10 0F 11 EE <h.O.............>
    #d 0xd5100000 0x100
    d5100000: 53 45 49 4C 32 30 31 35 43 6F 70 79 72 69 67 68 <SEIL2015Copyrigh>
    d5100010: 74 20 28 63 29 20 32 30 31 37 20 49 6E 74 65 72 <t (c) 2017 Inter>
    d5100020: 6E 65 74 20 49 6E 69 74 69 61 74 69 76 65 20 4A <net Initiative J>
    d5100030: 61 70 61 6E 20 49 6E 63 2E 20 41 6C 6C 20 72 69 <apan Inc. All ri>
    d5100040: 67 68 74 73 20 72 65 73 65 72 76 65 64 2E 00 00 <ghts reserved...>
    d5100050: 00 00 00 00 00 00 00 00 8F 95 18 C2 00 00 00 01 <................>
    d5100060: 00 00 00 03 00 00 00 46 52 65 6C 65 61 73 65 00 <.......FRelease.>
    d5100070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <................>
    d5100080: 00 00 00 00 00 00 00 00 00 00 00 52 00 9A EA 0A <...........R....>
    d5100090: 0E 00 00 EA 18 F0 9F E5 18 F0 9F E5 18 F0 9F E5 <................>
    d51000a0: 18 F0 9F E5 18 F0 9F E5 18 F0 9F E5 18 F0 9F E5 <................>
    d51000b0: 40 00 00 05 84 01 00 05 DC 01 00 05 34 02 00 05 <@...........4...>
    d51000c0: 88 02 00 05 00 00 00 00 28 03 00 05 54 03 00 05 <........(...T...>
    d51000d0: 00 C0 0F E1 C0 C0 8C E3 0C F0 29 E1 B4 D3 9F E5 <..........).....>
    d51000e0: 01 D9 4D E2 00 80 A0 E1 01 90 A0 E1 02 A0 A0 E1 <..M.............>
    d51000f0: 68 B0 4F E2 15 0F 07 EE 95 0F 07 EE 10 0F 11 EE <h.O.............>
    

Kernel

LinuxではなくNetBSDベース。シェルが用意されておらずコマンド入力等不可

  • bootlog
    
    General initialization - Version: 1.0.0
    Detected Device ID 6810
    High speed PHY - Version: 2.0
    
    Init Customer board board SerDes lanes topology details:
    | Lane # | Speed|    Type     |
    ------------------------------|
    |   0    |  5   |  PCIe0      |
    |   5    |  5   |  PCIe2      |
    -------------------------------
    :** Link is Gen1, check the EP capability
    PCIe, Idx 0: remains Gen1
    :** Link is Gen1, check the EP capability
    PCIe, Idx 2: remains Gen1
    High speed PHY - Ended Successfully
    DDR3 Training Sequence - Ver TIP-1.39.0
    DDR3 Training Sequence - Switching XBAR Window to FastPath Window
    DDR3 Training Sequence - Ended Successfully
    
    SA-W2 IPL Monitor version 1.20
    Copyright 2003-2016 Internet Initiative Japan Inc.
    
    boot: Boot from Flash...
    Reading FLASH. Done.
    Firmware checksum is correct.
    
    NetBSD/seil7 (seilw2) booting ...
    
    Boot Cause: Power-on-boot
    Boot Mode: Normal
    initusbhub: reg=0x01000004
    Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012
    The NetBSD Foundation, Inc.  All rights reserved.
    Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.
    
    NetBSD 6.1_STABLE (SEILW2_MD) #0: Thu Dec 24 16:28:51 JST 2020
    [email protected]:/disk2/home/releng/build/w1-4.73/4.73/src/work.seil7/obj/sys/arch/seil7/compile/SEILW2_MD
    total memory = 256 MB
    avail memory = 215 MB
    mainbus0 (root)
    rom0 at mainbus0
    cpu0 at mainbus0: 1 GHz Cortex-A9 r4p1 (Cortex core)
    cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
    cpu0: 32KB/32B 4-way L1 VIPT Instruction cache
    cpu0: 32KB/32B 4-way write-back-locking-C L1 PIPT Data cache
    cpu0: 1024KB/32B 16-way write-back-locking-D L2 PIPT Unified cache
    vfp0 at cpu0: NEON MPE (VFP 3.0+)
    nullrtc0 at mainbus0: Dummy Real Time Clock
    armperiph0 at mainbus0
    arml2cc0 at armperiph0: ARM PL310 r3p3 L2 Cache Controller (disabled)
    arml2cc0: cache enabled
    armgic0 at armperiph0: Generic Interrupt Controller, 192 sources (181 valid)
    armgic0: 32 Priorities, 160 SPIs, 5 PPIs, 16 SGIs
    a9tmr0 at armperiph0: A9 Global 64-bit Timer (533 MHz)
    a9tmr0: interrupting on irq 27
    mvsoc0 at mainbus0: Marvell 88F6810 Rev. A0  ARMADA380
    mvsoc0: CPU Clock 1066.666 MHz  SysClock 533.333 MHz  TClock 250.000 MHz
    mvsoctmr0 at mvsoc0 unit 0 offset 0x20300-0x203ff irq 40: Marvell SoC Timer
    mvsocgpp0 at mvsoc0 unit 0 offset 0x18100-0x181ff irq 85: Marvell SoC General Purpose I/O Port Interface
    mvsocgpp0: 60 gpio pins
    mvsocgpp0: interrupts 192..199, intr 85
    mvsocgpp0: interrupts 200..207, intr 86
    mvsocgpp0: interrupts 208..215, intr 87
    mvsocgpp0: interrupts 216..223, intr 88
    mvsocgpp0: interrupts 224..231, intr 90
    mvsocgpp0: interrupts 232..239, intr 91
    mvsocgpp0: interrupts 240..247, intr 92
    mvsocgpp0: interrupts 248..255, intr 93
    mvsocgpp0:   Data Out:                  0x01000004
    mvsocgpp0:   Data Out Enable Control:   0xf827fff3
    mvsocgpp0:   Data Blink Enable:         0x00000000
    mvsocgpp0:   Data In Polarity:          0x00000000
    mvsocgpp0:   Data In:                   0xf927fff7
    mvsocgpp0:   Interrupt Cause:           0x00000000
    mvsocgpp0:   Interrupt Mask:            0x00000000
    mvsocgpp0:   Interrupt Level Mask:      0x00000000
    mvsocgpp0:   High Data Out:             0x00c08000
    mvsocgpp0:   High Data Out Enable Ctrl: 0x0f070fe1
    mvsocgpp0:   High Blink Enable:         0x00000000
    mvsocgpp0:   High Data In Polarity:     0x00000000
    mvsocgpp0:   High Data In:              0x0fc78be1
    mvsocgpp0:   High Interrupt Cause:      0x00000000
    mvsocgpp0:   High Interrupt Mask:       0x00000000
    mvsocgpp0:   High Interrupt Level Mask: 0x00000000
    gpio0 at mvsocgpp0: 60 pins
    mvusboc0 at gpio0 pins 48 irq 240 port 0: USB Over Current Monitor
    mvusboc1 at gpio0 pins 49 irq 241 port 1: USB Over Current Monitor
    led0 at gpio0 pins
    ledctl0 at led0
    mvsocrtc at mvsoc0 unit 0 not configured
    com0 at mvsoc0 unit 0 offset 0x12000-0x1201f irq 44: ns16550a, working fifo
    com0: console
    ehci0 at mvsoc0 unit 0 offset 0x58000-0x59fff irq 50: Marvell USB 2.0 Interface
    usb0 at ehci0: USB revision 2.0
    mvxpsec0 at mvsoc0 unit 0 offset 0x90000 irq 51: Marvell Crypto Engines and Security Accelerator
    mvxpsec0: multi-packet chained mode enabled.
    mvxpsec0: Max 2048 sessions.
    mvxpsec0: 4096 DMA handles in 81920 bytes array
    mvxpsec0: internal SRAM window at #4 0xc8010000-0xc801ffff va 0x8bb26000
    mvxpsec1 at mvsoc0 unit 1 offset 0x92000 irq 52: Marvell Crypto Engines and Security Accelerator
    mvxpsec1: multi-packet chained mode enabled.
    mvxpsec1: Max 2048 sessions.
    mvxpsec1: 4096 DMA handles in 81920 bytes array
    mvxpsec1: internal SRAM window at #5 0xd0300000-0xd030ffff va 0x8bb3b000
    mvsmi0 at mvsoc0 unit 0 offset 0x72004-0x72007: Serial Management Interface
    mvls0 at mvsmi0 addr 0-31 gpio 42 irq 234 single-chip 88E6172/88E6172R Rev.1: Marvell Gigabit Ethernet Switch
    mvlsp0 at mvls0 port 0: Marvell Gigabit Ethernet Switch External Port
    mvlsphy0 at mvlsp0 phy 0: Marvell 88E6172 Gigabit Switch PHY, rev. 1
    mvlsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
    mvlsp1 at mvls0 port 1: Marvell Gigabit Ethernet Switch External Port
    mvlsphy1 at mvlsp1 phy 1: Marvell 88E6172 Gigabit Switch PHY, rev. 1
    mvlsphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
    mvlsp2 at mvls0 port 2: Marvell Gigabit Ethernet Switch External Port
    mvlsphy2 at mvlsp2 phy 2: Marvell 88E6172 Gigabit Switch PHY, rev. 1
    mvlsphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
    mvlsp3 at mvls0 port 3: Marvell Gigabit Ethernet Switch External Port
    mvlsphy3 at mvlsp3 phy 3: Marvell 88E6172 Gigabit Switch PHY, rev. 1
    mvlsphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
    mvlsp4 at mvls0 port 4: Marvell Gigabit Ethernet Switch External Port
    mvlsphy4 at mvlsp4 phy 4: Marvell 88E6172 Gigabit Switch PHY, rev. 1
    mvlsphy4: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto
    mvlsp5 at mvls0 port 5: Marvell Gigabit Ethernet Switch Internal Port
    mvlsp6 at mvls0 port 6: Marvell Gigabit Ethernet Switch Internal Port
    mvxpe0 at mvsoc0 unit 0 offset 0x70000 irq 8: Marvell ARMADA GbE Controller
    mvxpe0: Port Version 0x10
    mvxpe0: Using Buffer Manager: software_bm
    mvxpe0: 16640 kbytes managed buffer, 2016 bytes * 8192 entries allocated.
    mvxpe0: Ethernet address 00:e0:4d:xx:xx:18
    mvxpe0: connected to mvlsp5 with rgmii
    mvxpe1 at mvsoc0 unit 1 offset 0x30000 irq 10: Marvell ARMADA GbE Controller
    mvxpe1: Port Version 0x10
    mvxpe1: Using Buffer Manager: software_bm
    mvxpe1: 16640 kbytes managed buffer, 2016 bytes * 8192 entries allocated.
    mvxpe1: Ethernet address 00:e0:4d:xx:xx:19
    mvxpe1: connected to mvlsp6 with rgmii
    mvsoc0: mvxpe2 clock disabled
    mvpex0 at mvsoc0 unit 0 offset 0x80000-0x81fff irq 61: Marvell PCI Express Interface
    pci0 at mvpex0
    Marvell 88F6810 SoC Armada 38x (miscellaneous memory, revision 0x04) at pci0 dev 0 function 0 not configured
    ath0 at pci0 dev 1 function 0: Atheros 9287
    Green-AP : Attached
    ath_get_caps[6260] rx chainmask mismatch actual 3 sc_chainmask 0
    ath_get_caps[6235] tx chainmask mismatch actual 3 sc_chainmask 0
    ath_attach_dfs[12710] dfsdomain 3
    ath0: driver version 3.0.12
    ath0: mac 384.2 phy 15.15 radio 0.0
    ath0: Use hw queue 0 for WME_AC_BE traffic
    ath0: Use hw queue 1 for WME_AC_BK traffic
    ath0: Use hw queue 2 for WME_AC_VI traffic
    ath0: Use hw queue 3 for WME_AC_VO traffic
    ath0: Use hw queue 8 for CAB traffic
    ath0: Use hw queue 9 for beacons
    mvsoc0: mvpex1 clock disabled
    mvpex1 at mvsoc0 unit 2 offset 0x44000-0x45fff irq 102: Marvell PCI Express Interface
    pci1 at mvpex1
    Marvell 88F6810 SoC Armada 38x (miscellaneous memory, revision 0x04) at pci1 dev 0 function 0 not configured
    ath1 at pci1 dev 1 function 0: Atheros QCA988X
    mvsoc0: mvpex3 clock disabled
    mvsoc0: mvsata0 clock disabled
    mvsoc0: mvsata1 clock disabled
    mvsdio at mvsoc0 unit 0 not configured
    rom0: vendor: ef, Winbond
    rom0: device: 4019, W25Q256
    rom0: 32832K bytes accessible
    ath1: AC Minfree buffer allocation through module param
    ath1: OL_ACBKMinfree: 0
    ath1: OL_ACBEMinfree: 0
    ath1: OL_ACVIMinfree: 0
    ath1: OL_ACVOMinfree: 0
    uhub0 at usb0: Marvell EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
    ath1: TARGET TYPE: 7, Vers: 0x4100016c
    ath1: NUM_DEV=1 FWMODE=0x2 FWSUBMODE=0x0 FWBR_BUF 0
    pair module attached
    vxlan module attached
    ath1: Download Board data len 2116
    ath1: Download OTP data len 7208
    ath1: Download Firmware id: '20190515_d6417d8c40c45bd827a2037fc3b4e9be'
    ath1: Download Firmware data len 229576
    +HWT
    CE_recv_buf_enqueue 665 Populate last entry 512 for CE 5
    CE_recv_buf_enqueue 674 CE 5 wi 511 dest_ptr 0x3d71000 nbytes 0 recv_ctxt 0x0x8402d000
    -HWT
    HTC Service:0x0300 ep:1 TX flow control disabled
    CE_pkt_dl_len_set CE 4 Pkt download length 64
    ol_txrx_pdev_attach: 1424 tx desc's allocated ; range starts from 0x8429e000
    HTC Service:0x0100 ep:2 TX flow control disabled
    wmi_service_ready_event_rx: WMI UNIFIED SERVICE READY event
    num_rf_chain : 00000003
    ht_cap_info  : 0000085b
    vht_cap_info : 338001b2
    vht_supp_mcs : 0000ffea
    ath1: LARGE_AP enabled. num_peers 144, num_vdevs 16, num_tids 256
    ath1: idx 0 req 1 num_units 0 num_unit_info 2 unit size 444 actual units 145
    ath1: chunk 0 len 64380 requested, ptr 0x3f7b000
    ath1: FIRMWARE: P 145 V 16 T 443
    
    ath1: FIRMWARE: _wlan_rtt_enable
    wmi_ready_event_rx: WMI UNIFIED READY event
    ath1: target firmware software version 0x4100033a
    ath1: target firmware abi version 0x00000001
    ol_ath_set_host_app_area TODO
    ol_ath_phyerr_attach: called
    Green-AP : Attached
    ol_ath_rtt_meas_report_attach: called
    __ol_ath_attach: init tx/rx TODO
    htt_t2h_msg_handler_misc: target uses HTT version 2.1; host uses 2.1
    uhub1 at uhub0 port 1: SMSC USB Hub USB2514/14i/14B/14Bi, class 9/0, rev 2.00/b.b3, addr 2
    uhub1: multiple transaction translators
    uhub1: has SEIL ext power control.
    IPsec Interface: configured direct processing mode
    boot device: <unknown>
    root on md0a
    Sun Jan  1 09:00:00 JST 2012
    Starting watchdog timer.
    Mounting all filesystems...
    Building databases: dev, dev, services, master.passwd.
    Starting syslogd.
    waiting for /var/run/syslogd.pid
    Setting sysctl variables:
    kern.tty.qsize: 1024 -> 32768
    kern.mbuf.nmbclusters: 8192 -> 8192
    net.inet.ip.redirect: 1 -> 0
    net.inet.ip.allowsrcrt: 1 -> 0
    net.inet.ip.forwsrcrt: 1 -> 0
    net.inet.ip.hostzerobroadcast: 0 -> 0
    net.inet.ip.ifq.maxlen: 512 -> 1024
    net.inet.icmp.rediraccept: 1 -> 0
    net.inet.tcp.mss_ifmtu: 0 -> 1
    net.inet.ipsec.debug: 0 -> 0
    net.inet.ipsec.dfbit: 2 -> 0
    net.inet6.ip6.redirect: 1 -> 0
    net.inet6.ip6.ifq.maxlen: 512 -> 1024
    net.inet6.icmp6.rediraccept: 1 -> 0
    net.inet6.icmp6.nodeinfo: 1 -> 0
    net.inet6.tcp6.mss_ifmtu: 1 -> 1
    net.inet.ip.maxflows: 256 -> 0
    net.inet6.ip6.maxflows: 256 -> 0
    vendor.iij.iipf.forward: 1 -> 1
    vendor.iij.iipf.bridge: 1 -> 1
    vendor.iij.iipf.fragqueue: 0 -> 1
    vendor.iij.iipf.fragqueue6: 0 -> 1
    vendor.iij.iipf.appgw-forward: 0 -> 1
    vendor.iij.iipf.appgw-bridge: 0 -> 1
    net.inet6.ip6.gifpmtu: 0 -> 1
    net.inet6.ip6.ipsecifpmtu: 0 -> 1
    net.pppoe.term_unknown: 0 -> 1
    net.vlan.default_if_type: 0 -> 1
    kern.crypto.queue_limit: 64 -> 512
    kern.crypto.rqueue_limit: 64 -> 512
    ddb.lines: 0 -> 0
    net.key.keep_sa: 0 -> 1
    net.key.cache_enable: -1 -> -1
    kern.maxfiles: 1772 -> 12000
    Setting tty flags.
    Starting network interfaces: l2sw0 ge0p0 ge0ip0 ge1ip0 ge0 ge1 vlan0..11 bridge0..11 ipsec0..63 pppoe0..2 ppp0..1 vxlan0..0 wlan0..7 wrap0..0 pwe0..15 gif0..63 pair0..3 switch0..0 pppac0..0.
    Starting polld.
    Starting cpustatd.
    Starting floatlinkd.
    Starting seventd.
    Starting ifwatchd.
    Starting iipfdnsreloader.
    Configuring GPIO.
    Starting timerd.
    Starting zebra.
    
    SA-W2 IPL Monitor version 1.20
    SA-W2 Ver. 4.73 (Release)
    
    H/Wrev  :  E
    Serial  : SAW2-SAX###036116
    DistID  : 0001-0000-0000-xxxx-xxxx-xxxx-xxxx-xxxx
    Memory  : Total 256.00MB, Used 95.18MB (37.18%), Avail 160.82MB (62.82%)
    Power   : AC Adapter
    Country : jp
    
    Setting securelevel: kern.securelevel: 0 -> 1
    Starting connmgrd.
    Enabling iipf.
    iipf: IPv4/IPv6 Packet Filter Enabled
    flush all filter rules
    Starting rteventd.
    
    SMFv2 mode boot sequence start...
    Distribution ID: 0001-0000-0000-xxxx-xxxx-xxxx-xxxx-xxxx
    Restoring arms cache.
    Starting armsd.
    [01/01 09:00:11.191] INFO   armsd version 1.2.0, with libarms 6.33 (Release)
    [01/01 09:00:11.203] WARN   size of state cache is not expected - ignore it
    [01/01 09:00:11.240] INFO   cannot find smf-line-plain.txt and smf-line-encrypted.bin. skip encryption.
    Disabling forwarding.
    [01/01 09:00:11.463] INFO   log callback: 2 - Pull from LS.
    [01/01 09:00:11.468] INFO   state changed: INITIAL -> LSPULL
    skip STATIC Line (no config)
    [01/01 09:00:11.566] INFO   log callback: 121 - Line Timeout
    [01/01 09:00:23.264] INFO   log callback: 25 - Line STATIC(0) Disconnected.
    skip PPPoE-IPv6 Line (link down)
    [01/01 09:00:26.448] INFO   log callback: 121 - Line Timeout
    [01/01 09:00:39.058] INFO   log callback: 25 - Line PPPoE-IPv6(1) Disconnected.
    skip PPPoE Line(link down)
    [01/01 09:00:41.802] INFO   log callback: 121 - Line Timeout
    [01/01 09:00:55.411] INFO   log callback: 25 - Line PPPoE(2) Disconnected.
    skip DHCP Line (link down)
    [01/01 09:00:58.155] INFO   log callback: 121 - Line Timeout
    [01/01 09:01:08.842] INFO   log callback: 25 - Line DHCP(3) Disconnected.
    skip Mobile Line (dialup-device not found)
    [01/01 09:01:09.905] INFO   log callback: 121 - Line Timeout
    [01/01 09:01:22.547] INFO   log callback: 25 - Line MOBILE(4) Disconnected.
    skip RA Line (link down)
    [01/01 09:01:25.288] INFO   log callback: 121 - Line Timeout
    
    

WN-AG300DGR/WN-AC1xxxDGRx NVMEM MAC addressメモ

現状、OpenWrtにおけるNVMEMフレームワークを通したテキストベースなMACの取得はPlatform Deviceに限定されており、PCI(e)デバイスにおいてはテキスト絡みの処理が実装されておらず利用不可。

WN-AG300DGR

  • 5GHz (AR9382) calibrationデータはFlash内に無し

[   10.383090] of_get_mac_addr_nvmem: pdev is not null, call nvmem_get_mac_address
[   10.415812] ieee80211 phy0: Atheros AR9340 Rev:1 mem=0xb8100000, irq=12
[   10.423397] ath9k 0000:00:00.0: enabling device (0000 -> 0002)
[   10.429785] of_get_mac_addr_nvmem: pdev is null, continue...
[   10.550322] ieee80211 phy1: Atheros AR9300 Rev:3 mem=0xb0000000, irq=20

WN-AC1600DGR

  • 5GHz (QCA9880) calibrationデータはFlash内に無し

[    8.580881] ath10k 5.15 driver, optimized for CT firmware, probing pci device: 0x3c.
[    8.590211] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[    8.598866] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   12.366974] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   12.376403] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   12.388332] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fW-022-ecad3248 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 3e4cf97f
[   12.505983] ath10k_pci 0000:00:00.0: Loading BDF type 0
[   13.263138] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   13.270638] of_get_mac_addr_nvmem: pdev is null, continue...
[   14.279870] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   14.303277] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[   14.309630] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   14.317793] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 24984 iram: 38672'
[   14.371650] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
[   14.385926] ath10k_pci 0000:00:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   14.584075] of_get_mac_addr_nvmem: pdev is not null, call nvmem_get_mac_address
[   14.628351] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=12

WN-AC1167DGR

  • 5GHz (QCA9880) calibrationデータはFlash内に有り

[    8.579403] ath10k 5.15 driver, optimized for CT firmware, probing pci device: 0x3c.
[    8.588739] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[    8.597395] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   12.367619] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043222ff sub 0000:0000
[   12.377043] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   12.388961] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fW-022-ecad3248 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 3e4cf97f
[   12.507894] ath10k_pci 0000:00:00.0: Loading BDF type 0
[   13.262655] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   13.270150] of_get_mac_addr_nvmem: pdev is null, continue...
[   14.248471] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   14.272380] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[   14.278730] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   14.286887] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 24984 iram: 38672'
[   14.343799] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal nvmem max-sta 128 raw 0 hwcrypto 1
[   14.359062] ath10k_pci 0000:00:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   14.564635] of_get_mac_addr_nvmem: pdev is not null, call nvmem_get_mac_address
[   14.608367] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=12

WN-DEAX1800GR stock -> OpenWrt

頑張ってヘッダを組んだ
とりあえずここまで到達したので記録として
一部OpenWrtで抱えているドライバを追加で弄っており、他機種にも関わる変更である為WN-DEAX1800GRを投げ込むのはまだ先の予定
(本機種はOSイメージを2つ持つ構成であり、従来通りであればOpenWrt導入の際2段階イメージの投入が必要となるものの、それを1回のみで済ませられるようにする為のもの)

Signal 15 received - terminating
miniupnpd[1088]: shutting down MiniUPnPd
[  335.864966] reboot: Restarting system

U-Boot SPL 2018.09-svn1712 (Aug 27 2019 - 15:48:56 +0800)
Trying to boot from NAND


U-Boot 2018.09v1.00.02 (Oct 22 2020 - 11:05:33 +0800)

CPU:   MediaTek MT7621AT ver 1, eco 3
Clocks: CPU: 880MHz, DDR: 1200MHz, Bus: 220MHz, XTAL: 40MHz
Model: MediaTek MT7621 reference board (NAND)
DRAM:  256 MiB
NAND:  128 MiB

Initializing NMBM ...
Signature found at block 1023 [0x07fe0000]
First info table with writecount 0 found in block 960
Second info table with writecount 0 found in block 963
NMBM has been successfully attached

Loading Environment from NMBM... *** Warning - bad CRC, using default environment

In:    uartlite0@1e000c00
Out:   uartlite0@1e000c00
Err:   uartlite0@1e000c00
Net:   
Warning: eth@1e100000 (eth0) using random MAC address - 16:29:bd:47:91:f4
eth0: eth@1e100000

  *** U-Boot Boot Menu ***
  Press UP/DOWN to move, ENTER to select
     1. Startup system (Default)
     2. Upgrade firmware
     3. Upgrade bootloader
     4. Upgrade bootloader (advanced mode)
     5. Load image
     0. U-Boot console


** Boot system from firmware **
Loading FIT image at offset 0x180000 to memory 0x80010000, size 0x29f400 ...
Automatic boot of image at addr 0x80010000 ...
## Loading kernel from FIT Image at 80010000 ...
   Using 'config-1' configuration
   Trying 'kernel-1' kernel subimage
     Description:  MIPS OpenWrt Linux-5.10.147
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x800100e4
     Data Size:    2735676 Bytes = 2.6 MiB
     Architecture: MIPS
     OS:           Linux
     Load Address: 0x82000000
     Entry Point:  0x82000000
     Hash algo:    crc32
     Hash value:   3ff47c7b
     Hash algo:    sha1
     Hash value:   b909b708b80ea3b0aa039346c1a1f1b2ce503cb0
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 80010000 ...
   Using 'config-1' configuration
   Trying 'fdt-1' fdt subimage
     Description:  MIPS OpenWrt iodata_wn-deax1800gr device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x802ac064
     Data Size:    11853 Bytes = 11.6 KiB
     Architecture: MIPS
     Hash algo:    crc32
     Hash value:   eccf8ba4
     Hash algo:    sha1
     Hash value:   803f6e712175d7ce5e7757b91dc19ff9c5cdc9f6
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x802ac064
   Uncompressing Kernel Image ... OK
   Loading Device Tree to 8fe77000, end 8fe7ce4c ... OK
[    0.000000] Linux version 5.10.147 ([email protected]) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 11.3.0 r20886-5b4a1b7176) 11.3.0, GNU 
ld (GNU Binutils) 2.37) #0 SMP Sat Oct 15 18:21:51 2022
[    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-DEAX1800GR
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] VPE topology {2,2} total 4
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] percpu: Embedded 15 pages/cpu s30224 r8192 d23024 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Writing ErrCtl register=00020000
[    0.000000] Readback ErrCtl register=00020000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 249096K/262144K available (6740K kernel code, 622K rwdata, 1368K rodata, 1240K init, 235K bss, 13048K reserved, 0K cma-res
erved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    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.000012] sched_clock: 64 bits at 880MHz, resolution 1ns, wraps every 4398046511103ns
[    0.007952] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4343773742 ns
[    0.016988] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.083163] pid_max: default: 32768 minimum: 301
[    0.087938] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.095142] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.105885] rcu: Hierarchical SRCU implementation.
[    0.110940] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.119101] smp: Bringing up secondary CPUs ...
[    0.124410] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.124421] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.124433] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.124512] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.178855] Synchronize counters for CPU 1: done.
[    0.211362] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.211374] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.211384] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.211439] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.270336] Synchronize counters for CPU 2: done.
[    0.301008] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.301019] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.301029] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.301089] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.355553] Synchronize counters for CPU 3: done.
[    0.385441] smp: Brought up 1 node, 4 CPUs
[    0.394204] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.404035] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.411041] pinctrl core: initialized pinctrl subsystem
[    0.418764] NET: Registered protocol family 16
[    0.424436] thermal_sys: Registered thermal governor 'step_wise'
[    0.425568] cpuidle: using governor teo
[    0.482738] clocksource: Switched to clocksource GIC
[    0.489912] NET: Registered protocol family 2
[    0.494658] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.502869] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.511194] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.518796] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.525883] TCP: Hash tables configured (established 2048 bind 2048)
[    0.532303] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.538807] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.546037] NET: Registered protocol family 1
[    0.550337] PCI: CLS 0 bytes, default 32
[    0.557031] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.567750] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.573542] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.585937] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.591824] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.597856] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.604506] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.612798] printk: console [ttyS0] disabled
[    0.617127] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    0.626134] printk: console [ttyS0] enabled
[    0.626134] printk: console [ttyS0] enabled
[    0.634402] printk: bootconsole [early0] disabled
[    0.634402] printk: bootconsole [early0] disabled
[    0.646647] nand: device found, Manufacturer ID: 0xef, Chip ID: 0xf1
[    0.653145] nand: Winbond W29N01HV
[    0.656539] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    0.664132] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits
[    0.672007] Signature found at block 1023 [0x07fe0000]
[    0.677153] NMBM management region starts at block 960 [0x07800000]
[    0.686678] First info table with writecount 0 found in block 960
[    0.702280] Second info table with writecount 0 found in block 963
[    0.708548] NMBM has been successfully attached
[    0.713214] 8 fixed-partitions partitions found on MTD device mt7621-nand
[    0.721730] Creating 8 MTD partitions on "mt7621-nand":
[    0.727024] 0x000000000000-0x000000080000 : "u-boot"
[    0.735631] 0x000000080000-0x000000100000 : "u-boot-env"
[    0.744579] 0x000000100000-0x000000180000 : "factory"
[    0.753341] 0x000000180000-0x000002f80000 : "firmware"
[    0.990961] 0x000002f80000-0x000005d80000 : "firmware2"
[    1.229233] 0x000005d80000-0x000006380000 : "storage"
[    1.265919] 0x000006380000-0x000006480000 : "idmkey"
[    1.277061] 0x000006480000-0x000006500000 : "working"
[    1.291983] Concatenating MTD devices:
[    1.295808] (0): "firmware"
[    1.298600] into device "mtd-firmware"
[    1.322013] 2 fit-fw partitions found on MTD device mtd-firmware
[    1.328020] Creating 2 MTD partitions on "mtd-firmware":
[    1.333337] 0x000000000000-0x0000002a0000 : "kernel"
[    1.352619] 0x000000600000-0x000002e00000 : "ubi"
[    1.561792] Concatenating MTD devices:
[    1.565656] (0): "firmware2"
[    1.568540] into device "mtd-firmware2"
[    1.613958] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.625586] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 20
[    1.634899] mtk_soc_eth 1e100000.ethernet wan: mediatek frame engine at 0xbe100000, irq 20
[    1.644687] i2c /dev entries driver
[    1.650734] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    1.657546] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    1.666393] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0000000000
[    1.674583] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    1.682857] mt7621-pci 1e140000.pcie: Parsing DT failed
[    1.690208] NET: Registered protocol family 10
[    1.696713] Segment Routing with IPv6
[    1.700485] NET: Registered protocol family 17
[    1.705482] 8021q: 802.1Q VLAN Support v1.8
[    1.713243] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.734942] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=25)
[    1.747422] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7530 PHY] (irq=26)
[    1.761240] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    1.771728] DSA: tree 0 setup
[    1.775140] rt2880-pinmux pinctrl: pcie is already enabled
[    1.780705] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    1.787443] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    1.796244] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0000000000
[    1.804427] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    1.812715] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    1.820549] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    1.828310] mt7621-pci 1e140000.pcie: failed to parse bus ranges property: -22
[    1.935805] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    1.941378] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    2.047189] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    2.054147] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    2.059003] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    2.063885] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    2.073371] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    2.079740] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    2.086642] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    2.093514] pci_bus 0000:00: root bus resource [bus 00-ff]
[    2.098980] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff] (bus address [0x00000000-0x0fffffff])
[    2.109187] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    2.115211] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.121455] pci 0000:00:00.0: reg 0x14: [mem 0x60400000-0x6040ffff]
[    2.127785] pci 0000:00:00.0: supports D1
[    2.131779] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    2.138052] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    2.144127] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    2.150377] pci 0000:00:01.0: reg 0x14: [mem 0x60410000-0x6041ffff]
[    2.156714] pci 0000:00:01.0: supports D1
[    2.160710] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    2.168289] pci 0000:01:00.0: [14c3:7916] type 00 class 0x000280
[    2.174374] pci 0000:01:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    2.181407] pci 0000:01:00.0: reg 0x10: [mem size 0x00100000 64bit pref]
[    2.188121] pci 0000:01:00.0: reg 0x18: initial BAR value 0x00000000 invalid
[    2.195162] pci 0000:01:00.0: reg 0x18: [mem size 0x00004000 64bit pref]
[    2.201849] pci 0000:01:00.0: reg 0x20: initial BAR value 0x00000000 invalid
[    2.208903] pci 0000:01:00.0: reg 0x20: [mem size 0x00001000 64bit pref]
[    2.215724] pci 0000:01:00.0: supports D1 D2
[    2.219977] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    2.226625] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s wit
h 5.0 GT/s PCIe x1 link)
[    2.243012] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    2.248242] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    2.254334] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x601fffff pref]
[    2.261532] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    2.268456] pci 0000:02:00.0: [14c3:7915] type 00 class 0x000280
[    2.274528] pci 0000:02:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    2.281558] pci 0000:02:00.0: reg 0x10: [mem size 0x00100000 64bit pref]
[    2.288271] pci 0000:02:00.0: reg 0x18: initial BAR value 0x00000000 invalid
[    2.295312] pci 0000:02:00.0: reg 0x18: [mem size 0x00004000 64bit pref]
[    2.301999] pci 0000:02:00.0: reg 0x20: initial BAR value 0x00000000 invalid
[    2.309039] pci 0000:02:00.0: reg 0x20: [mem size 0x00001000 64bit pref]
[    2.315856] pci 0000:02:00.0: supports D1 D2
[    2.320110] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    2.326774] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s wit
h 5.0 GT/s PCIe x1 link)
[    2.343212] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    2.348443] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    2.354542] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x603fffff pref]
[    2.361741] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    2.368403] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    2.375021] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.381956] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    2.388574] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    2.395530] pci 0000:00:00.0: BAR 9: assigned [mem 0x60000000-0x601fffff pref]
[    2.402755] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x603fffff pref]
[    2.409947] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[    2.416731] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[    2.423520] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    2.430279] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    2.437068] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit pref]
[    2.444830] pci 0000:01:00.0: BAR 2: assigned [mem 0x60100000-0x60103fff 64bit pref]
[    2.452552] pci 0000:01:00.0: BAR 4: assigned [mem 0x60104000-0x60104fff 64bit pref]
[    2.460290] pci 0000:00:00.0: PCI bridge to [bus 01]
[    2.465261] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    2.472025] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x601fffff pref]
[    2.479250] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff 64bit pref]
[    2.487005] pci 0000:02:00.0: BAR 2: assigned [mem 0x60300000-0x60303fff 64bit pref]
[    2.494750] pci 0000:02:00.0: BAR 4: assigned [mem 0x60304000-0x60304fff 64bit pref]
[    2.502470] pci 0000:00:01.0: PCI bridge to [bus 02]
[    2.507446] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    2.514228] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x603fffff pref]
[    2.524905] UBI: auto-attach mtd9
[    2.528248] ubi0: attaching mtd9
[    2.533386] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx
[    2.601529] UBI: EOF marker found, PEBs from 32 will be erased
[    2.788424] ubi0: scanning is finished
[    2.833112] ubi0: volume 1 ("rootfs_data") re-sized from 9 to 278 LEBs
[    2.840788] ubi0: attached mtd9 (name "ubi", size 40 MiB)
[    2.846310] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.853197] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.859956] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.866906] ubi0: good PEBs: 320, bad PEBs: 0, corrupted PEBs: 0
[    2.872915] ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
[    2.880107] ubi0: max/mean erase counter: 1/0, WL threshold: 4096, image sequence number: 1665858111
[    2.889216] ubi0: available PEBs: 0, total reserved PEBs: 320, PEBs reserved for bad PEB handling: 8
[    2.898372] ubi0: background thread "ubi_bgt0d" started, PID 445
[    2.900759] block ubiblock0_0: created from ubi0:0(rootfs)
[    2.909981] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[    2.946606] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    2.959391] Freeing unused kernel memory: 1240K
[    2.964026] This architecture does not have kernel memory protection.
[    2.970480] Run /sbin/init as init process
[    3.671575] init: Console is alive
[    3.675576] init: - watchdog -
[    4.494613] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.587664] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.613176] init: - preinit -
[    5.564470] random: jshn: uninitialized urandom read (4 bytes read)
[    5.647426] random: jshn: uninitialized urandom read (4 bytes read)
[    5.686205] random: jshn: uninitialized urandom read (4 bytes read)
[    5.971943] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    5.980394] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    5.983295] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    5.995815] 8021q: adding VLAN 0 to HW filter on device lan1
[    6.004159] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    8.248737] UBIFS (ubi0:1): default file-system created
[    8.255367] UBIFS (ubi0:1): Mounting in unauthenticated mode
[    8.261369] UBIFS (ubi0:1): background thread "ubifs_bgt0_1" started, PID 569
[    8.385527] UBIFS (ubi0:1): UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[    8.393444] UBIFS (ubi0:1): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    8.403374] UBIFS (ubi0:1): FS size: 34029568 bytes (32 MiB, 268 LEBs), journal size 1650688 bytes (1 MiB, 13 LEBs)
[    8.413787] UBIFS (ubi0:1): reserved for root: 1607300 bytes (1569 KiB)
[    8.420377] UBIFS (ubi0:1): media format: w5/r0 (latest is w5/r0), UUID F0CEFC72-3D87-4BC4-9168-2BBACB0C7139, small LPT model
[    8.435212] mount_root: overlay filesystem has not been fully initialized yet
[    8.443513] mount_root: switching to ubifs overlay
[    8.457426] urandom-seed: Seed file not found (/etc/urandom.seed)
[    8.646750] procd: - early -
[    8.649920] procd: - watchdog -
[    9.302887] procd: - watchdog -
[    9.306736] procd: - ubus -
[    9.372807] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.381351] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.388457] random: ubusd: uninitialized urandom read (4 bytes read)
[    9.402070] procd: - init -
Please press Enter to activate this console.
[   10.106425] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.316565] Loading modules backported from Linux version v5.15.58-0-g7d8048d4e064
[   10.324238] Backport generated by backports.git v5.15.58-1-0-g42a95ce7
[   10.403622] urngd: v1.0.2 started.
[   10.536991] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=21
[   10.542419] pci 0000:00:00.0: enabling device (0006 -> 0007)
[   10.548114] mt7915e_hif 0000:01:00.0: enabling device (0000 -> 0002)
[   10.555003] mt7621-pci 1e140000.pcie: bus=2 slot=1 irq=22
[   10.560478] pci 0000:00:01.0: enabling device (0006 -> 0007)
[   10.566203] mt7915e 0000:02:00.0: enabling device (0000 -> 0002)
[   10.581355] random: crng init done
[   10.584805] random: 30 urandom warning(s) missed due to ratelimiting
[   10.831914] mt7915e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20211222184017a
[   10.831914] 
[   11.166079] mt7915e 0000:02:00.0: WM Firmware Version: ____000000, Build Time: 20211222184052
[   11.205272] mt7915e 0000:02:00.0: WA Firmware Version: DEV_000000, Build Time: 20211222184111
[   16.712209] PPP generic driver version 2.4.2
[   16.718509] NET: Registered protocol family 24
[   16.731966] kmodloader: done loading kernel modules from /etc/modules.d/*
[   47.317675] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   47.333480] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   47.341672] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   47.345592] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   47.357236] 8021q: adding VLAN 0 to HW filter on device lan1
[   47.365861] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   47.373384] br-lan: port 1(lan1) entered blocking state
[   47.378893] br-lan: port 1(lan1) entered disabled state
[   47.385637] device lan1 entered promiscuous mode
[   47.390306] device eth0 entered promiscuous mode
[   47.428815] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   47.436079] 8021q: adding VLAN 0 to HW filter on device lan2
[   47.445885] br-lan: port 2(lan2) entered blocking state
[   47.451130] br-lan: port 2(lan2) entered disabled state
[   47.458036] device lan2 entered promiscuous mode
[   47.483096] mtk_soc_eth 1e100000.ethernet wan: PHY [mdio-bus:00] driver [MediaTek MT7530 PHY] (irq=POLL)
[   47.492579] mtk_soc_eth 1e100000.ethernet wan: configuring for phy/rgmii link mode
[   50.771381] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control off
[   50.778783] br-lan: port 2(lan2) entered blocking state
[   50.784041] br-lan: port 2(lan2) entered forwarding state
[   50.792063] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready



BusyBox v1.35.0 (2022-10-15 18:21:51 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r20945+24-85ae64bb27
 -----------------------------------------------------
=== 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:/# ubus call system board
{
        "kernel": "5.10.147",
        "hostname": "OpenWrt",
        "system": "MediaTek MT7621 ver:1 eco:3",
        "model": "I-O DATA WN-DEAX1800GR",
        "board_name": "iodata,wn-deax1800gr",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "SNAPSHOT",
                "revision": "r20945+24-85ae64bb27",
                "target": "ramips/mt7621",
                "description": "OpenWrt SNAPSHOT r20945+24-85ae64bb27"
        }
}
root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00080000 00020000 "u-boot"
mtd1: 00080000 00020000 "u-boot-env"
mtd2: 00080000 00020000 "factory"
mtd3: 02e00000 00020000 "firmware"
mtd4: 02e00000 00020000 "firmware2"
mtd5: 00600000 00020000 "storage"
mtd6: 00100000 00020000 "idmkey"
mtd7: 00080000 00020000 "working"
mtd8: 002a0000 00020000 "kernel"
mtd9: 02800000 00020000 "ubi"
mtd10: 02e00000 00020000 "mtd-firmware2"
root@OpenWrt:/# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/ubi0_1 on /overlay type ubifs (rw,noatime,assert=read-only,ubi=0,vol=1)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,nosuid,noexec,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,noatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,noatime,mode=700)
root@OpenWrt:/# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 3.8M      3.8M         0 100% /rom
tmpfs                   122.2M     68.0K    122.2M   0% /tmp
/dev/ubi0_1              29.3M     36.0K     27.8M   0% /overlay
overlayfs:/overlay       29.3M     36.0K     27.8M   0% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@OpenWrt:/# 

WRC-2533GHBK2-T

色々な用事で秋葉原に行った際、以前PCNETだった建物にいつの間にか入っていたハードオフの地下ジャンク階にて見付け確保。
既にサポート済みのWRC-2533GHBK-Iとほぼ共通であることは予想しているが、弄っていくのでメモ。

Switch

zone WAN LAN
port
(WRC-2533GHBK2-T)
INTERNET LAN4 LAN3 LAN2 LAN1
port
(MT7530)
port0 port1 port2 port3 port4

MAC

  • LAN: BC:5C:4C:xx:xx:FD (Config, ethaddr (text))
  • WAN: BC:5C:4C:xx:xx:FC (Config, wanaddr (text))
  • 2.4G: BC:5C:4C:xx:xx:FE (Factory, 0x4 (hex))
  • 5G: BC:5C:4C:xx:xx:FF (Factory, 0x8004 (hex))

U-Boot

  • help
    MT7621 # help
    ?       - alias for 'help'
    bootm   - boot application image from memory
    elx_check      - check ELX image
    go      - start application at address 'addr'
    help    - print online help
    md      - memory display
    mdio   - Ralink PHY register R/W command !!
    mm      - memory modify (auto-incrementing)
    mw      - memory write (fill)
    nm      - memory modify (constant address)
    printenv- print environment variables
    reset   - Perform RESET of the CPU
    rf      - read/write rf register
    saveenv - save environment variables to persistent storage
    setenv  - set environment variables
    tftpboot- boot image via network using TFTP protocol
    version - print monitor version
    

  • version
    MT7621 # version
    
    U-Boot 1.1.3 (Jan 19 2016 - 10:46:13)
    

  • printenv
    MT7621 # printenv
    bootcmd=tftp
    baudrate=57600
    ethaddr="BC:5C:4C:xx:xx:FD"
    ramargs=setenv bootargs root=/dev/ram rw
    addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off
    addmisc=setenv bootargs $(bootargs) console=ttyS0,$(baudrate) ethaddr=$(ethaddr) panic=1
    flash_self=run ramargs addip addmisc;bootm $(kernel_addr) $(ramdisk_addr)
    kernel_addr=BFC40000
    u-boot=u-boot.bin
    load=tftp 8A100000 $(u-boot)
    u_b=protect off 1:0-1;era 1:0-1;cp.b 8A100000 BC400000 $(filesize)
    loadfs=tftp 8A100000 root.cramfs
    u_fs=era bc540000 bc83ffff;cp.b 8A100000 BC540000 $(filesize)
    test_tftp=tftp 8A100000 root.cramfs;run test_tftp
    ethact=Eth0 (10/100-M)
    language_code=jp
    hw_id=0107003b
    domain=1
    pincode=********
    wlanaddr=BC:5C:4C:xx:xx:FE
    kver=1.23.0
    sn=12345678901234567890123456789012
    usboot=0
    bver=4.0.1.5
    dom2=1
    wanaddr=BC:5C:4C:xx:xx:FC
    bootdelay=2
    filesize=52a000
    fileaddr=80A00000
    autostart=no
    op_mode=0
    ipaddr=192.168.2.101
    serverip=192.168.2.88
    bootfile=uImage_WRC-2533GHBK2-T
    stdin=serial
    stdout=serial
    stderr=serial
    
    Environment size: 1046/4092 bytes
    

  • tftpboot
    MT7621 # tftpboot
    
    netboot_common, argc= 1
    
    NetTxPacket = 0x87FE42C0
    
    KSEG1ADDR(NetTxPacket) = 0xA7FE42C0
    
    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 192.168.2.88; our IP address is 192.168.2.101
    Filename 'uImage_WRC-2533GHBK2-T'.
    
    TIMEOUT_COUNT=10,Load address: 0x80100000
    Loading: *
    

  • help elx_check
    MT7621 # help elx_check
    elx_check usage:
    elx_check >addr<        - check image in >addr<
    

Kernel

パスワードが掛けられている

  • uname -a
    # uname -a
    Linux localhost.localdomain 3.2.9 #3 SMP Fri Jan 25 09:14:04 CST 2019 mips GNU/Linux
    

  • cat /proc/version
    # cat /proc/version
    Linux version 3.2.9 (root@edimax_cw) (gcc version 4.6.4 (Buildroot 2013.05) ) #3 SMP Fri Jan 25 09:14:04 CST 2019
    

  • cat /proc/cpuinfo
    # cat /proc/cpuinfo
    system type             : Mediatek MT7621 ver:1 eco:3
    machine                 : Ralink MT7621
    processor               : 0
    cpu model               : MIPS 1004Kc V2.15
    BogoMIPS                : 583.68
    wait instruction        : yes
    microsecond timers      : yes
    tlb_entries             : 32
    extra interrupt vector  : yes
    hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ff8, 0x0ff8, 0x0ff8, 0x0ff8]
    ASEs implemented        : mips16 dsp mt
    shadow register sets    : 1
    kscratch registers      : 0
    core                    : 0
    VCED exceptions         : not available
    VCEI exceptions         : not available
    
    processor               : 1
    cpu model               : MIPS 1004Kc V2.15
    BogoMIPS                : 583.68
    wait instruction        : yes
    microsecond timers      : yes
    tlb_entries             : 32
    extra interrupt vector  : yes
    hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0000, 0x0000, 0x0000]
    ASEs implemented        : mips16 dsp mt
    shadow register sets    : 1
    kscratch registers      : 0
    core                    : 0
    VCED exceptions         : not available
    VCEI exceptions         : not available
    
    processor               : 2
    cpu model               : MIPS 1004Kc V2.15
    BogoMIPS                : 583.68
    wait instruction        : yes
    microsecond timers      : yes
    tlb_entries             : 32
    extra interrupt vector  : yes
    hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0000, 0x0000, 0x0000]
    ASEs implemented        : mips16 dsp mt
    shadow register sets    : 1
    kscratch registers      : 0
    core                    : 1
    VCED exceptions         : not available
    VCEI exceptions         : not available
    
    processor               : 3
    cpu model               : MIPS 1004Kc V2.15
    BogoMIPS                : 583.68
    wait instruction        : yes
    microsecond timers      : yes
    tlb_entries             : 32
    extra interrupt vector  : yes
    hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
    ASEs implemented        : mips16 dsp mt
    shadow register sets    : 1
    kscratch registers      : 0
    core                    : 1
    VCED exceptions         : not available
    VCEI exceptions         : not available
    

  • cat /proc/meminfo
    # cat /proc/meminfo
    MemTotal:         125860 kB
    MemFree:           77644 kB
    Buffers:            2928 kB
    Cached:            10728 kB
    SwapCached:            0 kB
    Active:             4096 kB
    Inactive:          11444 kB
    Active(anon):       1920 kB
    Inactive(anon):     1388 kB
    Active(file):       2176 kB
    Inactive(file):    10056 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    SwapTotal:             0 kB
    SwapFree:              0 kB
    Dirty:                 0 kB
    Writeback:             0 kB
    AnonPages:          1920 kB
    Mapped:             2072 kB
    Shmem:              1424 kB
    Slab:              16280 kB
    SReclaimable:        876 kB
    SUnreclaim:        15404 kB
    KernelStack:         816 kB
    PageTables:          412 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:       62928 kB
    Committed_AS:     350360 kB
    VmallocTotal:    1048372 kB
    VmallocUsed:       10124 kB
    VmallocChunk:    1023044 kB
    

  • cat /proc/mtd
    # cat /proc/mtd
    dev:    size   erasesize  name
    mtd0: 01000000 00010000 "ALL"
    mtd1: 00030000 00010000 "Bootloader"
    mtd2: 00010000 00010000 "Config"
    mtd3: 00010000 00010000 "Factory"
    mtd4: 007a0000 00010000 "Kernel"
    mtd5: 005d0000 00010000 "user"
    mtd6: 00200000 00010000 "TM_1"
    mtd7: 00400000 00010000 "TM_2"
    mtd8: 00190000 00010000 "manufacture"
    mtd9: 00080000 00010000 "storage"
    

  • ls -al /sys/class/leds/
    # ls -al /sys/class/leds/
    lrwxrwxrwx    1         0 Sep  1 00:22 PoE -> ../../devices/platform/leds-gpio/leds/PoE
    lrwxrwxrwx    1         0 Sep  1 00:00 2g_led -> ../../devices/platform/leds-gpio/leds/2g_led
    lrwxrwxrwx    1         0 Sep  1 00:00 5g_led -> ../../devices/platform/leds-gpio/leds/5g_led
    lrwxrwxrwx    1         0 Sep  1 00:00 wps_led -> ../../devices/platform/leds-gpio/leds/wps_led
    lrwxrwxrwx    1         0 Sep  1 00:00 power_led -> ../../devices/platform/leds-gpio/leds/power_led
    drwxr-xr-x   20         0 Sep  1 00:00 ..
    drwxr-xr-x    2         0 Sep  1 00:00 .
    

  • elecom_header –help
    # elecom_header --help
    usage:    head    [-h?]      -h This help
    -s    Source filename
    -d    Destination filename
    -x    Remove ELECOM Header
    -c    Customer Name
    -p    Product Name
    -v    Version
    

  • header –help
    # header --help
    usage:    head    [-h?]      -h This help
    -s    Source filename
    -d    Destination filename
    -a    Auto set parameter
    -t    Types:
    bootloader (1)
    kernel (3)
    apps (5)
    factoryapps (11)
    userconfig (7)
    langpack (13)
    cust_logo (15)
    cust_apps (17)
    -v    Version
    -x    Recovery MD5 file [-u Magickey]
    -r    Vendor ID
    -p    Product ID
    -m    Magic Key(32 bits)
    -c    Code Version
    

  • elecom_header -x wrc-2533ghbk2-t_v1.23.bin
    header -x wrc-2533ghbk2-t_v1.23.bin

    # elecom_header -x wrc-2533ghbk2-t_v1.23.bin
    ### Remove Customer Header ####
    ------- Customer Header Info -------
    Customer Name : ELECOM
    Product  Name : WRC-2533GHBK2-T
    Product  Version : 1.23
    ------------------------------
    Header-Remove finished, got file [wrc-2533ghbk2-t_v1.23.bin] with size 7098496 bytes
    header: Return OK
    # header -x wrc-2533ghbk2-t_v1.23.bin
    ### Decoding  image ####
    Decode source file [wrc-2533ghbk2-t_v1.23.bin]
    ------- Header Info -------
    Vendor  id:  0x0107
    Product id:  0x003b
    Hardware id:  0x0107003b
    Version id:  3047
    Code Version:  1.23.0
    Type: 0x3 [kernel]
    comp_file_len:  7098368
    comp_file_sum:  0x0
    Header sum:  0x348
    Magic key:  0x30471688
    MD5 chksum:  446f893a8c79a9e2a149f239d49c2eb
    ------------------------------
    Decode finished, got file [wrc-2533ghbk2-t_v1.23.bin.bin] with size 7098368 bytes
    header: Return OK
    

  • bootlog
    
    ===================================================================
                    MT7621   stage1 code Mar 12 2015 14:43:30 (ASIC)
                    CPU=500000000 HZ BUS=125000000 HZ
    ==================================================================
    Change MPLL source from XTAL to CR...
    do MEMPLL setting..
    MEMPLL Config : 0x11000000
    3PLL mode + External loopback
    === XTAL-40Mhz === DDR-1200Mhz ===
    PLL2 FB_DL: 0xe, 1/0 = 685/339 39000000
    PLL4 FB_DL: 0xe, 1/0 = 687/337 39000000
    PLL3 FB_DL: 0x10, 1/0 = 521/503 41000000
    do DDR setting..[01F40000]
    Apply DDR3 Setting...(use default AC)
              0    8   16   24   32   40   48   56   64   72   80   88   96  104  112  120
          --------------------------------------------------------------------------------
    0000:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0001:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0002:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0003:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0004:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0005:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0006:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0007:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0008:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0009:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    000A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    000B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    000C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    000D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    1
    000E:|    0    0    0    0    0    0    0    0    0    1    1    1    1    1    1    1
    000F:|    0    0    0    0    1    1    1    1    1    1    1    1    1    1    0    0
    0010:|    1    1    1    1    1    1    1    1    1    0    0    0    0    0    0    0
    0011:|    1    1    1    1    0    0    0    0    0    0    0    0    0    0    0    0
    0012:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0013:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0014:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0015:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0016:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0017:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0018:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    0019:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    001A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    001B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    001C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    001D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    001E:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    001F:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
    DRAMC_DQSCTL1[0e0]=13000000
    DRAMC_DQSGCTL[124]=80000033
    rank 0 coarse = 15
    rank 0 fine = 72
    B:|    0    0    0    0    0    0    0    0    0    0    1    1    1    0    0    0
    opt_dle value:11
    DRAMC_DDR2CTL[07c]=C287223D
    DRAMC_PADCTL4[0e4]=000022B3
    DRAMC_DQIDLY1[210]=0A09080B
    DRAMC_DQIDLY2[214]=06090909
    DRAMC_DQIDLY3[218]=0B080806
    DRAMC_DQIDLY4[21c]=09080B08
    DRAMC_R0DELDLY[018]=00001F1F
    ==================================================================
                    RX      DQS perbit delay software calibration 
    ==================================================================
    1.0-15 bit dq delay value
    ==================================================================
    bit|     0  1  2  3  4  5  6  7  8  9
    --------------------------------------
    0 |    8 5 6 7 6 6 6 6 2 7 
    10 |    6 8 6 10 7 9 
    --------------------------------------
    
    ==================================================================
    2.dqs window
    x=pass dqs delay value (min~max)center 
    y=0-7bit DQ of every group
    input delay:DQS0 =31 DQS1 = 31
    ==================================================================
    bit     DQS0     bit      DQS1
    0  (1~56)28  8  (1~54)27
    1  (1~56)28  9  (1~60)30
    2  (0~56)28  10  (1~58)29
    3  (1~56)28  11  (1~56)28
    4  (1~56)28  12  (0~58)29
    5  (1~56)28  13  (1~59)30
    6  (1~56)28  14  (1~59)30
    7  (2~61)31  15  (1~61)31
    ==================================================================
    3.dq delay value last
    ==================================================================
    bit|    0  1  2  3  4  5  6  7  8   9
    --------------------------------------
    0 |    11 8 9 10 9 9 9 6 6 8 
    10 |    8 11 8 11 8 9 
    ==================================================================
    ==================================================================
         TX  perbyte calibration 
    ==================================================================
    DQS loop = 15, cmp_err_1 = ffff0000 
    dqs_perbyte_dly.last_dqsdly_pass[0]=15,  finish count=1 
    dqs_perbyte_dly.last_dqsdly_pass[1]=15,  finish count=2 
    DQ loop=15, cmp_err_1 = ffff0080
    dqs_perbyte_dly.last_dqdly_pass[1]=15,  finish count=1 
    DQ loop=14, cmp_err_1 = ffff0000
    dqs_perbyte_dly.last_dqdly_pass[0]=14,  finish count=2 
    byte:0, (DQS,DQ)=(8,8)
    byte:1, (DQS,DQ)=(8,8)
    DRAMC_DQODLY1[200]=88888888
    DRAMC_DQODLY2[204]=88888888
    20,data:88
    [EMI] DRAMC calibration passed
    
    ===================================================================
                    MT7621   stage1 code done 
                    CPU=500000000 HZ BUS=125000000 HZ
    ===================================================================
    
    
    U-Boot 1.1.3 (Jan 19 2016 - 10:46:13)
    
    Board: Ralink APSoC DRAM:  128 MB
    relocate_code Pointer at: 87fb8000
    
    Config XHCI 40M PLL 
    flash manufacture id: c2, device id 20 18
    find flash: MX25L12805D
    ============================================ 
    Ralink UBoot Version: 4.0.1.0
    ELX UBoot Version: 1.0.2
    -------------------------------------------- 
    ASIC 7621_MP (MAC to MT7530 Mode)
    DRAM_CONF_FROM: Auto-Detection 
    DRAM_TYPE: DDR3 
    DRAM bus: 16 bit
    Xtal Mode=3 OCP Ratio=1/4
    Flash component: SPI Flash
    Date:Jan 19 2016  Time:10:46:13
    ============================================ 
    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
    
    Please choose the operation: 
       1: Load system code to SDRAM via TFTP. 
       2: Load system code then write to Flash via TFTP. 
       3: Boot system code via Flash (default).
       4: Entr boot command line interface.
       9: Load Boot Loader code then write to Flash via TFTP.                                                                                      0 
       
    3: System Boot system code via Flash.
    ## Booting image at bfc50000 ...
       Image Name:   Linux Kernel Image
       Image Type:   MIPS Linux Kernel Image (lzma compressed)
       Data Size:    1861650 Bytes =  1.8 MB
       Load Address: 80001000
       Entry Point:  80305660
       Verifying Checksum ... OK
       Uncompressing Kernel Image ... OK
    No initrd
    ## Transferring control to Linux (at address 80305660) ...
    ## Giving linux memsize in MB, 128
    
    Starting kernel ...
    
    Linux version 3.2.9 (root@edimax_cw) (gcc version 4.6.4 (Buildroot 2013.05) ) #3 SMP Fri Jan 25 09:14:04 CST 2019
    GCMP present
    bootconsole [early0] enabled
    CPU revision is: 0001992f (MIPS 1004Kc)
    Mediatek MT7621 ver:1 eco:3 running at 880.00 MHz
    Software DMA cache coherency
    Determined physical RAM map:
     memory: 08000000 @ 00000000 (usable)
    Initrd not found or empty - disabling initrd
    Zone PFN ranges:
      Normal   0x00000000 -> 0x00008000
    Movable zone start PFN for each node
    early_node_map[1] active PFN ranges
        0: 0x00000000 -> 0x00008000
    Detected 3 available secondary CPU(s)
    PERCPU: Embedded 7 pages/cpu @81103000 s4800 r8192 d15680 u32768
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
    Kernel command line:  console=ttyS0,57600 root=/dev/ram0 rootfstype=squashfs,jffs2
    PID hash table entries: 512 (order: -1, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Primary instruction cache 32kB, VIPT, , 4-waylinesize 32 bytes.
    Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
    Writing ErrCtl register=00012136
    Readback ErrCtl register=00012136
    Memory: 124056k/131072k available (3134k kernel code, 7016k reserved, 699k data, 1804k init, 0k highmem)
    SLUB: Genslabs=9, HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    Hierarchical RCU implementation.
    NR_IRQS:128
    gic: revision 3.0
    CPU0: status register was 11000000
    CPU0: status register now 11001800
    CPU0: status register frc 1100dc00
    console [ttyS0] enabled, bootconsole disabled
    console [ttyS0] enabled, bootconsole disabled
    Calibrating delay loop... 577.53 BogoMIPS (lpj=1155072)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 512
    CPU revision is: 0001992f (MIPS 1004Kc)
    Primary instruction cache 32kB, VIPT, , 4-waylinesize 32 bytes.
    Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
    CPU revision is: 0001992f (MIPS 1004Kc)
    Primary instruction cache 32kB, VIPT, , 4-waylinesize 32 bytes.
    Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
    CPU revision is: 0001992f (MIPS 1004Kc)
    Primary instruction cache 32kB, VIPT, , 4-waylinesize 32 bytes.
    Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
    MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
    Brought up 4 CPUs
    Synchronize counters across 4 CPUs: done.
    NET: Registered protocol family 16
    MIPS: machine is Ralink MT7621
    before gpio setting:407ac
    after gpio setting:405ac
    release PCIe RST: RALINK_RSTCTRL = 3000000
    PCIE PHY initialize
    ***** Xtal 40MHz *****
    start MT7621 PCIe register access
    RALINK_RSTCTRL = 3000000
    RALINK_CLKCFG1 = 77ffeff8
    
    *************** MT7621 PCIe RC mode *************
    pcie_link status = 0x3
    RALINK_RSTCTRL= 3000000
    *** Configure Device number setting of Virtual PCI-PCI bridge ***
    RALINK_PCI_PCICFG_ADDR = 21007f2 -> 21007f2
    PCIE0 enabled
    PCIE1 enabled
    interrupt enable status: 300000
    Port 1 N_FTS = 1b105000
    Port 0 N_FTS = 1b105000
    config reg done
    init_rt2880pci done
    bio: create slab  at 0
    SCSI subsystem initialized
    pci 0000:00:00.0: BAR 0: can't assign mem (size 0x80000000)
    pci 0000:00:01.0: BAR 0: can't assign mem (size 0x80000000)
    pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
    pci 0000:00:01.0: BAR 8: assigned [mem 0x60100000-0x601fffff]
    pci 0000:00:00.0: BAR 1: assigned [mem 0x60200000-0x6020ffff]
    pci 0000:00:00.0: BAR 1: set to [mem 0x60200000-0x6020ffff] (PCI address [0x60200000-0x6020ffff])
    pci 0000:00:01.0: BAR 1: assigned [mem 0x60210000-0x6021ffff]
    pci 0000:00:01.0: BAR 1: set to [mem 0x60210000-0x6021ffff] (PCI address [0x60210000-0x6021ffff])
    pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit]
    pci 0000:01:00.0: BAR 0: set to [mem 0x60000000-0x600fffff 64bit] (PCI address [0x60000000-0x600fffff])
    pci 0000:00:00.0: PCI bridge to [bus 01-01]
    pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
    pci 0000:02:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit]
    pci 0000:02:00.0: BAR 0: set to [mem 0x60100000-0x601fffff 64bit] (PCI address [0x60100000-0x601fffff])
    pci 0000:00:01.0: PCI bridge to [bus 02-02]
    pci 0000:00:01.0:   bridge window [mem 0x60100000-0x601fffff]
    PCI: Enabling device 0000:00:00.0 (0004 -> 0006)
    PCI: Enabling device 0000:00:01.0 (0004 -> 0006)
    BAR0 at slot 0 = 0
    bus=0x0, slot = 0x0
    res[0]->start = 0
    res[0]->end = 0
    res[1]->start = 60200000
    res[1]->end = 6020ffff
    res[2]->start = 0
    res[2]->end = 0
    res[3]->start = 0
    res[3]->end = 0
    res[4]->start = 0
    res[4]->end = 0
    res[5]->start = 0
    res[5]->end = 0
    BAR0 at slot 1 = 0
    bus=0x0, slot = 0x1
    res[0]->start = 0
    res[0]->end = 0
    res[1]->start = 60210000
    res[1]->end = 6021ffff
    res[2]->start = 0
    res[2]->end = 0
    res[3]->start = 0
    res[3]->end = 0
    res[4]->start = 0
    res[4]->end = 0
    res[5]->start = 0
    res[5]->end = 0
    bus=0x1, slot = 0x0, irq=0x4
    res[0]->start = 60000000
    res[0]->end = 600fffff
    res[1]->start = 0
    res[1]->end = 0
    res[2]->start = 0
    res[2]->end = 0
    res[3]->start = 0
    res[3]->end = 0
    res[4]->start = 0
    res[4]->end = 0
    res[5]->start = 0
    res[5]->end = 0
    bus=0x2, slot = 0x1, irq=0x18
    res[0]->start = 60100000
    res[0]->end = 601fffff
    res[1]->start = 0
    res[1]->end = 0
    res[2]->start = 0
    res[2]->end = 0
    res[3]->start = 0
    res[3]->end = 0
    res[4]->start = 0
    res[4]->end = 0
    res[5]->start = 0
    res[5]->end = 0
    Switching to clocksource MIPS
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    UDP hash table entries: 128 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    4 CPUs re-calibrate udelay(lpj = 1167360)
    Load Ralink Timer0 Module
    Load Ralink Timer1 Module
    Load Ralink Timer2 Module
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    JFFS2 version 2.2 (NAND) (SUMMARY) (ZLIB) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
    msgmni has been set to 242
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
    serial8250: ttyS0 at MMIO 0x1e000c00 (irq = 26) is a 16550A
    serial8250: ttyS1 at MMIO 0x1e000e00 (irq = 28) is a 16550A
    loop: module loaded
    flash manufacture id: c2, device id 20 18
    MX25L12805D(c2 2018c220) (16384 Kbytes)
    mtd .name = raspi, .size = 0x01000000 (16M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
    Creating 10 MTD partitions on "raspi":
    0x000000000000-0x000001000000 : "ALL"
    0x000000000000-0x000000030000 : "Bootloader"
    0x000000030000-0x000000040000 : "Config"
    0x000000040000-0x000000050000 : "Factory"
    0x000000050000-0x0000007f0000 : "Kernel"
    0x000000220000-0x0000007f0000 : "user"
    0x0000007f0000-0x0000009f0000 : "TM_1"
    0x0000009f0000-0x000000df0000 : "TM_2"
    0x000000df0000-0x000000f80000 : "manufacture"
    0x000000f80000-0x000001000000 : "storage"
    rdm_major = 253
    IMQ driver loaded successfully. (numdevs = 2, numqueues = 1)
            Hooking IMQ after NAT on PREROUTING.
            Hooking IMQ before NAT on POSTROUTING.
    GMAC1_MAC_ADRH -- : 0x0000000c
    GMAC1_MAC_ADRL -- : 0x4328806b
    Ralink APSoC Ethernet Driver Initilization. v3.1  512 rx/tx descriptors allocated, mtu = 1500!
    GMAC1_MAC_ADRH -- : 0x0000000c
    GMAC1_MAC_ADRL -- : 0x432880e9
    PROC INIT OK!
    PPP generic driver version 2.4.2
    PPP BSD Compression module registered
    PPP Deflate Compression module registered
    PPP MPPE Compression module registered
    NET: Registered protocol family 24
    Registered button device:reset, gpio:16,code:408,index:10
    Registered button device:wps, gpio:18,code:529,index:12
    Registered button device:op_mode_1, gpio:13,code:263,index:7
    GACT probability on
    Mirror/redirect action on
    Simple TC action Loaded
    netem: version 1.3
    u32 classifier
        Performance counters on
        input device check on
        Actions configured
    Netfilter messages via NETLINK v0.30.
    nf_conntrack version 0.5.0 (3750 buckets, 26250 max, 3750 max0, 30000 reserved)
    xt_time: kernel timezone is -0000
    ip_tables: (C) 2000-2006 Netfilter Core Team
    TCP westwood registered
    NET: Registered protocol family 10
    ip6_tables: (C) 2000-2006 Netfilter Core Team
    IPv6 over IPv4 tunneling driver
    NET: Registered protocol family 17
    NET: Registered protocol family 2
    L2TP core driver, V2.0
    8021q: 802.1Q VLAN Support v1.8
    Freeing unused kernel memory: 1804k freed
    System Init version: 1.1 date: 1
    Setting up file systems ...
    Setting up /mnt/tmpfs directory with tmpfs/16384KB
    Setting up FLASH storage partition ...
    JFFS2 notice: (337) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    Setting up /apps directory ...apps is in FLASH ...
    Setting FLASH up TM_1 partition ...
    JFFS2 notice: (375) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    Setting FLASH up TM_2 partition ...
    JFFS2 notice: (380) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
    Setting up loopback device ...
    FINISHED
    Start Normal Operation Mode ...
    ************************************************************************
    *                                ---ELX---                             *
    ************************************************************************
    
    KernelApp version: 1.23.0 build date: 2019/01/25 build time: 09:08:40
    cmd> ln: /sbin/./start_all: File exists
    Share memory created:  keyid 6888 shm_id 0 size 335(KB)
    Warning: dbox_destroy_share_memory p_dbox_cfg is NULL!
    __create_share_mem keyid 6888 shm_id 0
    3F: 1: 1: 0: 0: 0
    Raeth v3.1 (Tasklet)
    phy_free_head is 0x6c7e000!!!
    phy_free_tail_phy is 0x6c7fff0!!!
    txd_pool=a6c1a000 phy_txd_pool=06C1A000
    ei_local->skb_free start address is 0x8702945c.
    free_txd: 06c1a010, ei_local->cpu_ptr: 06C1A000
     POOL  HEAD_PTR | DMA_PTR | CPU_PTR 
    ----------------+---------+--------
         0xa6c1a000 0x06C1A000 0x06C1A000
    
    phy_qrx_ring = 0x06c79000, qrx_ring = 0xa6c79000
    
    phy_rx_ring0 = 0x07366000, rx_ring0 = 0xa7366000
    GMAC1_MAC_ADRH -- : 0x0000000c
    GMAC1_MAC_ADRL -- : 0x432880e9
    GDMA2_MAC_ADRH -- : 0x000000aa
    GDMA2_MAC_ADRL -- : 0xbbccdd20
    eth3: ===> VirtualIF_open
    CDMA_CSG_CFG = 81000000
    GDMA1_FWD_CFG = 20710000
    GDMA2_FWD_CFG = 20710000
    ra2880stop()...Done
    eth3: ===> VirtualIF_close
    Free TX/RX Ring Memory!
    3F: 1: 1: 0: 0: 0
    Raeth v3.1 (Tasklet)
    phy_free_head is 0x6c86000!!!
    phy_free_tail_phy is 0x6c87ff0!!!
    txd_pool=a6da6000 phy_txd_pool=06DA6000
    ei_local->skb_free start address is 0x8702945c.
    free_txd: 06da6010, ei_local->cpu_ptr: 06DA6000
     POOL  HEAD_PTR | DMA_PTR | CPU_PTR 
    ----------------+---------+--------
         0xa6da6000 0x06DA6000 0x06DA6000
    
    phy_qrx_ring = 0x06c27000, qrx_ring = 0xa6c27000
    
    phy_rx_ring0 = 0x06d9c000, rx_ring0 = 0xa6d9c000
    GMAC1_MAC_ADRH -- : 0x0000bc5c
    GMAC1_MAC_ADRL -- : 0x4cxxxxfd
    eth3: ===> VirtualIF_open
    CDMA_CSG_CFG = 81000000
    GDMA1_FWD_CFG = 20710000
    GDMA2_FWD_CFG = 20710000
    GDMA2_MAC_ADRH -- : 0x0000bc5c
    GDMA2_MAC_ADRL -- : 0x4cxxxxfc
    eth3: ===> VirtualIF_open
    eth3: ===> VirtualIF_close
    GDMA2_MAC_ADRH -- : 0x0000bc5c
    GDMA2_MAC_ADRL -- : 0x4cxxxxfc
    eth3: ===> VirtualIF_open
    ADDRCONF(NETDEV_UP): br0: link is not ready
    device br_t.1 entered promiscuous mode
    device br_t entered promiscuous mode
    br0: port 1(br_t.1) entering forwarding state
    br0: port 1(br_t.1) entering forwarding state
    ADDRCONF(NETDEV_CHANGE): br0: link becomes ready
    br0: port 1(br_t.1) entering forwarding state
    device eth2 entered promiscuous mode
    br0: port 2(eth2) entering forwarding state
    br0: port 2(eth2) entering forwarding state
    br0: port 1(br_t.1) entering forwarding state
    br0: port 1(br_t.1) entering forwarding state
    
    
    ********************
    Initialize Radio_(24G) setting ... 
    rd[0]==1
    OK
    
    
    Configuring Ralink WiFi device ...Wlan is in
     AP Mode
    CMD[insmod /lib/rlt_wifi.ko]
    ChipOpsMCUHook
    create [wsc_24g] proc!
    ChipOpsMCUHook
    create [wsc_5g] proc!
    CMD[cp /lib/7615_SingleSKU.dat /etc/Wireless/RT2860/7615_SingleSKU.dat]
    Copy single SKU file for 7615...
    CMD[cp /lib/7615_SingleSKU_BF.dat /etc/Wireless/RT2860/7615_SingleSKU_BF.dat]
    Copy single SKU BF file for 7615...
    CMD[ifconfig ra0 0.0.0.0 up]
    efuse_probe: efuse = 10000212
    MT7615BBPInit():BBP Initialization.....
            Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
            Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
    AndesLedEnhanceOP: Success!
    CMD[ifconfig ra1 0.0.0.0 up]
    CMD[brctl addif br0 ra0]
    device ra0 entered promiscuous mode
    br0: port 3(ra0) entering forwarding state
    br0: port 3(ra0) entering forwarding state
    CMD[brctl addif br0 ra1]
    device ra1 entered promiscuous mode
    br0: port 4(ra1) entering forwarding state
    br0: port 4(ra1) entering forwarding state
    CMD[mkdir -p /etc/wsc_xml]
    CMD[ln -s /apps/etc/xml/* /etc/wsc_xml]
    CMD[route add -net 239.0.0.0 netmask 255.0.0.0 br0]
    CMD[wscd -i ra0 -m 1 -w /etc/wsc_xml -a 192.168.2.1&]
    CMD[iwpriv ra0 set IgmpSnEnable=0]
    CMD[iwpriv ra1 set IgmpSnEnable=0]
    CMD[iwpriv ra0 set WscConfMode=7]
    CMD[iwpriv ra0 set WscSetupLock=0]
    CMD[iwpriv ra0 set WscMaxPinAttack=5]
    CMD[iwpriv ra0 set HtMIMOPS=3]
    CMD[iwpriv ra0 set TxPowerFeatureCtrl=1:0:15]
    Interface doesn't accept private ioctl...
    set (8BE2): Invalid argument
    CMD[iwpriv ra0 set Channel=11]
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=0, LED_CMD=0!
    AndesLedEnhanceOP: Success!
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
    AndesLedEnhanceOP: Success!
    Reload iwevent...
    send 15 to pid:692
    CMD[iwevent &]
    Waiting for Wireless Events from interfaces...
    CMD[echo 1 1 > /proc/wsc_preled]
    
    
    ********************
    Initialize Radio_(5G) setting ... 
    rd[1]==1
    OK
    Configuring 5G radio setting ... 
    
    
    Configuring Ralink WiFi device ...Wlan is in
     AP Mode
    CMD[cp /lib/7615_SingleSKU.dat /etc/Wireless/RT2860/7615_SingleSKU.dat]
    Copy single SKU file for 7615...
    CMD[cp /lib/7615_SingleSKU_BF.dat /etc/Wireless/RT2860/7615_SingleSKU_BF.dat]
    Copy single SKU BF file for 7615...
    CMD[ifconfig rai0 0.0.0.0 up]
    efuse_probe: efuse = 10000212
    br0: port 2(eth2) entering forwarding state
    br0: port 1(br_t.1) entering forwarding state
    MT7615BBPInit():BBP Initialization.....
            Band 0: valid=1, isDBDC=0, Band=2, CBW=1, CentCh/PrimCh=1/1, prim_ch_idx=0, txStream=2
            Band 1: valid=0, isDBDC=0, Band=0, CBW=0, CentCh/PrimCh=0/0, prim_ch_idx=0, txStream=0
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
    AndesLedEnhanceOP: Success!
    CMD[brctl addif br0 rai0]
    device rai0 entered promiscuous mode
    br0: port 5(rai0) entering forwarding state
    br0: port 5(rai0) entering forwarding state
    CMD[mkdir -p /etc/wsc_xml]
    CMD[ln -s /apps/etc/xml/* /etc/wsc_xml]
    ln: /etc/wsc_xml/WFAWLANConfigSCPD.xml: File exists
    CMD[route add -net 239.0.0.0 netmask 255.0.0.0 br0]
    route: SIOCADDRT: File exists
    CMD[wscd -i rai0 -m 1 -w /etc/wsc_xml -a 192.168.2.1&]
    CMD[iwpriv rai0 set IgmpSnEnable=0]
    CMD[iwpriv rai0 set WscConfMode=7]
    CMD[iwpriv rai0 set WscSetupLock=0]
    CMD[iwpriv rai0 set WscMaxPinAttack=5]
    CMD[iwpriv rai0 set HtMIMOPS=3]
    CMD[iwpriv rai0 set TxPowerFeatureCtrl=1:0:15]
    Interface doesn't accept private ioctl...
    set (8BE2): Invalid argument
    CMD[iwpriv rai0 set Channel=36]
    Reload iwevent...
    send 15 to pid:983
    CMD[iwevent &]
    Waiting for Wireless Events from interfaces...
    CMD[echo 2 1 > /proc/wsc_preled]
    dsc: module license 'unspecified' taints kernel.
    Disabling lock debugging due to kernel taint
    
    
    
    
    
    
    
    
    eth3: ===> VirtualIF_close
    GDMA2_MAC_ADRH -- : 0x0000bc5c
    GDMA2_MAC_ADRL -- : 0x4cxxxxfc
    eth3: ===> VirtualIF_open
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=0, LED_CMD=0!
    AndesLedEnhanceOP: Success!
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
    AndesLedEnhanceOP: Success!
    Start wps_led driver
    Ebtables v2.0 registered
    sh: can't create /sys/devices/virtual/net/br0/bridge/multicast_snooping: nonexistent directory
    __create_share_mem keyid 6888 shm_id 0
    __create_share_mem keyid 6888 shm_id 0
    eth2 ifindex =4
    eth3 ifindex =8
    ***********dev->ifindex = c
    ***********dev->ifindex = e
    ***********dev->ifindex = f
    ***********dev->ifindex = 10
    ***********dev->ifindex = 11
    ***********dev->ifindex = d
    ***********dev->ifindex = 12
    ***********dev->ifindex = 13
    ***********dev->ifindex = 14
    ***********dev->ifindex = 15
    Err: read_to_buf failed to open file /proc/657/status!
    eth3: ===> VirtualIF_close
    eth3: ===> VirtualIF_open
    eth3: ===> VirtualIF_close
    eth3: ===> VirtualIF_open
    echo: write error: Invalid argument
    br0: port 3(ra0) entering forwarding state
    br0: port 4(ra1) entering forwarding state
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=0, LED_CMD=0!
    AndesLedEnhanceOP: Success!
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
    AndesLedEnhanceOP: Success!
    br0: port 5(rai0) entering forwarding state
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=0, LED_CMD=0!
    AndesLedEnhanceOP: Success!
    RTMPSetLEDStatus: before AndesLedEnhanceOP , status=1, LED_CMD=2!
    AndesLedEnhanceOP: Success!
    
    

HDL2-AAX

メルカリにおいて適当にI-O DATAのNASを眺めていたところ、ジャンクとして出品されていたのを見つけたもの。
2ドライブ対応で、なおかつ2.5GbE対応であることから惹かれたものの、当初は自室に置き場所が無いなどの理由から見送るつもりであった。が、徐々に価格設定が落ち、3k落ちたところでかなり悩んだ末に購入してしまった。自室スペースの死。
弄っていくのでメモ。

U-Boot

この機種はHDL-A/HDL2-Aと異なり、U-Bootのブート中断が消されておらず止めることが可能だった。

  • help
    HDL-AA>> help
    ?       - alias for 'help'
    Creset  - Creset        - Run 'reset' or boot command in a loop, while counting.
    
    SatR    - Sample At Reset sub-system
    active_units- print active units on board
    base    - print or set address offset
    bdinfo  - print Board Info structure
    boot    - boot default, i.e., run 'bootcmd'
    boot_menu- command allows to select boot script from boot device
    example: boot_menu
    bootd   - boot default, i.e., run 'bootcmd'
    bootelf - Boot from an ELF image in memory
    bootm   - boot application image from memory
    bootp   - boot image via network using BOOTP/TFTP protocol
    bootvx  - Boot vxWorks from an ELF image
    bootz   - boot Linux zImage image from memory
    bubt    - bubt  - Burn an image on the Boot flash device.
    
    chpart  - change active partition
    cmp     - memory compare
    coninfo - print console devices and information
    cp      - memory copy
    cpss_env- set cpss environment variables permanently
    
    crc32   - checksum calculation
    date    - get/set/reset date & time
    ddrPhyRead- ddrPhyRead - Read DDR PHY register
    
    ddrPhyWrite- ddrPhyWrite - Write DDR PHY register
    
    dhcp    - boot image via network using DHCP/TFTP protocol
    diskboot- diskboot- boot from IDE device
    
    dma     - dma   - Perform DMA using the XOR engine
    
    echo    - echo args to console
    editenv - edit environment variable
    eeprom  - EEPROM sub-system
    env     - environment handling commands
    exit    - exit script
    ext2load- load binary file from a Ext2 filesystem
    ext2ls  - list files in a directory (default /)
    ext4load- load binary file from a Ext4 filesystem
    ext4ls  - list files in a directory (default /)
    ext4write- create a file in the root directory
    false   - do nothing, unsuccessfully
    fatinfo - print information about filesystem
    fatload - load binary file from a dos filesystem
    fatls   - list files in a directory (default /)
    fdt     - flattened device tree utility commands
    flash_part_print- flash_part_print  - print spi/nand FLASH memory information
    
    fsinfo  - print information about filesystems
    fsload  - load binary file from a filesystem image
    go      - start application at address 'addr'
    hdl     - HDL command
    help    - print command description/usage
    hwreset - turn RTS/CTS hardware flow control in serial line on/off
    i2c     - I2C sub-system
    ide     - ide     - IDE sub-system
    
    iminfo  - print header information for application image
    imxtract- extract a part of a multi-image
    ir      - ir    - reading and changing MV internal register values.
    
    itest   - return true/false on integer compare
    loadb   - load binary file over serial line (kermit mode)
    loads   - load S-Record file over serial line
    loadx   - load binary file over serial line (xmodem mode)
    loady   - load binary file over serial line (ymodem mode)
    loop    - infinite loop on address range
    ls      - list files in a directory (default /)
    map     - map   - Display address decode windows
    
    md      - memory display
    me      - me    - PCIe master enable
    
    mm      - memory modify (auto-incrementing address)
    mmc     - MMC sub system
    mmcinfo - display MMC info
    mp      - mp    - map PCIe BAR
    
    mtdburn - Burn a Linux image and Filesystem` on the NAND/SPI flash.
    
    mtdparts- define flash/nand partitions
    mtest   - simple RAM read/write test
    mvsource- mvsource      - Burn a script image on flash device.
    
    mw      - memory write (fill)
    nand    - NAND sub-system
    nboot   - boot from NAND device
    nfs     - boot image via network using NFS protocol
    nm      - memory modify (constant address)
    pci     - list and access PCI Configuration Space
    pciePhyRead- phyRead    - Read PCI-E Phy register
    
    pciePhyWrite- pciePhyWrite      - Write PCI-E Phy register
    
    phyRead - phyRead       - Read Phy register
    
    phyWrite- phyWrite      - Write Phy register
    
    ping    - send ICMP ECHO_REQUEST to network host
    printenv- print environment variables
    pxe     - commands to get and boot from pxe files
    qsgmii_sel-  Select SFP or QSGMII modes on bc2.
    
    rcvr    - rcvr  - Start recovery process (with TFTP server)
    
    reset   - Perform RESET of the CPU
    resetenv- resetenv      - Erase environment sector to reset all variables to default.
    
    run     - run commands in an environment variable
    saveenv - save environment variables to persistent storage
    scsi    - SCSI sub-system
    scsiboot- boot from SCSI device
    se      - se    - PCIe Slave enable
    
    setenv  - set environment variables
    sf      - SPI flash sub-system
    sg      - sg    - scanning the PHYs status
    
    showvar - print local hushshell variables
    sleep   - delay execution for some time
    smiscan - smiscan - Scan for marvell smi devices.
    
    source  - run script from memory
    sp      - scan and detect all devices on PCI-e interface
    sspi    - SPI utility command
    stage_boot- command to load script/image from different devices
    example: stage_boot hd_img pxe
    switchCountersRead- switchCntPrint      - Read switch port counters.
    
    switchPhyRegRead- - Read switch register
    
    switchPhyRegWrite- - Write switch register
    
    switchRegRead- switchRegRead    - Read switch register
    
    switchRegWrite- switchRegWrite  - Write switch register
    
    sys_restore- sys_restore        - Search for install script on USB DOK and start installation of linux kernel and rootfs.
    
    sysboot - command to get and boot from syslinux files
    temp    - temp  - Display the device temperature.
    
    tempCmd0- tempCmd - This command allocated for monitor extinction
    
    tempCmd1- tempCmd - This command allocated for monitor extinction
    
    tempCmd2- tempCmd - This command allocated for monitor extinction
    
    tempCmd3- tempCmd - This command allocated for monitor extinction
    
    test    - minimal test like /bin/sh
    tftpboot- boot image via network using TFTP protocol
    training- training      - prints the results of the DDR3 Training.
    
    trainingStability- training     - prints the results of the DDR3 Training.
    
    true    - do nothing, successfully
    ts_report- ts_report    - report touch screen coordinate
    
    ts_test - ts_test       - test touch screen
    
    ubi     - ubi commands
    ubifsload- load file from an UBIFS filesystem
    ubifsls - list files in a directory
    ubifsmount- mount UBIFS volume
    ubifsumount- unmount UBIFS volume
    usb     - USB sub-system
    usbboot - boot from USB device
    version - print monitor, compiler and linker version
    whoAmI  - - reading CPU ID
    

  • version
    HDL-AA>> version
    
    U-Boot 2013.01 (Oct 25 2019 - 09:26:29) MV: 2015_T1.0p16 I-O: 0.47
    arm-marvell-linux-gnueabi-gcc (Marvell GCC release 20160226-c4af733b 64K MAXPAGESIZE ALIGN) 4.6.4
    GNU ld (Marvell GCC release 20160226-c4af733b 64K MAXPAGESIZE ALIGN) 2.22.0.20120801
    

  • printenv
    HDL-AA>> printenv
    CASset=max
    MALLOC_len=5
    MPmode=SMP
    autoload=no
    baudrate=115200
    boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr
    bootargs=console=ttyS0,115200 mtdparts=spi0.0:960k(boot),64k(env),-(system) initrd=0x3000040 rw root=/dev/md2 rootfstype=ext4 rw rootdelay=2 init=/lib/sysvinit/init
    bootargs_dflt=$console $nandEcc $mtdparts_lgcy $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel
    bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none
    bootargs_root=root=/dev/sda1 rw rootdelay=2
    bootcmd=hdl init; sleep 10; if scsi reset;then ext4load scsi 0:1 $kernel_addr $image_name && ext4load scsi 0:1 $fdt_addr $fdtfile && ext4load scsi 0:1 $initrd_addr $initrd_name && bootz $kernel_addr $initrd_addr $fdt_addr;ext4load scsi 1:1 $kernel_addr $image_name && ext4load scsi 1:1 $fdt_addr $fdtfile && ext4load scsi 1:1 $initrd_addr $initrd_name && bootz $kernel_addr $initrd_addr $fdt_addr;fi;fsload $kernel_addr $image_name && fsload $fdt_addr $fdtfile && fsload $initrd_addr $initrd_name && bootz $kernel_addr $initrd_addr $fdt_addr;echo giveup...
    bootcmd_auto=stage_boot $boot_order
    bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
    bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
    bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot
    bootcmd_lgcy=tftpboot 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts_lgcy $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end  video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel;  bootm $loadaddr;
    bootdelay=0
    cacheShare=no
    console=console=ttyS0,115200
    device_partition=0:1
    disaMvPnp=no
    eeeEnable=no
    enaClockGating=no
    enaCpuStream=no
    enaFPU=yes
    enaMonExt=no
    enaWrAllo=no
    eth1addr=00:50:43:e8:55:52
    eth1mtu=1500
    eth2addr=00:50:43:e8:8e:52
    eth2mtu=1500
    eth3addr=00:50:43:55:8e:e8
    eth3mtu=1500
    ethact=egiga0
    ethaddr=34:76:C5:xx:xx:05
    ethmtu=1500
    ethprime=egiga0
    fdt_addr=0x1000000
    fdt_flash_addr=0x6f0000
    fdt_flash_size=0x10000
    fdt_size=0x10000
    fdt_skip_update=yes
    fdtaddr=0x1000000
    fdtfile=/hdl-aa.dtb
    filesize=0x1000000
    ide_path=/
    image_name=/zImage
    initrd_addr=0x3000000
    initrd_addr_entry=0x3000040
    initrd_flash_addr=0x700000
    initrd_flash_size=0x900000
    initrd_name=/uInitrd
    initrd_size=0x900000
    ipaddr=192.168.1.100
    kernel_addr=0x2000000
    kernel_addr_r=2080000
    kernel_flash_addr=0x100000
    kernel_flash_size=0x5f0000
    kernel_size=0x5f0000
    lcd0_enable=0
    lcd0_params=640x480-16@60
    lcd_panel=0
    limit_dram_size=yes
    loadaddr=0x02000000
    loads_echo=0
    mtddevname=jffs2
    mtddevnum=2
    mtdids=nor1=spi_flash
    mtdparts=mtdparts=spi_flash:960k(u-boot),64k(env),-(jffs2)
    mtdparts_lgcy=mtdparts=spi_flash:4m(boot),-(spi-rootfs)
    mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
    mv_pon_addr=00:50:43:52:8e:e8
    nandEcc=nfcConfig=8bitecc
    netbsd_en=no
    netmask=255.255.255.0
    netretry=no
    partition=nor1,2
    pcieTune=no
    pexMode=RC
    pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
    pxefile_addr_r=3100000
    ramdisk_addr_r=2880000
    rootpath=/srv/nfs/
    run_script=no
    sata_delay_reset=0
    sata_dma_mode=yes
    script_addr_r=3000000
    script_name=boot.scr
    scsidevs=0
    sd_detection_dat3=no
    serverip=192.168.1.1
    standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts_lgcy root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000;
    stderr=serial
    stdin=serial
    stdout=serial
    usb0Mode=host
    usb1Mode=host
    usbActive=1
    usbType=3
    vxworks_en=no
    yuk_ethaddr=00:00:00:EE:51:81
    zhcc=G82573813
    
    Environment size: 4339/65532 bytes
    

    bootcmd整形:

    hdl init;
    sleep 10;
    # SCSI (SATA) リセットOK
    if scsi reset;then
        # SCSI 0:1 (SATA0) からブート試行
        ext4load scsi 0:1 $kernel_addr $image_name && \
            ext4load scsi 0:1 $fdt_addr $fdtfile && \
            ext4load scsi 0:1 $initrd_addr $initrd_name && \
            bootz $kernel_addr $initrd_addr $fdt_addr;
        # SCSI 1:1 (SATA1) からブート試行
        ext4load scsi 1:1 $kernel_addr $image_name && \
            ext4load scsi 1:1 $fdt_addr $fdtfile && \
            ext4load scsi 1:1 $initrd_addr $initrd_name && \
            bootz $kernel_addr $initrd_addr $fdt_addr;
    fi;
    # SPI-NOR Flashからブート試行
    fsload $kernel_addr $image_name && \
        fsload $fdt_addr $fdtfile && \
        fsload $initrd_addr $initrd_name && \
        bootz $kernel_addr $initrd_addr $fdt_addr;
    echo giveup...
    

  • tftpboot
    何故か死ぬ

    HDL-AA>> tftpboot
    mvEgigaInit: egiga0 mvNetaPortEnable failed (error)
    mvEgigaInit: egiga0 failed
    

  • bdinfo
    HDL-AA>> bdinfo
    arch_number = 0x00000210
    boot_params = 0x00000100
    DRAM bank   = 0x00000000
    -> start    = 0x00000000
    -> size     = 0x20000000
    DRAM bank   = 0x00000001
    -> start    = 0x00000000
    -> size     = 0x00000000
    ethaddr     = 34:76:C5:xx:xx:05
    ip_addr     = 192.168.1.100
    baudrate    = 115200 bps
    TLB addr    = 0x1FFF0000
    relocaddr   = 0x1FECF000
    reloc off   = 0x1FECF000
    irq_sp      = 0x1F9BEF30
    sp start    = 0x1F9BEF20
    FB base     = 0x00000000
    

Kernel

ファームウェアインストール済みのHDDは無い為、SPI-NOR Flash内に格納されているファームウェアで確認

  • uname -a
    / # uname -a
    Linux landisk 3.10.70 #1 SMP Thu Nov 26 18:11:41 JST 2020 armv7l GNU/Linux
    

  • cat /proc/version
    / # cat /proc/version
    Linux version 3.10.70 (root@buildarmsrv) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Thu Nov 26 18:11:41 JST 2020
    

  • cat /proc/cpuinfo
    / # cat /proc/cpuinfo
    processor       : 0
    model name      : ARMv7 Processor rev 1 (v7l)
    BogoMIPS        : 2655.84
    Features        : swp half thumb fastmult vfp edsp neon vfpv3 tls
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x4
    CPU part        : 0xc09
    CPU revision    : 1
    
    processor       : 1
    model name      : ARMv7 Processor rev 1 (v7l)
    BogoMIPS        : 2655.84
    Features        : swp half thumb fastmult vfp edsp neon vfpv3 tls
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x4
    CPU part        : 0xc09
    CPU revision    : 1
    
    Hardware        : Marvell Armada 380/381/382/383/384/385/388 (Device Tree)
    Revision        : 0000
    Serial          : 0000000000000000
    

  • cat /proc/meminfo
    / # cat /proc/meminfo
    MemTotal:         509448 kB
    MemFree:          469432 kB
    Buffers:               0 kB
    Cached:             8340 kB
    SwapCached:            0 kB
    Active:             4160 kB
    Inactive:           4964 kB
    Active(anon):        784 kB
    Inactive(anon):       92 kB
    Active(file):       3376 kB
    Inactive(file):     4872 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    HighTotal:             0 kB
    HighFree:              0 kB
    LowTotal:         509448 kB
    LowFree:          469432 kB
    SwapTotal:             0 kB
    SwapFree:              0 kB
    Dirty:                 0 kB
    Writeback:             0 kB
    AnonPages:           756 kB
    Mapped:              912 kB
    Shmem:                92 kB
    Slab:              27440 kB
    SReclaimable:       3304 kB
    SUnreclaim:        24136 kB
    KernelStack:         488 kB
    PageTables:           52 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:      254724 kB
    Committed_AS:       1980 kB
    VmallocTotal:     515072 kB
    VmallocUsed:        5520 kB
    VmallocChunk:     484348 kB
    

  • cat /proc/mtd
    / # cat /proc/mtd
    dev:    size   erasesize  name
    mtd0: 000f0000 00010000 "boot"
    mtd1: 00010000 00010000 "env"
    mtd2: 00f00000 00010000 "system"
    

  • ls -alh /proc/nas_ctrl/
    / # ls -alh /proc/nas_ctrl/
    total 0
    dr-xr-xr-x    2 0        0              0 Jun 18 06:05 .
    dr-xr-xr-x   76 0        0              0 Jan  1  1970 ..
    -rw-rw-rw-    1 0        0              0 Jun 18 06:05 boardmodel
    -rw-rw-rw-    1 0        0              0 Jun 18 06:05 btnled
    -rw-rw-rw-    1 0        0              0 Jun 18 06:05 melody
    

  • cat /proc/nas_ctrl/btnled
    / # cat /proc/nas_ctrl/btnled
    led_green       off
    led_orange      off
    led_red blink
    led_hdd1green   off
    led_hdd1red     off
    led_hdd2green   off
    led_hdd2red     off
    led_brightness  high
    btn_power       off
    btn_power_state state_off
    btn_reset       off
    btn_reset_state state_off
    

  • bootlog
    ファームウェアインストール用USBフラッシュメモリとHDDを接続していない為、途中で止まる

    
    BootROM - 1.73
    Booting from SPI flash
    
    
    General initialization - Version: 1.0.0
    AVS selection from EFUSE disabled (Skip reading EFUSE values)
    Overriding default AVS value to: 0x23
    Detected Device ID 6811
    High speed PHY - Version: 2.0
    
    Init HDL board board SerDes lanes topology details:
     | Lane # | Speed|    Type     |
     ------------------------------|
     |   0    |  0   |  SGMII0     |
     |   1    |  6   |  SATA0      |
     |   2    |  6   |  SATA1      |
     |   3    |  5   |  USB3 HOST1 |
     -------------------------------
    High speed PHY - Ended Successfully
    DDR3 Training Sequence - Ver TIP-1.46.0
    DDR3 Training Sequence - Switching XBAR Window to FastPath Window 
    DDR3 Training Sequence - Ended Successfully
    Not detected suspend to RAM indication
    BootROM: Image checksum verification PASSED
    
    ============================================================
      HDL-AA series Initial boot loader
    
      Copyright (C) 2015-2017 I-O DATA DEVICE, INC.
    ============================================================
     ** LOADER **
    
    
    U-Boot 2013.01 (Oct 25 2019 - 09:26:29) MV: 2015_T1.0p16 I-O: 0.47
    
    Board: HDL-AA
    SoC:   MV88F6811 Rev A0
           running 2 CPUs
    CPU:   ARM Cortex A9 MPCore (Rev 1) LE
           CPU 0
           CPU    @ 1332 [MHz]
           L2     @ 666 [MHz]
           TClock @ 200 [MHz]
           DDR3    @ 666 [MHz]
           DDR3 16 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled
    DRAM:  512 MiB
    NAND:  mvNfcInit() failed.
    0 MiB
    SPI:  SF: Detected W25Q128 with page size 64 KiB, total 16 MiB
    MMC:   mv_sdh: 0
    SF: Detected W25Q128 with page size 64 KiB, total 16 MiB
    USB3.0 1: Host Mode
    
    Map:   Code:                    0x1fecf000:0x1ff96474
           BSS:                     0x1ffefdac
           Stack:                   0x1f9bef20
           Heap:                    0x1f9bf000:0x1fecf000
           U-Boot Environment:      0x000f0000:0x00100000 (SPI)
    
    Board configuration detected:
    mvBoardEgigaPhyInit in 
    Net:   
    |  port  | Interface | PHY address  |
    |--------|-----------|--------------|
    | egiga0 |   SGMII   |   In-Band    |
    egiga0 [PRIME]
    Hit any key to stop autoboot:  0 
    failed to read mcu workaround for reset address.
    boot by AC.
    setting is not boot by AC.
    phy: page = 0
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 0000 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 1
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 0000 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 2
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 0000 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 3
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 0000 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 4
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 0000 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 5
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 0000 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 6
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 0000 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 7
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 0000 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 8
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 0000 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 9
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 0000 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 10
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 0000 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 11
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 0000 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 12
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 0000 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 13
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 0000 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 14
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 0000 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 15
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 0000 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 16
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 0000 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 17
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 0000 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    iodata GPIO power off.
    BootROM - 1.73
    Booting from SPI flash
    
    
    General initialization - Version: 1.0.0
    AVS selection from EFUSE disabled (Skip reading EFUSE values)
    Overriding default AVS value to: 0x23
    Detected Device ID 6811
    High speed PHY - Version: 2.0
    
    Init HDL board board SerDes lanes topology details:
     | Lane # | Speed|    Type     |
     ------------------------------|
     |   0    |  0   |  SGMII0     |
     |   1    |  6   |  SATA0      |
     |   2    |  6   |  SATA1      |
     |   3    |  5   |  USB3 HOST1 |
     -------------------------------
    High speed PHY - Ended Successfully
    DDR3 Training Sequence - Ver TIP-1.46.0
    DDR3 Training Sequence - Switching XBAR Window to FastPath Window 
    DDR3 Training Sequence - Ended Successfully
    Not detected suspend to RAM indication
    BootROM: Image checksum verification PASSED
    
    ============================================================
      HDL-AA series Initial boot loader
    
      Copyright (C) 2015-2017 I-O DATA DEVICE, INC.
    ============================================================
     ** LOADER **
    
    
    U-Boot 2013.01 (Oct 25 2019 - 09:26:29) MV: 2015_T1.0p16 I-O: 0.47
    
    Board: HDL-AA
    SoC:   MV88F6811 Rev A0
           running 2 CPUs
    CPU:   ARM Cortex A9 MPCore (Rev 1) LE
           CPU 0
           CPU    @ 1332 [MHz]
           L2     @ 666 [MHz]
           TClock @ 200 [MHz]
           DDR3    @ 666 [MHz]
           DDR3 16 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled
    DRAM:  512 MiB
    NAND:  mvNfcInit() failed.
    0 MiB
    SPI:  SF: Detected W25Q128 with page size 64 KiB, total 16 MiB
    MMC:   mv_sdh: 0
    SF: Detected W25Q128 with page size 64 KiB, total 16 MiB
    USB3.0 1: Host Mode
    
    Map:   Code:                    0x1fecf000:0x1ff96474
           BSS:                     0x1ffefdac
           Stack:                   0x1f9bef20
           Heap:                    0x1f9bf000:0x1fecf000
           U-Boot Environment:      0x000f0000:0x00100000 (SPI)
    
    Board configuration detected:
    mvBoardEgigaPhyInit in 
    Net:   
    |  port  | Interface | PHY address  |
    |--------|-----------|--------------|
    | egiga0 |   SGMII   |   In-Band    |
    egiga0 [PRIME]
    Hit any key to stop autoboot:  0 
    failed to read mcu workaround for reset address.
    
    Reset SCSI
    AHCI init for unit0
    SATA link 0 timeout.
    SATA link 1 timeout.
    
    Error: SCSI Controller(s) 1B4B:9215 1B4B:9235 not found
    scanning bus for devices...
    Found 0 device(s).
    ** Bad device scsi 0 **
    ** Bad device scsi 1 **
    ### JFFS2 loading '/zImage' to 0x2000000
    Scanning JFFS2 FS:   SF: Detected W25Q128 with page size 64 KiB, total 16 MiB                                                                  . 
    done.
    ### JFFS2 load complete: 3535504 bytes loaded to 0x2000000
    ### JFFS2 loading '/hdl-aa.dtb' to 0x1000000
    ### JFFS2 load complete: 14041 bytes loaded to 0x1000000
    ### JFFS2 loading '/uInitrd' to 0x3000000
    ### JFFS2 load complete: 3329208 bytes loaded to 0x3000000
    ## Loading init Ramdisk from Legacy Image at 03000000 ...
       Image Name:   HDL-AAX
       Created:      2022-05-09   0:42:20 UTC
       Image Type:   ARM Linux RAMDisk Image (uncompressed)
       Data Size:    3329144 Bytes = 3.2 MiB
       Load Address: 00000000
       Entry Point:  00000000
    ## Flattened Device Tree blob at 01000000
       Booting using the fdt blob at 0x01000000
       Loading Ramdisk to 1f690000, end 1f9bcc78 ... OK
       Loading Device Tree to 00ff9000, end 00fff6d8 ... OK
    
       Skipping Device Tree update ('fdt_skip_update' = yes)
    
    Limit DDR size at 3GB due to power of 2 requirement of Address decoding
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    Booting Linux on physical CPU 0x0
    Linux version 3.10.70 (root@buildarmsrv) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Thu Nov 26 18:11:41 JST 2020
    CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
    CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: Marvell Armada 380/381/382/383/384/385/388 (Device Tree), model: HDL-AA
    Memory policy: ECC disabled, Data cache writealloc
    PERCPU: Embedded 9 pages/cpu @c0e4e000 s12544 r8192 d16128 u36864
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
    Kernel command line: console=ttyS0,115200 mtdparts=spi0.0:960k(boot),64k(env),-(system) initrd=0x3000040 rw root=/dev/md2 rootfstype=ext4 rw rootdelay=2 init=/lib/sysvinit/init
    PID hash table entries: 2048 (order: 1, 8192 bytes)
    Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    Memory: 512MB = 512MB total
    Memory: 505868k/505868k available, 18420k reserved, 0K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        vmalloc : 0xe0800000 - 0xfff00000   ( 503 MB)
        lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .text : 0xc0008000 - 0xc08fa7a8   (9162 kB)
          .init : 0xc08fb000 - 0xc094e100   ( 333 kB)
          .data : 0xc0950000 - 0xc09b5d00   ( 408 kB)
           .bss : 0xc09b5d00 - 0xc0a440a4   ( 569 kB)
    Hierarchical RCU implementation.
            RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
    NR_IRQS:16 nr_irqs:16 16
    
      LSP version: linux-3.10.70-2015_T1.1p7
    
    sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms
    L310 cache controller enabled
    l2x0: 16 ways, CACHE_ID 0x410054c9, AUX_CTRL 0x16070000, Cache size: 1048576 B
    Console: colour dummy device 80x30
    Calibrating delay loop... 2655.84 BogoMIPS (lpj=13279232)
    pid_max: default: 32768 minimum: 301
    Security Framework initialized
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    Setting up static identity map for 0xc067e628 - 0xc067e680
    mvebu-pmsu: Initializing Power Management Service Unit
    Initializing CPU Reset module
    CPU1: Booted secondary processor
    CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    Brought up 2 CPUs
    SMP: Total of 2 processors activated (5311.69 BogoMIPS).
    CPU: All CPU(s) started in SVC mode.
    devtmpfs: initialized
    mvebu-soc-id: MVEBU SoC ID=0x6811, Rev=0x4
    xor: measuring software checksum speed
       arm4regs  :  2366.000 MB/sec
       8regs     :  1630.000 MB/sec
       32regs    :  1658.400 MB/sec
    xor: using function: arm4regs (2366.000 MB/sec)
    pinctrl core: initialized pinctrl subsystem
    regulator-dummy: no parameters
    NET: Registered protocol family 16
    DMA: preallocated 256 KiB pool for atomic coherent allocations
    irq: Cannot allocate irq_descs @ IRQ194, assuming pre-allocated
    irq: Cannot allocate irq_descs @ IRQ226, assuming pre-allocated
    bio: create slab  at 0
    raid6: int32x1    199 MB/s
    raid6: int32x2    274 MB/s
    raid6: int32x4    274 MB/s
    raid6: int32x8    302 MB/s
    raid6: using algorithm int32x8 (302 MB/s)
    raid6: using intx1 recovery algorithm
    vgaarb: loaded
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    pps_core: LinuxPPS API ver. 1 registered
    pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti 
    PTP clock support registered
    Switching to clocksource armada_370_xp_clocksource
    FS-Cache: Loaded
    NET: Registered protocol family 2
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP: reno registered
    UDP hash table entries: 256 (order: 1, 8192 bytes)
    UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    NET: Registered protocol family 1
    RPC: Registered named UNIX socket transport module.
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    Trying to unpack rootfs image as initramfs...
    Freeing initrd memory: 3248K (df690000 - df9bc000)
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    FS-Cache: Netfs 'nfs' registered for caching
    NFS: Registering the id_resolver key type
    Key type id_resolver registered
    Key type id_legacy registered
    Installing knfsd (copyright (C) 1996 [email protected]).
    Key type cifs.spnego registered
    Key type cifs.idmap registered
    NTFS driver 2.1.30 [Flags: R/O].
    jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    fuse init (API version 7.22)
    SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
    msgmni has been set to 994
    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
    gpio-mcu: gmcu_dev = f800000 (M: 248, m: 0)
    Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 44) is a 16550A
    console [ttyS0] enabled
    brd: module loaded
    ahci_mv f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
    ahci_mv f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
    scsi0 : ahci_mv_platform
    scsi1 : ahci_mv_platform
    ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 58
    ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 58
    m25p80 spi0.0: found w25q128, expected mx25l12805d
    m25p80 spi0.0: w25q128 (16384 Kbytes)
    3 cmdlinepart partitions found on MTD device spi0.0
    Creating 3 MTD partitions on "spi0.0":
    0x000000000000-0x0000000f0000 : "boot"
    0x0000000f0000-0x000000100000 : "env"
    0x000000100000-0x000001000000 : "system"
    bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
    errlp [mv_plat_data_get:4663] phy addr:0
    errlp [mv_plat_data_get:4692] phy_mode:6
    SoC: model = 0x6811, revision = 0x4
    mvPncVirtBase = 0xe1400000, pncTcamSize = 1024
      o 3 Giga ports supported
      o SKB recycle supported for SWF (Disabled)
      o NETA acceleration mode 4
      o BM supported for CPU: 4 BM pools
      o PnC supported (Enabled)
      o RX Queue support: 8 Queues * 256 Descriptors
      o TX Queue support: 8 Queues * 532 Descriptors
      o GSO supported
      o GRO supported
      o Receive checksum offload supported
      o Transmit checksum offload supported
      o Driver ERROR statistics enabled
      o Driver INFO statistics enabled
      o Driver DEBUG statistics enabled
    
    port #0: is_sgmii=0, is_rgmii=1, phy_addr=0
      o Loading network interface(s) for port #0: cpu_mask=0x3, tx_csum_limit=9800
    
      o Port 0 is connected to Linux netdevice
        o eth0, ifindex = 3, GbE port = 0
            giga p=0: mtu=1500, mac=34:76:c5:xx:xx:05 (env config)
    
    libphy: orion_mdio_bus: probed
    phy int status:0x0, global phy int status:0x0
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ehci-pci: EHCI PCI platform driver
    ehci-orion: EHCI orion driver
    orion-ehci f1058000.usb: EHCI Host Controller
    orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
    orion-ehci f1058000.usb: irq 50, io mem 0xf1058000
    orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: EHCI Host Controller
    usb usb1: Manufacturer: Linux 3.10.70 ehci_hcd
    usb usb1: SerialNumber: f1058000.usb
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    xhci-hcd f10f0000.usb3: xHCI Host Controller
    xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
    xhci-hcd f10f0000.usb3: irq 48, io mem 0xf10f0000
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: xHCI Host Controller
    usb usb2: Manufacturer: Linux 3.10.70 xhci-hcd
    usb usb2: SerialNumber: f10f0000.usb3
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    xhci-hcd f10f0000.usb3: xHCI Host Controller
    xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
    usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
    usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb3: Product: xHCI Host Controller
    usb usb3: Manufacturer: Linux 3.10.70 xhci-hcd
    usb usb3: SerialNumber: f10f0000.usb3
    hub 3-0:1.0: USB hub found
    hub 3-0:1.0: 1 port detected
    xhci-hcd f10f8000.usb3: xHCI Host Controller
    xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
    xhci-hcd f10f8000.usb3: irq 49, io mem 0xf10f8000
    usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb4: Product: xHCI Host Controller
    usb usb4: Manufacturer: Linux 3.10.70 xhci-hcd
    usb usb4: SerialNumber: f10f8000.usb3
    hub 4-0:1.0: USB hub found
    hub 4-0:1.0: 1 port detected
    xhci-hcd f10f8000.usb3: xHCI Host Controller
    xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
    usb usb5: New USB device found, idVendor=1d6b, idProduct=0003
    usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb5: Product: xHCI Host Controller
    ata2: SATA link down (SStatus 0 SControl 300)
    ata1: SATA link down (SStatus 0 SControl 300)
    usb usb5: Manufacturer: Linux 3.10.70 xhci-hcd
    usb usb5: SerialNumber: f10f8000.usb3
    hub 5-0:1.0: USB hub found
    hub 5-0:1.0: 1 port detected
    usbcore: registered new interface driver usblp
    usbcore: registered new interface driver usb-storage
    usbcore: registered new interface driver ums-alauda
    usbcore: registered new interface driver ums-cypress
    usbcore: registered new interface driver ums-datafab
    usbcore: registered new interface driver ums_eneub6250
    usbcore: registered new interface driver ums-freecom
    usbcore: registered new interface driver ums-isd200
    usbcore: registered new interface driver ums-jumpshot
    usbcore: registered new interface driver ums-realtek
    usbcore: registered new interface driver ums-sddr09
    usbcore: registered new interface driver ums-sddr55
    usbcore: registered new interface driver ums-usbat
    usb 2-1: new high-speed USB device number 2 using xhci-hcd
    usb 2-1: New USB device found, idVendor=05e3, idProduct=0608
    usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    usb 2-1: Product: USB2.0 Hub
    hub 2-1:1.0: USB hub found
    hub 2-1:1.0: 4 ports detected
    mvebu-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
    i2c /dev entries driver
    armada_thermal f10e4078.thermal: Overheat threshold between 92..107
    orion_wdt: Initial timeout 171 sec
    md: raid0 personality registered for level 0
    md: raid1 personality registered for level 1
    md: raid10 personality registered for level 10
    md: raid6 personality registered for level 6
    md: raid5 personality registered for level 5
    md: raid4 personality registered for level 4
    md: multipath personality registered for level -4
    device-mapper: uevent: version 1.0.3
    device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: [email protected]
    dm_crypt using the OCF package.
    cpuidle: using governor ladder
    armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: Total CESA HW channels supported 2
    armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: CESA feature: chain(0)
    mvCesaInit: channels=2, session=640, queue=256
    armada-cesa-ocf f109d000.crypto: cesa_ocf_probe: CESA driver operate in ocf(0) mode
    cesadev_init(c092e7f8)
    hidraw: raw HID events driver (C) Jiri Kosina
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    drop_monitor: Initializing network drop monitor service
    TCP: cubic registered
    NET: Registered protocol family 10
    NET: Registered protocol family 17
    Key type dns_resolver registered
    VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    NAS Controller 1.00
    regulator-dummy: disabling
    mvebu-rtc f10a3800.rtc: setting system clock to 2022-06-18 06:34:33 UTC (1655534073)
    Freeing unused kernel memory: 332K (c08fb000 - c094e000)
    Loading, please wait...
    systemd-udevd[94]: starting version 215
    Begin: Loading essential drivers ... done.
    ### probing disks #######################################################
    MODEL: HDL2-AAX
    SATA:
      D1=         D2=        
    USB:
      D1=         D2=         D3=        
    ### check F/W installer #################################################
    firminstall: probe: SATA:
      D1=         D2=        
    USB:
      D1=         D2=         D3=        
    NG_NO_USB_DEVICE
    ### check USB installer #################################################
    usbinstall: probe: SATA:
      D1=         D2=        
    USB:
      D1=         D2=         D3=        
    NG_NO_USB_DEVICE
    ### check initialization ################################################
    ### assemble / volume ###################################################
    
    
    BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u1) built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    /bin/sh: can't access tty; job control turned off
    / # 
    

  • bootlog(HDL2-AAX0/Eファームウェアインストール → ブート)
    HDL2-AAX0/E用ファームウェアのインストールからHDDブート実施まで

    BootROM - 1.73
    Booting from SPI flash
    
    
    General initialization - Version: 1.0.0
    AVS selection from EFUSE disabled (Skip reading EFUSE values)
    Overriding default AVS value to: 0x23
    Detected Device ID 6811
    High speed PHY - Version: 2.0
    
    Init HDL board board SerDes lanes topology details:
     | Lane # | Speed|    Type     |
     ------------------------------|
     |   0    |  0   |  SGMII0     |
     |   1    |  6   |  SATA0      |
     |   2    |  6   |  SATA1      |
     |   3    |  5   |  USB3 HOST1 |
     -------------------------------
    High speed PHY - Ended Successfully
    DDR3 Training Sequence - Ver TIP-1.46.0
    DDR3 Training Sequence - Switching XBAR Window to FastPath Window 
    DDR3 Training Sequence - Ended Successfully
    Not detected suspend to RAM indication
    BootROM: Image checksum verification PASSED
    
    ============================================================
      HDL-AA series Initial boot loader
    
      Copyright (C) 2015-2017 I-O DATA DEVICE, INC.
    ============================================================
     ** LOADER **
    
    
    U-Boot 2013.01 (Oct 25 2019 - 09:26:29) MV: 2015_T1.0p16 I-O: 0.47
    
    Board: HDL-AA
    SoC:   MV88F6811 Rev A0
           running 2 CPUs
    CPU:   ARM Cortex A9 MPCore (Rev 1) LE
           CPU 0
           CPU    @ 1332 [MHz]
           L2     @ 666 [MHz]
           TClock @ 200 [MHz]
           DDR3    @ 666 [MHz]
           DDR3 16 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled
    DRAM:  512 MiB
    NAND:  mvNfcInit() failed.
    0 MiB
    SPI:  SF: Detected W25Q128 with page size 64 KiB, total 16 MiB
    MMC:   mv_sdh: 0
    SF: Detected W25Q128 with page size 64 KiB, total 16 MiB
    USB3.0 1: Host Mode
    
    Map:   Code:                    0x1fecf000:0x1ff96474
           BSS:                     0x1ffefdac
           Stack:                   0x1f9bef20
           Heap:                    0x1f9bf000:0x1fecf000
           U-Boot Environment:      0x000f0000:0x00100000 (SPI)
    
    Board configuration detected:
    mvBoardEgigaPhyInit in 
    Net:   
    |  port  | Interface | PHY address  |
    |--------|-----------|--------------|
    | egiga0 |   SGMII   |   In-Band    |
    egiga0 [PRIME]
    Hit any key to stop autoboot:  0 
    failed to read mcu workaround for reset address.
    
    Reset SCSI
    AHCI init for unit0
    Target spinup took 0 ms.
    Target spinup took 0 ms.
    
    Error: SCSI Controller(s) 1B4B:9215 1B4B:9235 not found
    scanning bus for devices...
      Device 0: (0:0) Vendor: ATA Prod.: Hitachi HDP72505 Rev: GM4O
                Type: Hard Disk
                Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
      Device 1: (1:0) Vendor: ATA Prod.: SAMSUNG HD502HI Rev: 1AG0
                Type: Hard Disk
                Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
    Found 2 device(s).
    ** No partition table - scsi 0 **
    Failed to mount ext2 filesystem...
    ** Unrecognized filesystem type **
    ### JFFS2 loading '/zImage' to 0x2000000
    Scanning JFFS2 FS:   SF: Detected W25Q128 with page size 64 KiB, total 16 MiB                                                                  . 
    done.
    ### JFFS2 load complete: 3535504 bytes loaded to 0x2000000
    ### JFFS2 loading '/hdl-aa.dtb' to 0x1000000
    ### JFFS2 load complete: 14041 bytes loaded to 0x1000000
    ### JFFS2 loading '/uInitrd' to 0x3000000
    ### JFFS2 load complete: 3329208 bytes loaded to 0x3000000
    ## Loading init Ramdisk from Legacy Image at 03000000 ...
       Image Name:   HDL-AAX
       Created:      2022-05-09   0:42:20 UTC
       Image Type:   ARM Linux RAMDisk Image (uncompressed)
       Data Size:    3329144 Bytes = 3.2 MiB
       Load Address: 00000000
       Entry Point:  00000000
    ## Flattened Device Tree blob at 01000000
       Booting using the fdt blob at 0x01000000
       Loading Ramdisk to 1f690000, end 1f9bcc78 ... OK
       Loading Device Tree to 00ff9000, end 00fff6d8 ... OK
    
       Skipping Device Tree update ('fdt_skip_update' = yes)
    
    Limit DDR size at 3GB due to power of 2 requirement of Address decoding
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    Booting Linux on physical CPU 0x0
    Linux version 3.10.70 (root@buildarmsrv) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Thu Nov 26 18:11:41 JST 2020
    CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
    CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: Marvell Armada 380/381/382/383/384/385/388 (Device Tree), model: HDL-AA
    Memory policy: ECC disabled, Data cache writealloc
    PERCPU: Embedded 9 pages/cpu @c0e4e000 s12544 r8192 d16128 u36864
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
    Kernel command line: console=ttyS0,115200 mtdparts=spi0.0:960k(boot),64k(env),-(system) initrd=0x3000040 rw root=/dev/md2 rootfstype=ext4 rw rootdelay=2 init=/lib/sysvinit/init
    PID hash table entries: 2048 (order: 1, 8192 bytes)
    Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    Memory: 512MB = 512MB total
    Memory: 505868k/505868k available, 18420k reserved, 0K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        vmalloc : 0xe0800000 - 0xfff00000   ( 503 MB)
        lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .text : 0xc0008000 - 0xc08fa7a8   (9162 kB)
          .init : 0xc08fb000 - 0xc094e100   ( 333 kB)
          .data : 0xc0950000 - 0xc09b5d00   ( 408 kB)
           .bss : 0xc09b5d00 - 0xc0a440a4   ( 569 kB)
    Hierarchical RCU implementation.
            RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
    NR_IRQS:16 nr_irqs:16 16
    
      LSP version: linux-3.10.70-2015_T1.1p7
    
    sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms
    L310 cache controller enabled
    l2x0: 16 ways, CACHE_ID 0x410054c9, AUX_CTRL 0x16070000, Cache size: 1048576 B
    Console: colour dummy device 80x30
    Calibrating delay loop... 2655.84 BogoMIPS (lpj=13279232)
    pid_max: default: 32768 minimum: 301
    Security Framework initialized
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    Setting up static identity map for 0xc067e628 - 0xc067e680
    mvebu-pmsu: Initializing Power Management Service Unit
    Initializing CPU Reset module
    CPU1: Booted secondary processor
    CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    Brought up 2 CPUs
    SMP: Total of 2 processors activated (5311.69 BogoMIPS).
    CPU: All CPU(s) started in SVC mode.
    devtmpfs: initialized
    mvebu-soc-id: MVEBU SoC ID=0x6811, Rev=0x4
    xor: measuring software checksum speed
       arm4regs  :  2366.000 MB/sec
       8regs     :  1630.000 MB/sec
       32regs    :  1658.400 MB/sec
    xor: using function: arm4regs (2366.000 MB/sec)
    pinctrl core: initialized pinctrl subsystem
    regulator-dummy: no parameters
    NET: Registered protocol family 16
    DMA: preallocated 256 KiB pool for atomic coherent allocations
    irq: Cannot allocate irq_descs @ IRQ194, assuming pre-allocated
    irq: Cannot allocate irq_descs @ IRQ226, assuming pre-allocated
    bio: create slab <bio-0> at 0
    raid6: int32x1    199 MB/s
    raid6: int32x2    274 MB/s
    raid6: int32x4    274 MB/s
    raid6: int32x8    302 MB/s
    raid6: using algorithm int32x8 (302 MB/s)
    raid6: using intx1 recovery algorithm
    vgaarb: loaded
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    pps_core: LinuxPPS API ver. 1 registered
    pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
    PTP clock support registered
    Switching to clocksource armada_370_xp_clocksource
    FS-Cache: Loaded
    NET: Registered protocol family 2
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP: reno registered
    UDP hash table entries: 256 (order: 1, 8192 bytes)
    UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    NET: Registered protocol family 1
    RPC: Registered named UNIX socket transport module.
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    Trying to unpack rootfs image as initramfs...
    Freeing initrd memory: 3248K (df690000 - df9bc000)
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    FS-Cache: Netfs 'nfs' registered for caching
    NFS: Registering the id_resolver key type
    Key type id_resolver registered
    Key type id_legacy registered
    Installing knfsd (copyright (C) 1996 [email protected]).
    Key type cifs.spnego registered
    Key type cifs.idmap registered
    NTFS driver 2.1.30 [Flags: R/O].
    jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    fuse init (API version 7.22)
    SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
    msgmni has been set to 994
    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
    gpio-mcu: gmcu_dev = f800000 (M: 248, m: 0)
    Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 44) is a 16550A
    console [ttyS0] enabled
    brd: module loaded
    ahci_mv f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
    ahci_mv f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
    scsi0 : ahci_mv_platform
    scsi1 : ahci_mv_platform
    ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 58
    ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 58
    m25p80 spi0.0: found w25q128, expected mx25l12805d
    m25p80 spi0.0: w25q128 (16384 Kbytes)
    3 cmdlinepart partitions found on MTD device spi0.0
    Creating 3 MTD partitions on "spi0.0":
    0x000000000000-0x0000000f0000 : "boot"
    0x0000000f0000-0x000000100000 : "env"
    0x000000100000-0x000001000000 : "system"
    bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
    errlp [mv_plat_data_get:4663] phy addr:0
    errlp [mv_plat_data_get:4692] phy_mode:6
    SoC: model = 0x6811, revision = 0x4
    mvPncVirtBase = 0xe1400000, pncTcamSize = 1024
      o 3 Giga ports supported
      o SKB recycle supported for SWF (Disabled)
      o NETA acceleration mode 4
      o BM supported for CPU: 4 BM pools
      o PnC supported (Enabled)
      o RX Queue support: 8 Queues * 256 Descriptors
      o TX Queue support: 8 Queues * 532 Descriptors
      o GSO supported
      o GRO supported
      o Receive checksum offload supported
      o Transmit checksum offload supported
      o Driver ERROR statistics enabled
      o Driver INFO statistics enabled
      o Driver DEBUG statistics enabled
    
    port #0: is_sgmii=0, is_rgmii=1, phy_addr=0
      o Loading network interface(s) for port #0: cpu_mask=0x3, tx_csum_limit=9800
    
      o Port 0 is connected to Linux netdevice
        o eth0, ifindex = 3, GbE port = 0
            giga p=0: mtu=1500, mac=34:76:c5:xx:xx:05 (env config)
    
    libphy: orion_mdio_bus: probed
    phy int status:0x0, global phy int status:0x0
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ehci-pci: EHCI PCI platform driver
    ehci-orion: EHCI orion driver
    orion-ehci f1058000.usb: EHCI Host Controller
    orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
    orion-ehci f1058000.usb: irq 50, io mem 0xf1058000
    orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: EHCI Host Controller
    usb usb1: Manufacturer: Linux 3.10.70 ehci_hcd
    usb usb1: SerialNumber: f1058000.usb
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    xhci-hcd f10f0000.usb3: xHCI Host Controller
    xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
    xhci-hcd f10f0000.usb3: irq 48, io mem 0xf10f0000
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: xHCI Host Controller
    usb usb2: Manufacturer: Linux 3.10.70 xhci-hcd
    usb usb2: SerialNumber: f10f0000.usb3
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    xhci-hcd f10f0000.usb3: xHCI Host Controller
    xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
    usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
    usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb3: Product: xHCI Host Controller
    usb usb3: Manufacturer: Linux 3.10.70 xhci-hcd
    usb usb3: SerialNumber: f10f0000.usb3
    hub 3-0:1.0: USB hub found
    hub 3-0:1.0: 1 port detected
    xhci-hcd f10f8000.usb3: xHCI Host Controller
    xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
    xhci-hcd f10f8000.usb3: irq 49, io mem 0xf10f8000
    usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb4: Product: xHCI Host Controller
    usb usb4: Manufacturer: Linux 3.10.70 xhci-hcd
    usb usb4: SerialNumber: f10f8000.usb3
    hub 4-0:1.0: USB hub found
    hub 4-0:1.0: 1 port detected
    xhci-hcd f10f8000.usb3: xHCI Host Controller
    xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
    usb usb5: New USB device found, idVendor=1d6b, idProduct=0003
    usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb5: Product: xHCI Host Controller
    usb usb5: Manufacturer: Linux 3.10.70 xhci-hcd
    usb usb5: SerialNumber: f10f8000.usb3
    hub 5-0:1.0: USB hub found
    hub 5-0:1.0: 1 port detected
    usbcore: registered new interface driver usblp
    usbcore: registered new interface driver usb-storage
    usbcore: registered new interface driver ums-alauda
    usbcore: registered new interface driver ums-cypress
    usbcore: registered new interface driver ums-datafab
    usbcore: registered new interface driver ums_eneub6250
    usbcore: registered new interface driver ums-freecom
    usbcore: registered new interface driver ums-isd200
    usbcore: registered new interface driver ums-jumpshot
    usbcore: registered new interface driver ums-realtek
    usbcore: registered new interface driver ums-sddr09
    usbcore: registered new interface driver ums-sddr55
    usbcore: registered new interface driver ums-usbat
    ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata1.00: ATA-8: Hitachi HDP725050GLA360, GM4OA52A, max UDMA/133
    ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
    usb 2-1: new high-speed USB device number 2 using xhci-hcd
    ata2.00: ATA-7: SAMSUNG HD502HI, 1AG01118, max UDMA7
    ata2.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
    ata1.00: configured for UDMA/133
    scsi 0:0:0:0: Direct-Access     ATA      Hitachi HDP72505 GM4O PQ: 0 ANSI: 5
    usb 2-1: New USB device found, idVendor=05e3, idProduct=0608
    usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    usb 2-1: Product: USB2.0 Hub
    ata2.00: configured for UDMA/133
    hub 2-1:1.0: USB hub found
    hub 2-1:1.0: 4 ports detected
    sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
    sd 0:0:0:0: Attached scsi generic sg0 type 0
    scsi 1:0:0:0: Direct-Access     ATA      SAMSUNG HD502HI  1AG0 PQ: 0 ANSI: 5
    sd 1:0:0:0: Attached scsi generic sg1 type 0
    sd 1:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/465 GiB)
    sd 1:0:0:0: [sdb] Write Protect is off
    sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
     sda: unknown partition table
    sd 0:0:0:0: [sda] Attached SCSI disk
     sdb: sdb1 sdb2
    sd 1:0:0:0: [sdb] Attached SCSI disk
    usb 2-1.2: new high-speed USB device number 3 using xhci-hcd
    usb 2-1.2: New USB device found, idVendor=30de, idProduct=6544
    usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    usb 2-1.2: Product: TransMemory     
    usb 2-1.2: Manufacturer: KIOXIA  
    usb 2-1.2: SerialNumber: 0022CFF6B8BBC540E88C0355
    usb 2-1.2: ep 0x81 - rounding interval to 128 microframes, ep desc says 255 microframes
    usb 2-1.2: ep 0x2 - rounding interval to 128 microframes, ep desc says 255 microframes
    usb-storage 2-1.2:1.0: USB Mass Storage device detected
    scsi2 : usb-storage 2-1.2:1.0
    mvebu-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
    i2c /dev entries driver
    armada_thermal f10e4078.thermal: Overheat threshold between 92..107
    orion_wdt: Initial timeout 171 sec
    md: raid0 personality registered for level 0
    md: raid1 personality registered for level 1
    md: raid10 personality registered for level 10
    md: raid6 personality registered for level 6
    md: raid5 personality registered for level 5
    md: raid4 personality registered for level 4
    md: multipath personality registered for level -4
    device-mapper: uevent: version 1.0.3
    device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: [email protected]
    dm_crypt using the OCF package.
    cpuidle: using governor ladder
    armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: Total CESA HW channels supported 2
    armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: CESA feature: chain(0)
    mvCesaInit: channels=2, session=640, queue=256
    armada-cesa-ocf f109d000.crypto: cesa_ocf_probe: CESA driver operate in ocf(0) mode
    cesadev_init(c092e7f8)
    hidraw: raw HID events driver (C) Jiri Kosina
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    drop_monitor: Initializing network drop monitor service
    TCP: cubic registered
    NET: Registered protocol family 10
    NET: Registered protocol family 17
    Key type dns_resolver registered
    VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    NAS Controller 1.00
    regulator-dummy: disabling
    mvebu-rtc f10a3800.rtc: setting system clock to 2022-06-18 12:54:09 UTC (1655556849)
    Freeing unused kernel memory: 332K (c08fb000 - c094e000)
    Loading, please wait...
    systemd-udevd[96]: starting version 215
    scsi 2:0:0:0: Direct-Access     KIOXIA   TransMemory      1.00 PQ: 0 ANSI: 4
    sd 2:0:0:0: Attached scsi generic sg2 type 0
    sd 2:0:0:0: [sdc] 30274560 512-byte logical blocks: (15.5 GB/14.4 GiB)
    sd 2:0:0:0: [sdc] Write Protect is off
    sd 2:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
     sdc: sdc1
    sd 2:0:0:0: [sdc] Attached SCSI removable disk
    Begin: Loading essential drivers ... done.
    ### probing disks #######################################################
    MODEL: HDL2-AAX
     sda: unknown partition table
     sdc: sdc1
     sda: unknown partition table
     sdb: sdb1 sdb2
     sdb: sdb1 sdb2
     sdc: sdc1
     sdc: sdc1
    SATA:
      D1=/dev/sdb D2=/dev/sda
    USB:
      D1=/dev/sdc D2=         D3=        
    ### check F/W installer #################################################
    ### USB install start ####################################################
    ###### install from /mnt/usb1/firmware/2aax/script.sh ######
    OPTIONS: 
      O_SHELL=
      O_SHORTP=
      O_NOFLASH=
      O_NOEPCLEAN=
      O_NOSMART=1
      O_NOHDDCHK=1
      O_ACLEAN=
      O_RESETRTC=
    ### USBINSTALL: check internal HDDs ######################################
    ###### check internal HDD existence ######
    OK
    ###### check internal HDD size ######
    OK
    ###### enable S.M.A.R.T. ######
    OK
    ### USBINSTALL: create internal volumes ##################################
    ###### partition internal disks ######
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sda: unknown partition table
     sda: sda1 sda2 sda3 sda4 sda5 sda6
    MODEL: HDL2-AAX
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sda: sda1 sda2 sda3 sda4 sda5 sda6
     sda: sda1 sda2 sda3 sda4 sda5 sda6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
    SATA:
      D1=/dev/sdb D2=/dev/sda
    USB:
      D1=/dev/sdc D2=         D3=        
    OK
    ###### create volume 1 ######
    EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
    EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
    OK
    ###### create volume 2 ######
    md: bind<sdb2>
    md: bind<sda2>
    md/raid1:md2: not clean -- starting background reconstruction
    md/raid1:md2: active with 2 out of 3 mirrors
    md2: detected capacity change from 0 to 2145386496
    md: resync of RAID array md2
    md: minimum _guaranteed_  speed: 1000 KB/sec/disk.
    md: using maximum available idle IO bandwidth (but not more than 200000 KB/sec) for resync.
    md: using 128k window, over a total of 2095104k.
     md2: unknown partition table
    ###### wait for resync md2 ######
    md: md2: resync done.
    ###### resync md2 complete ######
    OK
    ###### create volume 3 ######
    OK
    ###### create volume 4 ######
    EXT4-fs (sdb4): mounted filesystem with ordered data mode. Opts: (null)
    EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
    OK
    ###### create volume 5 ######
    md: bind<sdb5>
    md: bind<sda5>
    md/raid1:md5: not clean -- starting background reconstruction
    md/raid1:md5: active with 2 out of 3 mirrors
    md5: detected capacity change from 0 to 1072693248
    md: resync of RAID array md5
     md5: unknown partition table
    md: minimum _guaranteed_  speed: 1000 KB/sec/disk.
    md: using maximum available idle IO bandwidth (but not more than 200000 KB/sec) for resync.
    md: using 128k window, over a total of 1047552k.
    ###### wait for resync md5 ######
    md: md5: resync done.
    ###### resync md5 complete ######
    OK
    ###### create volume 6 ######
    ##### create vfsext ######
    ##### format satad1p6 ######
    ##### format satad2p6 ######
    OK
    ### USBINSTALL: install files ############################################
    EXT4-fs (md2): mounted filesystem with ordered data mode. Opts: (null)
    EXT4-fs (md5): mounted filesystem with ordered data mode. Opts: (null)
    XFS (sdb6): Mounting Filesystem
    XFS (sdb6): Ending clean mount
    XFS (sda6): Mounting Filesystem
    XFS (sda6): Ending clean mount
    Create signature - 3F33B879
    vfsext signature - 3F33B879
    vfsext: assume all device is new.
    OK
    ### USBINSTALL: install files for boot ###################################
    EXT4-fs (md2): mounted filesystem with ordered data mode. Opts: (null)
    EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
    EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
    OK
    ### USBINSTALL: initialize board config ##################################
    ##### initialize flash #####
    FLASH0 Comparing...
    FLASH0 no change
    FLASH1 Writing...
    done.
    FLASH1 Comparing...
    OK
    OK
    ##### initialize MCU #####
    OK
    ###### disable RTC alarm ######
    OK
    ###### reset EEPROM ######
    .......W...W...W
    ...W..........WW
    W...............
    ................
    ................
    ................
    ................
    ................
    ................
    ................
    ................
    ................
    ................
    ................
    ................
    ................
    
    OK
    ##### disable AC auto power on #####
    OK
    ###### enable WoL ######
    OK
    ##### enable buzzer #####
    OK
    ##### set LED brightness #####
    OK
    ### USB install end ######################################################
    sd 1:0:0:0: [sdb] Synchronizing SCSI cache
    sd 1:0:0:0: [sdb] Stopping disk
    sd 0:0:0:0: [sda] Synchronizing SCSI cache
    sd 0:0:0:0: [sda] Stopping disk
    xhci-hcd f10f8000.usb3: remove, state 4
    usb usb5: USB disconnect, device number 1
    xhci-hcd f10f8000.usb3: USB bus 5 deregistered
    xhci-hcd f10f8000.usb3: remove, state 4
    usb usb4: USB disconnect, device number 1
    xhci-hcd f10f8000.usb3: USB bus 4 deregistered
    xhci-hcd f10f0000.usb3: remove, state 4
    usb usb3: USB disconnect, device number 1
    xhci-hcd f10f0000.usb3: USB bus 3 deregistered
    xhci-hcd f10f0000.usb3: remove, state 1
    usb usb2: USB disconnect, device number 1
    usb 2-1: USB disconnect, device number 2
    usb 2-1.2: USB disconnect, device number 3
    xhci-hcd f10f0000.usb3: USB bus 2 deregistered
    Shutting Down Marvell Ethernet Driver
    Power down.
    Wake On LAN Enable by ethtool.
    status reg@0xf040:0x0
    status reg@0xf042:0x0
    status reg@0xf06f:0x0
    iodata GPIO power off...
    
    BootROM - 1.73
    Booting from SPI flash
    
    
    General initialization - Version: 1.0.0
    AVS selection from EFUSE disabled (Skip reading EFUSE values)
    Overriding default AVS value to: 0x23
    Detected Device ID 6811
    High speed PHY - Version: 2.0
    
    Init HDL board board SerDes lanes topology details:
     | Lane # | Speed|    Type     |
     ------------------------------|
     |   0    |  0   |  SGMII0     |
     |   1    |  6   |  SATA0      |
     |   2    |  6   |  SATA1      |
     |   3    |  5   |  USB3 HOST1 |
     -------------------------------
    High speed PHY - Ended Successfully
    DDR3 Training Sequence - Ver TIP-1.46.0
    DDR3 Training Sequence - Switching XBAR Window to FastPath Window 
    DDR3 Training Sequence - Ended Successfully
    Not detected suspend to RAM indication
    BootROM: Image checksum verification PASSED
    
    ============================================================
      HDL-AA series Initial boot loader
    
      Copyright (C) 2015-2017 I-O DATA DEVICE, INC.
    ============================================================
     ** LOADER **
    
    
    U-Boot 2013.01 (Oct 25 2019 - 09:26:29) MV: 2015_T1.0p16 I-O: 0.47
    
    Board: HDL-AA
    SoC:   MV88F6811 Rev A0
           running 2 CPUs
    CPU:   ARM Cortex A9 MPCore (Rev 1) LE
           CPU 0
           CPU    @ 1332 [MHz]
           L2     @ 666 [MHz]
           TClock @ 200 [MHz]
           DDR3    @ 666 [MHz]
           DDR3 16 Bit Width,FastPath Memory Access, DLB Enabled, ECC Disabled
    DRAM:  512 MiB
    NAND:  mvNfcInit() failed.
    0 MiB
    SPI:  SF: Detected W25Q128 with page size 64 KiB, total 16 MiB
    MMC:   mv_sdh: 0
    SF: Detected W25Q128 with page size 64 KiB, total 16 MiB
    USB3.0 1: Host Mode
    
    Map:   Code:                    0x1fecf000:0x1ff96474
           BSS:                     0x1ffefdac
           Stack:                   0x1f9bef20
           Heap:                    0x1f9bf000:0x1fecf000
           U-Boot Environment:      0x000f0000:0x00100000 (SPI)
    
    Board configuration detected:
    mvBoardEgigaPhyInit in 
    Net:   
    |  port  | Interface | PHY address  |
    |--------|-----------|--------------|
    | egiga0 |   SGMII   |   In-Band    |
    egiga0 [PRIME]
    Hit any key to stop autoboot:  0 
    failed to read mcu workaround for reset address.
    
    Reset SCSI
    AHCI init for unit0
    Target spinup took 0 ms.
    Target spinup took 0 ms.
    
    Error: SCSI Controller(s) 1B4B:9215 1B4B:9235 not found
    scanning bus for devices...
      Device 0: (0:0) Vendor: ATA Prod.: Hitachi HDP72505 Rev: GM4O
                Type: Hard Disk
                Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
      Device 1: (1:0) Vendor: ATA Prod.: SAMSUNG HD502HI Rev: 1AG0
                Type: Hard Disk
                Capacity: 476940.0 MB = 465.7 GB (976773168 x 512)
    Found 2 device(s).
    3535504 bytes read in 142 ms (23.7 MiB/s)
    14041 bytes read in 21 ms (652.3 KiB/s)
    3329208 bytes read in 129 ms (24.6 MiB/s)
    ## Loading init Ramdisk from Legacy Image at 03000000 ...
       Image Name:   HDL-AAX
       Created:      2022-06-18  12:56:29 UTC
       Image Type:   ARM Linux RAMDisk Image (uncompressed)
       Data Size:    3329144 Bytes = 3.2 MiB
       Load Address: 00000000
       Entry Point:  00000000
    ## Flattened Device Tree blob at 01000000
       Booting using the fdt blob at 0x01000000
       Loading Ramdisk to 1f690000, end 1f9bcc78 ... OK
       Loading Device Tree to 00ff9000, end 00fff6d8 ... OK
    
       Skipping Device Tree update ('fdt_skip_update' = yes)
    
    Limit DDR size at 3GB due to power of 2 requirement of Address decoding
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    Booting Linux on physical CPU 0x0
    Linux version 3.10.70 (root@buildarmsrv) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Thu Nov 26 18:11:41 JST 2020
    CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
    CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: Marvell Armada 380/381/382/383/384/385/388 (Device Tree), model: HDL-AA
    Memory policy: ECC disabled, Data cache writealloc
    PERCPU: Embedded 9 pages/cpu @c0e4e000 s12544 r8192 d16128 u36864
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
    Kernel command line: console=ttyS0,115200 mtdparts=spi0.0:960k(boot),64k(env),-(system) initrd=0x3000040 rw root=/dev/md2 rootfstype=ext4 rw rootdelay=2 init=/lib/sysvinit/init
    PID hash table entries: 2048 (order: 1, 8192 bytes)
    Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    Memory: 512MB = 512MB total
    Memory: 505868k/505868k available, 18420k reserved, 0K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        vmalloc : 0xe0800000 - 0xfff00000   ( 503 MB)
        lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .text : 0xc0008000 - 0xc08fa7a8   (9162 kB)
          .init : 0xc08fb000 - 0xc094e100   ( 333 kB)
          .data : 0xc0950000 - 0xc09b5d00   ( 408 kB)
           .bss : 0xc09b5d00 - 0xc0a440a4   ( 569 kB)
    Hierarchical RCU implementation.
            RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
    NR_IRQS:16 nr_irqs:16 16
    
      LSP version: linux-3.10.70-2015_T1.1p7
    
    sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms
    L310 cache controller enabled
    l2x0: 16 ways, CACHE_ID 0x410054c9, AUX_CTRL 0x16070000, Cache size: 1048576 B
    Console: colour dummy device 80x30
    Calibrating delay loop... 2655.84 BogoMIPS (lpj=13279232)
    pid_max: default: 32768 minimum: 301
    Security Framework initialized
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    Setting up static identity map for 0xc067e628 - 0xc067e680
    mvebu-pmsu: Initializing Power Management Service Unit
    Initializing CPU Reset module
    CPU1: Booted secondary processor
    CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    Brought up 2 CPUs
    SMP: Total of 2 processors activated (5311.69 BogoMIPS).
    CPU: All CPU(s) started in SVC mode.
    devtmpfs: initialized
    mvebu-soc-id: MVEBU SoC ID=0x6811, Rev=0x4
    xor: measuring software checksum speed
       arm4regs  :  2366.000 MB/sec
       8regs     :  1630.000 MB/sec
       32regs    :  1658.400 MB/sec
    xor: using function: arm4regs (2366.000 MB/sec)
    pinctrl core: initialized pinctrl subsystem
    regulator-dummy: no parameters
    NET: Registered protocol family 16
    DMA: preallocated 256 KiB pool for atomic coherent allocations
    irq: Cannot allocate irq_descs @ IRQ194, assuming pre-allocated
    irq: Cannot allocate irq_descs @ IRQ226, assuming pre-allocated
    bio: create slab <bio-0> at 0
    raid6: int32x1    199 MB/s
    raid6: int32x2    274 MB/s
    raid6: int32x4    274 MB/s
    raid6: int32x8    302 MB/s
    raid6: using algorithm int32x8 (302 MB/s)
    raid6: using intx1 recovery algorithm
    vgaarb: loaded
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    pps_core: LinuxPPS API ver. 1 registered
    pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
    PTP clock support registered
    Switching to clocksource armada_370_xp_clocksource
    FS-Cache: Loaded
    NET: Registered protocol family 2
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP: reno registered
    UDP hash table entries: 256 (order: 1, 8192 bytes)
    UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    NET: Registered protocol family 1
    RPC: Registered named UNIX socket transport module.
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    Trying to unpack rootfs image as initramfs...
    Freeing initrd memory: 3248K (df690000 - df9bc000)
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    FS-Cache: Netfs 'nfs' registered for caching
    NFS: Registering the id_resolver key type
    Key type id_resolver registered
    Key type id_legacy registered
    Installing knfsd (copyright (C) 1996 [email protected]).
    Key type cifs.spnego registered
    Key type cifs.idmap registered
    NTFS driver 2.1.30 [Flags: R/O].
    jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    fuse init (API version 7.22)
    SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
    msgmni has been set to 994
    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
    gpio-mcu: gmcu_dev = f800000 (M: 248, m: 0)
    Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 44) is a 16550A
    console [ttyS0] enabled
    brd: module loaded
    ahci_mv f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
    ahci_mv f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
    scsi0 : ahci_mv_platform
    scsi1 : ahci_mv_platform
    ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 58
    ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 58
    m25p80 spi0.0: found w25q128, expected mx25l12805d
    m25p80 spi0.0: w25q128 (16384 Kbytes)
    3 cmdlinepart partitions found on MTD device spi0.0
    Creating 3 MTD partitions on "spi0.0":
    0x000000000000-0x0000000f0000 : "boot"
    0x0000000f0000-0x000000100000 : "env"
    0x000000100000-0x000001000000 : "system"
    bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
    errlp [mv_plat_data_get:4663] phy addr:0
    errlp [mv_plat_data_get:4692] phy_mode:6
    SoC: model = 0x6811, revision = 0x4
    mvPncVirtBase = 0xe1400000, pncTcamSize = 1024
      o 3 Giga ports supported
      o SKB recycle supported for SWF (Disabled)
      o NETA acceleration mode 4
      o BM supported for CPU: 4 BM pools
      o PnC supported (Enabled)
      o RX Queue support: 8 Queues * 256 Descriptors
      o TX Queue support: 8 Queues * 532 Descriptors
      o GSO supported
      o GRO supported
      o Receive checksum offload supported
      o Transmit checksum offload supported
      o Driver ERROR statistics enabled
      o Driver INFO statistics enabled
      o Driver DEBUG statistics enabled
    
    port #0: is_sgmii=0, is_rgmii=1, phy_addr=0
      o Loading network interface(s) for port #0: cpu_mask=0x3, tx_csum_limit=9800
    
      o Port 0 is connected to Linux netdevice
        o eth0, ifindex = 3, GbE port = 0
            giga p=0: mtu=1500, mac=34:76:c5:xx:xx:05 (env config)
    
    libphy: orion_mdio_bus: probed
    phy int status:0x0, global phy int status:0x0
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ehci-pci: EHCI PCI platform driver
    ehci-orion: EHCI orion driver
    orion-ehci f1058000.usb: EHCI Host Controller
    orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
    orion-ehci f1058000.usb: irq 50, io mem 0xf1058000
    orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: EHCI Host Controller
    usb usb1: Manufacturer: Linux 3.10.70 ehci_hcd
    usb usb1: SerialNumber: f1058000.usb
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    xhci-hcd f10f0000.usb3: xHCI Host Controller
    xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
    xhci-hcd f10f0000.usb3: irq 48, io mem 0xf10f0000
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: xHCI Host Controller
    usb usb2: Manufacturer: Linux 3.10.70 xhci-hcd
    usb usb2: SerialNumber: f10f0000.usb3
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    xhci-hcd f10f0000.usb3: xHCI Host Controller
    xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
    usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
    usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb3: Product: xHCI Host Controller
    usb usb3: Manufacturer: Linux 3.10.70 xhci-hcd
    usb usb3: SerialNumber: f10f0000.usb3
    hub 3-0:1.0: USB hub found
    hub 3-0:1.0: 1 port detected
    xhci-hcd f10f8000.usb3: xHCI Host Controller
    xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
    xhci-hcd f10f8000.usb3: irq 49, io mem 0xf10f8000
    usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb4: Product: xHCI Host Controller
    usb usb4: Manufacturer: Linux 3.10.70 xhci-hcd
    usb usb4: SerialNumber: f10f8000.usb3
    hub 4-0:1.0: USB hub found
    hub 4-0:1.0: 1 port detected
    xhci-hcd f10f8000.usb3: xHCI Host Controller
    xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
    usb usb5: New USB device found, idVendor=1d6b, idProduct=0003
    usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb5: Product: xHCI Host Controller
    usb usb5: Manufacturer: Linux 3.10.70 xhci-hcd
    usb usb5: SerialNumber: f10f8000.usb3
    hub 5-0:1.0: USB hub found
    hub 5-0:1.0: 1 port detected
    usbcore: registered new interface driver usblp
    usbcore: registered new interface driver usb-storage
    usbcore: registered new interface driver ums-alauda
    usbcore: registered new interface driver ums-cypress
    usbcore: registered new interface driver ums-datafab
    usbcore: registered new interface driver ums_eneub6250
    usbcore: registered new interface driver ums-freecom
    usbcore: registered new interface driver ums-isd200
    usbcore: registered new interface driver ums-jumpshot
    usbcore: registered new interface driver ums-realtek
    usbcore: registered new interface driver ums-sddr09
    usbcore: registered new interface driver ums-sddr55
    usbcore: registered new interface driver ums-usbat
    ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    ata1.00: ATA-8: Hitachi HDP725050GLA360, GM4OA52A, max UDMA/133
    ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
    usb 2-1: new high-speed USB device number 2 using xhci-hcd
    ata2.00: ATA-7: SAMSUNG HD502HI, 1AG01118, max UDMA7
    ata2.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
    ata1.00: configured for UDMA/133
    scsi 0:0:0:0: Direct-Access     ATA      Hitachi HDP72505 GM4O PQ: 0 ANSI: 5
    usb 2-1: New USB device found, idVendor=05e3, idProduct=0608
    usb 2-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
    usb 2-1: Product: USB2.0 Hub
    hub 2-1:1.0: USB hub found
    hub 2-1:1.0: 4 ports detected
    ata2.00: configured for UDMA/133
    sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
    sd 0:0:0:0: Attached scsi generic sg0 type 0
    scsi 1:0:0:0: Direct-Access     ATA      SAMSUNG HD502HI  1AG0 PQ: 0 ANSI: 5
    sd 1:0:0:0: Attached scsi generic sg1 type 0
    sd 1:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/465 GiB)
    sd 1:0:0:0: [sdb] Write Protect is off
    sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
    sd 1:0:0:0: [sdb] Attached SCSI disk
     sda: sda1 sda2 sda3 sda4 sda5 sda6
    sd 0:0:0:0: [sda] Attached SCSI disk
    mvebu-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
    i2c /dev entries driver
    armada_thermal f10e4078.thermal: Overheat threshold between 92..107
    orion_wdt: Initial timeout 171 sec
    md: raid0 personality registered for level 0
    md: raid1 personality registered for level 1
    md: raid10 personality registered for level 10
    md: raid6 personality registered for level 6
    md: raid5 personality registered for level 5
    md: raid4 personality registered for level 4
    md: multipath personality registered for level -4
    device-mapper: uevent: version 1.0.3
    device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: [email protected]
    dm_crypt using the OCF package.
    cpuidle: using governor ladder
    armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: Total CESA HW channels supported 2
    armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: CESA feature: chain(0)
    mvCesaInit: channels=2, session=640, queue=256
    armada-cesa-ocf f109d000.crypto: cesa_ocf_probe: CESA driver operate in ocf(0) mode
    cesadev_init(c092e7f8)
    hidraw: raw HID events driver (C) Jiri Kosina
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    drop_monitor: Initializing network drop monitor service
    TCP: cubic registered
    NET: Registered protocol family 10
    NET: Registered protocol family 17
    Key type dns_resolver registered
    VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    NAS Controller 1.00
    regulator-dummy: disabling
    mvebu-rtc f10a3800.rtc: setting system clock to 2022-06-18 12:58:35 UTC (1655557115)
    Freeing unused kernel memory: 332K (c08fb000 - c094e000)
    Loading, please wait...
    systemd-udevd[94]: starting version 215
    Begin: Loading essential drivers ... done.
    ### probing disks #######################################################
    MODEL: HDL2-AAX
     sda: sda1 sda2 sda3 sda4 sda5 sda6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
    SATA:
      D1=/dev/sdb D2=/dev/sda
    USB:
      D1=         D2=         D3=        
    ### check F/W installer #################################################
     sda: sda1 sda2 sda3 sda4 sda5 sda6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sda: sda1 sda2 sda3 sda4 sda5 sda6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sda: sda1 sda2 sda3 sda4 sda5 sda6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sda: sda1 sda2 sda3 sda4 sda5 sda6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sda: sda1 sda2 sda3 sda4 sda5 sda6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
    firminstall: probe: SATA:
      D1=/dev/sdb D2=/dev/sda
    USB:
      D1=         D2=         D3=        
    NG_NO_USB_DEVICE
    ### check USB installer #################################################
     sda: sda1 sda2 sda3 sda4 sda5 sda6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sda: sda1 sda2 sda3 sda4 sda5 sda6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sda: sda1 sda2 sda3 sda4 sda5 sda6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sda: sda1 sda2 sda3 sda4 sda5 sda6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sda: sda1 sda2 sda3 sda4 sda5 sda6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
     sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
    usbinstall: probe: SATA:
      D1=/dev/sdb D2=/dev/sda
    USB:
      D1=         D2=         D3=        
    NG_NO_USB_DEVICE
    ### check inEXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
    itialization ################################################
    EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
    ### assemble / volume ###################################################
    EXT4-fs (sdb4): mounted filesystem with ordered data mode. Opts: (null)
    EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
    md: md2 stopped.
    md: bind<sda2>
    md: bind<sdb2>
    md/raid1:md2: active with 2 out of 3 mirrors
    md2: detected capacity change from 0 to 2145386496
     md2: unknown partition table
    EXT4-fs (md2): mounted filesystem with ordered data mode. Opts: (null)
    EXT4-fs (sdb4): mounted filesystem with ordered data mode. Opts: (null)
    EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
    md: md5 stopped.
    md: bind<sda5>
    md: bind<sdb5>
    md/raid1:md5: active with 2 out of 3 mirrors
    md5: detected capacity change from 0 to 1072693248
     md5: unknown partition table
    Begin: Running /scripts/init-bottom ... done.
    INIT: version 2.88 booting
    [info] Using makefile-style concurrent boot in runlevel S.
    [....] Starting the hotplug events dispatcher: udevdsystemd-udevd[1120]: starting version 215
    . ok 
    [ ok ] Synthesizing the initial hotplug events...done.
    [ ok ] Waiting for /dev to be fully populated...done.
    [ ok ] Setting preliminary keymap...done.
    [ ok ] Assembling MD arrays...done (no arrays found in config file or automatically).
    [ ok ] Setting parameters of disc: (none).
    [....] Activating swap...Adding 1048572k swap on /dev/sdb3.  Priority:-1 extents:1 across:1048572k 
    Adding 1048572k swap on /dev/sda3.  Priority:-2 extents:1 across:1048572k 
    done.
    EXT4-fs (md2): re-mounted. Opts: (null)
    [warn] Creating compatibility symlink from /etc/mtab to /proc/mounts. ... (warning).
    [ ok ] Cleaning up temporary files... /tmp.
    [ ok ] Starting early crypto disks...done.
    [ ok ] Starting remaining crypto disks...done.
    [ ok ] Activating lvm and md swap...done.
    [....] Checking file systems...fsck from util-linux 2.25.2
    done.
    EXT4-fs (md5): mounted filesystem with ordered data mode. Opts: (null)
    fsevsync: module license 'Proprietary' taints kernel.
    Disabling lock debugging due to kernel taint
    [info] Loading kernel module fsevsync.
    [info] Loading kernel module vfsext.
    [info] Loading kernel module fuse.
    [ ok ] Mounting local filesystems...done.
    [ ok ] Activating swapfile swap...done.
    EXT4-fs (sdb4): mounted filesystem with ordered data mode. Opts: (null)
    [ ok ] Cleaning up temporary files... /tmp.
    mtdLoadDriver successful.
    ATTEMPT failed at mtdSetMacInterfaceCopperOnlyPhy:346
    InitSystem fail,ret:1
    App code started.
    Firmware version: 8.0.5.0
    mtdLoadDriver successful.
    Firmware version: 8.0.5.0
    [info] Setting console screen modes.
    setterm: cannot (un)set powersave mode: Inappropriate ioctl for device
    [ ok ] Setting up console font and keymap...done.
    [ ok ] Setting kernel variables ...done.
    [ ok ] Setting sensors limits.
    [....] Configuring network interfaces...RTNETLINK answers: Network is down
    run-parts: /etc/network/if-up.d/avahi-autoipd exited with return code 2
    Failed to bring up eth0.
    RTNETLINK answers: No such process
    Stopping DHCPv6 client: dhcpc6.
    [ ok ] Starting web server: apache2.
    done.
    [ ok ] Starting rpcbind daemon....
    INIT: Entering runlevel: 2
    [info] Using makefile-style concurrent boot in runlevel 2.
    lm75 0-0049: hwmon1: sensor 'tmp75'
    i2c i2c-0: new_device: Instantiated device tmp75 at 0x49
    pool #0: pkt_size=1536, buf_size=1600 - 2048 of 2048 buffers added
    eth0: link up
    eth0: started
    eth0: link up, full duplex, speed 10 Mbps
    Not starting udftools packet writing: No devices listed in /etc/default/udftools
    [ ok ] Setting sysfs variables....
    [ ok ] Starting uuid generator: uuidd.
    [ ok ] Starting system logging: syslog-ng.
    APFFind for AirPort Finder/Magical Finder Device
    [ ok ] Network Interface Plugging Daemon...start eth0...done.
    [ ok ] Starting web server: apache2.
    /bin/cat: /mnt/data/conf/network/device_uuid: No such file or directory
    [ ok ] Starting CUPS Bonjour daemon: cups-browsed.
    [ ok ] Starting MD monitoring service: mdadm --monitor.
    [ ok ] Starting hdl-aa-buttond: buttond.
    [ ok ] Starting SMP IRQ Balancer: irqbalance.
    [ ok ] Starting periodic command scheduler: cron.
    [ ok ] Starting system message bus: dbus.
    [ ok ] saned disabled; edit /etc/default/saned.
    [....] Starting SNMP services::  snmpdEXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
    EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
    Creating hostname and hostdesc.
    Set firmware update notification time.
    Set packages update notification time.
    Creating device UUID.
    [ ok ] Restarting dpwsd: dpwsd.
    EXT4-fs (sdb4): mounted filesystem with ordered data mode. Opts: (null)
    EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
    XFS (sda6): Mounting Filesystem
    XFS (sda6): Ending clean mount
    XFS (sda6): Quotacheck needed: Please wait.
    XFS (sda6): Quotacheck: Done.
    XFS (sdb6): Mounting Filesystem
    XFS (sdb6): Ending clean mount
    XFS (sdb6): Quotacheck needed: Please wait.
    XFS (sdb6): Quotacheck: Done.
    XFS (sda6): Mounting Filesystem
    XFS (sda6): Ending clean mount
    XFS (sdb6): Mounting Filesystem
    XFS (sdb6): Ending clean mount
    Signature 3F33B879 - count 2
    Signature 3F33B879 - count 2
    vfsext signature - 3F33B879
    EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
    EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
    EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
    EXT4-fs (md2): re-mounted. Opts: (null)
    EXT4-fs (md2): re-mounted. Opts: (null)
    set count : 0
    INIT: no more processes left in this runlevel
    

  • version
    
    

  • version
    
    

  • version
    
    

  • version
    
    

kirkwoodはLinux Kernel 5.13までrestart_handlerを使えない

OpenWrtにおける “kirkwood” targetのデバイスにおいて、Linux Kernelは再起動 (reboot) を以下の通り実行する。
表題の件に関係しない呼び出しは省く。また以下でのリンクは5.10のものを使用する

  1. kernel/reboot.ckernel_restart を呼び出し(ここ
  2. arch/arm/kernel/reboot.cmachine_restart を呼び出し(ここ
  3. 上から呼ばれた machine_restart において、ARM特有の arm_pm_restart が登録されて(nullでない)いれば arm_pm_restart を呼び出し、未登録なら kernel/reboot.cdo_kernel_restart を呼び出し(ここ

ここで問題となるのが上記最後のステップにおける arm_pm_restart であり、これはブート時に arch/arm/kernel/setup.csetup_arch 内において、 mdesc->restart が登録されて(nullでない)いる場合それを arm_pm_restart に登録する(ここ)。
mdescarch/arm/ 内に存在する各プラットフォーム(mach-*)毎またはその中での系統毎に定義されるものをDeviceTreeと一致を取るなどして取り出したものであり(ここ)、OpenWrtにおける “kirkwood” target用のものは ここ で定義されている。
kirkwoodのデバイスではその中の .restart が登録されている為にそれが arm_pm_restart にも適用されてしまい、別途登録した restart_handler が使用できなくなってしまう。

なお、本来であればkirkwoodデバイスにおいてはこのrestartで足りるはずであるものの、I-O DATA HDL-AやHDL2-Aにおいてはreset周りをR8C/25マイコンが担当しており、それに対してコマンドを送らなければ正しく再起動を行えず、停止してしまう。

ちなみに、Linux Kernel 5.14以降では上記の arm_pm_restart が削除され、各プラットフォームまたは系統毎に定義されるrestartは restart_handler の一つとして登録するよう変更されている。この為、もし別途 restart_handler を使用したい場合、ARM側のハンドラよりも高い優先度(数字を大きくする)でハンドラを登録すれば、そちらが先に使用される。

HDL-A2.0

突然NASに興味を持った結果、まともに調べずHDL2-A2.0を確保し、HDD無しであった故に得られる情報が少なくドライバを書くにしても不足する部分があること、どうせなら共通化したサポートにしたいということもあり、シングルドライブモデルのこの機種も確保した(してしまった)。
弄っていくのでメモ。

ディスク

  • fdisk -l /dev/sdb -o +Name
    OpenWrtで得たもの

    root@OpenWrt:/# fdisk -l /dev/sdb -o +Name
    Disk /dev/sdb: 1.82 TiB, 2000398934016 bytes, 3907029168 sectors
    Disk model: ST2000DM001-9YN1
    Units: sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 4096 bytes
    Disklabel type: gpt
    Disk identifier: FA1AD617-84AC-4E0A-80D8-0797EDC9D88C
    
    Device       Start        End    Sectors  Size Type                 Name
    /dev/sdb1       40    1048623    1048584  512M Microsoft basic data primary
    /dev/sdb2  1048624    3145783    2097160    1G Microsoft basic data primary
    /dev/sdb3  3145784    7340095    4194312    2G Linux swap           primary
    /dev/sdb4  7340096    7602247     262152  128M Microsoft basic data primary
    /dev/sdb5  7602248    8650831    1048584  512M Microsoft basic data primary
    /dev/sdb6  8652800 3907028991 3898376192  1.8T Microsoft basic data
    

U-Boot

Kernel

  • bootlog
    
    ============================================================
      HDL2-A series Initial boot loader
    
      Copyright (C) 2008-2011 I-O DATA DEVICE, INC.
    ============================================================
     ** LOADER **
     ** MARVELL BOARD: HDL2A LE 
    
    U-Boot 1.1.4 (Aug 22 2013 - 10:19:57) MV : 3.5.9 I-O : 1.08
    
    U-Boot code: 00600000 -> 0066FFF0  BSS: -> 006BDAE0
    
    Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 533Mhz
    SysClock = 533Mhz , TClock = 200Mhz 
    
    DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
    DRAM CS[0] base 0x00000000   size 256MB 
    DRAM Total size 256MB  16bit width
    Addresses 8M - 0M are saved for the U-Boot usage.
    Mem malloc Initialization (8M - 7M): Done
    [512kB@f8000000] Flash: 512 kB
    
    CPU : Marvell Feroceon (Rev 1)
    
    Streaming disabled 
    Write allocate disabled
    
    
    USB 0: host mode
    PEX 0: interface detected no Link.
    PEX 1: interface detected no Link.
    Net:   egiga0 [PRIME]
    
    ============================================================
      HDL2-A series Initial boot loader
    
      Copyright (C) 2008-2011 I-O DATA DEVICE, INC.
    ============================================================
     ** LOADER **
     ** MARVELL BOARD: HDL2A LE 
    
    U-Boot 1.1.4 (Aug 22 2013 - 10:19:57) MV : 3.5.9 I-O : 1.08
    
    U-Boot code: 00600000 -> 0066FFF0  BSS: -> 006BDAE0
    
    Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 533Mhz
    SysClock = 533Mhz , TClock = 200Mhz 
    
    DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
    DRAM CS[0] base 0x00000000   size 256MB 
    DRAM Total size 256MB  16bit width
    Addresses 8M - 0M are saved for the U-Boot usage.
    Mem malloc Initialization (8M - 7M): Done
    [512kB@f8000000] Flash: 512 kB
    
    CPU : Marvell Feroceon (Rev 1)
    
    Streaming disabled 
    Write allocate disabled
    
    
    USB 0: host mode
    PEX 0: interface detected no Link.
    PEX 1: interface detected no Link.
    Net:   egiga0 [PRIME]
    
    Reset IDE: 
    Marvell Serial ATA Adapter
    Integrated Sata device found
     0 0 15: Status=0x80
     0 0 15: Status=0x80
     0 0 15: Status=0x80
     0 0 15: Status=0x80
     0 0 15: Status=0x80
     0 0 15: Status=0x80
     0 0 15: Status=0x80
     0 0 15: Status=0x80
     0 0 15: Status=0x80
     0 0 15: Status=0x80
     0 0 15: Status=0x80
    [0 0 0]: Enable DMA mode (6)
      Device 0 @ 0 0:
                Model: ST2000DM001-9YN164                      
                Firm: CC82    
                Ser#:             Z3402ALK
                Type: Hard Disk
                Supports 48-bit addressing
                Capacity: 1907729.0 MB = 1863.0 GB (0x00000000E8E088B0 x 512)
    
    
    3020072 bytes read
    
    5435264 bytes read
    ## Starting secure boot ...
    ## Starting application at 0x00100000 ...
    ## Application terminated, rc = 0x0
    ................
    ## Booting image at 00800000 ...
       Image Name:   Linux-2.6.31.8
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3020008 Bytes =  2.9 MB
       Load Address: 00008000
       Entry Point:  00008000
       Verifying Checksum ... OK
    OK
    
    Starting kernel ...
    
    Uncompressing Linux......................................................................................................................................................................................... done, booting the kernel.
    Linux version 2.6.31.8 (kodaka@devsrv2) (gcc version 4.2.4 (Debian 4.2.4-3)) #1 Mon Mar 11 15:24:22 JST 2013
    CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
    CPU: VIVT data cache, VIVT instruction cache
    Machine: Feroceon-KW
    Using UBoot passing parameters structure
    Memory policy: ECC disabled, Data cache writeback
    Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 65024
    Kernel command line: console=ttyS0,115200 mtdparts=spi_flash:448k(u-boot),64k@448k(env) root=/dev/sda2 initrd=0x2000040,16M rw model=HDL-A
    PID hash table entries: 1024 (order: 10, 4096 bytes)
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Memory: 256MB = 256MB total
    Memory: 231100KB available (5484K code, 274K data, 136K init, 0K highmem)
    Hierarchical RCU implementation.
    NR_IRQS:128
    Console: colour dummy device 80x30
    Calibrating delay loop... 1599.07 BogoMIPS (lpj=7995392)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    xor: measuring software checksum speed
       arm4regs  :  1453.200 MB/sec
       8regs     :  1102.000 MB/sec
       32regs    :  1236.800 MB/sec
    xor: using function: arm4regs (1453.200 MB/sec)
    NET: Registered protocol family 16
    Feroceon L2: Enabling L2
    Feroceon L2: Cache support initialised.
    
    CPU Interface
    -------------
    SDRAM_CS0 ....base 00000000, size 256MB 
    SDRAM_CS1 ....disable
    SDRAM_CS2 ....disable
    SDRAM_CS3 ....disable
    PEX0_MEM ....base e0000000, size 128MB 
    PEX0_IO ....base f2000000, size   1MB 
    PEX1_MEM ....base e8000000, size 128MB 
    PEX1_IO ....base f2100000, size   1MB 
    INTER_REGS ....base f1000000, size   1MB 
    NFLASH_CS ....base fa000000, size   2MB 
    SPI_CS ....base f4000000, size  16MB 
    BOOT_ROM_CS ....no such
    DEV_BOOTCS ....no such
    CRYPT_ENG ....base f0000000, size   2MB 
    
      Marvell Development Board (LSP Version KW_LSP_5.1.3_patch34)-- I-O DATA HDL2-A  Soc: MV88F6282 Rev 1 LE
    
     Detected Tclk 200000000 and SysClk 533333333 
    mv_init: modified I2C divisor.
    MV Buttons Device Load
    Marvell USB EHCI Host controller #0: c8039680
    PEX0 interface detected no Link.
    PEX1 interface detected no Link.
    PCI: bus0: Fast back to back transfers enabled
    PCI: bus1: Fast back to back transfers enabled
    R8 power off hook registered.
    bio: create slab  at 0
    SCSI subsystem initialized
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    raid6: int32x1    146 MB/s
    raid6: int32x2    181 MB/s
    raid6: int32x4    171 MB/s
    raid6: int32x8    152 MB/s
    raid6: using algorithm int32x2 (181 MB/s)
    Slow work thread pool: Starting up
    Slow work thread pool: Ready
    FS-Cache: Loaded
    NET: Registered protocol family 2
    IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    TCP: Hash tables configured (established 8192 bind 8192)
    TCP reno registered
    NET: Registered protocol family 1
    Trying to unpack rootfs image as initramfs...
    rootfs image is not initramfs (no cpio magic); looks like an initrd
    Freeing initrd memory: 16384K
    iodata_boardmodel_init: 223
    XOR registered 4 channels
    XOR 2nd invalidate WA enabled
    mvCesaInit: sessions=640, queue=64, pSram=f0000000
    MV Buttons Driver Load
    NetWinder Floating Point Emulator V0.97 (double precision)
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    FS-Cache: Netfs 'nfs' registered for caching
    Installing knfsd (copyright (C) 1996 [email protected]).
    NTFS driver 2.1.29 [Flags: R/O].
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    fuse init (API version 7.12)
    SGI XFS with security attributes, large block/inode numbers, no debug enabled
    SGI XFS Quota Management subsystem
    msgmni has been set to 484
    alg: No test for cipher_null (cipher_null-generic)
    alg: No test for ecb(cipher_null) (ecb-cipher_null)
    alg: No test for digest_null (digest_null-generic)
    alg: No test for compress_null (compress_null-generic)
    alg: No test for fcrypt (fcrypt-generic)
    alg: No test for stdrng (krng)
    alg: No test for hmac(digest_null) (hmac(digest_null-generic))
    async_tx: api initialized (sync-only)
    Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
    io scheduler noop registered
    io scheduler cfq registered (default)
    Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
    console [ttyS0] enabled
    serial8250.0: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A
    brd: module loaded
    loop: module loaded
    Integrated Sata device found
    IRQ 21/mvSata: IRQF_DISABLED is not guaranteed on shared IRQs
    scsi0 : Marvell SCSI to SATA adapter
    scsi1 : Marvell SCSI to SATA adapter
    scsi 0:0:0:0: Direct-Access     Seagate  ST2000DM001-9YN1 CC82 PQ: 0 ANSI: 5
    sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
    sd 0:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
    sd 0:0:0:0: [sda] 0-byte physical blocks
    sd 0:0:0:0: [sda] Write Protect is off
    sd 0:0:0:0: Attached scsi generic sg0 type 0
    phy: page = 0
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 1140 7949 0141 0e90 01e1 0000 0004 2001
    0008: 0000 0300 0000 0000 0000 0000 0000 3000
    0010: 3860 8040 0000 0040 0020 0000 0000 0000
    0018: 0000 0000 0040 0000 0000 0000 0000 0000
    phy: page = 1
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 0001 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 2
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0748 0000 0000 0000 0000 1070 0002 0000
    0018: 5001 0022 0000 0000 0000 0000 0000 0000
    phy: page = 3
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0177 4415 4905 0073 0000 0000 0003 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 4
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 0004 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 5
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 2400 0006 0053 208a 0000 2000 0005 0603
    0018: 0000 0104 0f12 0a0c 0c06 0000 0000 0000
    phy: page = 6
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0200 0000 0006 0000
    0018: 0000 0000 1908 0000 0000 0000 0000 0000
    phy: page = 7
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 0007 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 8
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 1000 020c 0000 0080 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 0008 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 9
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 0009 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 10
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 000a 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 11
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 000b 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 12
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 1f40 0000 0000 0000 f000 f186 1388
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 000c 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 13
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 000d 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 14
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 88f7 0000 0000 0001 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 000e 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 15
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 000f 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 16
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0000 0000 0000 0000 0000 0000 0010 0000
    0018: 0000 0000 0000 0000 0000 0000 0000 0000
    phy: page = 17
    addr    +0   +1   +2   +3   +4   +5   +6   +7
    0000: 0000 0000 0000 0000 0000 0000 0000 0000
    0008: 0000 0000 0000 0000 0000 0000 0000 0000
    0010: 0500 0000 3fff 3fff 3fff 007f 0011 0000
    0018: 0000 0000 0000 0000 0000 0014 0000 0000
    Loading Marvell Ethernet Driver:
      o Cached descriptors in DRAM
      o DRAM SW cache-coherency
      o 1 Giga ports supported
      o Single RX Queue support - ETH_DEF_RXQ=0
      o Single TX Queue support - ETH_DEF_TXQ=0
      o TCP segmentation offload (TSO) supported
      o Large Receive offload (LRO) supported
      o Receive checksum offload supported
      o Transmit checksum offload supported
      o Driver ERROR statistics enabled
      o Proc tool API enabled
      o SKB Reuse supported - (Disabled)
      o SKB Recycle supported - (Disabled)
      o Rx descripors: q0=128
      o Tx descripors: q0=532
      o Loading network interface(s):
         o register under mv88fx_eth platform
    sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
         o eth0, ifindex = 2, GbE port = 0
    
    ipddp.c:v0.01 8/28/97 Bradford W. Johnson 
    ipddp0: Appletalk-IP Encap. mode by Bradford W. Johnson 
    SPI Serial flash detected @ 0xf4000000, 512KB (8sec x 64KB)
    2 cmdlinepart partitions found on MTD device spi_flash
    Creating 2 MTD partitions on "spi_flash":
    0x000000000000-0x000000070000 : "u-boot"
    
    Notice: Serial SPI flash (spi_flash) unlock per sector is not supported!
            Unlocking the whole device.
     sda:
    0x000000070000-0x000000080000 : "env"
    
    Notice: Serial SPI flash (spi_flash) unlock per sector is not supported!
            Unlocking the whole device.
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ehci_marvell ehci_marvell.70059: Marvell Orion EHCI
    ehci_marvell ehci_marvell.70059: new USB bus registered, assigned bus number 1
    ehci_marvell ehci_marvell.70059: irq 19, io base 0xf1050100
     sda1 sda2 sda3 sda4 sda5 sda6
    sd 0:0:0:0: [sda] Sector size 0 reported, assuming 512.
    sd 0:0:0:0: [sda] Attached SCSI disk
    ehci_marvell ehci_marvell.70059: USB 2.0 started, EHCI 1.00
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 1 port detected
    usbcore: registered new interface driver libusual
    mice: PS/2 mouse device common for all mice
    i2c /dev entries driver
    I2C: RS5C372A RTC driver successfully loaded
    md: linear personality registered for level -1
    md: raid0 personality registered for level 0
    md: raid1 personality registered for level 1
    md: raid6 personality registered for level 6
    md: raid5 personality registered for level 5
    md: raid4 personality registered for level 4
    md: faulty personality registered for level -5
    device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: [email protected]
    dm_crypt using the OCF package.
    cpuidle: using governor ladder
    cpuidle: using governor menu
    TCP cubic registered
    NET: Registered protocol family 17
    NET: Registered protocol family 5
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    md: Waiting for all devices to be available before autodetect
    md: If you don't use raid, use raid=noautodetect
    md: Autodetecting RAID arrays.
    md: Scanned 0 and added 0 devices.
    md: autorun ...
    md: ... autorun DONE.
    RAMDISK: gzip image found at block 0
    usb 1-1: new high speed USB device using ehci_marvell and address 2
    usb 1-1: configuration #1 chosen from 1 choice
    hub 1-1:1.0: USB hub found
    hub 1-1:1.0: 2 ports detected
    VFS: Mounted root (ext2 filesystem) on device 1:0.
    
    === START /initrd/linuxrc ===
    
    === VERSION: Mon Apr 26 11:05:02 JST 2021 ===
    
    === SET SYSTEM CLOCK ===
    
    === READ SUB ROUTINES ===
    
    === MOUNT /proc, /sys ===
    
    === LOAD R8contd ===
    mount: mounting /dev/root.old on / failed
    overrun: 0
    R8contd [model:HDL-A-0] [ver1.07]
    
    === INITIALIZE STATUS LED ===
    
    === CHECK SYSTEM PARTITIONS ===
    SOC_ARCH:88FR131
    DISK1:sda
    DISK2:
    USB1:
    USB2:
    --- set latest clock ---
    tune2fs: Bad magic number in super-block while trying to open /dev/sda2
    Couldn't find valid filesystem superblock.
    ===== Last write sda2 : =====
    tune2fs: Bad magic number in super-block while trying to open /dev/sda5
    Couldn't find valid filesystem superblock.
    ===== Last write sda5 : =====
    --- check DISK ---
    SOC_ARCH:88FR131
    DISK1:sda
    DISK2:
    USB1:
    USB2:
    VOL1:sda1
    VOL2:sda2
    VOL5:sda5
    VOL6:sda6
    ROOT_DEVICE:2050
    
    === CRYPT SYSTEM PARTITIONS ===
    
    ### FIXME!!: linuxrc: norootfskey for develop kernel ###
    ## Error: "fakerootfskey" not defined
    bio: create slab  at 1
    
    === MKHDDMODE=0 ===
    
    === PROBE DEVICES ===
    SOC_ARCH:88FR131
    DISK1:sda
    DISK2:
    USB1:
    USB2:
    VOL1:sda1
    VOL2:mapper/sda2
    VOL5:mapper/sda5
    VOL6:sda6
    ROOT_DEVICE:64768
    
    === CURRENT ROOT DEVICE:2050 ===
    
    === SET ROOT DEVICE:64768 ===
    
    === CURRENT ROOT DEVICE:64768 ===
    
    === SOC_ARCH=88FR131, ROOT_DEV=/dev/mapper/sda2 ===
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    
    === CHECK INSTALL MEDIA ===
    SOC_ARCH:88FR131
    DISK1:sda
    DISK2:
    USB1:
    USB2:
    VOL1:sda1
    VOL2:mapper/sda2
    VOL5:mapper/sda5
    VOL6:sda6
    ROOT_DEVICE:64768
    
    === cheking usb memory including installer. ===
    
    === not found. ===
    umount: cannot umount /mnt/usb1/l2a: No such file or directory
    umount: cannot umount /mnt/usb1: Invalid argument
    umount: cannot umount /mnt/usb1: Invalid argument
    
    *** ERROR: umount failed. ignore. ***
    mount: mounting /dev/scd0 on /mnt/usb1 failed
    umount: cannot umount /mnt/usb1/l2a: No such file or directory
    umount: cannot umount /mnt/usb1: Invalid argument
    umount: cannot umount /mnt/usb1: Invalid argument
    
    *** ERROR: umount failed. ignore. ***
    kjournald starting.  Commit interval 5 seconds
    EXT3-fs: mounted filesystem with writeback data mode.
    umount: cannot umount /mnt/usb1/.landisk: Invalid argument
    
    === CHECKING VERIFY MODE ===
    
    === mounting volume 1 to check mode ===
    kjournald starting.  Commit interval 5 seconds
    EXT3-fs: mounted filesystem with writeback data mode.
    
    === not verify mode ===
    
    === unmounting volume 1 ===
    
    ### FIXME!!: linuxrc: __unload_modules ###
    usb_storage 36556 0 - Live 0xbf000000
    usbcore: deregistering interface driver usb-storage
    Close R8contd. (15)
    mount: mounting /dev/root.old on / failed
    
    
    === END /initrd/linuxrc ===
    kjournald starting.  Commit interval 5 seconds
    EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
    EXT3 FS on dm-0, internal journal
    EXT3-fs: mounted filesystem with writeback data mode.
    VFS: Mounted root (ext3 filesystem) on device 253:0.
    Trying to move old root to /initrd ... okay
    Freeing init memory: 136K
    INIT: version 2.86 booting
    Setting parameters of disc: (none).
    Activating swap...Adding 2097148k swap on /dev/sda3.  Priority:-1 extents:1 across:2097148k 
    done.
    Checking root file system...fsck 1.40-WIP (14-Nov-2006)
    e2fsck 1.40-WIP (14-Nov-2006)
    /lib/init/rw/rootdev has been mounted 28 times without being checked, check forced.
    Pass 1: Checking inodes, blocks, and sizes
    Pass 2: Checking directory structure                                           
    Pass 3: Checking directory connectivity                                        
    Pass 4: Checking reference counts                                              
    Pass 5: Checking group summary information
    /lib/init/rw/rootdev: 16330/131072 files (0.2% non-contiguous), 1EXT3 FS on dm-0, 06226/262144 blointernal journal
    cks
    done.
    Setting the system clock..
    Cleaning up ifupdown....
    Loading kernel modules...done.
    Loading device-mapper support.
    Checking file systems...fsck 1.40-WIP (14-Nov-2006)
    done.
    Setting kernel variables...done.
    Mounting local filesystems...kjournald starting.  Commit interval 5 seconds
    EXT3-fs: mounted filesystem with writeback data mode.
    kjournald starting.  Commit interval 5 seconds
    EXT3 FS on dm-1, internal journal
    EXT3-fs: mounted filesystem with writeback data mode.
    Using fallback suid method
    done.
    Activating swapfile swap...done.
    console=ttyS0,115200 mtdparts=spi_flash:448k(u-boot),64k@448k(env) root=/dev/sda2 initrd=0x2000040,16M rw model=HDL-A
    Starting R8 control daemon: R8contdoverrun: 0
    R8contd [model:HDL-A-0] [ver1.07]
    .
    Setting up networking....
    Starting hotplug subsystem:
       pci     
    cat: /sys/bus/pci/devices/*/class: No such file or directory
    cat: /sys/bus/pci/devices/*/vendor: No such file or directory
    cat: /sys/bus/pci/devices/*/device: No such file or directory
    cat: /sys/bus/pci/devices/*/subsystem_vendor: No such file or directory
    cat: /sys/bus/pci/devices/*/subsystem_device: No such file or directory
    Bad PCI agent invocation
       pci      [success]
       usb     
       usb      [success]
       isapnp  
       isapnp   [success]
       ide     
       ide      [success]
       input   
       input    [success]
       scsi    
         sd_mod: can't be loaded (for disk)
       scsi     [success]
    done.
    Configuring network interfaces...eth0: started
    mv_eth_phy_init_hdl2_a: wol status = 0000
    Using fallback suid method
    info, udhcpc (v0.9.9-pre+autoip) started
    + RESOLV_ORG=/etc/resolv.conf
    + RESOLV_CONF=/var/tmp/resolv.conf
    + HOSTS_ORG=/etc/hosts
    + HOSTS_TMP=/var/tmp/hosts
    + DHCPINFOFILE=/var/run/udhcpc-eth0.info
    + CACHE_ORG=/etc/udhcpc.cache
    + CACHE_FILE=/var/tmp/udhcpc.cache
    + '[' -z deconfig ']'
    + '[' -n '' ']'
    + '[' -n '' ']'
    + case "$1" in
    + /sbin/ifconfig eth0 0.0.0.0
    + exit 0
    debug, Sending discover...
    debug, Sending discover...
    info, No lease, try autoip. discover garbage count was 0
    + RESOLV_ORG=/etc/resolv.conf
    + RESOLV_CONF=/var/tmp/resolv.conf
    + HOSTS_ORG=/etc/hosts
    + HOSTS_TMP=/var/tmp/hosts
    + DHCPINFOFILE=/var/run/udhcpc-eth0.info
    + CACHE_ORG=/etc/udhcpc.cache
    + CACHE_FILE=/var/tmp/udhcpc.cache
    + '[' -z deconfig ']'
    + '[' -n '' ']'
    + '[' -n '' ']'
    + case "$1" in
    + /sbin/ifconfig eth0 0.0.0.0
    + exit 0
    + RESOLV_ORG=/etc/resolv.conf
    + RESOLV_CONF=/var/tmp/resolv.conf
    + HOSTS_ORG=/etc/hosts
    + HOSTS_TMP=/var/tmp/hosts
    + DHCPINFOFILE=/var/run/udhcpc-eth0.info
    + CACHE_ORG=/etc/udhcpc.cache
    + CACHE_FILE=/var/tmp/udhcpc.cache
    + '[' -z renew ']'
    + '[' -n 169.254.255.255 ']'
    + BROADCAST='broadcast 169.254.255.255'
    + '[' -n 255.255.0.0 ']'
    + NETMASK='netmask 255.255.0.0'
    + case "$1" in
    + /sbin/ifconfig eth0 169.254.148.111 broadcast 169.254.255.255 netmask 255.255.0.0
    + '[' -n '' ']'
    + root_is_rw=0
    + '[' -f /var/lock/lanicn/.boot-done ']'
    + root_is_rw=1
    + '[' -f /var/tmp/resolv.conf ']'
    + touch /var/tmp/resolv.conf.1
    + echo -n
    + '[' -n '' ']'
    + write_hdd=0
    + cmp -s /var/tmp/resolv.conf /var/tmp/resolv.conf.1
    + '[' 0 -ne 0 ']'
    + '[' -f /var/tmp/hosts ']'
    + touch /var/tmp/hosts.1
    ++ hostname
    + HOSTNAME=LANDISK-F2262E
    + HOSTNAME=LANDISK-F2262E
    + '[' -n '' ']'
    + hostname LANDISK-F2262E
    + cat
    + cmp -s /var/tmp/hosts /var/tmp/hosts.1
    + '[' 1 -ne 0 ']'
    + write_hdd=1
    + rm -rf /var/run/udhcpc-eth0.info
    + echo IPADDR=169.254.148.111
    + echo NETMASK=255.255.0.0
    + echo BROADCAST=169.254.255.255
    + echo GATEWAY=
    + echo DOMAIN=
    + echo DNS=
    + echo DHCPSIADDR=
    + echo LEASETIME=
    + '[' 169.254.255.255 = 169.254.255.255 ']'
    + '[' -f /var/lock/lanicn/.boot-done ']'
    + mount -o remount,rw /
    + cp -pf /var/tmp/resolv.conf /etc/resolv.conf
    + cp -pf /var/tmp/hosts /etc/hosts
    + '[' -f /var/tmp/udhcpc.cache ']'
    + rm -f /mnt/hda5/info/IPAddress:192.168.1.190.mpg
    + ln -s /usr/local/share/dms/sample.mpg /mnt/hda5/info/IPAddress:169.254.148.111.mpg
    + sync
    + /usr/bin/php /usr/local/bin/port_update.php
    done.
    + '[' 1 -eq 0 ']'
    + mount -o remount,rw /
    EXT3 FS on dm-0, internal journal
    + regist_slpd
    + '[' '!' -f /var/run/slpd.pid ']'
    + echo 'regist_slpd: slpd not running'
    regist_slpd: slpd not running
    + return
    + exit 0
    INIT: Entering runlevel: 2
    Starting system message bus: dbus.
    Starting Avahi mDNS/DNS-SD Daemon: avahi-daemonwarning: `avahi-daemon' uses 32-bit capabilities (legacy support in use)
    .
    Starting OpenSLP server: slpd.
    Starting network management services: snmpd.
    starting syslogd ...Using fallback suid method
    done.
    Starting periodic command scheduler: crond.
    Starting web server (apache2)...apache2: Could not reliably determine the server's fully qualified domain name, using 169.254.148.111 for ServerName
    debug, Sending discover...
    .
    
    Starting HDLFind: 
    HDLFind for HDL-GS
    Starting HDLFind_port65: 
    HDLFind_port65 for HDL-GS
    Checking version: release
    smartctl-bin
    smartctl-bin
    smartctl-bin
    smartctl-bin
    smartctl-bin
    smartctl-bin
    check hda6 superblock...
    mdadm: No md superblock detected on /dev/sda6.
    check hdb6 superblock...
    mdadm: cannot open /dev/sdb6: No such device or address
    EXT3 FS on dm-0, internal journal
    XFS mounting filesystem sda6
    Restarting network management services:debug, Sending discover...
     snmpd.
    *** RAID Initialization : share service start
    usbmodule startdev HDL-A
    usbcore: registered new interface driver hiddev
    usbcore: registered new interface driver usbhid
    usbhid: v2.6:USB HID core driver
    usbcore: registered new interface driver usblp
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    Error : Temporary failure in name resolution
    27 Feb 13:36:31 ntpdate[1739]: can't find host ntp.nict.jp
    
    27 Feb 13:36:31 ntpdate[1739]: no servers can be used, exiting
    debug, Sending discover...
    debug, Sending discover...
    debug, Sending discover...
    debug, Sending discover...
    debug, Sending discover...
    debug, Sending discover...
    debug, Sending discover...
    debug, Sending discover...
    info, No lease, go back to autoip. discover garbage count was 0
    ssl server key no need to update.
    *** RAID Initialization : share service start
    apache2: Could not reliably determine the server's fully qualified domain name, using 169.254.148.111 for ServerName
    iface eth0 inet dhcp
    /dev/sda6 on /mnt/sataraid1 type xfs (rw,relatime,attr2,noquota)
    nasdsync:clear_notify
    nasdsync:clear_notify
    debug, Sending discover...
    debug, Sending discover...
    debug, Sending discover...
    debug, Sending discover...
    debug, Sending discover...
    debug, Sending discover...
    debug, Sending discover...
    debug, Sending discover...
    debug, Sending discover...
    debug, Sending discover...
    info, No lease, go back to autoip. discover garbage count was 0
    EXT3 FS on dm-0, internal journal
    Usage:
      kill pid ...              Send SIGTERM to every process listed.
      kill signal pid ...       Send a signal to every process listed.
      kill -s signal pid ...    Send a signal to every process listed.
      kill -l                   List all signal names.
      kill -L                   List all signal names in a nice table.
      kill -l signal            Convert between signal numbers and names.
    
    
  • df
    ファームウェア更新試行時に現れるもの

    /usr/local/bin/getfwver.sh:df min
    Filesystem           1K-blocks      Used Available Use% Mounted on
    rootfs                 1032088    408420    613184  40% /
    /dev/root              1032088    408420    613184  40% /
    tmpfs                   123972       688    123284   1% /mnt/tmpfs
    tmpfs                   123972         0    123972   0% /lib/init/rw
    tmpfs                   123972         0    123972   0% /dev/shm
    tmpfs                   123972         0    123972   0% /dev/mapper
    /dev/sda1               516040    345380    144448  71% /boot
    /dev/mapper/sda5        511720    107312    378196  23% /mnt/hda5
    /dev/sda6            1949057024      4980 1949052044   1% /mnt/sataraid1
    /usr/local/bin/getfwver.sh:df max
    Filesystem           1K-blocks      Used Available Use% Mounted on
    rootfs                 1032088    408420    613184  40% /
    /dev/root              1032088    408420    613184  40% /
    tmpfs                   123972       720    123252   1% /mnt/tmpfs
    tmpfs                   123972         0    123972   0% /lib/init/rw
    tmpfs                   123972         0    123972   0% /dev/shm
    tmpfs                   123972         0    123972   0% /dev/mapper
    /dev/sda1               516040    345380    144448  71% /boot
    /dev/mapper/sda5        511720    181944    303564  38% /mnt/hda5
    /dev/sda6            1949057024      4980 1949052044   1% /mnt/sataraid1
    

HDL2-A R8C/25メモ

HDL2-Aに搭載されているRenesas R8C/25マイコンの制御メモ
現状HDL-XRから引用している為多少の差異が存在する可能性有

HDL2-A公式ファームウェア上では、Linux Kernelにpoweroffとresetのハンドラの登録のみドライバで行い、それ以外のLEDやブザー、ボタン類等はユーザースペースのコマンドにより制御していると思われる。

root@OpenWrt:/# stty -F /dev/ttyS1
speed 9600 baud; line = 0;
-brkint -imaxbel
root@OpenWrt:/# stty -F /dev/ttyS1 57600       # HDL2-A上のR8C/25マイコンはbaudrate 57600bpsで通信する必要有
root@OpenWrt:/# echo ":sts on" > /dev/ttyS1    # STATUS LED点灯(点滅停止)
root@OpenWrt:/# echo ":mml a" > /dev/ttyS1     # ブザー単音
root@OpenWrt:/# echo ":hdd 0 5" > /dev/ttyS1   # HDD1 赤点灯

STATUS LED

橙点灯, 赤点滅は現状引数が不明

mode(内部名称) stock(取扱説明書における名称) 備考
on 緑点灯 点滅等せず同じ輝度で点灯
blink 緑点滅 輝度の減少または増加無く完全に0/1で点滅
notify 緑点滅(ゆっくり) 輝度を多段階で調整されての点滅
err 赤点灯 点滅等せず同じ輝度で点灯

HDD LED

HDD毎のLED

設定値 stock(取扱説明書における名称) 備考
5 赤点灯 HDD未接続
1 / 2 / 3 / 4 赤点滅 HDD障害
(数字によって点滅スピードは変わらず)
0 消灯 HDD正常動作

ボタン

  • HDL2-Aが搭載するボタンのいずれかを押すと、対応するアルファベットがUARTで送信されてくる
    • down時に @<大文字>、up時に @<小文字> が送信される
      (例 (RESET): down: @R, up: @r
  • :btn で現在のボタンの状態が取得できる
    (例: ;crPwxyz(POWERボタンが押されている))
コンソール1

root@OpenWrt:~# echo ":btn" > /dev/ttyS1
root@OpenWrt:~# echo ":btn" > /dev/ttyS1

コンソール2

root@OpenWrt:/# cat /dev/ttyS1
@P    <-- POWER down
@p    <-- POWER up
@P
@p
@P
@p
@R    <-- RESET down
@r    <-- RESET up
@R
@r
@R
@r
;crpwxyz    <-- コンソール1 ":btn" 1回目
@P    <-- POWER down
@P    <-- 一定時間押下し続けた場合もう一度送信される
;crPwxyz    <-- コンソール1 ":btn" 2回目
@p    <-- POWER up

ブザー

  • 音程として指定できるアルファベットは a, b, c, d, e, f, g の7個
    • 個々に対応する音程は固定されず < で音程を一つ(?)上げ、 > で音程を一つ(?)下げる
  • t, q, l, o, vPWMか何かのパラメータと思われる
    • パラメータ設定後にパラメータ無しで音程単体の場合は最後に設定したパラメータが反映される
  • |; ;| で囲うと繰り返し
    • 囲われた中の最初の数字が繰り返し回数と思われる(0の場合は無限)
  • Twitterにて指摘を頂いた。どうもMMLの記法である模様。
設定値 stock(取扱説明書における名称) 備考
t150o6q7v8l16b>b ピポ ブート開始時
t120v8q7o7|;0b32.r32;| ピピピ(繰り返し) ブート不可時
|;0v1q8o6c4r8;| ピー(繰り返し) ファン故障/温度異常時
t120q8l4o6v8|;0bg;| HDL2-Aの取扱説明書には無し
ピーポー音(繰り返し)
r2c8r8c8r8g8r8g8r8a8r8a8r8g8
r4r8f8r8f8r8e8r8e8r8d8r8d8r8c8
HDL2-Aの説明書には無し
きらきら星(一部)

ファン

  • fancont コマンドにより制御
  • fancont を引数無しで実行時に返る値2桁のうち、1桁目は 0-> 自動, 1 -> 手動、2桁目は以下の表で1-3に対応
設定値 モード
0 自動制御
(R8C/25マイコンが計測した温度と設定されている閾値を基にHigh/Lowを決定, 初期値)
1 手動制御, Low
2 手動制御, High
3 手動制御, Stop

温度閾値

  • thset コマンドにより制御
  • 設定値のインデックスの大小関係は idx1 < idx0、idx2は0または1との大小関係なく設定できる模様
  • :thset <index> <temperature>(例: :thset 1 40
  • 閾値設定は再起動するとリセットされる
thget 時の
インデックス
初期値 概要
0 2d
(45℃)
(不明)
R8Cマイコンを搭載する機種によってはファン速度がHigh/Middle/Lowとなっており、インデックス0は3段階対応機種においてMiddle -> High遷移閾値と思われる。HDL-A/HDL2-Aにおいては2段階のみである為未使用と思われる。
1 28
(40℃)
ファン自動制御時Low -> High遷移閾値
(同値でHighへ遷移)
2 3c
(60℃)
温度異常閾値?
一定時間(不明)経過後にR8C/25マイコンにより自動シャットダウン

HDL2-A OpenWrtブートログメモ

現時点でのOpenWrtのブートログ

  • ファン制御
  • LED制御
  • スイッチ類
  • ビープスピーカー

は現状GPIO等不明の為未対応。フロントのSTATUS LEDは緑で点滅し続ける。
SATAやUSBに接続されたデバイスの取り扱いやそこからのブート、ネットワーク周りは動作。
SSDを使用したこととOpenWrtである故に軽量であることから、メーカーファームウェアよりも恐らくブート完了は早い。PCで廃した低用量SSDの活用手段として良いかもしれない。


============================================================
  HDL2-A series Initial boot loader

  Copyright (C) 2008-2011 I-O DATA DEVICE, INC.
============================================================
 ** LOADER **
 ** MARVELL BOARD: HDL2A LE 

U-Boot 1.1.4 (Aug 27 2011 - 16:33:44) MV : 3.5.9 I-O : 1.03

U-Boot code: 00600000 -> 0066FFF0  BSS: -> 006BDAE0

Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 533Mhz
SysClock = 533Mhz , TClock = 200Mhz 

DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7
DRAM CS[0] base 0x00000000   size 256MB 
DRAM Total size 256MB  16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
[512kB@f8000000] Flash: 512 kB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
PEX 1: interface detected no Link.
Net:   egiga0 [PRIME]

Reset IDE: 
Marvell Serial ATA Adapter
Integrated Sata device found
[0 0 0]: Enable DMA mode (6)
  Device 0 @ 0 0:
            Model: KLEVV SSD NEO N500 120GB                
            Firm: R1001C0 
            Ser#: E201904120051356    
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 114473.4 MB = 111.7 GB (0x000000000DF94BB0 x 512)


2746315 bytes read

65536 bytes read
## Starting secure boot ...
## Starting application at 0x00100000 ...
## Application terminated, rc = 0x0
................
## Booting image at 00800000 ...
   Image Name:   ARM OpenWrt Linux-5.10.100
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2746251 Bytes =  2.6 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.100 ([email protected]) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 11.2.0 r18802-83c6e7a3a6) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 Mon Feb 14 11:07:21 2022
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: I-O DATA HDL2-A (2.0/4.0/6.0)
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyS0,115200 mtdparts=spi_flash:448k(u-boot),64k@448k(env) root=/dev/md2 initrd=0x2000040,16M rw model=HDL2-A console=ttyS0,115200 root=PARTLABEL=rootfs fstools_use_partlabel=1
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 233136K/262144K available (5756K kernel code, 591K rwdata, 1492K rodata, 1024K init, 204K bss, 29008K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x330/0x560 with crng_init=0
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000007] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000032] Switching to timer-based delay loop, resolution 5ns
[    0.000090] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.000110] pid_max: default: 32768 minimum: 301
[    0.000249] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000268] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000969] CPU: Testing write buffer coherency: ok
[    0.001666] Setting up static identity map for 0x100000 - 0x10003c
[    0.001848] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.001993] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.004351] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.004377] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.004474] pinctrl core: initialized pinctrl subsystem
[    0.005232] NET: Registered protocol family 16
[    0.005597] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.006380] thermal_sys: Registered thermal governor 'step_wise'
[    0.006444] cpuidle: using governor ladder
[    0.006739] Feroceon L2: Enabling L2
[    0.006776] Feroceon L2: Cache support initialised.
[    0.012503] No ATAGs?
[    0.045377] SCSI subsystem initialized
[    0.046469] usbcore: registered new interface driver usbfs
[    0.046512] usbcore: registered new interface driver hub
[    0.046555] usbcore: registered new device driver usb
[    0.050768] clocksource: Switched to clocksource orion_clocksource
[    0.051443] NET: Registered protocol family 2
[    0.051550] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.052001] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.052039] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.052071] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.052100] TCP: Hash tables configured (established 2048 bind 2048)
[    0.052166] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.052189] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.052299] NET: Registered protocol family 1
[    0.052324] PCI: CLS 0 bytes, default 32
[    0.052848] Unpacking initramfs...
[    0.052866] Initramfs unpacking failed: invalid magic at start of compressed archive
[    0.099658] Freeing initrd memory: 16388K
[    0.103235] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.106154] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.106169] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.107948] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.109067] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.109504] printk: console [ttyS0] disabled
[    0.109575] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A
[    0.557719] printk: console [ttyS0] enabled
[    0.562850] sata_mv f1080000.sata: slots 32 ports 2
[    0.572499] scsi host0: sata_mv
[    0.576568] scsi host1: sata_mv
[    0.579851] ata1: SATA max UDMA/133 irq 33
[    0.583995] ata2: SATA max UDMA/133 irq 33
[    0.591794] spi-nor spi0.0: w25x40 (512 Kbytes)
[    0.596373] 2 fixed-partitions partitions found on MTD device spi0.0
[    0.602783] Creating 2 MTD partitions on "spi0.0":
[    0.607597] 0x000000000000-0x000000070000 : "u-boot"
[    0.613678] 0x000000070000-0x000000080000 : "u-boot-env"
[    0.627639] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    0.637419] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:a0:b0:ca:71:c7
[    0.646367] i2c /dev entries driver
[    0.650969] orion_wdt: Initial timeout 21 sec
[    0.661488] marvell-cesa f1030000.crypto: CESA device successfully registered
[    0.669251] NET: Registered protocol family 10
[    0.675103] Segment Routing with IPv6
[    0.678837] NET: Registered protocol family 17
[    0.683461] 8021q: 802.1Q VLAN Support v1.8
[    1.080789] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    1.113059] ata1.00: ATA-9: KLEVV SSD NEO N500 120GB, R1001C0, max UDMA/133
[    1.120054] ata1.00: 234441648 sectors, multi 1: LBA48 NCQ (depth 31/32)
[    1.163044] ata1.00: configured for UDMA/133
[    1.167599] scsi 0:0:0:0: Direct-Access     ATA      KLEVV SSD NEO N5 1C0  PQ: 0 ANSI: 5
[    1.176644] sd 0:0:0:0: [sda] 234441648 512-byte logical blocks: (120 GB/112 GiB)
[    1.184968] sd 0:0:0:0: [sda] Write Protect is off
[    1.189864] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.201290]  sda: sda1 sda2 sda3
[    1.205490] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.511994] ata2: SATA link down (SStatus 0 SControl F300)
[    1.519616] VFS: Mounted root (squashfs filesystem) readonly on device 8:2.
[    1.529588] Freeing unused kernel memory: 1024K
[    1.534176] Run /sbin/init as init process
[    1.640791] random: fast init done
[    1.686667] init: Console is alive
[    1.690252] init: - watchdog -
[    1.883525] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    1.941132] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.950197] ehci-fsl: Freescale EHCI Host controller driver
[    1.958667] ehci-orion: EHCI orion driver
[    1.962856] orion-ehci f1050000.ehci: EHCI Host Controller
[    1.968397] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    1.976213] orion-ehci f1050000.ehci: irq 31, io mem 0xf1050000
[    2.010786] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    2.017269] hub 1-0:1.0: USB hub found
[    2.021546] hub 1-0:1.0: 1 port detected
[    2.028338] ehci-platform: EHCI generic platform driver
[    2.041668] rtc-rs5c372 0-0032: rs5c372a found, 24hr
[    2.053814] rtc-rs5c372 0-0032: registered as rtc0
[    2.060424] rtc-rs5c372 0-0032: setting system clock to 2022-02-15T01:42:53 UTC (1644889373)
[    2.072652] usbcore: registered new interface driver usb-storage
[    2.081453] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.091066] init: - preinit -
[    2.330819] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.560533] random: jshn: uninitialized urandom read (4 bytes read)
[    2.567916] hub 1-1:1.0: USB hub found
[    2.602432] hub 1-1:1.0: 2 ports detected
[    2.633329] random: procd: uninitialized urandom read (4 bytes read)
[    2.645499] random: jshn: uninitialized urandom read (4 bytes read)
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.904894] mount_root: loading kmods from internal overlay
[    6.918571] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[    6.926639] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[    7.305673] block: attempting to load /etc/config/fstab
[    7.311148] block: unable to load configuration (fstab: Entry not found)
[    7.317957] block: no usable configuration
[    7.345971] EXT4-fs (sda3): recovery complete
[    7.352683] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
[    7.656448] block: attempting to load /etc/config/fstab
[    7.661870] block: unable to load configuration (fstab: Entry not found)
[    7.668674] block: no usable configuration
[    7.673486] mount_root: switching to ext4 overlay
[    7.681825] urandom-seed: Seeding with /etc/urandom.seed
[    7.737676] procd: - early -
[    7.740678] procd: - watchdog -
[    8.305800] procd: - watchdog -
[    8.309498] procd: - ubus -
[    8.379630] procd: - init -
Please press Enter to activate this console.
[    9.026246] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.228383] PPP generic driver version 2.4.2
[    9.242748] NET: Registered protocol family 24
[    9.257928] urngd: v1.0.2 started.
[    9.281833] kmodloader: done loading kernel modules from /etc/modules.d/*
[    9.390311] random: crng init done
[    9.393761] random: 7 urandom warning(s) missed due to ratelimiting
[   14.840964] br-lan: port 1(eth0) entered blocking state
[   14.846224] br-lan: port 1(eth0) entered disabled state
[   14.851680] device eth0 entered promiscuous mode



BusyBox v1.35.0 (2022-02-13 13:45:08 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r18812-7cb70170c4
 -----------------------------------------------------
=== 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:/# ubus call system board
{
        "kernel": "5.10.100",
        "hostname": "OpenWrt",
        "system": "Feroceon 88FR131 rev 1 (v5l)",
        "model": "I-O DATA HDL2-A (2.0/4.0/6.0)",
        "board_name": "iodata,hdl2-a",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "SNAPSHOT",
                "revision": "r18812-7cb70170c4",
                "target": "kirkwood/generic",
                "description": "OpenWrt SNAPSHOT r18812-7cb70170c4"
        }
}
root@OpenWrt:/# ubus call system info
{
        "localtime": 1644889400,
        "uptime": 30,
        "load": [
                26688,
                6336,
                2080
        ],
        "memory": {
                "total": 256561152,
                "free": 234778624,
                "shared": 57344,
                "buffered": 2064384,
                "available": 214593536,
                "cached": 6520832
        },
        "root": {
                "total": 40973536,
                "free": 40973448,
                "used": 88,
                "avail": 38859912
        },
        "tmp": {
                "total": 125272,
                "free": 125216,
                "used": 56,
                "avail": 125216
        },
        "swap": {
                "total": 0,
                "free": 0
        }
}
root@OpenWrt:/# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/sda3 on /overlay type ext4 (rw,noatime)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,nosuid,noexec,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,noatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,noatime,mode=700)
root@OpenWrt:/# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 3.5M      3.5M         0 100% /rom
tmpfs                   122.3M     56.0K    122.3M   0% /tmp
/dev/sda3                39.1G     88.0K     37.1G   0% /overlay
overlayfs:/overlay       39.1G     88.0K     37.1G   0% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@OpenWrt:/# fdisk -l -o +Name /dev/sda
Disk /dev/sda: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk model: KLEVV SSD NEO N5
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 1ADF7A04-3FA4-E744-BB96-5CAAA7727197

Device       Start      End  Sectors  Size Type             Name
/dev/sda1     2048   206847   204800  100M Linux filesystem kernel
/dev/sda2   206848  2303999  2097152    1G Linux filesystem rootfs
/dev/sda3  2304000 86190079 83886080   40G Linux filesystem rootfs_data