カテゴリー: Router

TS3400D

HDL2-A/HDL-A, HDL2-AAXに続いてNASを探していた際、ヤフオクで見付けて悩んだ末に落札したもの。
これまで弄ってきた機種よりも多いストレージ4台を格納することができ、使い方の幅も広がるのではと興味を惹かれた。
弄っていくのでメモ。

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

フロントのコンソールポートからログは出力されるが入力が無効化されている為、ブート中断は不可

Kernel

Kernelにおいてもコンソールポートの入力が無効化されている為、ブート完了後も操作不可
ドライブベイのストレージからブートできない場合、NAND Flashからブートされる

  • bootlog
    
    
    BootROM 1.20
    Booting from SPI flash
    MARU_DEBUG_RESET
    High speed PHY - Ver 1.6.0 (COM-PHY-V20)
    Read  Reg: 0x00020868= 01022200
    Write Reg: 0x00020868= 01022000
    Step 1: First phase of PEX-PIPE Configuration
    Write Reg: 0x00041B00= 00C10025
    Write Reg: 0x00041B00= 00C20200
    Write Reg: 0x00041B00= 00C5011F
    Write Reg: 0x00081B00= 00C10025
    Write Reg: 0x00081B00= 00C3000F
    Write Reg: 0x00081B00= 00C5011F
    Step 2: Configure the desire PIN_PHY_GEN
    Read  Reg: 0x000A4058= 00000227
    Write Reg: 0x000A4058= 00000220
    Read  Reg: 0x000A2058= 00000227
    Write Reg: 0x000A2058= 00000220
    Step 3 QSGMII enable
    Step 4: Configure SERDES MUXes
    Write Reg: 0x00018270= 02211111
    Write Reg: 0x00018274= 00000000
    Step 5: Activate the RX High Impedance Mode
    Write Reg: 0x00041B00= 00481084
    Write Reg: 0x00081B00= 00489084
    Write Reg: 0x000A4920= 00008084
    Write Reg: 0x000A2920= 00008084
    Step 6: [PEX-Only] PEX-Main configuration (X4 or X1)
    Write Reg: 0x00018204= 00000200
    Read  Reg: 0x00018204= 00000200
    Write Reg: 0x00018204= 00000330
    Step 6.2: [PEX-Only] PCI Express Link Capabilities
    Read  Reg: 0x0004006C= 0007AC42
    Write Reg: 0x0004006C= 0007AC42
    Read  Reg: 0x0008006C= 0007AC12
    Write Reg: 0x0008006C= 0007AC12
    Step 7: [PEX-X4 Only] To create PEX-Link
    Read  Reg: 0x000182F8= FFFF0000
    Write Reg: 0x000182F8= FFFF000F
    Steps 7,8,9,10 and 11
    Write Reg: 0x00041B00= 0001FC60
    Write Reg: 0x00081B00= 0001FC60
    Write Reg: 0x000A4804= 0000F801
    Write Reg: 0x000A488C= 00000400
    Write Reg: 0x000A4918= 00000400
    Read  Reg: 0x000A4058= 00000220
    Write Reg: 0x000A4058= 00000227
    Write Reg: 0x000A2804= 0000F801
    Write Reg: 0x000A288C= 00000400
    Write Reg: 0x000A2918= 00000400
    Read  Reg: 0x000A2058= 00000220
    Write Reg: 0x000A2058= 00000227
    Steps 12: [PEX-Only] Last phase of PEX-PIPE ConfigurationWrite Reg: 0x00041B00= 00C10024
    Write Reg: 0x00081B00= 00C10024
    Steps 13: Wait 15ms before checking resultsRead  Reg: 0x000A405C= 00013007
    Read  Reg: 0x000A205C= 00003007
    Steps 14: [PEX-Only]  In order to configureRead  Reg: 0x00040060= 00420010
    Write Reg: 0x00040060= 00420010
    Read  Reg: 0x00080060= 00420010
    Write Reg: 0x00080060= 00420010
    Steps 15: [PEX-Only]  In order to configureWrite Reg: 0x00041B00= 000F2A21
    Write Reg: 0x00041B00= 004F6219
    Write Reg: 0x00081B00= 000F2A21
    Write Reg: 0x00081B00= 004F6219
    Write Reg: 0x000A483C= 00008A31
    Write Reg: 0x000A4834= 0000C928
    Write Reg: 0x000A4838= 000030F0
    Write Reg: 0x000A4840= 000030F5
    Write Reg: 0x000A283C= 00008A31
    Write Reg: 0x000A2834= 0000C928
    Write Reg: 0x000A2838= 000030F0
    Write Reg: 0x000A2840= 000030F5
    Steps 16: [PEX-Only] Training EnableRead  Reg: 0x00018204= 00000330
    Write Reg: 0x00018204= 00000333
    DDR3 Init. -  SPD_SUPPORT: UNDEFINED
    DDR3 Init. - defined(MV88F78X60) && !defined(MV88F78X60_Z1) : True
                                                                      DDR3 Training Sequence - Ver 3.0.0
    DDR3 Init. - uiFabOpt : 5
    DDR3 Init. - socNum : 00000001
    DDR3 Traning Squence - Stage 0
    DDR3 Init. - uiCpuFreq : 00000003
    DDR3 Init. -  ECC_SUPPORT: UNDEFINED
    DDR3 Init. -  DQS_CLK_ALIGNED: UNDEFINED
    DDR3 Traning Squence - Stage 1
    DDR3 Training Sequence - Static MC Init
    DDR3 Init.[ddr3GetStaticDdrMode()] - chipBoardRev : 5
     * DDR3 Init.[ddr3GetStaticDdrMode()] - if chipBoardRev = A0 : 3
     * DDR3 Init.[ddr3GetStaticDdrMode()] - if chipBoardRev = B0 : 5
     * DDR3 Init.[ddr3GetStaticDdrMode()] - if chipBoardRev = Z1 : 0
    DDR3 Init.[ddr3GetStaticDdrMode()] - ddr3GetCpuFreq() : 3
    DDR3 Init.[ddr3GetStaticDdrMode()] - ddr3GetFabOpt() : 5
            i=0:ddr_modes[i]:cpuFreq[0003] fabFreq[0005] chipBoardRev[0005]
    DDR3 Init. -  DUNIT_STATIC: DEFINED
    DDR3 Init. -  AUTO_DETECTION_SUPPORT: UNDEFINED
    DDR3 Init. -  MV88F78X60: DEFINED
    DDR3 Init. -  DUNIT_SPD: UNDEFINED
    DDR3 Training Sequence - HW Training Procedure
    DDR3 Training Sequence - Switching XBAR Window to FastPath Window
    Buffalo : Over write the parameter 0x1538 -> 0x00000009
    Buffalo : Over write the parameter 0x153C -> 0x0000000f
    DDR3 Training Sequence - Ended Successfully
    BootROM: Image checksum verification PASSED
    
    U-Boot 2011.12 (Oct 18 2013 - 04:32:11) Marvell version: 2012_Q4.2
    
    Board: BUFFALO TeraStation =TS3400D=
    SoC:   MV78230 B0
           running 2 CPUs
           Custom configuration
    CPU:   Marvell PJ4B (584) v7 (Rev 2) LE
           CPU 0
           CPU    @ 1333 [MHz]
           L2     @ 667 [MHz]
           TClock @ 250 [MHz]
           DDR    @ 667 [MHz]
           DDR 32Bit Width, FastPath Memory Access
           DDR ECC Disabled
    DRAM:  1024 MiB
    
    Map:   Code:            0x3fee9000:0x3ff9df78
           BSS:             0x3ffef960
           Stack:           0x3f9d8ef8
           PageTable:       0x003e0000
           Heap:            0x3f9d9000:0x3fee9000
    
    NAND:  512 MiB
    MMC:   MRVL_MMC: 0
    SF: Detected MX25L8006E with page size 64 KiB, total 1 MiB
    PEX 0.0(0): Root Complex Interface, Detected Link X4, GEN 1.1
    PEX 1.0(1): Root Complex Interface, Detected Link X1, GEN 2.0
    u-boot envinit tval=fef96294
    BOOTVER=0.17
    FPU initialized to Run Fast Mode.
    USB 0: Host Mode
    USB 1: Host Mode
    USB 2: Host Mode
    sending BOOT_START
    Late init
    UCOM ID= 0
    boardId=4
    boot trigger=normal
    
    Marvell Serial ATA Adapter
    Integrated Sata device found
    Found adapter at bus 0, device 1 ... Scanning channels
    
    MAC Address : 10:6F:3F:xx:xx:8F
    boot drive not found.
    Net:   egiga0 [PRIME], egiga1
    Hit any key to stop autoboot:  0
    ** Bad partition 1 **
    ** Bad partition 1 **
    <>
    Wrong Image Format for bootm command
    ERROR: can't get kernel image!
    
    device nand0 , # parts = 1
     #: name                size            offset          mask_flags
     0: nandubifs           0x000020000000          0x000000000000          0
    
    active partition: nand0,0 - (nandubifs) 0x000020000000 @ 0x000000000000
    
    defaults:
    mtdids  : none
    mtdparts: none
    Creating 1 MTD partitions on "nand0":
    0x000000000000-0x000020000000 : "mtd=0"
    Bad block table found at page 262080, version 0x01
    Bad block table found at page 262016, version 0x01
    UBI: attaching mtd1 to ubi0
    UBI: physical eraseblock size:   131072 bytes (128 KiB)
    UBI: logical eraseblock size:    126976 bytes
    UBI: smallest flash I/O unit:    2048
    UBI: VID header offset:          2048 (aligned 2048)
    UBI: data offset:                4096
    UBI: attached mtd1 to ubi0
    UBI: MTD device name:            "mtd=0"
    UBI: MTD device size:            512 MiB
    UBI: number of good PEBs:        4088
    UBI: number of bad PEBs:         8
    UBI: max. allowed volumes:       128
    UBI: wear-leveling threshold:    4096
    UBI: number of internal volumes: 1
    UBI: number of user volumes:     1
    UBI: available PEBs:             0
    UBI: total number of reserved PEBs: 4088
    UBI: number of PEBs reserved for bad PEB handling: 40
    UBI: max/mean erase counter: 1/0
    UBIFS: recovery needed
    UBIFS: recovery deferred
    UBIFS: mounted UBI device 0, volume 0, name "nandubifs"
    UBIFS: mounted read-only
    UBIFS: file system size:   511586304 bytes (499596 KiB, 487 MiB, 4029 LEBs)
    UBIFS: journal size:       25649152 bytes (25048 KiB, 24 MiB, 202 LEBs)
    UBIFS: media format:       w4/r0 (latest is w4/r0)
    UBIFS: default compressor: LZO
    UBIFS: reserved for root:  5182151 bytes (5060 KiB)
    Loading file 'uImage.buffalo' to addr 0x01200000 with size 3628464 (0x00375db0)...
    Done
    Loading file 'initrd.buffalo' to addr 0x02600000 with size 24320911 (0x01731b8f)...
    Done
    <>
    ## Booting kernel from Legacy Image at 01200000 ...
       Image Name:   Linux-3.3.4
       Created:      2014-11-10  20:24:08 UTC
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    3628400 Bytes = 3.5 MiB
       Load Address: 00008000
       Entry Point:  00008000
       Verifying Checksum ... OK
    ## Loading init Ramdisk from Legacy Image at 02600000 ...
       Image Name:   initramfs.cpio
       Created:      2014-11-10  20:30:14 UTC
       Image Type:   ARM Linux RAMDisk Image (gzip compressed)
       Data Size:    24320847 Bytes = 23.2 MiB
       Load Address: 00000000
       Entry Point:  00000000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK
    
    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    Booting Linux on physical CPU 0
    Initializing cgroup subsys cpu
    Linux version 3.3.4 (jenkins@[email protected]) (gcc version 4.6.4 (Linaro GCC branch-4.6.4. Marvell GCC release 201307-2123.0cc69bb4 ) ) #1 SMP Mon Nov 10 14:24:03 CST 2014
    CPU: Marvell - PJ4Bv7 Processor [562f5842] revision 2 (ARMv7), cr=10c53c7d
    CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    Machine: Marvell Armada XP Development Board
    Using UBoot passing parameters structure
    Memory policy: ECC disabled, Data cache writealloc
    SMP: init cpus
    PERCPU: Embedded 7 pages/cpu @c0eee000 s6560 r8192 d13920 u32768
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 243839
    Kernel command line: console=ttyS0,115200 panic=5 mtdparts=armada-nand:-(nandubifs) ubi.mtd=1 BOOTVER=0.17 UBOOT_DATE=2013/10/18 nandboot=yes earlyprintk
    PID hash table entries: 4096 (order: 2, 16384 bytes)
    Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    Memory: 959MB = 959MB total
    Memory: 943140k/943140k available, 39896k reserved, 114684K highmem
    Virtual kernel memory layout:
        vector  : 0xffff0000 - 0xffff1000   (   4 kB)
        fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
        vmalloc : 0xf5800000 - 0xff000000   ( 152 MB)
        lowmem  : 0xc0000000 - 0xf5000000   ( 848 MB)
        pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
        modules : 0xbf000000 - 0xbfe00000   (  14 MB)
          .text : 0xc0008000 - 0xc06b5000   (6836 kB)
          .init : 0xc06b5000 - 0xc06eb9a0   ( 219 kB)
          .data : 0xc06ec000 - 0xc0726f00   ( 236 kB)
           .bss : 0xc0726f24 - 0xc0767838   ( 259 kB)
    SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    Hierarchical RCU implementation.
    NR_IRQS:211
    Initializing ArmadaXP SOC Timer 0
    sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms
    Calibrating delay loop... 1332.01 BogoMIPS (lpj=6660096)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 512
    Initializing cgroup subsys blkio
    CPU: Testing write buffer coherency: ok
    CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    SMP: prepare CPUs (2 cores)
    SMP: CPU 0 Waking up CPU 1
    Armada-XP Performance Monitor Unit detected (Marvell ID)!!!
    hw perfevents: enabled with Armada PJ4 PMU driver, 7 counters available
    Setting up static identity map for 0x4efe90 - 0x4efed4
    CPU1: Booted secondary processor
    CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    Brought up 2 CPUs
    SMP: Total of 2 processors activated (2664.03 BogoMIPS).
    devtmpfs: initialized
    xor: measuring software checksum speed
       arm4regs  :  1087.200 MB/sec
       8regs     :   957.600 MB/sec
       32regs    :  1184.000 MB/sec
    xor: using function: 32regs (1184.000 MB/sec)
    NET: Registered protocol family 16
    L0 cache Enabled
    Speculative Prefetch Disabled
    aurora_l2_init
    Aurora: Enabling L2
    Support IO coherency.
    
      Marvell Armada-XP BUFFALO TeraStation =TS3400D= Board -  Soc: MV88F7823 Rev 2 LE
      Detected Tclk 250000000, SysClk 667000000, FabricClk 667000000, PClk 1333000000
      LSP version: AXP_2.0.6
    
    gpiochip_add: registered GPIOs 0 to 67 on device: mv_gpio
    LCD 0 disabled (0).
    registered dev#0 asa ehci_marvell
    Marvell USB EHCI Host controller #0: f4827f00
    registered dev#1 asa ehci_marvell
    Marvell USB EHCI Host controller #1: f48b3000
    registered dev#2 asa ehci_marvell
    Marvell USB EHCI Host controller #2: f48b3100
    PCI-E: Cheking physical bus #0 (controller #0): Enabled - Link UP
    PCI-E: Cheking physical bus #1 (controller #4): Enabled - Link UP
    PCI host bridge to bus 0000:00
    pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe1ffffff]
    PCI: bus0: Fast back to back transfers disabled
    PCI host bridge to bus 0000:01
    pci_bus 0000:01: root bus resource [mem 0xe8000000-0xe9ffffff]
    PCI: bus1: Fast back to back transfers disabled
    pci 0000:01:01.0: BAR 0: assigned [mem 0xe8000000-0xe8001fff 64bit]
    pci 0000:00:01.0: BAR 0: assigned [mem 0xe0000000-0xe00fffff 64bit]
    pci 0000:00:01.0: BAR 2: can't assign io (size 0x100)
    bio: create slab  at 0
    raid6: int32x1    153 MB/s
    raid6: int32x2    235 MB/s
    raid6: int32x4    220 MB/s
    raid6: int32x8    255 MB/s
    raid6: using algorithm int32x8 (255 MB/s)
    vgaarb: loaded
    SCSI subsystem initialized
    Switching to clocksource axp_clocksource
    NET: Registered protocol family 2
    IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
    TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
    TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
    TCP: Hash tables configured (established 131072 bind 65536)
    TCP reno registered
    UDP hash table entries: 512 (order: 2, 16384 bytes)
    UDP-Lite hash table entries: 512 (order: 2, 16384 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: 23748K
    CESA test started: bufNum = 1, bufSize = 20000
    Cesa Test Start: pMbufSrc=f4900000, pFragsSrc=f485c000, pMbufDst=f4900800, pFragsDst=f485e000
    mvCesaInit: channels=2, session=32, queue=256
    cesadev_init(c06bea24)
    Armada XP hwmon thermal sensor initialized.
    ArmadaXP Power Managament Suspend Operations Initialized
    Initializing Armada-XP CPU power management  (WFI)
    MICON ctrl (C) BUFFALO INC. V.1.00 installed.
    Kernel event proc (C) BUFFALO INC. V.1.00 installed.
    MICON V2 (C) BUFFALO INC. V.2.00 installed.(IRQ=168)
    Error : NAK or Illegal Data Recived
    Error : NAK or Illegal Data Recived
    Error : NAK or Illegal Data Recived
    Buffalo Gpio Control Driver (C) BUFFALO INC. Ver.1.00 installed.
    Buffalo CPU Inerupts Driver (C) BUFFALO INC. Ver.0.01 alpha1 installed.
    initial_polarity_val = 0x00000000
    initial_polarity_val_high = 0x0000090f
    Buffalo GPIO SATA Hotplug Event Driver (C) BUFFALO INC. Ver.1.00 installed.-Polling mode-
    UPSDRV (C) BUFFALO INC. V.1.00 installed.
    BUFFALO UPS Recover Function Initialized.
      OMRON contact type ups shutdown support enabled!
    highmem bounce pool size: 64 pages
    VFS: Disk quotas dquot_6.5.2
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    Installing knfsd (copyright (C) 1996 [email protected]).
    NTFS driver 2.1.30 [Flags: R/O].
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    fuse init (API version 7.18)
    SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled
    SGI XFS Quota Management subsystem
    msgmni has been set to 1664
    async_tx: api initialized (async)
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    Initializing ths8200_init
    Initializing dove_adi9889_init
    mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
    mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
    mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
    mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
    mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
    mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
    Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0xd0012000 (irq = 41) is a 16550A
    console [ttyS0] enabled
    serial8250.3: ttyS1 at MMIO 0xd0012300 (irq = 44) is a 16550A
    serial8250.1: ttyS2 at MMIO 0xd0012100 (irq = 42) is a 16550A
    serial8250.2: ttyS3 at MMIO 0xd0012200 (irq = 43) is a 16550A
    brd: module loaded
    loop: module loaded
    ** BUFFALO Disable Command Queuing Function [sata_mv 0000:00:01.0] **
    704211ab 00100146 01000002 00000008
    e0000004 00000000 ffffff01 00000000
    00000000 00000000 00000000 11ab11ab
    00000000 00000040 00000000 0000013a
    00025001 00000000 00000000 00000000
    00806005 00000000 00000000 00000000
    00110010 00000081
    sata_mv 0000:00:01.0: Gen-IIE 32 slots 4 ports SCSI mode IRQ via INTx
    scsi0 : sata_mv
    scsi1 : sata_mv
    scsi2 : sata_mv
    scsi3 : sata_mv
    ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0022000 irq 58
    ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0024000 irq 58
    ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0026000 irq 58
    ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe0028000 irq 58
    sata_mv sata_mv.0: cannot get clkdev
    ** BUFFALO Disable Command Queuing Function [sata_mv sata_mv.0] **
    sata_mv sata_mv.0: slots 32 ports 2
    scsi4 : sata_mv
    scsi5 : sata_mv
    ata5: SATA max UDMA/133 irq 55
    ata6: SATA max UDMA/133 irq 55
    
    INFO: Found spi_flash 0 - base 0xf0000000, size 0x1000000
    INFO: flashInfoFill - Found 1 Flash Devices
    INFO: flash_map_init - detected 1 devices
    MTD: Initialize the spi_flash device at address 0xf0000000
    
    INFO: Io remapped successfully - phy addr = 0xf0000000, virt addr = 0xfab00000
    INFO: Using sflash to probe spi_flash at address 0xf0000000, size 0x1000000, width 2mSPI Serial flash detected @ 0xf0000000, 1024KB (16sec x 64KB)
     - detected OK - OK.
    armada-nand armada-nand.0: Initialize HAL based NFC in 8bit mode with DMA Disabled using BCH 4bit ECC
    NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit)
    Bad block table found at page 262080, version 0x01
    Bad block table found at page 262016, version 0x01
    1 cmdlinepart partitions found on MTD device armada-nand
    Creating 1 MTD partitions on "armada-nand":
    0x000000000000-0x000020000000 : "nandubifs"
    UBI: attaching mtd1 to ubi0
    UBI: physical eraseblock size:   131072 bytes (128 KiB)
    UBI: logical eraseblock size:    126976 bytes
    UBI: smallest flash I/O unit:    2048
    UBI: VID header offset:          2048 (aligned 2048)
    UBI: data offset:                4096
    ata1: SATA link down (SStatus 0 SControl 300)
    ata5: SATA link down (SStatus 0 SControl F300)
    ata2: SATA link down (SStatus 0 SControl 300)
    ata3: SATA link down (SStatus 0 SControl 300)
    UBI: max. sequence number:       3359
    UBI: attached mtd1 to ubi0
    UBI: MTD device name:            "nandubifs"
    UBI: MTD device size:            512 MiB
    UBI: number of good PEBs:        4088
    UBI: number of bad PEBs:         8
    UBI: number of corrupted PEBs:   0
    UBI: max. allowed volumes:       128
    UBI: wear-leveling threshold:    4096
    UBI: number of internal volumes: 1
    UBI: number of user volumes:     1
    UBI: available PEBs:             0
    UBI: total number of reserved PEBs: 4088
    UBI: number of PEBs reserved for bad PEB handling: 40
    UBI: max/mean erase counter: 1/0
    UBI: image sequence number:  596401107
    UBI: background thread "ubi_bgt0d" started, PID 471
    mv_eth_probe: port_mask=0xf, cpu_mask=0x3
    0 - Base 0x00000000 , Size = 0x40000000.
    4 - Base 0xf4000000 , Size = 0x00100000.
    8 - Base 0xe0000000 , Size = 0x02000000.
    10 - Base 0xe2000000 , Size = 0x02000000.
    12 - Base 0xe4000000 , Size = 0x02000000.
    14 - Base 0xe6000000 , Size = 0x02000000.
    16 - Base 0xe8000000 , Size = 0x02000000.
    20 - Base 0xea000000 , Size = 0x02000000.
    24 - Base 0xec000000 , Size = 0x02000000.
    26 - Base 0xee000000 , Size = 0x02000000.
    28 - Base 0xd0000000 , Size = 0x00100000.
    30 - Base 0xf0000000 , Size = 0x01000000.
    38 - Base 0xfff00000 , Size = 0x00100000.
    39 - Base 0xf2000000 , Size = 0x02000000.
    41 - Base 0xc8010000 , Size = 0x00010000.
    42 - Base 0xf4480000 , Size = 0x00010000.
    43 - Base 0xf4500000 , Size = 0x00100000.
      o 2 Giga ports supported
      o NETA acceleration mode 2
      o BM supported for CPU: 4 BM pools
      o RX Queue support: 1 Queues * 128 Descriptors
      o TX Queue support: 1 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 Loading network interface(s)
    
      o Port 0 is connected to Linux netdevice
    link down
            giga p=0: mtu=1500, mac=f483be6c
    ata4: SATA link down (SStatus 0 SControl 300)
        o eth0, ifindex = 2, GbE port = 0
    
      o Port 1 is connected to Linux netdevice
    link down
            giga p=1: mtu=1500, mac=f483be6c
        o eth1, ifindex = 3, GbE port = 1
    
    e1000e: Intel(R) PRO/1000 Network Driver - 1.5.1-k
    e1000e: Copyright(c) 1999 - 2011 Intel Corporation.
    PPP generic driver version 2.4.2
    NET: Registered protocol family 24
    i2c /dev entries driver
    rtc-rs5c372 0-0032: rs5c372a found, 24hr, driver version 0.6
    rtc-rs5c372 0-0032: rtc core: registered rtc-rs5c372 as rtc0
    md: linear personality registered for level -1
    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
    device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: [email protected]
    cpuidle: using governor ladder
    cpuidle: using governor menu
    mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
    Netfilter messages via NETLINK v0.30.
    ip_tables: (C) 2000-2006 Netfilter Core Team
    TCP cubic registered
    NET: Registered protocol family 17
    NET: Registered protocol family 5
    Registering the dns_resolver key type
    VFP support v0.3: implementor 56 architecture 2 part 20 variant 9 rev 6
    ata6: SATA link down (SStatus 0 SControl F300)
    Freeing init memory: 216K
    /init: line 9: /usr/sbin/depmod: No such file or directory
    ====== Entering initramfs(/init) ======
    grep: /var/tmp/signatureinfo: No such file or directory
    grep: /var/tmp/signatureinfo: No such file or directory
    grep: /var/tmp/signatureinfo: No such file or directory
    grep: /var/tmp/signatureinfo: No such file or directory
    grep: /var/tmp/signatureinfo: No such file or directory
    grep: /var/tmp/signatureinfo: No such file or directory
    grep: /var/tmp/signatureinfo: No such file or directory
    grep: /var/tmp/signatureinfo: No such file or directory
    CANDIDATE_NUM=0 : CANDIDATE_LIST=
    Selecting disk with not considering signature
    CANDIDATE_NUM=0 : CANDIDATE_LIST=
    libsys: nas_feature : using /root/.nas_features/JP/0x0000201E
    Checking the existance of micon ...
    #[miconapl.mcon_get_version]
    mcon_version=TS-M  Series V1.03
    libsys: /etc/sysctl.conf : using /root/.params/sysctl/0x0000201E
    ls: /dev/rtc: No such file or directory
    libsys: /dev/rtc was updated : /dev/rtc 254 0
    Wed Nov 14 00:15:54 2007  -0.991086 seconds
    Wed Nov 14 00:15:54 JST 2007
    LibSys_GetUsbDiskStartNum : Usb device not found(/sys/block/sda/device). Returning 1
    grep: /var/tmp/devlink: No such file or directory
    create_devlink:Using new routine.
    console
    panic
    mtdparts
    ubi.mtd
    BOOTVER
    UBOOT_DATE
    nandboot
    linuxrc:choose operation (timeout 4[s])
     1:RamRoot 2:NfsRoot 3:sda1 4:sda2 other:HddRoot  ? 
    
           ***** USB or NAND boot detected.   *****
           ***** Entering EM mode forcefully  *****
    
    -RamdiskRoot-
    --- rcStart (initrd) ---
    mount: mounting proc on /proc failed: Device or resource busy
    mount: mounting sysfs on /sys failed: Device or resource busy
    Cannot set device ring parameters: Operation not supported
    Cannot set device ring parameters: Operation not supported
    Cannot set device ring parameters: Operation not supported
    Cannot set device ring parameters: Operation not supported
    Cannot get device ring settings: No such device
    Cannot get device ring settings: No such device
    Cannot get device ring settings: No such device
    Cannot get device ring settings: No such device
    === checkroot.sh ===
    grep: /var/tmp/devlink: No such file or directory
    create_devlink:Using new routine.
    Unable to find swap-space signature
    swapon: /dev/md2: Invalid argument
    /sbin/hotplug [block]
    /sbin/hotplug [bdi]
    create dir : /var/www
    === create_devlink.sh ===
    create_devlink:Using new routine.
    === startSysMd.sh ===
    -- rebuild mdadm.conf for BOOT, ROOTFS with Intelligent routine --
    checkDiskStatus : disk1 unplugged
    checkDiskStatus : disk2 unplugged
    checkDiskStatus : disk3 unplugged
    checkDiskStatus : disk4 unplugged
    checkDiskPerformanceParallel : disk1 unplugged
    checkDiskPerformanceParallel : disk2 unplugged
    checkDiskPerformanceParallel : disk3 unplugged
    checkDiskPerformanceParallel : disk4 unplugged
    checkDiskPerformanceParallel : Waiting for performance check will be done(timeout=20).
    checkDiskPerformanceParallel : Disk which has performance lower than 30 MB/s will be kicked out.
    checkDiskPerformanceParallel : disk1 performance test skipped(unplugged)
    checkDiskPerformanceParallel : disk2 performance test skipped(unplugged)
    checkDiskPerformanceParallel : disk3 performance test skipped(unplugged)
    checkDiskPerformanceParallel : disk4 performance test skipped(unplugged)
    mount: mounting /dev/disk1_1 on /tmp/boot_test failed: No such file or directory
    mount: mounting /dev/disk2_1 on /tmp/boot_test failed: No such file or directory
    mount: mounting /dev/disk3_1 on /tmp/boot_test failed: No such file or directory
    mount: mounting /dev/disk4_1 on /tmp/boot_test failed: No such file or directory
    libmd: GetMdBaseDisk : Selected 0
    mdadm: cannot open /dev/disk?_1: No such file or directory
    mdadm: cannot open /dev/disk??_1: No such file or directory
    mdadm: cannot open /dev/disk?_2: No such file or directory
    mdadm: cannot open /dev/disk??_2: No such file or directory
    mdadm: cannot open /dev/disk?_5: No such file or directory
    mdadm: cannot open /dev/disk??_5: No such file or directory
    mdadm: No devices listed in conf file were found.
    -- setup max error counts --
    /sys/block/md0/md/maxerr_cnt is setted to 1000
    /usr/local/lib/libmd: line 775: /sys/block/md0/md/maxerr_cnt: No such file or directory
    /sys/block/md1/md/maxerr_cnt is setted to 1000
    /usr/local/lib/libmd: line 775: /sys/block/md1/md/maxerr_cnt: No such file or directory
    /sys/block/md2/md/maxerr_cnt is setted to 1000
    /usr/local/bin/hdd_raid_syncspeed.sh: line 147: /sys/block/md0/md/sync_speed_max: No such file or directory
    /usr/local/bin/hdd_raid_syncspeed.sh: line 147: /sys/block/md1/md/sync_speed_max: No such file or directory
    /usr/local/bin/hdd_raid_syncspeed.sh: line 147: /sys/block/md2/md/sync_speed_max: No such file or directory
    === fwupdate.sh ===
    umount: can't umount /boot: Invalid argument
    mkdir: can't create directory '/boot': File exists
    EXT3-fs (md0): error: unable to read superblock
    /sbin/hotplug [block]
    /sbin/hotplug [bdi]
    EXT2-fs (md0): error: unable to read superblock
    EXT4-fs (md0): unable to read superblock
    FAT-fs (md0): unable to read boot sector
    FAT-fs (md0): unable to read boot sector
    isofs_fill_super: bread failed, dev=md0, iso_blknum=16, block=32
    /sbin/hotplug [block]
    /sbin/hotplug [bdi]
    /sbin/hotplug [block]
    /sbin/hotplug [bdi]
    /sbin/hotplug [bdi]
    /sbin/hotplug [block]
    /sbin/hotplug [bdi]
    /sbin/hotplug [block]
    mount: mounting /dev/md0 on /boot failed: Input/output error
    === closeSysMd.sh ===
    md: md0 stopped.
    mdadm: stopped /dev/md0
    /sbin/hotplug [block]
    /sbin/hotplug [block]
    /sbin/hotplug [bdi]
    /sbin/hotplug [bdi]
    /sbin/hotplug [block]
    md: md1 stopped.
    /sbin/hotplug [block]
    /sbin/hotplug [block]
    mdadm: stmd: md2 stopped.
    opped /dev/md1
    /sbin/hotplug [block]
    /sbin/hotplug [block]
    /sbin/hotplug [bdi]
    mdadm: stopped /dev/md2
    === sethostname.sh ===
    /sbin/hotplug [block]
    /sbin/hotplug [block]
    /sbin/hotplug [bdi]
    /sbin/hotplug [block]
    configure files from Buffalo parameters.
    === restore_config.sh ===
    -- rebuild mdadm.conf for BOOT --
    mdadm: cannot open /dev/disk?_1: No such file or directory
    mdadm: cannot open /dev/disk??_1: No such file or directory
    mdadm: No devices listed in conf file were found.
    -- setup max error cEXT3-fs (md0): error: unable to read superblock
    ounts --
    /sys/block/md0/md/maxerr_cnt is setted to 1000
    /usr/local/lib/libmd: line 775: /sys/block/md0/md/maxerr_cnt: No such file or directory
    /sbin/hotplug [block]
    /sbin/hotplug [bdi]
    EXT2-fs (md0): error: unable to read superblock
    EXT4-fs (md0): unable to read superblock
    FAT-fs (md0): unable to read boot sector
    FAT-fs (md0): unable to read boot sector
    isofs_fill_super: bread failed, dev=md0, iso_blknum=16, block=32
    /sbin/hotplug [bdi]
    /sbin/hotplug [block]
    /sbin/hotplug [block]
    /sbin/hotplug [bdi]
    /sbin/hotplug [bdi]
    /sbin/hotplug [block]
    /sbin/hotplug [bdi]
    /sbin/hotplug [block]
    mount: mounting /dev/md0 on /boot failed: Input/output error
    Restore previous configuration files
    tar (child): /boot/conf_save.tgz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    /bin/tar: Child returned status 2
    /bin/tar: Error is not recoverable: exiting now
    tar (child): /boot/conf_save.tgz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    /bin/tar: Child returned status 2
    /bin/tar:md: md0 stopped.
     Error is not recoverable: exiting now
    unzip  fail.
    /tmp/etc/localtime ->
    umount: can't umount /boot: Invalid argument
    rootfs on / type rootfs (rw,relatime)
    proc on /proc type proc (rw,relatime)
    sysfs on /sys type sysfs (rw,relatime)md: md1 stopped.
    
    devpts on /dev/pts type devpts (rw,relatime,gid=4,mode=620)
    /dev/ram1 on /mnt/ram type tmpfs (rw,relatime,size=15360k)
    PID   USER     COMMAND
        1 root     init
        2 root     [kthreadd]
        3 root     [ksoftirqd/0]
        4 root     [kworker/0:0]
        5 root     [kworker/u:0]
        6 root     [migration/0]
        7 root     [migramd: md2 stopped.
    tion/1]
        8 root     [kworker/1:0]
        9 root     [ksoftirqd/1]
       10 root     [khelper]
       11 root     [kdevtmpfs]
       12 root     [kworker/u:1]
      154 root     [sync_supers]
      156 root     [bdi-default]
      158 root     [kblockd]
      165 root     [ata_sff]
      175 root     [md]
      195 root     [rpciod]
      196 root     [kworker/0:1]
      212 root     [kswapd0]
      263 root     [fsnotify_mark]
      280 root     [nfsiod]
      299 root     [xfs_mru_cache]
      300 root     [xfslogd]
      301 root     [xfsdatad]
      302 root     [xfsconvertd]
      304 root     [crypto]
      415 root     [scsi_eh_0]
      418 root     [scsi_eh_1]
      421 root     [scsi_eh_2]
      424 root     [scsi_eh_3]
      427 root     [kworker/u:2]
      428 root     [kworker/u:3]
      429 root     [kworker/u:4]
      430 root     [kworker/u:5]
      438 root     [scsi_eh_4]
      441 root     [scsi_eh_5]
      444 root     [kworker/u:6]
      445 root     [kworker/u:7]
      456 root     [mtdblock0]
      462 root     [mtdblock1]
      468 root     [kworker/1:1]
      471 root     [ubi_bgt0d]
      742 root     {rcS} /bin/sh /etc/init.d/rcS
     1127 root     [kworker/0:2]
     1164 root     {restore_config.} /bin/sh /etc/init.d/restore_config.sh start
     1208 root     ps
    mdadm: stopped /dev/md0
    /sbin/hotplug [block]
    /sbin/hotplug [block]
    /sbin/hotplug [bdi]
    /sbin/hotplug [block]
    /sbin/hotplug [bdi]
    /sbin/hotplug [block]
    mdadm: stopped /dev/md1
    /sbin/hotplug [block]
    /sbin/hotplug [block]
    /sbin/hotplug [bdi]
    /sbin/hotplug [block]
    /sbin/hotplug [bdi]
    mdadm: stopped /dev/md2
    /sbin/hotplug [block]
    /sbin/hotplug [block]
    /sbin/hotplug [block]
    /sbin/hotplug [block]
    /sbin/hotplug [bdi]
    grep: /etc/melco/iscsi_info: No such file or directory
    Can't open /etc/melco/iscsi_info: No such file or directory.
    === EnablingAutoip.sh ===
    === networking.sh ===
    /etc/init.d/networking.sh : Clear /etc/dhcpc/dhcpcd-eth0.pid eth0
    /etc/init.d/networking.sh : Clear /etc/dhcpc/dhcpcd-eth1.pid eth1
    /etc/init.d/networking.sh : Clear /etc/dhcpc/dhcpcd-bond0.pid bond0
    /etc/init.d/networking.sh : Read dhcpc file
    /etc/init.d/networking.sh : configure :
    create network files.. (eth0)
    IP=[dhcp], netmask=[], dgw=[], dns1=[], dns2=[]
    create network files.. (eth1)
    IP=[dhcp], netmask=[], dgw=[]
    killall: dhcpcd: no process killed
    /etc/init.d/networking.sh: line 91: /etc/init.d/networking.sh : Delete /etc/dhcpc/dhcpcd-.pid: No such file or directory
    Configuration network interface: lo eth0 eth1
    /sbin/ifconfig eth0 mtu 1500 multicast
    /sbin/ifconfig eth1 mtu 1500 multicast
    requesting DHCP  tout=30[s]
    networking.sh: dhcp requesting...
    DontDownIfacepool #1: pkt_size=1536, buf_size=1600 - 2048 of 2048 buffers added
    
    alwaysFork
    eth1: started
    ** eth1 : networking.sh dhcp fin.
    requesting DHCP  tout=30[s]
    networking.sh: dhcp requesting...
    SIOCGIFADDR :Cannot assign requested address
    Dopool #0: pkt_size=1536, buf_size=1600 - 2048 of 2048 buffers added
    ntDownIface
    alweth0: started
    aysFork
    sendto:  count 6   sync 1
    sendto:  count 5   sync 1
    ** eth0 : networking.sh dhcp fin.
    Waiting 1294 ...sendto:  count 6   sync 1
    sendto:  count 4   sync 1
    sendto:  count 5   sync 1
    sendto:  count 3   sync 1
    sendto:  count 4   sync 1
    sendto:  count 2   sync 1
    sendto:  count 3   sync 1
    sendto:  count 1   sync 1
    sendto:  count 2   sync 1
    sendto:  count 0   sync 1
    dhcpInit call AutoipBound
    setAutoIP eth1 called
    MAC address = 10:6f:3f:xx:xx:8f
    file name /etc/dhcpc/autoip-eth1.info
    /sbin/ifconfig eth1 169.254.242.46 netmask 255.255.0.0 up
    sendto:  count 1   sync 1
    sendto:  count 0   sync 1
    dhcpInit call AutoipBound
    setAutoIP eth0 called
    MAC address = 10:6f:3f:xx:xx:8e
    file name /etc/dhcpc/autoip-eth0.info
    /sbin/ifconfig eth0 169.254.136.74 netmask 255.255.0.0 up
    Arp result 0
    /etc/init.d/rService
    finished.
    Waiting 1298 ...Arp result 0
    /etc/init.d/rService
    finished.
    Checking network address for each network device
    Warn!!! eth0 and eth1 has same network address!
    Waiting fot linkup detection
    ..........networking.sh: Each network is not same in physically(or virtually).
    networking.sh:         Shutting down eth1
    eth1: stopped
    eth1: started
    networking.sh: arp_newip_notify_sub : executing arping -A 169.254.136.74 -I eth0 -c 1
    networking.sh: arp_newip_notify_sub : Can't get ipaddr of eth1.
    add default if
    configure files from Buffalo parameters.
    === syslog.sh ===
    using /sbin/syslogd
    using /sbin/klogd
    Starting system logger: load_info ItemValue = off
    LoadConfFileStringEx:key=[ad_dns] not found in /etc/melco/info.
    LoadConfFileOnOffEx:key=[info_visible] not found in /etc/melco/info.
    LoadConfFileStringEx:key=[array2] not found in /etc/melco/diskinfo.
    LoadConfFileStringEx:key=[disk3] not found in /etc/melco/diskinfo.
    LoadConfFileStringEx:key=[disk4] not found in /etc/melco/diskinfo.
    LoadConfFileStringEx:key=[usb_disk3] not found in /etc/melco/diskinfo.
    LoadConfFileStringEx:key=[usb_disk4] not found in /etc/melco/diskinfo.
    LoadConfFileOnOffEx:key=[smb2] not found in /etc/melco/info.
    LoadConfFileOnOffEx:key=[recycle_admin] not found in /etc/melco/info.
    LoadConfFileOnOffEx:key=[recycle_macinfo] not found in /etc/melco/info.
    
    Starting kernel logger:
    === kernelmon.sh ===
    Starting kernelmon:=== miconmon.sh ===
    KERNELMOn (SATA 0 unplugged)
    KERNELMOn (SATA 1 unplugged)
    KERNELMOn (SATA 2 unplugged)
    KERNELMOn (SATA 3 unplugged)
    KERNELMOn (lanact 0 half eth0)
    === usb.sh ===
    /etc/init.d/usb.sh: line 97: depmod: command not found
    /sbin/hotplug [module]
    /sbin/hotplug [module]
    /sbin/hotplug [bus]
    usbcore: registered new interface driver usbfs
    /sbin/hotplug [drivers]
    /sbin/hotplug [class]
    usbcore: registered new interface driver hub
    /sbin/hotplug [drivers]
    KERNELMOn (lanacusbcore: registered new device driver usb
    t 0 half eth1)
    /sbin/hotplug [drivers]
    xhci_hcd 0000:01:01.0: xHCI Host Controller
    xhci_hcd 0000:01:01.0: new USB bus registered, assigned bus number 1
    /sbin/hotplug [module]
    xhci_hcd 0000:01:01.0: irq 62, io mem 0xe8000000
    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: xHCI Host Controller
    usb usb1: Manufacturer: Linux 3.3.4 xhci_hcd
    usb usb1: SerialNumber: 0000:01:01.0
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 2 ports detected
    /sbin/hotplug [usb]
    xhci_hcd 0000:01:01.0: xHCI Host Controller
    xhci_hcd 0000:01:01.0: new USB bus registered, assigned bus number 2
    /sbin/hotplug [uusb usb2: New USB device found, idVendor=1d6b, idProduct=0003
    sb_device]
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: xHCI Host Controller
    usb usb2: Manufacturer: Linux 3.3.4 xhci_hcd
    /sbin/hotplug [uusb usb2: SerialNumber: 0000:01:01.0
    sb]
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 2 ports detected
    /sbin/hotplug [usb]
    /sbin/hotplug [usb]
    /sbin/hotplug [usb_device]
    /sbin/hotplug [drivers]
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    ehci_marvell ehci_marvell.0: Marvell Orion EHCI
    ehci_marvell ehci_marvell.0: new USB bus registered, assigned bus number 3
    /sbin/hotplug [module]
    ehci_marvell ehci_marvell.0: irq 45, io base 0xfbb50100
    ehci_marvell ehci_marvell.0: USB 2.0 started, EHCI 1.00
    usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb3: Product: Marvell Orion EHCI
    usb usb3: Manufacturer: Linux 3.3.4 ehci_hcd
    usb usb3: SerialNumber: ehci_marvell.0
    hub 3-0:1.0: USB hub found
    hub 3-0:1.0: 1 port detected
    /sbin/hotplug [usb]
    /sbin/hotplug [usb]
    ehci_marvell ehci_marvell.1: Marvell Orion EHCI
    ehci_marvell ehci_marvell.1: new USB bus registered, assigned bus number 4
    /sbin/hotplug [usb_device]
    ehci_marvell ehci_marvell.1: irq 46, io base 0xfbb51100
    ehci_marvell ehci_marvell.1: USB 2.0 started, EHCI 1.00
    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: Marvell Orion EHCI
    usb usb4: Manufacturer: Linux 3.3.4 ehci_hcd
    usb usb4: SerialNumber: ehci_marvell.1
    hub 4-0:1.0: USB hub found
    hub 4-0:1.0: 1 port detected
    /sbin/hotplug [usb]
    /sbin/hotplug [usb]
    ehci_marvell ehci_marvell.2: Marvell Orion EHCI
    ehci_marvell ehci_marvell.2: new USB bus registered, assigned bus number 5
    /sbin/hotplug [usb_device]
    ehci_marvell ehci_marvell.2: irq 47, io base 0xfbb52100
    ehci_marvell ehci_marvell.2: USB 2.0 started, EHCI 1.00
    usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb5: Product: Marvell Orion EHCI
    usb usb5: Manufacturer: Linux 3.3.4 ehci_hcd
    usb usb5: SerialNumber: ehci_marvell.2
    hub 5-0:1.0: USB hub found
    hub 5-0:1.0: 1 port detected
    /sbin/hotplug [usb]
    /sbin/hotplug [usb]
    /sbin/hotplug [usb_device]
    /sbin/hotplug [drivers]
    /sbin/hotplug [drivers]
    ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    /sbin/hotplug [module]
    /sbin/hotplug [drivers]
    uhci_hcd: USB Universal Host Controller Interface driver
    /sbin/hotplug [module]
    /sbin/hotplug [drivers]
    usbcore: registered new interface driver libusual
    /sbin/hotplug [module]
    /sbin/hotplug [module]
    Initializing USB Mass Storage driver...
    
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    /sbin/hotplug [drivers]
    usbcore: registered new interface driver usblp
    /sbin/hotplug [module]
    /sbin/hotplug [drivers]
    usbcore: registered new interface driver usbhid
    usbhid: USB HID core driver
    /sbin/hotplug [module]
    /sbin/hotplug [drivers]
    /sbin/hotplug [drivers]
    grep: /etc/melco/usbshareinfo: No such file or directory
    /usr/local/lib/libsys: line 1154: sqlite3: command not found
    grep: /etc/melco/usbshareinfo: No such file or directory
    /usr/local/lib/libsys: line 1154: sqlite3: command not found
    grep: /etc/melco/usbshareinfo: No such file or directory
    /usr/local/lib/libsys: line 1154: sqlite3: command not found
    grep: /etc/melco/usbshareinfo: No such file or directory
    /usr/local/lib/libsys: line 1154: sqlite3: command not found
    /usr/local/lib/libsys: line 1179: sqlite3: command not found
    /usr/local/lib/libsys: line 1179: sqlite3: command not found
    /usr/local/lib/libsys: line 1179: sqlite3: command not found
    /usr/local/lib/libsys: line 1179: sqlite3: command not found
    /usr/local/lib/libsys: line 1191: sqlite3: command not found
    /usr/local/lib/libsys: line 1191: sqlite3: command not found
    /usr/local/lib/libsys: line 1191: sqlite3: command not found
    /usr/local/lib/libsys: line 1191: sqlite3: command not found
    === clientUtil_servd.sh ===
    Starting clientUtil_server:
      ->Starting on eth1
      ->Starting on eth0
    === daemonwatch.sh ===
    === bootcomplete.sh ===
    No need to run drivecheck.sh
    BuffaloGpio_ChangePowerStatus > Writing 0x71
    /usr/local/bin/hdd_raid_syncspeed.sh: line 147: /sys/block/md0/md/sync_speed_max: No such file or directory
    /usr/local/bin/hdd_raid_syncspeed.sh: line 147: /sys/block/md1/md/sync_speed_max: No such file or directory
    /usr/local/bin/hdd_raid_syncspeed.sh: line 147: /sys/block/md2/md/sync_speed_max: No such file or directory
    hdd_raid_syncspeed.sh: Adding EDP md devices
    hdd_raid_syncspeed.sh: USERLAND_MD=md10 md11 md12 md13 md14 md20 md21 md22 md23 md24 md101 md102 md103 md104
    === micon_setup.sh ===
    SIOCGIFADDR :Cannot assign requested address
    /usr/local/bin/change_notify.sh:RAIDMODE on LCD is not supported on this model.
    === late_inspection_phase.sh ===
    === buffalo_rescue.sh ===
    BuffaloGpio_ChangePowerStatus > Writing 0x71
    shutdown_start.sh #4: miconapl -a shutdown_wait done.
    eth0: stopped
    eth1: stopped
    /sbin/hotplug [bdi]
    /sbin/hotplug [block]
    The system is going down NOW!
    Sent SIGTERM to all processes
    Sent SIGKILL to all processes
    Requesting system poweroff
    Shutting Down Marvell Ethernet Driver
    System halted.
    port 0 : Magic mode WoL disabled.
    port 1 : Magic mode WoL disabled.
    micon : Disabling WOL...
    >miconCntl_WolDisable
    >miconCntl_PowerOff
    >miconCntl_ShutdownWait
    
    

FortiGate 50Eメモ

ファームウェアヘッダ

gzip圧縮前のデータに付するヘッダ

  0x0 - 0xf  : ?
 0x10 - 0x2f : Image Name
 0x30 - 0x17f: ?
0x180 - 0x183: Kernel Offset*
0x184 - 0x187: Kernel Length*
0x188 - 0x18b: RootFS Offset (ext2)*
0x18c - 0x18f: RootFS Length (ext2)*
0x190 - 0x193: DTB Offset
0x194 - 0x197: DTB Length
0x198 - 0x19b: Data Offset (jffs2)
0x19c - 0x19f: Data Length (jffs2)
0x1a0 - 0x1ff: ?

*: required for bootloader tftp
  • initramfsイメージとして投入する場合、Kernel Offset/Length, RootFS Offset/Lengthのみでチェックを通せた。RootFSの値2つについては、initramfsイメージにおいてはデータが存在しない為、0xFFFF0000(LE値の為、実際の値は 0x0000FFFF (65535 bytes))を置くことで通せた。マイナスにすると恐らくデータが存在しない扱いになってエラーとなる。
  • DTBのOffset/Lengthが存在しない場合、ブートローダはTFTPで渡したイメージを直接ブートする際bootargsを渡さなくなる模様。

その他

  • ブートローダにTFTPで渡すデータはgzipで圧縮されている必要がある。gzip圧縮する際のファイル名もチェックされているようで、 “FGT50E-0.00-FW-build0000-000000-patch00” の名前で通ることを確認済み。恐らくいくらか短縮可能で、最初の “FGT50E-” くらいしか見ていないような気もする(未検証)。→ “FGT50E” だけでチェックを通せた。
  • フロントのLAN1-5のSPEED LED 2色(緑/橙)とWAN1, WAN2のSPEED LED 2色のうち緑の計12個のLEDは、PHYやSwitchの直接管理ではなくI2CのGPIOエキスパンダにより提供されている。OpenWrtにおいてはPHYやSwitchがリンクスピードによるLEDトリガを提供しない為、メーカーファームのような挙動は恐らく不可。
    尚、WAN1, WAN2のSPEED LEDのうち橙 (100Mbps)についてはPHYの直接管理となっている為、100Mbpsでリンクした際問題無く点灯する。
    また、LINK/ACT LEDは全てPHY/Switchによる管理である為、これも問題無く機能する。
  • フロントに存在するLEDのうち、1か所に2色を持つものは両方を同時に点灯させることはできない配線になっている模様。
    片方を点けた状態でもう片方を点けようとすると、先に点いていた方が消灯し、後に点けようとした方も点灯しない。

FortiGate 50E

ヤフオクでサポートできそうなデバイスを探していた際、商品説明の “get hardware status” に含まれていた “Network Card Chipset” の “Marvell NETA” を見て衝動的に確保したもの(netaはMarvell SoCのイーサネットアダプタ)。
サポートできるかわからないものの、弄っていくのでメモ。

Switch, PHY

zone WAN LAN (88E6176)
port
(FG-50E)
WAN2 WAN1 5 4 3 2 1
port (88E1512, addr:0x0) (88E1512, addr:0x1) 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

Fortinetのブート用プログラム?が呼ばれてしまう為U-Boot本体では中断できず

  • (ブートメニュー)
    [C]: Configure TFTP parameters.
    [R]: Review TFTP parameters.
    [T]: Initiate TFTP firmware transfer.
    [F]: Format boot device.
    [I]: System information.
    [B]: Boot with backup firmware and set as default.
    [Q]: Quit menu and continue to boot.
    [H]: Display this list of options.
    

  • [I]: System information. -> [I]: Display system information.
    Vendor ID       : Fortinet
    CPU family      : Cortex
    CPU model       : Cortex-A9
    CPU MHz         : 1600 MHz
    Cache size      : 64 KB
    Memory          : DDR SDRAM 2GB
    Platform ID   : FGT50E
    Serial number : FGT50E3Uxxxxxxxx
    BIOS       Ver:05000016
    Restricted mode : Disable
    Menu timeout    : 60
    

  • [R]: Review TFTP parameters.
    Image download port:    WAN1
    DHCP status:            Disabled
    Local VLAN ID:
    Local IP address:       192.168.1.188
    Local subnet mask:      255.255.255.0
    Local gateway:          192.168.1.254
    TFTP server IP address: 192.168.1.168
    Firmware file name:     image.out
    

  • [T]: Initiate TFTP firmware transfer.
    Please connect TFTP server to Ethernet port 'WAN1'.
    
    MAC: 70:4c:a5:26:4d:7c
    
    Connect to tftp server 192.168.1.168 ...
    
    ###########
    Image Received.
    Checking image... OK
    Save as Default firmware/Backup firmware/Run image without saving:[D/B/R]?
    

Kernel

FortiGateとしてのコンソールが表示されるのみ(dmesg無し

  • bootlog
     
    
    FortiGate-50E (17:37-01.31.2017)
    Ver:05000016
    Serial number: FGT50E3Uxxxxxxxx
    CPU(00): 1600MHz
    Total RAM: 2GB
    Initializing boot device...
    Initializing MAC... egiga1
    Please wait for OS to boot, or press any key to display configuration menu..........
    
    Booting OS...
    
    Reading boot image... 2808320 bytes.
    Initializing firewall...
    
    
    
    
    
    
    
    System is starting...
    
    
    FGT50E3Uxxxxxxxx login: 
    

SA-W2 OpenWrt 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.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.92 ([email protected]) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 12.2.0 r21272+750-b97e5ac785) 12.2.0, GNU ld (GNU Binutils) 2.39) #0 SMP Sat Feb 11 07:41:35 2023
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: IIJ SA-W2
[    0.000000] Memory policy: Data cache writealloc
[    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 11 pages/cpu s14028 r8192 d22836 u45056
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line: console=ttyS0,115200n8
[    0.000000] Bootloader command line not present
[    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: 246328K/262144K available (8192K kernel code, 631K rwdata, 1884K rodata, 1024K init, 232K bss, 15816K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: DT/platform modifies aux control register: 0x06070000 -> 0x16070000
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000001] sched_clock: 64 bits at 533MHz, resolution 1ns, wraps every 2199023255551ns
[    0.000022] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x7aed16d152, max_idle_ns: 440795225656 ns
[    0.000043] Switching to timer-based delay loop, resolution 1ns
[    0.000215] Ignoring duplicate/late registration of read_current_timer delay
[    0.000224] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.000445] Calibrating delay loop (skipped), value calculated using timer frequency.. 1066.00 BogoMIPS (lpj=5330000)
[    0.000458] pid_max: default: 32768 minimum: 301
[    0.000578] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000590] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001095] CPU: Testing write buffer coherency: ok
[    0.001115] CPU0: Spectre v2: using BPIALL workaround
[    0.001237] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001659] Setting up static identity map for 0x100000 - 0x100060
[    0.001762] mvebu-soc-id: MVEBU SoC ID=0x6810, Rev=0x4
[    0.001869] mvebu-pmsu: Initializing Power Management Service Unit
[    0.001956] rcu: Hierarchical SRCU implementation.
[    0.002062] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.002123] smp: Bringing up secondary CPUs ...
[    0.002129] smp: Brought up 1 node, 1 CPU
[    0.002136] SMP: Total of 1 processors activated (1066.00 BogoMIPS).
[    0.002144] CPU: All CPU(s) started in SVC mode.
[    0.004466] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.004533] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.004548] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[    0.004618] pinctrl core: initialized pinctrl subsystem
[    0.005311] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.005925] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.006484] thermal_sys: Registered thermal governor 'step_wise'
[    0.006542] cpuidle: using governor ladder
[    0.006700] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.006709] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.016828] cryptd: max_cpu_qlen set to 1000
[    0.018375] SCSI subsystem initialized
[    0.018594] usbcore: registered new interface driver usbfs
[    0.018624] usbcore: registered new interface driver hub
[    0.018647] usbcore: registered new device driver usb
[    0.019384] clocksource: Switched to clocksource arm_global_timer
[    0.019853] NET: Registered PF_INET protocol family
[    0.019961] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.020344] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.020373] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.020384] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.020404] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.020434] TCP: Hash tables configured (established 2048 bind 2048)
[    0.020476] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.020500] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.020624] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.020648] PCI: CLS 0 bytes, default 64
[    0.022327] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.025061] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.025069] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.027235] armada-38x-pinctrl d0018000.pinctrl: registered pinctrl driver
[    0.027748] gpio-2 (usb-hub-reset): hogged as output/high
[    0.027866] debugfs: Directory 'd0018100.gpio' with parent 'regmap' already present!
[    0.028192] debugfs: Directory 'd0018140.gpio' with parent 'regmap' already present!
[    0.028515] mvebu-pcie soc:pcie: host bridge /soc/pcie ranges:
[    0.028549] mvebu-pcie soc:pcie:      MEM 0x00d0080000..0x00d0081fff -> 0x0000080000
[    0.028572] mvebu-pcie soc:pcie:      MEM 0x00d0040000..0x00d0041fff -> 0x0000040000
[    0.028592] mvebu-pcie soc:pcie:      MEM 0x00d0044000..0x00d0045fff -> 0x0000044000
[    0.028610] mvebu-pcie soc:pcie:      MEM 0x00d0048000..0x00d0049fff -> 0x0000048000
[    0.028628] mvebu-pcie soc:pcie:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    0.028646] mvebu-pcie soc:pcie:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    0.028663] mvebu-pcie soc:pcie:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    0.028679] mvebu-pcie soc:pcie:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0200000000
[    0.028696] mvebu-pcie soc:pcie:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0300000000
[    0.028709] mvebu-pcie soc:pcie:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0300000000
[    0.028867] mvebu-pcie soc:pcie: PCI host bridge to bus 0000:00
[    0.028878] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.028890] pci_bus 0000:00: root bus resource [mem 0xd0080000-0xd0081fff] (bus address [0x00080000-0x00081fff])
[    0.028900] pci_bus 0000:00: root bus resource [mem 0xd0040000-0xd0041fff] (bus address [0x00040000-0x00041fff])
[    0.028909] pci_bus 0000:00: root bus resource [mem 0xd0044000-0xd0045fff] (bus address [0x00044000-0x00045fff])
[    0.028918] pci_bus 0000:00: root bus resource [mem 0xd0048000-0xd0049fff] (bus address [0x00048000-0x00049fff])
[    0.028927] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    0.028934] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    0.029028] pci 0000:00:01.0: [11ab:6810] type 01 class 0x060400
[    0.029279] pci 0000:00:03.0: [11ab:6810] type 01 class 0x060400
[    0.030432] PCI: bus0: Fast back to back transfers disabled
[    0.030443] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.030456] pci 0000:00:03.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.030552] pci 0000:01:00.0: [168c:002e] type 00 class 0x028000
[    0.030578] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x0000ffff 64bit]
[    0.030687] pci 0000:01:00.0: supports D1
[    0.030695] pci 0000:01:00.0: PME# supported from D0 D1 D3hot
[    0.031889] PCI: bus1: Fast back to back transfers disabled
[    0.031899] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.031988] pci 0000:02:00.0: [168c:003c] type 00 class 0x028000
[    0.032013] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.032047] pci 0000:02:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    0.032125] pci 0000:02:00.0: supports D1
[    0.032132] pci 0000:02:00.0: PME# supported from D0 D1 D3hot
[    0.033319] PCI: bus2: Fast back to back transfers disabled
[    0.033329] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    0.033370] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe00fffff]
[    0.033383] pci 0000:00:03.0: BAR 8: assigned [mem 0xe0200000-0xe04fffff]
[    0.033394] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe000ffff 64bit]
[    0.033410] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.033420] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    0.033439] pci 0000:02:00.0: BAR 0: assigned [mem 0xe0200000-0xe03fffff 64bit]
[    0.033455] pci 0000:02:00.0: BAR 6: assigned [mem 0xe0400000-0xe040ffff pref]
[    0.033464] pci 0000:00:03.0: PCI bridge to [bus 02]
[    0.033473] pci 0000:00:03.0:   bridge window [mem 0xe0200000-0xe04fffff]
[    0.033805] mv_xor d0060800.xor: Marvell shared XOR driver
[    0.099963] mv_xor d0060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.100144] mv_xor d0060900.xor: Marvell shared XOR driver
[    0.159958] mv_xor d0060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    0.160176] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.160558] printk: console [ttyS0] disabled
[    0.180673] d0012000.serial: ttyS0 at MMIO 0xd0012000 (irq = 29, base_baud = 15625000) is a 16550A
[    1.131419] printk: console [ttyS0] enabled
[    1.139287] loop: module loaded
[    1.147087] spi-nor spi1.0: w25q256 (32768 Kbytes)
[    1.152239] 5 fixed-partitions partitions found on MTD device spi1.0
[    1.158636] OF: Bad cell count for /soc/spi@10680/flash@0/partitions
[    1.165067] OF: Bad cell count for /soc/spi@10680/flash@0/partitions
[    1.171679] OF: Bad cell count for /soc/spi@10680/flash@0/partitions
[    1.178073] OF: Bad cell count for /soc/spi@10680/flash@0/partitions
[    1.184554] Creating 5 MTD partitions on "spi1.0":
[    1.189364] 0x000000000000-0x000000100000 : "bootloader"
[    1.195773] 0x000000100000-0x000000110000 : "bootloader-env"
[    1.201817] 0x000000110000-0x000000200000 : "board_info"
[    1.207838] 0x000000200000-0x000001100000 : "firmware"
[    1.213944] 2 seil-fw partitions found on MTD device firmware
[    1.219740] Creating 2 MTD partitions on "firmware":
[    1.224723] 0x000000000000-0x000000370000 : "kernel"
[    1.230260] 0x000000370000-0x000000f00000 : "rootfs"
[    1.235531] mtd: setting mtd5 (rootfs) as root device
[    1.240947] 1 squashfs-split partitions found on MTD device rootfs
[    1.247152] 0x000000800000-0x000000f00000 : "rootfs_data"
[    1.252952] 0x000001100000-0x000002000000 : "rescue"
[    1.265188] mv88e6085 d0072004.mdio-mii:00: switch 0x1720 detected: Marvell 88E6172, revision 1
[    1.443907] mvneta_bm d00c8000.bm: Buffer Manager for network controller enabled
[    1.454326] mvneta d0070000.ethernet eth0: Using device tree mac address 00:e0:4d:3c:b7:18
[    1.462841] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.469405] ehci-platform: EHCI generic platform driver
[    1.474747] ehci-orion: EHCI orion driver
[    1.478926] orion-ehci d0058000.usb: EHCI Host Controller
[    1.484369] orion-ehci d0058000.usb: new USB bus registered, assigned bus number 1
[    1.492027] orion-ehci d0058000.usb: irq 45, io mem 0xd0058000
[    1.519431] orion-ehci d0058000.usb: USB 2.0 started, EHCI 1.00
[    1.525752] hub 1-0:1.0: USB hub found
[    1.529746] hub 1-0:1.0: 1 port detected
[    1.534267] usbcore: registered new interface driver usb-storage
[    1.540841] armada38x-rtc d00a3800.rtc: registered as rtc0
[    1.546421] armada38x-rtc d00a3800.rtc: setting system clock to 2003-08-17T08:39:27 UTC (1061109567)
[    1.555777] i2c_dev: i2c /dev entries driver
[    1.562692] orion_wdt: Initial timeout 171 sec
[    1.567436] sdhci: Secure Digital Host Controller Interface driver
[    1.573674] sdhci: Copyright(c) Pierre Ossman
[    1.578170] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.589004] marvell-cesa d0090000.crypto: CESA device successfully registered
[    1.596809] NET: Registered PF_INET6 protocol family
[    1.603097] Segment Routing with IPv6
[    1.606809] In-situ OAM (IOAM) with IPv6
[    1.610835] NET: Registered PF_PACKET protocol family
[    1.616270] 8021q: 802.1Q VLAN Support v1.8
[    1.620542] Registering SWP/SWPB emulation handler
[    1.629518] mv88e6085 d0072004.mdio-mii:00: switch 0x1720 detected: Marvell 88E6172, revision 1
[    1.819390] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.020176] hub 1-1:1.0: USB hub found
[    2.024130] hub 1-1:1.0: 2 ports detected
[    2.085576] mv88e6085 d0072004.mdio-mii:00: configuring for fixed/rgmii-id link mode
[    2.096704] mv88e6085 d0072004.mdio-mii:00: Link is Up - 1Gbps/Full - flow control off
[    2.197108] mv88e6085 d0072004.mdio-mii:00 ge1_0 (uninitialized): PHY [mv88e6xxx-1:00] driver [Marvell 88E1540] (irq=62)
[    2.311352] mv88e6085 d0072004.mdio-mii:00 ge1_1 (uninitialized): PHY [mv88e6xxx-1:01] driver [Marvell 88E1540] (irq=63)
[    2.419169] mv88e6085 d0072004.mdio-mii:00 ge1_2 (uninitialized): PHY [mv88e6xxx-1:02] driver [Marvell 88E1540] (irq=64)
[    2.531349] mv88e6085 d0072004.mdio-mii:00 ge1_3 (uninitialized): PHY [mv88e6xxx-1:03] driver [Marvell 88E1540] (irq=65)
[    2.639227] mv88e6085 d0072004.mdio-mii:00 ge0 (uninitialized): PHY [mv88e6xxx-1:04] driver [Marvell 88E1540] (irq=66)
[    2.653419] DSA: tree 0 setup
[    2.680484] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    2.688365] Freeing unused kernel image (initmem) memory: 1024K
[    2.694575] Run /sbin/init as init process
[    3.567347] init: Console is alive
[    3.570927] init: - watchdog -
[    5.646326] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.743371] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.753290] init: - preinit -
[    7.835269] random: jshn: uninitialized urandom read (4 bytes read)
[    7.945738] random: jshn: uninitialized urandom read (4 bytes read)
[    7.965435] random: jshn: uninitialized urandom read (4 bytes read)
[    8.751669] mvneta d0070000.ethernet eth0: configuring for fixed/rgmii link mode
[    8.759699] mvneta d0070000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[    8.767585] mv88e6085 d0072004.mdio-mii:00 ge1_0: configuring for phy/gmii link mode
[    8.777979] 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
[   10.980081] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[   11.002544] urandom-seed: Seed file not found (/etc/urandom.seed)
[   11.122461] procd: - early -
[   11.125424] procd: - watchdog -
[   11.764857] procd: - watchdog -
[   11.768237] procd: - ubus -
[   11.876687] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.883810] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.975926] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.984184] procd: - init -
Please press Enter to activate this console.
[   12.912244] random: jshn: uninitialized urandom read (4 bytes read)
[   12.936750] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.949554] random: ubus: uninitialized urandom read (4 bytes read)
[   12.988966] urngd: v1.0.2 started.
[   13.044494] kmodloader: loading kernel modules from /etc/modules.d/*
[   13.157079] random: crng init done
[   13.160530] random: 25 urandom warning(s) missed due to ratelimiting
[   13.252877] Loading modules backported from Linux version v6.1-rc8-0-g76dcd734eca2
[   13.260508] Backport generated by backports.git v5.15.81-1-41-g02e352527db5
[   13.687146] PPP generic driver version 2.4.2
[   13.692933] NET: Registered PF_PPPOX protocol family
[   13.707289] ath10k 5.15 driver, optimized for CT firmware, probing pci device: 0x3c.
[   13.715488] pci 0000:00:03.0: enabling device (0140 -> 0142)
[   13.721222] ath10k_pci 0000:02:00.0: enabling device (0140 -> 0142)
[   13.727733] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   14.103519] ath10k_pci 0000:02:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   14.112845] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   14.122764] ath10k_pci 0000:02: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
[   14.172961] ath10k_pci 0000:02:00.0: Loading BDF type 0
[   14.419606] ath10k_pci 0000:02:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   15.279325] ath10k_pci 0000:02:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   15.296045] ath10k_pci 0000:02:00.0: wmi print 'P 128 V 8 T 410'
[   15.302123] ath10k_pci 0000:02:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   15.310165] ath10k_pci 0000:02:00.0: wmi print 'alloc rem: 24984 iram: 38672'
[   15.373658] ath10k_pci 0000:02:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
[   15.383377] ath10k_pci 0000:02:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   15.532803] pci 0000:00:01.0: enabling device (0140 -> 0142)
[   15.538503] ath9k 0000:01:00.0: enabling device (0140 -> 0142)
[   15.644808] ieee80211 phy1: Atheros AR9287 Rev:2 mem=0xd0c80000, irq=81
[   15.654475] ath10k_pci 0000:02:00.0: DFS region 0x0 not supported, will trigger radar for every pulse
[   15.999865] kmodloader: done loading kernel modules from /etc/modules.d/*
[   33.774300] mvneta d0070000.ethernet eth0: Link is Down
[   33.795897] mvneta d0070000.ethernet eth0: configuring for fixed/rgmii link mode
[   33.803677] mvneta d0070000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   33.826372] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   33.848491] mv88e6085 d0072004.mdio-mii:00 ge1_0: configuring for phy/gmii link mode
[   33.879970] br-lan: port 1(ge1_0) entered blocking state
[   33.885324] br-lan: port 1(ge1_0) entered disabled state
[   33.932226] device ge1_0 entered promiscuous mode
[   33.936961] device eth0 entered promiscuous mode
[   34.069910] mv88e6085 d0072004.mdio-mii:00 ge1_1: configuring for phy/gmii link mode
[   34.099026] br-lan: port 2(ge1_1) entered blocking state
[   34.104412] br-lan: port 2(ge1_1) entered disabled state
[   34.176390] device ge1_1 entered promiscuous mode
[   34.188374] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   34.215252] jffs2_build_filesystem(): unlocking the mtd device... 
[   34.215262] done.
[   34.223434] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   34.226063] mv88e6085 d0072004.mdio-mii:00 ge1_2: configuring for phy/gmii link mode
[   34.318906] br-lan: port 3(ge1_2) entered blocking state
[   34.324286] br-lan: port 3(ge1_2) entered disabled state
[   34.369661] device ge1_2 entered promiscuous mode
[   34.388467] mv88e6085 d0072004.mdio-mii:00 ge1_3: configuring for phy/gmii link mode
[   34.536144] br-lan: port 4(ge1_3) entered blocking state
[   34.541535] br-lan: port 4(ge1_3) entered disabled state
[   34.604326] device ge1_3 entered promiscuous mode
[   34.639419] mv88e6085 d0072004.mdio-mii:00 ge0: configuring for phy/gmii link mode
[   38.135669] mv88e6085 d0072004.mdio-mii:00 ge0: Link is Up - 1Gbps/Full - flow control rx/tx
[   38.144192] IPv6: ADDRCONF(NETDEV_CHANGE): ge0: link becomes ready
[   63.117643] done.
[   63.119596] jffs2: notice: (2257) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   63.272817] overlayfs: upper fs does not support tmpfile.



BusyBox v1.36.0 (2023-02-11 07:41:35 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r22041+7-b932285141
 -----------------------------------------------------
=== 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.15.92",
        "hostname": "OpenWrt",
        "system": "ARMv7 Processor rev 1 (v7l)",
        "model": "IIJ SA-W2",
        "board_name": "iij,sa-w2",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "SNAPSHOT",
                "revision": "r22041+7-b932285141",
                "target": "mvebu/cortexa9",
                "description": "OpenWrt SNAPSHOT r22041+7-b932285141"
        }
}
root@OpenWrt:/# 

SA-W2 メモ

MPP

mpp00: uart0
mpp01: uart0
mpp02: usb(smsc_usb2514b_reset)
mpp03:
mpp04: mdio
mpp05: mdio
mpp06: ge0
mpp07: ge0
mpp08: ge0
mpp09: ge0
mpp10: ge0
mpp11: ge0
mpp12: ge0
mpp13: ge0
mpp14: ge0
mpp15: ge0
mpp16: ge0
mpp17: ge0
mpp18: key(init)
mpp19: led(green_wlan5g)
mpp20: led(red_wlan5g)
mpp21: ge1
mpp22:
mpp23:
mpp24: pcie(AR9287_reset)
mpp25:
mpp26:
mpp27: ge1
mpp28: ge1
mpp29: ge1
mpp30: ge1
mpp31: ge1
mpp32: ge1
mpp33: led(green_status)
mpp34: led(red_status)
mpp35: led(green_mobile)
mpp36: led(red_mobile)
mpp37: ge1
mpp38: ge1
mpp39: ge1
mpp40: ge1
mpp41: ge1
mpp42:
mpp43:
mpp44: led(green_wlan2g)
mpp45: led(red_wlan2g)
mpp46: led(green_power)
mpp47: led(red_power)
mpp48: usb(over current port0)
mpp49: usb(over current port1)
mpp50:
mpp51:
mpp52: usb(vbus_port0)
mpp53: usb(vbus_port1)
mpp54: led(green_usb1)
mpp55: led(green_usb0)
mpp56: spi1
mpp57: spi1
mpp58: spi1
mpp59: spi1

WXR-5950AX12メモ

“user_property” パーティション

このパーティション内のボリュームが削除されていた場合は、stockファームでのブート中に再構築される(再起動を挟む)

“user_property_ubi”
システム設定保存用(他の場所に無い個体情報の格納は恐らく無し)
“extra_property”
syslog保存用(gzip圧縮済)

stockにおける更新時の挙動

  1. 更新開始
  2. “rootfs_recovery” パーティションに書き込み
  3. 再起動
  4. U-Bootが “rootfs” と “rootfs_recovery” それぞれの “fw_hash” ボリュームに存在するMD5ハッシュを比較
  5. 比較したMD5ハッシュが同じならばそのまま “rootfs” に存在するkernelとrootfsでブート、異なるなら “rootfs_recovery” のkernelとrootfsでブート(以降 “rootfs_recovery” でブートしたものとする)
  6. ブート中にFSの正常性が確認できれば “rootfs_recovery” の中身を “rootfs” へ丸ごとコピー
  7. コピー実施前に取得したハッシュと比較し、一致していれば成功扱いで再起動
  8. U-Bootが “rootfs” と “rootfs_recovery” のMD5ハッシュを比較して一致していれば “rootfs” でブート
  9. ブート完了でファームウェアの更新も終了

主/副ファームウェアの状況によるU-Bootの挙動

WXR-2533DHP(2)と異なり、片方に問題があってもU-BootではなくOSにコピーなど復旧作業を任せている印象

# fw_hashボリューム

U-BootにおけるMD5ハッシュのチェックは単純にrootfsとrootfs_recoveryのものに対する文字列での比較のみである模様(ハッシュ文字列のサイズがMD5の長さでなくても問題無い)

ボリュームが存在しハッシュが rootfs != rootfs_recovery
rootfs_recoveryでブートされる
rootfsのボリュームが存在しない
rootfs_recoveryでブートされる
rootfs_recoveryのボリュームが存在しない
rootfsでブートされる
なお、この状態でstockファームがブートされても消えたrootfs_recoveryのfw_hashボリュームの復旧は行われない模様(rootfs → rootfs_recovery のコピーなどが発生しない)
rootfs, rootfs_recoveryのどちらにもボリュームが存在しない
rootfs_recoveryでブートされる
なお、この状態でstockファームがブートされた場合はrootfs_recovery → rootfsのコピーが発生するものの fw_hash ボリュームが欠落したまま復旧されない為、再起動毎にU-Bootが常にrootfs_recoveryをブートし続けbootloopに陥る

AOSSボタンを押しながらブート

Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset),  D - Delta,  S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.3.1-00147
S - IMAGE_VARIANT_STRING=HAACANAZA
S - OEM_IMAGE_VERSION_STRING=CRM
S - Boot Config, 0x000002e5
B -       201 - PBL, Start
B -      2734 - bootable_media_detect_entry, Start
B -      3441 - bootable_media_detect_success, Start
B -      3445 - elf_loader_entry, Start
B -      6108 - auth_hash_seg_entry, Start
B -      6351 - auth_hash_seg_exit, Start
B -     68463 - elf_segs_hash_verify_entry, Start
B -    131158 - PBL, End
B -    217739 - SBL1, Start
B -    297100 - GCC [RstStat:0x10, RstDbg:0x600000] WDog Stat : 0x4
B -    306982 - pm_device_init, Start
B -    488976 - PM_SET_VAL:Skip
D -    179889 - pm_device_init, Delta
B -    491233 - pm_driver_init, Start
D -      5337 - pm_driver_init, Delta
B -    497760 - clock_init, Start
D -      2104 - clock_init, Delta
B -    501786 - boot_flash_init, Start
D -     12474 - boot_flash_init, Delta
B -    517951 - boot_config_data_table_init, Start
D -      3080 - boot_config_data_table_init, Delta - (575 Bytes)
B -    525423 - Boot Setting :  0x00000618
B -    529358 - CDT version:2,Platform ID:8,Major ID:1,Minor ID:0,Subtype:0
B -    536281 - sbl1_ddr_set_params, Start
B -    540094 - CPR configuration: 0x30c
B -    543449 - cpr_init, Start
B -    546316 - Rail:0 Mode: 5 Voltage: 800000
B -    551440 - CL CPR settled at 752000mV
B -    554276 - Rail:1 Mode: 5 Voltage: 880000
B -    558546 - Rail:1 Mode: 7 Voltage: 896000
D -     16531 - cpr_init, Delta
B -    565317 - Pre_DDR_clock_init, Start
B -    569435 - Pre_DDR_clock_init, End
B -    572729 - DDR Type : PCDDR3
B -    578493 - do ddr sanity test, Start
D -      1037 - do ddr sanity test, Delta
B -    583251 - DDR: Start of HAL DDR Boot Training
B -    587979 - DDR: End of HAL DDR Boot Training
B -    593682 - DDR: Checksum to be stored on flash is 1692210399
B -    603991 - Image Load, Start
D -    223931 - QSEE Image Loaded, Delta - (1373936 Bytes)
B -    828014 - Image Load, Start
D -        61 - SEC Image Loaded, Delta - (0 Bytes)
B -    835700 - Image Load, Start
D -     10705 - DEVCFG Image Loaded, Delta - (26004 Bytes)
B -    846497 - Image Load, Start
D -     25223 - RPM Image Loaded, Delta - (105964 Bytes)
B -    871812 - Image Load, Start
D -     96075 - APPSBL Image Loaded, Delta - (586920 Bytes)
B -    968009 - QSEE Execution, Start
D -        61 - QSEE Execution, Delta
B -    973804 - USB D+ check, Start
D -         0 - USB D+ check, Delta
B -    980209 - SBL1, End
D -    764788 - SBL1, Delta
S - Flash Throughput, 6728 KB/s  (2094071 Bytes,  311218 us)
S - DDR Frequency, 466 MHz
S - Core 0 Frequency, 1651 MHz

U-Boot 2016.01 [BUFFALO U-Boot Ver.1.01] (Jul 12 2019 - 17:37:52 +0900)

DRAM:  smem ram ptable found: ver: 1 len: 4
### Sys Mem Test Start: 41300000 - 4A900000
Memory Test start(0x41300000) end(0x4A900000) size(157286400)
Data line test start:0x41300000 pattern 0x00000001 0x00000003 0x00000007 0x0000000F 0x00000005 0x00000015 0x00000055 0xAAAAAAAA
Address line test start:0x41300000 len:0x9600000 pattern 0xAAAAAAAA 0x55555555
Fill test patnum:2
fill Pattern 5555AAAA  Writing...   Reading...
fill Pattern AAAA5555  Writing...   Reading...
### System Memory Test OK
### Work Memory Test Start: 50000000 - 80000000
Memory Test start(0x50000000) end(0x80000000) size(805306368)
Data line test start:0x50000000 pattern 0x00000001 0x00000003 0x00000007 0x0000000F 0x00000005 0x00000015 0x00000055 0xAAAAAAAA
Address line test start:0x50000000 len:0x30000000 pattern 0xAAAAAAAA 0x55555555
Fill test patnum:2
fill Pattern 5555AAAA  Writing...   Reading...
fill Pattern AAAA5555  Writing...   Reading...
### Work Memory Test OK 40000000
1 GiB
NAND:  ONFI device found
ID = 1590aaef
Vendor = ef
Device = aa
SF: Unsupported flash IDs: manuf ff, jedec ffff, ext_jedec ffff
ipq_spi: SPI Flash not found (bus/cs/speed/mode) = (0/0/48000000/0)
256 MiB
MMC:   : 0
In:    serial@78B3000
Out:   serial@78B3000
Err:   serial@78B3000
check product = WXR-5950AX12 / WXR-5950AX12 (32)
check ethaddr = 50:c4:dd:cb:ef:28 / 50:c4:dd:cb:ef:28 (6)
check wlan0addr = 50:c4:dd:cb:ef:30 / 50:c4:dd:cb:ef:30 (6)
check wlan1addr = 50:c4:dd:cb:ef:38 / 50:c4:dd:cb:ef:38 (6)
check wlan2addr = 00:00:00:00:00:00 / 00:00:00:00:00:00 (6)
check hw_rev = 0 / 0 (4)
check custom_id = 0 / 0 (4)
check melco_id = RD_18021 / RD_18021 (12)
check region = JP / JP (4)
check product_vendor = BUFFALO / BUFFALO (16)
check pincode = 98296002 / 98296002 (16)
check psk = hs54jg4775x44 / hs54jg4775x44 (16)
check admin_passwd = 7kam7e6h / 7kam7e6h (16)
machid: 8010000
Card did not respond to voltage select!
### AOSS check(51)  press!!

Net:   MAC0 addr:50:c4:dd:cb:ef:28
PHY ID1: 0x4d
PHY ID2: 0xd0b1

NAND read: Offset exceeds device limit
PHY ID1: 0x31c3
PHY ID2: 0x1c12

NAND read: Offset exceeds device limit
PHY ID1: 0x31c3
PHY ID2: 0x1c12
EDMA ver 1 hw init
Num rings - TxDesc:1 (0-0) TxCmpl:1 (7-7)
RxDesc:1 (15-15) RxFill:1 (7-7)
ipq807x_edma_alloc_rings: successfull
ipq807x_edma_setup_ring_resources: successfull
ipq807x_edma_configure_rings: successfull
ipq807x_edma_hw_init: successfull
eth0
ipq807x_eth_halt: done
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 up Speed :10 Full duplex
eth0 PHY4 Down Speed :10000 Full duplex
eth0 PHY5 Down Speed :10000 Full duplex
ipq807x_eth_init: done
Using eth0 device
TFTP from server 192.168.11.10; our IP address is 192.168.11.1
Filename 'WXR-5950AX12-initramfs.uImage'.
Load address: 0x44000000
Loading: *

MA-E350/N

もうだいぶ前に確保したものの、後回しにした結果すっかり書き忘れていたのでメモ。
ハードウェア自体はNXR-G100とほぼ同じと思われる

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))

Barebox

一般的なU-BootではなくBareboxが使用されている

  • help
    barebox@plum-ma[512MiB]:/ help
                        . - alias for source
                        ? - alias for help
                        [ - alias for test
                  addpart - adds a partition table to a device
                automount - automount [OPTIONS] <PATH> <cmd>
           barebox_update - update barebox
                 basename - strip directory and suffix from filenames
                     boot - boot the machine
                 bootinfo - bootinfo
                    bootm - boot an application image
                    bootu - start a raw linux image
                    bootz - start a zImage
                      cat - concatenate file(s)
                       cd - change working directory
                    clear - clear screen
                       cp - copy files
                  cpuinfo - Show info about CPU
                    crc32 - crc32 checksum calculation
                     date - date [MMDDhhmm[[CC]YY][.ss]]
                  delpart - delete partition(s)
                   detect - detect devices
                  devinfo - Show information about devices and drivers.
                     dhcp - invoke dhcp client to obtain ip/boot params
                    dipsw - dipsw
                  dirname - strip last component from file name
                     echo - echo args to console
                     edit - Usage: (s)edit <file>
                    erase - erase FLASH memory
                   ethact - set current ethernet device
                     exit - exit script
                   export - export environment variables
                    false - do nothing, unsuccessfully
                 filetype - detect file type
                 firminfo - firminfo
                   getopt - getopt <optstring> <var>
                   global - create or set global variables
                       go - start application at address or file
     gpio_direction_input - set direction of a gpio pin to input
    gpio_direction_output - set direction of a gpio pin to output
           gpio_get_value - return value of a gpio pin
           gpio_set_value - set a gpio's output value
                  gpiolib - dump current registered gpio
                     help - print online help
                i2c_probe - probe for an i2c device
                 i2c_read - read from an i2c device
                i2c_write - write to an i2c device
                    iomem - show iomem usage
                      led - led <led> <value>
                      let - evaluate arithmetic expressions
                    loadb - Load binary file over serial line (kermit mode)
                  loadenv - Load environment from ENVFS into DIRECTORY (default: /dev/env0 -> /env).
                    login - login
                       ls - list a file or directory
                 magicvar - List information about magic variables
                       md - memory display
                   md5sum - md5 checksum calculation
                   memcmp - memory compare
                   memcpy - memory copy
                  meminfo - print info about memory usage
                   memset - memory fill
                  memtest - Memory Test
                     menu - Menu Management
                  miitool - view media-independent interface status
                    mkdir - make directories
                       mm - memory modify write with mask
                  mmuinfo - mmuinfo <address>
                    mount - Mount a filesystem of a given type to a mountpoint or list mounted filesystems.
                   msleep - delay execution for n milliseconds
                 mtd_info - get information about MTD device.
                       mw - memory write (fill)
                     nand - NAND specific handling
                 nandtest - NAND Test
                      nfs - boot image via network using nfs protocol
                  of_node - handle of nodes
              of_property - handle of properties
                   oftree - handle devicetrees
                    param - param
                   passwd - passwd
                     ping - ping <destination>
                 printenv - Print value of one or all environment variables.
                  protect - enable flash write protection
                      pwd - print working directory
                 readline - prompt for user input
                 readlink - read value of a symbolic link
                    reset - Perform RESET of the CPU
                       rm - remove files
                    rmdir - remove directorie(s)
                  saveenv - save environment to persistent storage
                    sedit - alias for edit
                       sh - run shell script
                  sha1sum - sha1 checksum calculation
                sha256sum - sha256 checksum calculation
                    sleep - delay execution for n seconds
                   source - execute shell script in current shell environment
                      spi - write/read spi device
                     test - minimal test like /bin/sh
                     tftp - (up-)Load file using tftp protocol
                     time - measure execution time of a command
                  timeout - wait for a specified timeout
                  trigger - handle LED triggers
                     true - do nothing, successfully
                ubiattach - attach a mtd dev to ubi
                ubidetach - detach an ubi dev
                ubiformat - format an ubi volume
                 ubimkvol - create an ubi volume
                 ubirmvol - delete an ubi volume
                ubivolume - adds a UBI volume to a device
                   uimage - extract/verify uImage
                   umount - umount a filesystem
               uncompress - uncompress a compressed file
                unprotect - disable flash write protection
                  version - print monitor version
                   xio_id - xio_id
    
  • version
    barebox@plum-ma[512MiB]:/ version
    
    barebox 2013.12.0-00373-g5307ee1 #705 Wed Jun 3 15:27:29 JST 2015
    

  • printenv
    barebox@plum-ma[512MiB]:/ printenv
    locals:
    tmp=10
    firmware_pages=2
    overlay_driver=aufs
    usb_autosuspend=0
    dipsw=0
    console=ttyO1
    i=/env/init/timezone
    mtdparts=255M(nand0.UBI),1M(nand0.OOPS)
    NANDDEV=/dev/nand0.UBI
    UBIDEV=ubi0
    res=0
    pages=0
    key=
    autoboot=1
    globals:
    bootsource=spi
    bootsource_instance=0
    armlinux_architecture=3589
    PATH=/env/bin
    initsw=0
    PS1=\e[1;32mbarebox@\e[1;36m\h:\w\e[0m
    TZ=9
    

  • param
    barebox@plum-ma[512MiB]:/ param
    --- Hardware parameter(s) ---
    MAC Address(macaddr0):         00:80:6d:xx:xx:b0
    MAC Address(macaddr1):         00:80:6d:xx:xx:b1
    Manufacture date(mandate):     2014/10/21
    Serial No.(serial):            00020217
    Board No.(board_no):           01025
    Board Model(board_model):      00
    Board Revision(board_rev):     B
    Customer Code(customercode):   0000
    

  • devinfo
    barebox@plum-ma[512MiB]:/ devinfo
    devices:
    `---- global
    `---- platform
         `---- omap-gpio0
         `---- omap-gpio1
         `---- omap-gpio2
         `---- omap-gpio3
         `---- gpmc_nand0
              `---- nand0
                   `---- 0x00000000-0x0fffffff: /dev/nand0
                   `---- 0x00000000-0x107fffff: /dev/nand0.raw
                   `---- 0x00000000-0x007fffff: /dev/nand_oob0
                   `---- 0x00000000-0x0fefffff: /dev/nand0.UBI
                   `---- 0x0ff00000-0x0fffffff: /dev/nand0.OOPS
         `---- omap-uart1
              `---- cs0
         `---- mem0
              `---- 0x00000000-0x1fffffff: /dev/ram0
         `---- mem1
              `---- 0x00000000-0x0000659f: /dev/defaultenv
         `---- mem2
              `---- 0x00000000-0xfffffffe: /dev/mem
         `---- omap4-hsmmc0
              `---- mci0
         `---- omap4-spi0
              `---- m25p800
                   `---- m25p0
                        `---- 0x00000000-0x001fffff: /dev/m25p0
                        `---- 0x00000000-0x001fffff: /dev/m25p0.raw
                        `---- 0x00000000-0x0001ffff: /dev/spi.xload
                        `---- 0x00020000-0x0009ffff: /dev/spi.barebox
                        `---- 0x000a0000-0x000bffff: /dev/env0
                        `---- 0x000c0000-0x000dffff: /dev/spi.dtb.0
                        `---- 0x000e0000-0x000fffff: /dev/spi.dtb.1
                        `---- 0x00100000-0x0011ffff: /dev/spi.hist_firmup
                        `---- 0x00120000-0x001fffff: /dev/spi.hist_boot
         `---- i2c-am33xx0
              `---- i2c0
                   `---- tps652170
                   `---- tca65070
                   `---- lm750
                   `---- dummy0
                   `---- dummy1
                   `---- dummy2
                   `---- dummy3
                   `---- dummy4
                   `---- dummy5
                   `---- dummy6
                   `---- 24c160
                        `---- 0x00000000-0x000007ff: /dev/eeprom0
                   `---- ds13070
                        `---- 0x00000000-0xffffffffffffffff: /dev/rtc
         `---- cpsw0
              `---- miibus0
              `---- eth0
              `---- eth1
    `---- mdio_bus
    `---- spi
    `---- i2c
    `---- fs
         `---- ramfs0
         `---- devfs0
    `---- net
    
    drivers:
    ns16550_serial
    basic-mmio-gpio
    omap-gpio
    ext4
    ramfs
    devfs
    fat
    ubifs
    tftp
    nfs
    uimagefs
    zipfs
    Micrel KS8737
    Micrel KSZ8021
    Micrel KSZ8031
    Micrel KSZ8041
    Micrel KSZ8051
    Micrel KSZ8001 or KS8721
    Micrel KSZ9021 Gigabit PHY
    Micrel KSZ9031 Gigabit PHY
    Micrel KSZ8873MLL Switch
    cpsw
    Generic PHY
    gpmc_nand
    m25p80
    omap-spi
    i2c-omap
    omap-hsmmc
    gpio-leds
    tca6507
    at24
    gpio_keys
    ds1307
    mem
    cramfs
    
  • (vars +) tftp <filename>
    barebox@plum-ma[512MiB]:/ eth0.ipaddr=192.168.0.1
    barebox@plum-ma[512MiB]:/ eth0.serverip=192.168.0.111
    barebox@plum-ma[512MiB]:/ tftp 0101A8C0.img
    [#################################################################]
    

  • uimage -i/-v <filename>
    barebox@plum-ma[512MiB]:/ uimage -i 0101A8C0.img 
    Image at 0101A8C0.img:
       Image Name:   MIPS OpenWrt Linux-5.15.85
       Created:      2022-12-27  18:10:05 UTC
       OS:           Linux
       Architecture: MIPS
       Type:         Kernel Image
       Compression:  gzip compressed
       Data Size:    7724139 Bytes = 7.4 MiB
       Load Address: 80000000
       Entry Point:  80000400
    barebox@plum-ma[512MiB]:/ uimage -v 0101A8C0.img 
    verifying data crc... ok
    
  • help elx_check
    
    

Kernel

LinuxディストリビューションはDebian

  • uname -a
    user1@plum:~$ uname -a
    Linux plum 3.14.57+ #106 PREEMPT Wed Nov 11 14:07:58 JST 2015 armv7l armv7l armv7l GNU/Linux
    

  • cat /proc/version
    user1@plum:~$ cat /proc/version
    Linux version 3.14.57+ (root@jetson) (gcc version 4.9.3 (Ubuntu/Linaro 4.9.3-5ubuntu1~14.04) ) #106 PREEMPT Wed Nov 11 14:07:58 JST 2015
    

  • cat /proc/cpuinfo
    user1@plum:~$ cat /proc/cpuinfo
    processor       : 0
    model name      : ARMv7 Processor rev 2 (v7l)
    BogoMIPS        : 995.32
    Features        : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x3
    CPU part        : 0xc08
    CPU revision    : 2
    
    Hardware        : Generic AM33XX (Flattened Device Tree)
    Revision        : 0000
    Serial          : 0000000000000000
    

  • cat /proc/meminfo
    user1@plum:~$ cat /proc/meminfo
    MemTotal:         507436 kB
    MemFree:            9796 kB
    MemAvailable:     105820 kB
    Buffers:           23824 kB
    Cached:           339580 kB
    SwapCached:            0 kB
    Active:           241260 kB
    Inactive:         224220 kB
    Active(anon):     203360 kB
    Inactive(anon):   162812 kB
    Active(file):      37900 kB
    Inactive(file):    61408 kB
    Unevictable:           0 kB
    Mlocked:               0 kB
    HighTotal:             0 kB
    HighFree:              0 kB
    LowTotal:         507436 kB
    LowFree:            9796 kB
    SwapTotal:        253716 kB
    SwapFree:         253716 kB
    Dirty:                 0 kB
    Writeback:             0 kB
    AnonPages:        102092 kB
    Mapped:            16456 kB
    Shmem:            264096 kB
    Slab:              20768 kB
    SReclaimable:       7780 kB
    SUnreclaim:        12988 kB
    KernelStack:        1336 kB
    PageTables:         1564 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:      507432 kB
    Committed_AS:     536840 kB
    VmallocTotal:     499712 kB
    VmallocUsed:       15584 kB
    VmallocChunk:     402728 kB
    

  • cat /proc/mtd
    user1@plum:~$ cat /proc/mtd
    dev:    size   erasesize  name
    mtd0: 0ff00000 00020000 "UBI"
    mtd1: 00100000 00020000 "OOPS"
    mtd2: 0040f800 0001f800 "kernel.0"
    mtd3: 0040f800 0001f800 "kernel.1"
    mtd4: 00217800 0001f800 "initramfs.0"
    mtd5: 00217800 0001f800 "initramfs.1"
    mtd6: 00217800 0001f800 "kmod.0"
    mtd7: 00217800 0001f800 "kmod.1"
    mtd8: 0501a800 0001f800 "rootfs.0"
    mtd9: 0501a800 0001f800 "rootfs.1"
    mtd10: 0191a000 0001f800 "opt"
    mtd11: 02bce000 0001f800 "overlay"
    mtd12: 00020000 00010000 "MLO"
    mtd13: 00080000 00010000 "barebox.bin"
    mtd14: 00020000 00010000 "barebox.env"
    mtd15: 00020000 00010000 "dtb.0"
    mtd16: 00020000 00010000 "dtb.1"
    mtd17: 00020000 00010000 "hist_firmup"
    mtd18: 000e0000 00010000 "hist_boot"
    

  • ubinfo -a
    user1@plum:~$ ubinfo -a
    UBI version:                    1
    Count of UBI devices:           1
    UBI control device major/minor: 10:59
    Present UBI devices:            ubi0
    
    ubi0
    Volumes count:                           10
    Logical eraseblock size:                 129024 bytes, 126.0 KiB
    Total amount of logical eraseblocks:     2040 (263208960 bytes, 251.0 MiB)
    Amount of available logical eraseblocks: 0 (0 bytes)
    Maximum count of volumes                 128
    Count of bad physical eraseblocks:       0
    Count of reserved physical eraseblocks:  40
    Current maximum erase counter value:     3
    Minimum input/output unit size:          2048 bytes
    Character device major/minor:            243:0
    Present volumes:                         0, 1, 2, 3, 4, 5, 6, 7, 8, 9
    
    Volume ID:   0 (on ubi0)
    Type:        dynamic
    Alignment:   1
    Size:        33 LEBs (4257792 bytes, 4.1 MiB)
    State:       OK
    Name:        kernel.0
    Character device major/minor: 243:1
    -----------------------------------
    Volume ID:   1 (on ubi0)
    Type:        dynamic
    Alignment:   1
    Size:        33 LEBs (4257792 bytes, 4.1 MiB)
    State:       OK
    Name:        kernel.1
    Character device major/minor: 243:2
    -----------------------------------
    Volume ID:   2 (on ubi0)
    Type:        dynamic
    Alignment:   1
    Size:        17 LEBs (2193408 bytes, 2.1 MiB)
    State:       OK
    Name:        initramfs.0
    Character device major/minor: 243:3
    -----------------------------------
    Volume ID:   3 (on ubi0)
    Type:        dynamic
    Alignment:   1
    Size:        17 LEBs (2193408 bytes, 2.1 MiB)
    State:       OK
    Name:        initramfs.1
    Character device major/minor: 243:4
    -----------------------------------
    Volume ID:   4 (on ubi0)
    Type:        dynamic
    Alignment:   1
    Size:        17 LEBs (2193408 bytes, 2.1 MiB)
    State:       OK
    Name:        kmod.0
    Character device major/minor: 243:5
    -----------------------------------
    Volume ID:   5 (on ubi0)
    Type:        dynamic
    Alignment:   1
    Size:        17 LEBs (2193408 bytes, 2.1 MiB)
    State:       OK
    Name:        kmod.1
    Character device major/minor: 243:6
    -----------------------------------
    Volume ID:   6 (on ubi0)
    Type:        dynamic
    Alignment:   1
    Size:        651 LEBs (83994624 bytes, 80.1 MiB)
    State:       OK
    Name:        rootfs.0
    Character device major/minor: 243:7
    -----------------------------------
    Volume ID:   7 (on ubi0)
    Type:        dynamic
    Alignment:   1
    Size:        651 LEBs (83994624 bytes, 80.1 MiB)
    State:       OK
    Name:        rootfs.1
    Character device major/minor: 243:8
    -----------------------------------
    Volume ID:   8 (on ubi0)
    Type:        dynamic
    Alignment:   1
    Size:        204 LEBs (26320896 bytes, 25.1 MiB)
    State:       OK
    Name:        opt
    Character device major/minor: 243:9
    -----------------------------------
    Volume ID:   9 (on ubi0)
    Type:        dynamic
    Alignment:   1
    Size:        356 LEBs (45932544 bytes, 43.8 MiB)
    State:       OK
    Name:        overlay
    Character device major/minor: 243:10
    

  • ls -al /sys/class/leds/
    user1@plum:~$ ls -al /sys/class/leds/
    total 0
    drwxr-xr-x  2 root root 0 Jan  2 00:21 .
    drwxr-xr-x 43 root root 0 Jan  2 00:13 ..
    lrwxrwxrwx  1 root root 0 Jan  2 00:13 MobileLED_G1 -> ../../devices/leds_foma.7/leds/MobileLED_G1
    lrwxrwxrwx  1 root root 0 Jan  2 00:13 MobileLED_G2 -> ../../devices/leds_foma.7/leds/MobileLED_G2
    lrwxrwxrwx  1 root root 0 Jan  2 00:13 MobileLED_G3 -> ../../devices/leds_foma.7/leds/MobileLED_G3
    lrwxrwxrwx  1 root root 0 Jan  2 00:13 MobileLED_R1 -> ../../devices/leds_foma.7/leds/MobileLED_R1
    lrwxrwxrwx  1 root root 0 Jan  2 00:13 MobileLED_R2 -> ../../devices/leds_foma.7/leds/MobileLED_R2
    lrwxrwxrwx  1 root root 0 Jan  2 00:13 MobileLED_R3 -> ../../devices/leds_foma.7/leds/MobileLED_R3
    lrwxrwxrwx  1 root root 0 Jan  2 00:13 Mobile_Power -> ../../devices/leds_foma_ctrl.8/leds/Mobile_Power
    lrwxrwxrwx  1 root root 0 Jan  2 00:13 Mobile_RESETN -> ../../devices/leds_foma_ctrl.8/leds/Mobile_RESETN
    lrwxrwxrwx  1 root root 0 Jan  2 00:13 PowerLED -> ../../devices/leds_onboard.6/leds/PowerLED
    lrwxrwxrwx  1 root root 0 Jan  2 00:13 power-stat:r -> ../../devices/ocp.3/44e0b000.i2c/i2c-0/0-0045/leds/power-stat:r
    lrwxrwxrwx  1 root root 0 Jan  2 00:13 system-status1:g -> ../../devices/ocp.3/44e0b000.i2c/i2c-0/0-0045/leds/system-status1:g
    lrwxrwxrwx  1 root root 0 Jan  2 00:13 system-status1:r -> ../../devices/ocp.3/44e0b000.i2c/i2c-0/0-0045/leds/system-status1:r
    lrwxrwxrwx  1 root root 0 Jan  2 00:13 system-status2:g -> ../../devices/ocp.3/44e0b000.i2c/i2c-0/0-0045/leds/system-status2:g
    lrwxrwxrwx  1 root root 0 Jan  2 00:13 system-status2:r -> ../../devices/ocp.3/44e0b000.i2c/i2c-0/0-0045/leds/system-status2:r
    lrwxrwxrwx  1 root root 0 Jan  2 00:13 system-status3:g -> ../../devices/ocp.3/44e0b000.i2c/i2c-0/0-0045/leds/system-status3:g
    lrwxrwxrwx  1 root root 0 Jan  2 00:13 system-status3:r -> ../../devices/ocp.3/44e0b000.i2c/i2c-0/0-0045/leds/system-status3:r
    

  • cat /sys/kernel/debug/gpio
    user1@plum:~$ sudo cat /sys/kernel/debug/gpio
    GPIOs 0-31, gpio:
    gpio-6   (phy_interrupt       ) in  hi IRQ
    gpio-20  (phy_interrupt       ) in  hi IRQ
    gpio-23  (sysfs               ) in  hi IRQ
    gpio-27  (omap-serial         ) in  hi IRQ
    
    GPIOs 32-63, gpio:
    gpio-44  (omap-serial         ) out lo
    gpio-45  (omap-serial         ) in  lo IRQ
    gpio-46  (omap-serial         ) in  lo IRQ
    gpio-47  (PowerLED            ) out lo
    gpio-60  (tca6507-reset       ) out hi
    
    GPIOs 64-95, gpio:
    gpio-78  (PHY_LED_100M        ) out hi
    gpio-79  (PHY_LED_1G          ) out hi
    gpio-80  (PHY_LED_100M        ) in  lo
    gpio-81  (PHY_LED_1G          ) in  lo
    gpio-86  (omap-serial         ) out hi
    gpio-87  (omap-serial         ) in  hi
    gpio-88  (omap-serial         ) in  hi
    
    GPIOs 96-127, gpio:
    gpio-96  (mmc_cd              ) in  hi IRQ
    gpio-113 (mmc_wp              ) in  hi
    gpio-114 (PHY-Reset           ) out hi
    gpio-115 (PHY-Reset           ) out hi
    gpio-116 (omap-serial         ) out lo
    gpio-117 (omap-serial         ) out lo
    
    GPIOs 456-463, platform/11000004.gpio, 11000004.gpio:
    gpio-456 (xio_PowerFail       ) in  lo
    gpio-457 (xio_RI              ) in  lo
    -----------------------------
    XIO ENABLE:  00
    XIO STATUS:  00
    -----------------------------
    
    GPIOs 464-471, platform/11000080.gpio, 11000080.gpio:
    
    GPIOs 472-479, platform/11000040.gpio, 11000040.gpio:
    gpio-472 (DI_00               ) in  lo
    gpio-473 (DI_01               ) in  lo
    gpio-474 (DI_02               ) in  lo
    gpio-475 (DI_03               ) in  lo
    gpio-476 (DI_04               ) in  lo
    gpio-477 (DI_05               ) in  lo
    gpio-478 (DI_06               ) in  lo
    gpio-479 (DI_07               ) in  lo
    -----------------------------
    DIN Pri L port status:  00
    DIN Pri L IRQ status:   00
    DIN Pri L IRQ enable:   00
    DIN Pri L IRQ polarity: 00
    DIN Filter select:      00
    -----------------------------
    
    GPIOs 480-487, platform/11000014.gpio, 11000014.gpio:
    gpio-482 (MobileLED_G3        ) out lo
    gpio-483 (MobileLED_G2        ) out lo
    gpio-484 (MobileLED_G1        ) out lo
    gpio-485 (MobileLED_R3        ) out lo
    gpio-486 (MobileLED_R2        ) out lo
    gpio-487 (MobileLED_R1        ) out hi
    
    GPIOs 488-495, platform/11000012.gpio, 11000012.gpio:
    gpio-488 (SIM_CD              ) in  hi
    gpio-489 (ModuleMainPowerGood ) in  hi
    gpio-490 (ModuleAvailable     ) in  hi
    
    GPIOs 496-503, platform/11000010.gpio, 11000010.gpio:
    gpio-496 (Mobile_Power        ) out hi
    gpio-502 (Mobile_RESETN       ) out hi
    
    GPIOs 504-511, platform/10000000.gpio, 10000000.gpio:
    

  • cat /sys/kernel/debug/pinctrl/44e10800.pinmux/pinmux-pins
    user1@plum:~$ sudo cat /sys/kernel/debug/pinctrl/44e10800.pinmux/pinmux-pins
    Pinmux settings per pin
    Format: pin (name): mux_owner gpio_owner hog?
    pin 0 (44e10800.0): 50000000.gpmc (GPIO UNCLAIMED) function nandflash_pins_s0 group nandflash_pins_s0
    pin 1 (44e10804.0): 50000000.gpmc (GPIO UNCLAIMED) function nandflash_pins_s0 group nandflash_pins_s0
    pin 2 (44e10808.0): 50000000.gpmc (GPIO UNCLAIMED) function nandflash_pins_s0 group nandflash_pins_s0
    pin 3 (44e1080c.0): 50000000.gpmc (GPIO UNCLAIMED) function nandflash_pins_s0 group nandflash_pins_s0
    pin 4 (44e10810.0): 50000000.gpmc (GPIO UNCLAIMED) function nandflash_pins_s0 group nandflash_pins_s0
    pin 5 (44e10814.0): 50000000.gpmc (GPIO UNCLAIMED) function nandflash_pins_s0 group nandflash_pins_s0
    pin 6 (44e10818.0): 50000000.gpmc (GPIO UNCLAIMED) function nandflash_pins_s0 group nandflash_pins_s0
    pin 7 (44e1081c.0): 50000000.gpmc (GPIO UNCLAIMED) function nandflash_pins_s0 group nandflash_pins_s0
    pin 8 (44e10820.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 9 (44e10824.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 10 (44e10828.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 11 (44e1082c.0): 48022000.serial (GPIO UNCLAIMED) function pinmux_uart1_pins group pinmux_uart1_pins
    pin 12 (44e10830.0): 48022000.serial (GPIO UNCLAIMED) function pinmux_uart1_pins group pinmux_uart1_pins
    pin 13 (44e10834.0): 48022000.serial (GPIO UNCLAIMED) function pinmux_uart1_pins group pinmux_uart1_pins
    pin 14 (44e10838.0): 48022000.serial (GPIO UNCLAIMED) function pinmux_uart1_pins group pinmux_uart1_pins
    pin 15 (44e1083c.0): leds_onboard.6 (GPIO UNCLAIMED) function pinmux_power_led_pins group pinmux_power_led_pins
    pin 16 (44e10840.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default
    pin 17 (44e10844.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default
    pin 18 (44e10848.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default
    pin 19 (44e1084c.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default
    pin 20 (44e10850.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default
    pin 21 (44e10854.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default
    pin 22 (44e10858.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default
    pin 23 (44e1085c.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default
    pin 24 (44e10860.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default
    pin 25 (44e10864.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default
    pin 26 (44e10868.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default
    pin 27 (44e1086c.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default
    pin 28 (44e10870.0): 50000000.gpmc (GPIO UNCLAIMED) function nandflash_pins_s0 group nandflash_pins_s0
    pin 29 (44e10874.0): 50000000.gpmc (GPIO UNCLAIMED) function nandflash_pins_s0 group nandflash_pins_s0
    pin 30 (44e10878.0): 44e0b000.i2c (GPIO UNCLAIMED) function pinmux_i2c0_pins group pinmux_i2c0_pins
    pin 31 (44e1087c.0): 50000000.gpmc (GPIO UNCLAIMED) function nandflash_pins_s0 group nandflash_pins_s0
    pin 32 (44e10880.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 33 (44e10884.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 34 (44e10888.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 35 (44e1088c.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 36 (44e10890.0): 50000000.gpmc (GPIO UNCLAIMED) function nandflash_pins_s0 group nandflash_pins_s0
    pin 37 (44e10894.0): 50000000.gpmc (GPIO UNCLAIMED) function nandflash_pins_s0 group nandflash_pins_s0
    pin 38 (44e10898.0): 50000000.gpmc (GPIO UNCLAIMED) function nandflash_pins_s0 group nandflash_pins_s0
    pin 39 (44e1089c.0): 50000000.gpmc (GPIO UNCLAIMED) function nandflash_pins_s0 group nandflash_pins_s0
    pin 40 (44e108a0.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 41 (44e108a4.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 42 (44e108a8.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 43 (44e108ac.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 44 (44e108b0.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 45 (44e108b4.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 46 (44e108b8.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 47 (44e108bc.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 48 (44e108c0.0): 4a101000.mdio (GPIO UNCLAIMED) function davinci_mdio_default group davinci_mdio_default
    pin 49 (44e108c4.0): 4a101000.mdio (GPIO UNCLAIMED) function davinci_mdio_default group davinci_mdio_default
    pin 50 (44e108c8.0): 4a101000.mdio (GPIO UNCLAIMED) function davinci_mdio_default group davinci_mdio_default
    pin 51 (44e108cc.0): 4a101000.mdio (GPIO UNCLAIMED) function davinci_mdio_default group davinci_mdio_default
    pin 52 (44e108d0.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 53 (44e108d4.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 54 (44e108d8.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 55 (44e108dc.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 56 (44e108e0.0): 44e09000.serial (GPIO UNCLAIMED) function pinmux_uart0_pins group pinmux_uart0_pins
    pin 57 (44e108e4.0): 44e09000.serial (GPIO UNCLAIMED) function pinmux_uart0_pins group pinmux_uart0_pins
    pin 58 (44e108e8.0): 44e09000.serial (GPIO UNCLAIMED) function pinmux_uart0_pins group pinmux_uart0_pins
    pin 59 (44e108ec.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 60 (44e108f0.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 61 (44e108f4.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 62 (44e108f8.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 63 (44e108fc.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 64 (44e10900.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 65 (44e10904.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 66 (44e10908.0): 48060000.mmc (GPIO UNCLAIMED) function pinmux_mmc1_pins group pinmux_mmc1_pins
    pin 67 (44e1090c.0): 48024000.serial (GPIO UNCLAIMED) function pinmux_uart2_pins group pinmux_uart2_pins
    pin 68 (44e10910.0): 48024000.serial (GPIO UNCLAIMED) function pinmux_uart2_pins group pinmux_uart2_pins
    pin 69 (44e10914.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default
    pin 70 (44e10918.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default
    pin 71 (44e1091c.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default
    pin 72 (44e10920.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default
    pin 73 (44e10924.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default
    pin 74 (44e10928.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default
    pin 75 (44e1092c.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default
    pin 76 (44e10930.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default
    pin 77 (44e10934.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default
    pin 78 (44e10938.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default
    pin 79 (44e1093c.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default
    pin 80 (44e10940.0): 4a100000.ethernet (GPIO UNCLAIMED) function cpsw_default group cpsw_default
    pin 81 (44e10944.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 82 (44e10948.0): 4a101000.mdio (GPIO UNCLAIMED) function davinci_mdio_default group davinci_mdio_default
    pin 83 (44e1094c.0): 4a101000.mdio (GPIO UNCLAIMED) function davinci_mdio_default group davinci_mdio_default
    pin 84 (44e10950.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 85 (44e10954.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 86 (44e10958.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 87 (44e1095c.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 88 (44e10960.0): 4a101000.mdio (GPIO UNCLAIMED) function davinci_mdio_default group davinci_mdio_default
    pin 89 (44e10964.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 90 (44e10968.0): 44e09000.serial (GPIO UNCLAIMED) function pinmux_uart0_pins group pinmux_uart0_pins
    pin 91 (44e1096c.0): 44e09000.serial (GPIO UNCLAIMED) function pinmux_uart0_pins group pinmux_uart0_pins
    pin 92 (44e10970.0): 44e09000.serial (GPIO UNCLAIMED) function pinmux_uart0_pins group pinmux_uart0_pins
    pin 93 (44e10974.0): 44e09000.serial (GPIO UNCLAIMED) function pinmux_uart0_pins group pinmux_uart0_pins
    pin 94 (44e10978.0): 48022000.serial (GPIO UNCLAIMED) function pinmux_uart1_pins group pinmux_uart1_pins
    pin 95 (44e1097c.0): 48022000.serial (GPIO UNCLAIMED) function pinmux_uart1_pins group pinmux_uart1_pins
    pin 96 (44e10980.0): 48022000.serial (GPIO UNCLAIMED) function pinmux_uart1_pins group pinmux_uart1_pins
    pin 97 (44e10984.0): 48022000.serial (GPIO UNCLAIMED) function pinmux_uart1_pins group pinmux_uart1_pins
    pin 98 (44e10988.0): 44e0b000.i2c (GPIO UNCLAIMED) function pinmux_i2c0_pins group pinmux_i2c0_pins
    pin 99 (44e1098c.0): 44e0b000.i2c (GPIO UNCLAIMED) function pinmux_i2c0_pins group pinmux_i2c0_pins
    pin 100 (44e10990.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 101 (44e10994.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 102 (44e10998.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 103 (44e1099c.0): 48060000.mmc (GPIO UNCLAIMED) function pinmux_mmc1_pins group pinmux_mmc1_pins
    pin 104 (44e109a0.0): 4a101000.mdio (GPIO UNCLAIMED) function davinci_mdio_default group davinci_mdio_default
    pin 105 (44e109a4.0): 4a101000.mdio (GPIO UNCLAIMED) function davinci_mdio_default group davinci_mdio_default
    pin 106 (44e109a8.0): 48022000.serial (GPIO UNCLAIMED) function pinmux_uart1_pins group pinmux_uart1_pins
    pin 107 (44e109ac.0): 48022000.serial (GPIO UNCLAIMED) function pinmux_uart1_pins group pinmux_uart1_pins
    pin 108 (44e109b0.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 109 (44e109b4.0): 4a101000.mdio (GPIO UNCLAIMED) function davinci_mdio_default group davinci_mdio_default
    pin 110 (44e109b8.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 111 (44e109bc.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 112 (44e109c0.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 113 (44e109c4.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 114 (44e109c8.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 115 (44e109cc.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 116 (44e109d0.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 117 (44e109d4.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 118 (44e109d8.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 119 (44e109dc.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 120 (44e109e0.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 121 (44e109e4.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 122 (44e109e8.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 123 (44e109ec.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 124 (44e109f0.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 125 (44e109f4.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 126 (44e109f8.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 127 (44e109fc.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 128 (44e10a00.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 129 (44e10a04.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 130 (44e10a08.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 131 (44e10a0c.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 132 (44e10a10.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 133 (44e10a14.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 134 (44e10a18.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 135 (44e10a1c.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 136 (44e10a20.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 137 (44e10a24.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 138 (44e10a28.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 139 (44e10a2c.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 140 (44e10a30.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    pin 141 (44e10a34.0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    

  • ls -al /sys/class/leds/
    user1@plum:~$ sudo cat /sys/kernel/debug/pinctrl/44e10800.pinmux/pins
    registered pins: 142
    pin 0 (44e10800.0) 00000028 pinctrl-single
    pin 1 (44e10804.0) 00000028 pinctrl-single
    pin 2 (44e10808.0) 00000028 pinctrl-single
    pin 3 (44e1080c.0) 00000028 pinctrl-single
    pin 4 (44e10810.0) 00000028 pinctrl-single
    pin 5 (44e10814.0) 00000028 pinctrl-single
    pin 6 (44e10818.0) 00000028 pinctrl-single
    pin 7 (44e1081c.0) 00000028 pinctrl-single
    pin 8 (44e10820.0) 00000027 pinctrl-single
    pin 9 (44e10824.0) 0000002f pinctrl-single
    pin 10 (44e10828.0) 00000027 pinctrl-single
    pin 11 (44e1082c.0) 0000002f pinctrl-single
    pin 12 (44e10830.0) 0000000f pinctrl-single
    pin 13 (44e10834.0) 0000002f pinctrl-single
    pin 14 (44e10838.0) 0000002f pinctrl-single
    pin 15 (44e1083c.0) 0000000f pinctrl-single
    pin 16 (44e10840.0) 00000002 pinctrl-single
    pin 17 (44e10844.0) 00000022 pinctrl-single
    pin 18 (44e10848.0) 00000002 pinctrl-single
    pin 19 (44e1084c.0) 00000002 pinctrl-single
    pin 20 (44e10850.0) 00000002 pinctrl-single
    pin 21 (44e10854.0) 00000002 pinctrl-single
    pin 22 (44e10858.0) 00000002 pinctrl-single
    pin 23 (44e1085c.0) 00000022 pinctrl-single
    pin 24 (44e10860.0) 00000022 pinctrl-single
    pin 25 (44e10864.0) 00000022 pinctrl-single
    pin 26 (44e10868.0) 00000022 pinctrl-single
    pin 27 (44e1086c.0) 00000022 pinctrl-single
    pin 28 (44e10870.0) 00000028 pinctrl-single
    pin 29 (44e10874.0) 0000000f pinctrl-single
    pin 30 (44e10878.0) 0000000f pinctrl-single
    pin 31 (44e1087c.0) 00000008 pinctrl-single
    pin 32 (44e10880.0) 00000008 pinctrl-single
    pin 33 (44e10884.0) 00000008 pinctrl-single
    pin 34 (44e10888.0) 00000037 pinctrl-single
    pin 35 (44e1088c.0) 0000002f pinctrl-single
    pin 36 (44e10890.0) 00000008 pinctrl-single
    pin 37 (44e10894.0) 00000008 pinctrl-single
    pin 38 (44e10898.0) 00000008 pinctrl-single
    pin 39 (44e1089c.0) 00000008 pinctrl-single
    pin 40 (44e108a0.0) 0000002f pinctrl-single
    pin 41 (44e108a4.0) 0000002f pinctrl-single
    pin 42 (44e108a8.0) 0000002f pinctrl-single
    pin 43 (44e108ac.0) 0000002f pinctrl-single
    pin 44 (44e108b0.0) 0000002f pinctrl-single
    pin 45 (44e108b4.0) 0000002f pinctrl-single
    pin 46 (44e108b8.0) 0000002f pinctrl-single
    pin 47 (44e108bc.0) 0000002f pinctrl-single
    pin 48 (44e108c0.0) 0000000f pinctrl-single
    pin 49 (44e108c4.0) 0000000f pinctrl-single
    pin 50 (44e108c8.0) 0000000f pinctrl-single
    pin 51 (44e108cc.0) 0000000f pinctrl-single
    pin 52 (44e108d0.0) 0000002f pinctrl-single
    pin 53 (44e108d4.0) 0000002f pinctrl-single
    pin 54 (44e108d8.0) 0000002f pinctrl-single
    pin 55 (44e108dc.0) 0000002f pinctrl-single
    pin 56 (44e108e0.0) 0000000f pinctrl-single
    pin 57 (44e108e4.0) 0000002f pinctrl-single
    pin 58 (44e108e8.0) 0000002f pinctrl-single
    pin 59 (44e108ec.0) 00000027 pinctrl-single
    pin 60 (44e108f0.0) 00000028 pinctrl-single
    pin 61 (44e108f4.0) 00000028 pinctrl-single
    pin 62 (44e108f8.0) 00000028 pinctrl-single
    pin 63 (44e108fc.0) 00000028 pinctrl-single
    pin 64 (44e10900.0) 00000028 pinctrl-single
    pin 65 (44e10904.0) 00000028 pinctrl-single
    pin 66 (44e10908.0) 0000002f pinctrl-single
    pin 67 (44e1090c.0) 0000000e pinctrl-single
    pin 68 (44e10910.0) 0000002e pinctrl-single
    pin 69 (44e10914.0) 00000002 pinctrl-single
    pin 70 (44e10918.0) 00000022 pinctrl-single
    pin 71 (44e1091c.0) 00000002 pinctrl-single
    pin 72 (44e10920.0) 00000002 pinctrl-single
    pin 73 (44e10924.0) 00000002 pinctrl-single
    pin 74 (44e10928.0) 00000002 pinctrl-single
    pin 75 (44e1092c.0) 00000002 pinctrl-single
    pin 76 (44e10930.0) 00000022 pinctrl-single
    pin 77 (44e10934.0) 00000022 pinctrl-single
    pin 78 (44e10938.0) 00000022 pinctrl-single
    pin 79 (44e1093c.0) 00000022 pinctrl-single
    pin 80 (44e10940.0) 00000022 pinctrl-single
    pin 81 (44e10944.0) 00000027 pinctrl-single
    pin 82 (44e10948.0) 00000068 pinctrl-single
    pin 83 (44e1094c.0) 00000008 pinctrl-single
    pin 84 (44e10950.0) 00000028 pinctrl-single
    pin 85 (44e10954.0) 00000028 pinctrl-single
    pin 86 (44e10958.0) 00000028 pinctrl-single
    pin 87 (44e1095c.0) 00000028 pinctrl-single
    pin 88 (44e10960.0) 0000002f pinctrl-single
    pin 89 (44e10964.0) 00000027 pinctrl-single
    pin 90 (44e10968.0) 00000028 pinctrl-single
    pin 91 (44e1096c.0) 00000008 pinctrl-single
    pin 92 (44e10970.0) 00000028 pinctrl-single
    pin 93 (44e10974.0) 00000008 pinctrl-single
    pin 94 (44e10978.0) 00000028 pinctrl-single
    pin 95 (44e1097c.0) 00000008 pinctrl-single
    pin 96 (44e10980.0) 00000028 pinctrl-single
    pin 97 (44e10984.0) 00000008 pinctrl-single
    pin 98 (44e10988.0) 00000030 pinctrl-single
    pin 99 (44e1098c.0) 00000030 pinctrl-single
    pin 100 (44e10990.0) 00000027 pinctrl-single
    pin 101 (44e10994.0) 00000027 pinctrl-single
    pin 102 (44e10998.0) 00000027 pinctrl-single
    pin 103 (44e1099c.0) 0000002f pinctrl-single
    pin 104 (44e109a0.0) 0000000f pinctrl-single
    pin 105 (44e109a4.0) 0000000f pinctrl-single
    pin 106 (44e109a8.0) 0000000f pinctrl-single
    pin 107 (44e109ac.0) 0000000f pinctrl-single
    pin 108 (44e109b0.0) 00000023 pinctrl-single
    pin 109 (44e109b4.0) 0000002f pinctrl-single
    pin 110 (44e109b8.0) 00000030 pinctrl-single
    pin 111 (44e109bc.0) 00000028 pinctrl-single
    pin 112 (44e109c0.0) 00000030 pinctrl-single
    pin 113 (44e109c4.0) 00000028 pinctrl-single
    pin 114 (44e109c8.0) 00000028 pinctrl-single
    pin 115 (44e109cc.0) 00000028 pinctrl-single
    pin 116 (44e109d0.0) 00000030 pinctrl-single
    pin 117 (44e109d4.0) 00000030 pinctrl-single
    pin 118 (44e109d8.0) 00000030 pinctrl-single
    pin 119 (44e109dc.0) 00000030 pinctrl-single
    pin 120 (44e109e0.0) 00000020 pinctrl-single
    pin 121 (44e109e4.0) 00000030 pinctrl-single
    pin 122 (44e109e8.0) 00000030 pinctrl-single
    pin 123 (44e109ec.0) 00000028 pinctrl-single
    pin 124 (44e109f0.0) 00000028 pinctrl-single
    pin 125 (44e109f4.0) 00000028 pinctrl-single
    pin 126 (44e109f8.0) 00000030 pinctrl-single
    pin 127 (44e109fc.0) 00000028 pinctrl-single
    pin 128 (44e10a00.0) 00000028 pinctrl-single
    pin 129 (44e10a04.0) 00000020 pinctrl-single
    pin 130 (44e10a08.0) 00000028 pinctrl-single
    pin 131 (44e10a0c.0) 00000028 pinctrl-single
    pin 132 (44e10a10.0) 00000028 pinctrl-single
    pin 133 (44e10a14.0) 00000028 pinctrl-single
    pin 134 (44e10a18.0) 00000028 pinctrl-single
    pin 135 (44e10a1c.0) 00000020 pinctrl-single
    pin 136 (44e10a20.0) 00000028 pinctrl-single
    pin 137 (44e10a24.0) 00000028 pinctrl-single
    pin 138 (44e10a28.0) 00000028 pinctrl-single
    pin 139 (44e10a2c.0) 00000028 pinctrl-single
    pin 140 (44e10a30.0) 00000028 pinctrl-single
    pin 141 (44e10a34.0) 00000020 pinctrl-single
    

  • ls -al /sys/class/leds/
    
    

  • ls -al /sys/class/leds/
    
    

  • bootlog
    barebox 2013.12.0-gc51c3f4 #3 Tue Mar 11 18:24:49 JST 2014
    
    
    Board: plum-ma[512MiB]
    m25p80 m25p800: m25p16 (2048 Kbytes)
    booting from SPI
    
    
    barebox 2013.12.0-00373-g5307ee1 #705 Wed Jun 3 15:27:29 JST 2015
    
    
    Board: plum-ma[512MiB]
    nand: ONFI param page 0 valid
    nand: ONFI flash detected
    nand: NAND device: Manufacturer ID: 0x01, Chip ID: 0xda (AMD/Spansion S34ML02G1), 256MiB, page size: 2048, OOB size: 64
    omap-hsmmc omap4-hsmmc0: registered as omap4-hsmmc0
    m25p80 m25p800: m25p16 (2048 Kbytes)
    i2c-omap i2c-am33xx0: bus 0 rev0.11 at 100 kHz
    cpsw cpsw0: detected phy mask 0xc
    mdio_bus: miibus0: probed
    eth0: got preset MAC address: D0:39:72:78:85:27
    malloc space: 0x8e000000 -> 0x9dffffff (size 256 MiB)
    Reset is caused by "PowerOnReset" (0x00000001).
    envfs: wrong magic on /dev/env0
    no valid environment found on /dev/env0. Using default environment
    running /env/bin/init...
    filetype: No such file or directory
    UBI: attaching mtd0 to ubi0
    UBI: scanning is finished
    registering /dev/ubi0
    registering kernel.0 as /dev/ubi0.kernel.0
    registering kernel.1 as /dev/ubi0.kernel.1
    registering initramfs.0 as /dev/ubi0.initramfs.0
    registering initramfs.1 as /dev/ubi0.initramfs.1
    registering kmod.0 as /dev/ubi0.kmod.0
    registering kmod.1 as /dev/ubi0.kmod.1
    registering rootfs.0 as /dev/ubi0.rootfs.0
    registering rootfs.1 as /dev/ubi0.rootfs.1
    registering opt as /dev/ubi0.opt
    registering overlay as /dev/ubi0.overlay
    UBI: attached mtd0 (name "nand0.UBI", size 255 MiB) to ubi0
    UBI: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
    UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
    UBI: VID header offset: 512 (aligned 512), data offset: 2048
    UBI: good PEBs: 2040, bad PEBs: 0, corrupted PEBs: 0
    UBI: user volume: 10, internal volumes: 1, max. volumes count: 128
    UBI: max/mean erase counter: 3/0, WL threshold: 4096, image sequence number: 204
    UBI: available PEBs: 0, total reserved PEBs: 2040, PEBs reserved for bad PEB handling: 40
    
    Hit m for menu or any other key to stop autoboot:  0
    booting nand
    firm_kind0:     1
    firm_area0:     0
    dipsw:          0
    xio_id:         8
    overlay:        tmpfs
    overlay_driver: aufs
    [5] boot with latest firmware succeeded.
    bootm.image:                /dev/ubi0.kernel.0
    bootm.oftree:               /dev/spi.dtb.0
    bootm.initrd:               /dev/ubi0.initramfs.0
    bootargs.dyn.root:          root=AREA=0
    bootargs.dyn.watchdog:      omap_wdt.start_at_boot=1 omap_wdt.timer_margin=180
    bootargs.dyn.console:       console=ttyO1,115200
    bootargs.dyn.cleanboot      
    bootargs.dyn.nojre          
    bootargs.dyn.overlay        overlay=tmpfs
    bootargs.dyn.overlay_driver overlay_driver=aufs
    bootargs.dyn.reset          reset_cause=POR
    bootargs.dyn.xio_id         xio_id=8
    boot_info:                  0x10
       Image Name:   Linux-3.14.57+
       Created:      2015-11-11   5:08:41 UTC
       OS:           Linux
       Architecture: ARM
       Type:         Kernel Image
       Compression:  uncompressed
       Data Size:    3508560 Bytes = 3.3 MiB
       Load Address: 80008000
       Entry Point:  80008000
    
    Loading OS U-Boot uImage '/dev/ubi0.kernel.0'
    Loading devicetree from '/dev/spi.dtb.0'
    plum_of_fixup: eXternal I/O board's ID is 0x08, fixup device-tree...
    commandline: ubi.mtd=UBI ubi.mtd=UBI0 mtdoops.mtddev=OOPS mtdoops.record_size=8192 zswap.enabled=1  root=AREA=0 omap_wdt.start_at_boot=1 omap_wdt.timer_margin=180 console=ttyO1,115200  overlay=tmpfs overlay_driver=aufs  rootdelay=1 reset_cause=POR usbcore.autosuspend=-1 xio_id=8
    booting kernel with devicetree
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 3.14.57+ (root@jetson) (gcc version 4.9.3 (Ubuntu/Linaro 4.9.3-5ubuntu1~14.04) ) #106 PREEMPT Wed Nov 11 14:07:58 JST 2015
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: Century Systems Plum-MA
    [    0.000000] cma: CMA: reserved 16 MiB at 9e800000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129792
    [    0.000000] Kernel command line: ubi.mtd=UBI ubi.mtd=UBI0 mtdoops.mtddev=OOPS mtdoops.record_size=8192 zswap.enabled=1  root=AREA=0 omap_wdt.start_at_boot=1 omap_wdt.timer_margin=180 console=ttyO1,115200  overlay=tmpfs overlay_driver=aufs  rootdelay=1 reset_cause=POR usbcore.autosuspend=-1 xio_id=8
    [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] allocated 1048576 bytes of page_cgroup
    [    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
    [    0.000000] Memory: 488692K/523264K available (7016K kernel code, 309K rwdata, 2288K rodata, 222K init, 413K bss, 34572K reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc091e28c   (9305 kB)
    [    0.000000]       .init : 0xc091f000 - 0xc0956bcc   ( 223 kB)
    [    0.000000]       .data : 0xc0958000 - 0xc09a5518   ( 310 kB)
    [    0.000000]        .bss : 0xc09a5524 - 0xc0a0cb64   ( 414 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [    0.000000] Total of 128 interrupts on 1 active controller
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000018] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
    [    0.000042] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000313] Console: colour dummy device 80x30
    [    0.000351] Calibrating delay loop... 497.66 BogoMIPS (lpj=995328)
    [    0.027197] pid_max: default: 32768 minimum: 301
    [    0.027413] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.027431] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.043808] Initializing cgroup subsys memory
    [    0.043879] Initializing cgroup subsys devices
    [    0.043894] Initializing cgroup subsys freezer
    [    0.043915] Initializing cgroup subsys net_cls
    [    0.043927] Initializing cgroup subsys blkio
    [    0.043938] Initializing cgroup subsys net_prio
    [    0.044074] CPU: Testing write buffer coherency: ok
    [    0.044532] Setting up static identity map for 0x806b2d38 - 0x806b2d90
    [    0.046415] devtmpfs: initialized
    [    0.049793] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [    0.062644] omap_hwmod: tptc0 using broken dt data from edma
    [    0.062777] omap_hwmod: tptc1 using broken dt data from edma
    [    0.062889] omap_hwmod: tptc2 using broken dt data from edma
    [    0.067996] omap_hwmod: debugss: _wait_target_disable failed
    [    0.124978] pinctrl core: initialized pinctrl subsystem
    [    0.125504] regulator-dummy: no parameters
    [    0.127293] NET: Registered protocol family 16
    [    0.130331] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.131147] cpuidle: using governor ladder
    [    0.131221] cpuidle: using governor menu
    [    0.140471] platform 49000000.edma: alias fck already exists
    [    0.140503] platform 49000000.edma: alias fck already exists
    [    0.140525] platform 49000000.edma: alias fck already exists
    [    0.141505] OMAP GPIO hardware version 0.1
    [    0.151350] omap-gpmc 50000000.gpmc: could not find pctldev for node /pinmux@44e10800/nandflash_pins_s0, deferring probe
    [    0.151389] platform 50000000.gpmc: Driver omap-gpmc requests probe deferral
    [    0.153046] hw-breakpoint: debug architecture 0x4 unsupported.
    [    0.166102] bio: create slab <bio-0> at 0
    [    0.177902] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [    0.178624] vbat: 5000 mV 
    [    0.179043] vmmcsd_fixed: 3300 mV 
    [    0.179932] SCSI subsystem initialized
    [    0.180371] usbcore: registered new interface driver usbfs
    [    0.180479] usbcore: registered new interface driver hub
    [    0.180751] usbcore: registered new device driver usb
    [    0.181144] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
    [    0.181176] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
    [    0.181319] media: Linux media interface: v0.10
    [    0.181406] Linux video capture interface: v2.00
    [    0.181472] pps_core: LinuxPPS API ver. 1 registered
    [    0.181484] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
    [    0.181519] PTP clock support registered
    [    0.182403] Advanced Linux Sound Architecture Driver Initialized.
    [    0.183777] Switched to clocksource timer1
    [    0.184166] FS-Cache: Loaded
    [    0.184577] CacheFiles: Loaded
    [    0.200940] NET: Registered protocol family 2
    [    0.202354] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.202436] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.202507] TCP: Hash tables configured (established 4096 bind 4096)
    [    0.202600] TCP: reno registered
    [    0.202620] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [    0.202648] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [    0.202965] NET: Registered protocol family 1
    [    0.203479] RPC: Registered named UNIX socket transport module.
    [    0.203497] RPC: Registered udp transport module.
    [    0.203506] RPC: Registered tcp transport module.
    [    0.203516] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.203994] Unpacking initramfs...
    [    1.693411] Initramfs unpacking failed: junk in compressed archive
    [    1.697596] Freeing initrd memory: 2140K (c4000000 - c4217000)
    [    1.698182] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
    [    1.700326] PM: Loading am335x-pm-firmware.bin
    [    1.702282] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    1.714305] zbud: loaded
    [    1.714982] VFS: Disk quotas dquot_6.5.2
    [    1.715277] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    1.718019] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    1.718620] Registering unionfs 2.6 (for 3.14.17)
    [    1.719295] FS-Cache: Netfs 'nfs' registered for caching
    [    1.721216] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
    [    1.722078] fuse init (API version 7.22)
    [    1.723911] aufs 3.14.40+
    [    1.723953] msgmni has been set to 990
    [    1.728668] NET: Registered protocol family 38
    [    1.729048] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
    [    1.729068] io scheduler noop registered
    [    1.729079] io scheduler deadline registered
    [    1.729145] io scheduler cfq registered (default)
    [    1.730029] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
    [    1.730949] HDLC line discipline maxframe=4096
    [    1.730965] N_HDLC line discipline registered.
    [    1.730978] Serial: 8250/16550 driver, 8 ports, IRQ sharing enabled
    [    1.736055] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0
    [    1.737357] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 89, base_baud = 3000000) is a OMAP UART1
    [    2.508545] console [ttyO1] enabled
    [    2.513263] 48024000.serial: ttyO2 at MMIO 0x48024000 (irq = 90, base_baud = 3000000) is a OMAP UART2
    [    2.524738] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [    2.537481] loop: module loaded
    [    2.541573] zram: Created 1 device(s) ...
    [    2.560746] tun: Universal TUN/TAP device driver, 1.6
    [    2.566197] tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
    [    2.573462] PPP generic driver version 2.4.2
    [    2.578326] PPP BSD Compression module registered
    [    2.583316] PPP Deflate Compression module registered
    [    2.588682] PPP MPPE Compression module registered
    [    2.593749] NET: Registered protocol family 24
    [    2.598462] PPTP driver version 0.8.5
    [    2.603262] usbcore: registered new interface driver cdc_acm
    [    2.609228] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [    2.617724] usbcore: registered new interface driver usb-storage
    [    2.624231] usbcore: registered new interface driver usbserial
    [    2.630412] usbcore: registered new interface driver cp210x
    [    2.636332] usbserial: USB Serial support registered for cp210x
    [    2.642603] usbcore: registered new interface driver ftdi_sio
    [    2.648684] usbserial: USB Serial support registered for FTDI USB Serial Device
    [    2.656399] usbcore: registered new interface driver option
    [    2.662302] usbserial: USB Serial support registered for GSM modem (1-port)
    [    2.669658] usbcore: registered new interface driver pl2303
    [    2.675560] usbserial: USB Serial support registered for pl2303
    [    2.712945] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
    [    2.719396] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
    [    2.727914] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    2.735039] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    2.742608] usb usb1: Product: MUSB HDRC host driver
    [    2.747816] usb usb1: Manufacturer: Linux 3.14.57+ musb-hcd
    [    2.753654] usb usb1: SerialNumber: musb-hdrc.0.auto
    [    2.759905] hub 1-0:1.0: USB hub found
    [    2.763942] hub 1-0:1.0: 1 port detected
    [    2.804902] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [    2.811316] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
    [    2.819766] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [    2.826901] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    2.834468] usb usb2: Product: MUSB HDRC host driver
    [    2.839672] usb usb2: Manufacturer: Linux 3.14.57+ musb-hcd
    [    2.845514] usb usb2: SerialNumber: musb-hdrc.1.auto
    [    2.851699] hub 2-0:1.0: USB hub found
    [    2.855716] hub 2-0:1.0: 1 port detected
    [    2.872122] i2c /dev entries driver
    [    2.877120] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 180 sec
    [    2.884475] omap_wdt: OMAP Watchdog started.
    [    2.925849] platform leds_foma.7: Driver leds-gpio requests probe deferral
    [    2.933197] platform leds_foma_ctrl.8: Driver leds-gpio requests probe deferral
    [    2.941113] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.947554] hidraw: raw HID events driver (C) Jiri Kosina
    [    2.953775] usbcore: registered new interface driver usbhid
    [    2.959642] usbhid: USB HID core driver
    [    2.967400] usbcore: registered new interface driver snd-usb-audio
    [    2.980140] Netfilter messages via NETLINK v0.30.
    [    2.987936] nfnl_acct: registering with nfnetlink.
    [    2.993132] nf_conntrack version 0.5.0 (7925 buckets, 31700 max)
    [    3.000532] ctnetlink v0.93: registering with nfnetlink.
    [    3.006343] ip_set: protocol 6
    [    3.009813] ipip: IPv4 over IPv4 tunneling driver
    [    3.015730] gre: GRE over IPv4 demultiplexor driver
    [    3.020929] ip_gre: GRE over IPv4 tunneling driver
    [    3.027683] IPv4 over IPSec tunneling driver
    [    3.033569] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    3.039520] TCP: cubic registered
    [    3.043067] Initializing XFRM netlink socket
    [    3.048494] NET: Registered protocol family 10
    [    3.055436] mip6: Mobile IPv6
    [    3.058661] NET: Registered protocol family 17
    [    3.063374] NET: Registered protocol family 15
    [    3.068293] Bridge firewalling registered
    [    3.072577] Ebtables v2.0 registered
    [    3.076471] l2tp_core: L2TP core driver, V2.0
    [    3.081123] l2tp_ppp: PPPoL2TP kernel driver, V2.0
    [    3.086177] l2tp_ip: L2TP IP encapsulation support (L2TPv3)
    [    3.092077] l2tp_netlink: L2TP netlink interface
    [    3.097020] l2tp_eth: L2TP ethernet pseudowire support (L2TPv3)
    [    3.103347] l2tp_debugfs: L2TP debugfs support
    [    3.108044] l2tp_ip6: L2TP IP encapsulation support for IPv6 (L2TPv3)
    [    3.115074] 8021q: 802.1Q VLAN Support v1.8
    [    3.120360] sctp: Hash tables configured (established 16384 bind 32768)
    [    3.127938] Key type dns_resolver registered
    [    3.133605] cpu cpu0: cpu0 regulator not ready, retry
    [    3.138969] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
    [    3.147226] MA-E3xx: Board Revision: B
    [    3.151430] PM: CM3 Firmware Version = 0x186
    [    3.156110] ThumbEE CPU extension supported.
    [    3.160635] Registering SWP/SWPB emulation handler
    [    3.166675] registered taskstats version 1
    [    3.171013] zswap: loading zswap
    [    3.174492] zswap: using lzo compressor
    [    3.179560] vmmcsd_fixed: disabling
    [    3.183267] vbat: disabling
    [    3.186259] regulator-dummy: disabling
    [    3.190751] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    3.197356] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xda
    [    3.204061] nand: AMD/Spansion S34ML02G1
    [    3.208180] nand: 256MiB, SLC, page size: 2048, OOB size: 64
    [    3.214107] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [    3.219951] 2 ofpart partitions found on MTD device omap2-nand.0
    [    3.226265] Creating 2 MTD partitions on "omap2-nand.0":
    [    3.231845] 0x000000000000-0x00000ff00000 : "UBI"
    [    3.275855] usb 2-1: new high-speed USB device number 2 using musb-hdrc
    [    3.422260] usb 2-1: New USB device found, idVendor=1546, idProduct=1102
    [    3.435795] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    3.451792] usb 2-1: Product: u-blox Wireless Module
    [    3.463792] usb 2-1: Manufacturer: u-blox
    [    3.468004] usb 2-1: SerialNumber: 352648064948920
    [    3.486802] 0x00000ff00000-0x000010000000 : "OOPS"
    [    3.499962] cdc_acm 2-1:1.0: ttyACM0: USB ACM device
    [    3.516251] cdc_acm 2-1:1.2: ttyACM1: USB ACM device
    [    3.532221] cdc_acm 2-1:1.4: ttyACM2: USB ACM device
    [    3.548005] cdc_acm 2-1:1.6: ttyACM3: USB ACM device
    [    3.567073] mtdoops: Attached to MTD device 1
    [    3.573422] cdc_acm 2-1:1.8: ttyACM4: USB ACM device
    [    3.581145] omap-gpmc 50000000.gpmc: gpio using bootloader timings on CS1
    [    3.590125] cdc_acm 2-1:1.10: ttyACM5: USB ACM device
    [    3.596247] omap-gpmc 50000000.gpmc: gpio using bootloader timings on CS2
    [    3.604885] omap-gpmc 50000000.gpmc: gpio using bootloader timings on CS2
    [    3.615504] cdc_acm 2-1:1.12: ttyACM6: USB ACM device
    [    3.621586] omap-gpmc 50000000.gpmc: gpio using bootloader timings on CS2
    [    3.630253] omap-gpmc 50000000.gpmc: gpio using bootloader timings on CS2
    [    3.640732] omap-gpmc 50000000.gpmc: gpio using bootloader timings on CS2
    [    3.648454] omap-gpmc 50000000.gpmc: gpio using bootloader timings on CS2
    [    3.667903] DCDC1: at 1500 mV 
    [    3.672261] vdd_mpu: 925 <--> 1325 mV at 1100 mV 
    [    3.678268] vdd_core: 925 <--> 1150 mV at 1100 mV 
    [    3.684288] LDO1: at 1800 mV 
    [    3.688405] LDO2: at 3300 mV 
    [    3.692579] LDO3: at 1800 mV 
    [    3.696675] LDO4: at 3300 mV 
    [    3.700499] tps65217 0-0024: TPS65217 ID 0xe version 1.2
    [    3.715464] lm75 0-0048: hwmon0: sensor 'lm75'
    [    3.730221] rtc-ds1307 0-0068: rtc core: registered m41t00 as rtc0
    [    3.748478] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
    [    3.759569] UBI: attaching mtd0 to ubi0
    [    4.358963] UBI: scanning is finished
    [    4.371571] UBI: attached mtd0 (name "UBI", size 255 MiB) to ubi0
    [    4.378029] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
    [    4.385142] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
    [    4.392070] UBI: VID header offset: 512 (aligned 512), data offset: 2048
    [    4.399086] UBI: good PEBs: 2040, bad PEBs: 0, corrupted PEBs: 0
    [    4.405376] UBI: user volume: 10, internal volumes: 1, max. volumes count: 128
    [    4.412939] UBI: max/mean erase counter: 3/0, WL threshold: 4096, image sequence number: 204
    [    4.421774] UBI: available PEBs: 0, total reserved PEBs: 2040, PEBs reserved for bad PEB handling: 40
    [    4.431436] UBI: background thread "ubi_bgt0d" started, PID 93
    [    4.445332] UBI error: ubi_init: cannot open mtd UBI0, error -2
    [    4.451611] console [netcon0] enabled
    [    4.455485] netconsole: network logging started
    [    4.507845] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    4.514252] davinci_mdio 4a101000.mdio: detected phy mask fffffff3
    [    4.520725] libphy: 4a101000.mdio: probed
    [    4.536297] davinci_mdio 4a101000.mdio: phy[2]: device 4a101000.mdio:02, driver Micrel KSZ9031 Gigabit PHY
    [    4.546593] davinci_mdio 4a101000.mdio: phy[3]: device 4a101000.mdio:03, driver Micrel KSZ9031 Gigabit PHY
    [    4.557263] Detected MACID = 00:80:6d:8d:81:b0
    [    4.562918] cpsw: Detected MACID = 00:80:6d:8d:81:b1
    [    4.569374] rtc-ds1307 0-0068: setting system clock to 2023-01-01 15:13:56 UTC (1672586036)
    [    4.580688] ALSA device list:
    [    4.583855]   No soundcards found.
    [    4.588185] Freeing unused kernel memory: 220K (c091f000 - c0956000)
    Loading, please wait...
    [    4.684163] systemd-udevd[125]: starting version 204
    Begin: Loading essential drivers ... done.
    Begin: Running /scripts/init-premount ... done.
    Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
    Begin: Running /scripts/local-premount ... done.
    Begin: Running /scripts/local-bottom ... done.
    done.
    Begin: Running /scripts/init-bottom ... 
           root-overlay:  Setting up aufs on /root as root file system 
    
    [    7.639860] UBIFS: background thread "ubifs_bgt0_9" started, PID 189
    [    7.668488] UBIFS: recovery needed
    [    7.745114] UBIFS: recovery completed
    [    7.749069] UBIFS: mounted UBI device 0, volume 9, name "overlay"
    [    7.755458] UBIFS: LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
    [    7.765028] UBIFS: FS size: 44642304 bytes (42 MiB, 346 LEBs), journal size 2193408 bytes (2 MiB, 17 LEBs)
    [    7.775137] UBIFS: reserved for root: 2108566 bytes (2059 KiB)
    [    7.781252] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 78144E9C-3101-4BA9-B8C6-5C027ED9E86B, small LPT model
    extracting overlays_log.tar.xz to /rw.tmpfs ... succeeded.
    extracting overlays_home.tar.xz to /rw ... succeeded.
    extracting overlays_other.tar.xz to /rw ... succeeded.
    extracting overlays_etc.tar.xz to /rw ... succeeded.
    [   32.165257] aufs test_add:292:busybox[222]: uid/gid/perm /ro/usr/lib/jvm 1000/100/0755, 0/0/0755
    done.
    [   33.206046] random: init urandom read with 109 bits of entropy available
    [   33.818447] random: nonblocking pool is initialized
    [   38.766469] UBI error: ubi_open_volume: cannot open device 0, volume 9, error -16
     * Setting sensors limits                                                [ OK ] 
     * Initializing random number generator...                               [ OK ] 
     * Setting up X socket directories...                                    [ OK ] 
     * Starting DNS forwarder and DHCP server dnsmasq                        [ OK ] 
     * CPUFreq Utilities: Setting performance CPUFreq governor...            [ OK ]  * CPU0...       
     * To run ddclient as a daemon, please set run_daemon to 'true' in /etc/default/ddclient 
       ...done.
     * Starting dynamic firewall daemon firewalld                                   [   65.623438] cdc_acm 2-1:1.4: failed to set dtr/rts
                                                                             [ OK ]
     * Starting nginx nginx                                                  [ OK ] 
     * Restoring resolver state...                                           [ OK ] 
     * Running local boot scripts (/etc/rc.local)                            [ OK ] 
    
    Ubuntu 14.04.3 LTS plum ttyO1
    
    plum login:
    

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-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!