大破雑記帳

大破雑記帳

個人用メモな雑記ブログ いろんなことをざっくりと。

HDL-XV OpenWrtログ

ドライバ周りも大体調整終わったのでメモも兼ねて

  1. ブート
  2. 情報表示
  3. SSD追加接続
  4. 電源ボタンによるpoweroff
============================================================
  HDL-XV series Initial boot loader

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

U-Boot 1.1.4 (Feb  2 2011 - 09:25:50) MV : 3.4.6 (I-O DATA 0.27)

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

Soc: 88F6281 A1 (DDR2)
CPU running @ 1000Mhz L2 running @ 500Mhz
SysClock = 250Mhz , TClock = 166Mhz 

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

CPU : Marvell Feroceon (Rev 1)

Streaming disabled 
Write allocate disabled


USB 0: host mode
PCI 0: PCI Express Root Complex Interface
PEX interface detected Link X1
Net:   egiga0 [PRIME]
Hit any key to stop autoboot:  0 

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

reading initrd.xv

68 bytes read
reading uImage.xv

3285691 bytes read
## Booting image at 00800000 ...
   Image Name:   ARM OpenWrt Linux-6.6.61
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3285627 Bytes =  3.1 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.6.61 (musashino205@TAIHA.NET) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 13.3.0 r28114+38-84665993d6) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 Sat Nov 23 12:23:56 2024
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: I-O DATA HDL-XV
[    0.000000] earlycon: ns16550a0 at MMIO 0xf1012000 (options '115200n8')
[    0.000000] printk: bootconsole [ns16550a0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff]
[    0.000000] Kernel command line: console=ttyS0,115200 mtdparts=spi_flash:448k(u-boot),64k@448k(env),-(jffs2) root=/dev/md2 initrd=0x2000040,16M rw model=HDL-XV earlycon root=PARTUUID=5452574f-2211-4433-5566-778899aabb02 rootwait=20
[    0.000000] Unknown kernel command line parameters "mtdparts=spi_flash:448k(u-boot),64k@448k(env),-(jffs2) model=HDL-XV", will be passed to user space.
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 232080K/262144K available (6991K kernel code, 591K rwdata, 1780K rodata, 1024K init, 223K bss, 30064K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns
[    0.000002] sched_clock: 32 bits at 167MHz, resolution 6ns, wraps every 12884901885ns
[    0.007837] Switching to timer-based delay loop, resolution 6ns
[    0.013877] Calibrating delay loop (skipped), value calculated using timer frequency.. 333.33 BogoMIPS (lpj=1666666)
[    0.024416] CPU: Testing write buffer coherency: ok
[    0.029452] pid_max: default: 32768 minimum: 301
[    0.047545] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.054887] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.074759] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[    0.084358] Setting up static identity map for 0x100000 - 0x10003c
[    0.090862] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.103919] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.113782] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.124036] pinctrl core: initialized pinctrl subsystem
[    0.134379] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.141098] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.149743] thermal_sys: Registered thermal governor 'step_wise'
[    0.149808] cpuidle: using governor ladder
[    0.160449] Feroceon L2: Enabling L2
[    0.164052] Feroceon L2: Cache support initialised.
[    0.174249] No ATAGs?
[    0.186778] SCSI subsystem initialized
[    0.191220] usbcore: registered new interface driver usbfs
[    0.196732] usbcore: registered new interface driver hub
[    0.202088] usbcore: registered new device driver usb
[    0.208849] clocksource: Switched to clocksource orion_clocksource
[    0.228895] NET: Registered PF_INET protocol family
[    0.234019] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.242410] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.250858] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.258577] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.266251] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.273431] TCP: Hash tables configured (established 2048 bind 2048)
[    0.280512] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.287982] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.294523] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.302285] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.307960] PCI: CLS 0 bytes, default 32
[    0.314321] Unpacking initramfs...
[    0.558782] Initramfs unpacking failed: invalid magic at start of compressed archive
[    0.631037] Freeing initrd memory: 16388K
[    0.635656] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.662238] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.668058] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.684566] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.693192] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.702904] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.
[    0.712279] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:
[    0.721442] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000
[    0.730839] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    0.740736] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x0100000000
[    0.751103] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00
[    0.758649] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.764143] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x00041fff])
[    0.774295] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    0.781166] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    0.787502] pci 0000:00:01.0: [11ab:6281] type 01 class 0x060400
[    0.794931] PCI: bus0: Fast back to back transfers disabled
[    0.800513] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.808649] pci 0000:01:00.0: [8086:10d3] type 00 class 0x020000
[    0.814682] pci 0000:01:00.0: reg 0x10: [mem 0x40000000-0x4001ffff]
[    0.820967] pci 0000:01:00.0: reg 0x18: [io  0xf0000000-0xf000001f]
[    0.827223] pci 0000:01:00.0: reg 0x1c: [mem 0x40020000-0x40023fff]
[    0.833614] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.839962] PCI: bus1: Fast back to back transfers disabled
[    0.845513] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.852145] pci 0000:00:01.0: BAR 8: assigned [mem 0xe0000000-0xe00fffff]
[    0.858928] pci 0000:00:01.0: BAR 7: assigned [io  0x10000-0x10fff]
[    0.865181] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe001ffff]
[    0.871968] pci 0000:01:00.0: BAR 3: assigned [mem 0xe0020000-0xe0023fff]
[    0.878737] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x1001f]
[    0.884996] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.889958] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    0.896210] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    0.903694] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.911469] printk: console [ttyS0] disabled
[    0.916125] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 10416666) is a 16550A
[    0.925112] printk: console [ttyS0] enabled
[    0.925112] printk: console [ttyS0] enabled
[    0.933457] printk: bootconsole [ns16550a0] disabled
[    0.933457] printk: bootconsole [ns16550a0] disabled
[    0.964280] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 27, base_baud = 10416666) is a 16550A
[    0.973442] serial serial0: tty port ttyS1 registered
[    0.997949] loop: module loaded
[    1.002089] sata_mv f1080000.sata: slots 32 ports 2
[    1.014835] scsi host0: sata_mv
[    1.020593] scsi host1: sata_mv
[    1.023988] landisk-r8c serial0-0: MCU: HDL-XV-0 v0.88
[    1.032191] ata1: SATA max UDMA/133 irq 28
[    1.036284] ata2: SATA max UDMA/133 irq 28
[    1.047094] spi-nor spi0.0: m25px64 (8192 Kbytes)
[    1.052733] 3 fixed-partitions partitions found on MTD device spi0.0
[    1.059105] Creating 3 MTD partitions on "spi0.0":
[    1.063883] 0x000000000000-0x000000070000 : "u-boot"
[    1.070604] 0x000000070000-0x000000080000 : "u-boot-env"
[    1.077562] 0x000000080000-0x000000800000 : "jffs2"
[    1.087831] orion-ehci f1050000.ehci: EHCI Host Controller
[    1.093384] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    1.101197] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    1.128872] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    1.135726] hub 1-0:1.0: USB hub found
[    1.140331] hub 1-0:1.0: 1 port detected
[    1.144812] usbcore: registered new interface driver usb-storage
[    1.151061] i2c_dev: i2c /dev entries driver
[    1.157308] orion_wdt: Initial timeout 25 sec
[    1.171747] marvell-cesa f1030000.crypto: CESA device successfully registered
[    1.180896] NET: Registered PF_INET6 protocol family
[    1.188923] Segment Routing with IPv6
[    1.192691] In-situ OAM (IOAM) with IPv6
[    1.196734] NET: Registered PF_PACKET protocol family
[    1.201815] 8021q: 802.1Q VLAN Support v1.8
[    1.258114] clk: Disabling unused clocks
[    1.373539] ata1: SATA link down (SStatus 0 SControl F300)
[    1.428863] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    1.630378] hub 1-1:1.0: USB hub found
[    1.634681] hub 1-1:1.0: 2 ports detected
[    1.878867] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    1.885823] ata2.15: Port Multiplier 1.2, 0x11ab:0x4140 r193, 4 ports, feat 0x5/0x1f
[    1.906528] ata2.00: hard resetting link
[    2.409123] ata2.01: hard resetting link
[    2.742912] ata2.02: hard resetting link
[    3.072916] ata2.03: hard resetting link
[    3.431171] ata2.00: ATA-9: KLEVV SSD NEO N500 120GB, R1001C0, max UDMA/133
[    3.438112] ata2.00: 234441648 sectors, multi 1: LBA48 NCQ (depth 31/32)
[    3.481167] ata2.00: configured for UDMA/133
[    3.485620] ata2: EH complete
[    3.489098] scsi 1:0:0:0: Direct-Access     ATA      KLEVV SSD NEO N5 1C0  PQ: 0 ANSI: 5
[    3.498940] sd 1:0:0:0: [sda] 234441648 512-byte logical blocks: (120 GB/112 GiB)
[    3.506445] sd 1:0:0:0: [sda] Write Protect is off
[    3.511327] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.520449] sd 1:0:0:0: [sda] Preferred minimum I/O size 512 bytes
[    3.531475]  sda: sda1 sda2 sda3
[    3.535296] sd 1:0:0:0: [sda] Attached SCSI disk
[    3.549685] EXT4-fs (sda2): mounted filesystem ff313567-e9f1-5a5d-9895-3ba130b4a864 r/w with ordered data mode. Quota mode: disabled.
[    3.561732] VFS: Mounted root (ext4 filesystem) on device 8:2.
[    3.571685] Freeing unused kernel image (initmem) memory: 1024K
[    3.577605] Run /sbin/init as init process
[    3.605103] init: Console is alive
[    3.608748] init: - watchdog -
[    3.627169] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.636898] pps_core: LinuxPPS API ver. 1 registered
[    3.641890] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    3.657585] PTP clock support registered
[    3.674001] button_hotplug: loading out-of-tree module taints kernel.
[    3.680966] Button Hotplug driver version 0.4.1
[    3.710651] rtc-rs5c372 0-0032: rs5c372a found, 24hr
[    3.723201] rtc-rs5c372 0-0032: registered as rtc0
[    3.729849] rtc-rs5c372 0-0032: setting system clock to 2024-11-23T12:35:31 UTC (1732365331)
[    3.745194] input: f1012100.serial:mcu:buttons as /devices/platform/ocp@f1000000/f1012100.serial/serial0/serial0-0/f1012100.serial:mcu:buttons/input/input0
[    3.759466] input: f1012100.serial:mcu:hdds as /devices/platform/ocp@f1000000/f1012100.serial/serial0/serial0-0/f1012100.serial:mcu:hdds/input/input1
[    3.814015] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.836339] init: - preinit -
[    6.408891] random: crng init done
Cannot parse config file '/etc/fw_env.config': No such file or directory
Failed to find NVMEM device
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.820466] mount_root: mounting /dev/root with options 
[   10.826385] EXT4-fs (sda2): re-mounted ff313567-e9f1-5a5d-9895-3ba130b4a864 r/w. Quota mode: disabled.
[   10.835988] mount_root: loading kmods from internal overlay
[   10.850991] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   10.859383] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   11.314647] block: attempting to load /tmp/overlay/upper/etc/config/fstab
[   11.321680] block: unable to load configuration (fstab: Entry not found)
[   11.328501] block: attempting to load /tmp/overlay/etc/config/fstab
[   11.335002] block: unable to load configuration (fstab: Entry not found)
[   11.341845] block: attempting to load /etc/config/fstab
[   11.348295] block: extroot: not configured
[   11.352937] block: attempting to load /etc/config/fstab
[   11.358689] block: extroot: not configured
[   11.365347] urandom-seed: Seeding with /etc/urandom.seed
[   11.394097] procd: - early -
[   11.397148] procd: - watchdog -
[   11.992884] procd: - watchdog -
[   12.003409] procd: - ubus -
[   12.074225] procd: - init -
Please press Enter to activate this console.
[   12.661550] urngd: jent-rng init failed, err: 11
[   13.075424] kmodloader: loading kernel modules from /etc/modules.d/*
[   13.205631] hwmon hwmon0: temp1_input not attached to any thermal zone
[   13.236943] e1000e: Intel(R) PRO/1000 Network Driver
[   13.241958] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[   13.248074] pci 0000:00:01.0: enabling device (0140 -> 0143)
[   13.253918] e1000e 0000:01:00.0: Interrupt Throttling Rate (ints/sec) set to simplified (2000-8000 ints) mode
[   13.263811] e1000e 0000:01:00.0: Invalid Interrupt Mode value specified (1) defaulting to 0 (legacy)
[   13.377389] e1000e 0000:01:00.0 0000:01:00.0 (uninitialized): registered PHC clock
[   13.486601] e1000e 0000:01:00.0 eth0: (PCI Express:2.5GT/s:Width x1) 34:76:c5:1d:55:02
[   13.494542] e1000e 0000:01:00.0 eth0: Intel(R) PRO/1000 Network Connection
[   13.501472] e1000e 0000:01:00.0 eth0: MAC: 3, PHY: 8, PBA No: FFFFFF-0FF
[   13.554396] kmodloader: done loading kernel modules from /etc/modules.d/*
[   20.334533] 8021q: adding VLAN 0 to HW filter on device eth0
[   20.350783] br-lan: port 1(eth0) entered blocking state
[   20.356017] br-lan: port 1(eth0) entered disabled state
[   20.361304] e1000e 0000:01:00.0 eth0: entered allmulticast mode
[   20.367478] e1000e 0000:01:00.0 eth0: entered promiscuous mode
[   22.829937] e1000e 0000:01:00.0 eth0: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[   22.839190] br-lan: port 1(eth0) entered blocking state
[   22.844405] br-lan: port 1(eth0) entered forwarding state



BusyBox v1.36.1 (2024-11-23 10:45:09 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r28146+28-52b6c92479
 -----------------------------------------------------
=== 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": "6.6.61",
        "hostname": "OpenWrt",
        "system": "Feroceon 88FR131 rev 1 (v5l)",
        "model": "I-O DATA HDL-XV",
        "board_name": "iodata,hdl-xv",
        "rootfs_type": "ext4",
        "release": {
                "distribution": "OpenWrt",
                "version": "SNAPSHOT",
                "revision": "r28146+28-52b6c92479",
                "target": "kirkwood/nas",
                "description": "OpenWrt SNAPSHOT r28146+28-52b6c92479",
                "builddate": "1732364636"
        }
}
root@OpenWrt:~# ubus call system info
{
        "localtime": 1732366615,
        "uptime": 1289,
        "load": [
                0,
                0,
                0
        ],
        "memory": {
                "total": 255479808,
                "free": 237465600,
                "shared": 139264,
                "buffered": 1605632,
                "available": 215961600,
                "cached": 4575232
        },
        "root": {
                "total": 483668,
                "free": 473660,
                "used": 10008,
                "avail": 463668
        },
        "tmp": {
                "total": 124744,
                "free": 124608,
                "used": 136,
                "avail": 124608
        },
        "swap": {
                "total": 0,
                "free": 0
        }
}
root@OpenWrt:~# fdisk -l /dev/sda
GPT PMBR size mismatch (1034271 != 234441647) will be corrected by write.
Disk /dev/sda: 111.79 GiB, 120034123776 bytes, 234441648 sectors
Disk model: KLEVV SSD NEO N5
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 5452574F-2211-4433-5566-778899AABB00

Device     Start     End Sectors  Size Type
/dev/sda1   2048   34815   32768   16M Linux filesystem
/dev/sda2  34816 1034239  999424  488M Linux filesystem
/dev/sda3     34    2047    2014 1007K BIOS boot

Partition table entries are not in disk order.
root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root               472.3M      9.8M    452.8M   2% /
tmpfs                   121.8M    136.0K    121.7M   0% /tmp
tmpfs                   512.0K         0    512.0K   0% /dev
root@OpenWrt:~# mount
/dev/root on / type ext4 (rw,noatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
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,nosuid,nodev,noexec,noatime)
bpffs on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,noatime,mode=700)
root@OpenWrt:~# 
root@OpenWrt:~# [ 1338.201189] ata2.02: ATA-9: KLEVV SSD NEO N500 120GB, R1001C0, max UDMA/133
[ 1338.208153] ata2.02: 234441648 sectors, multi 1: LBA48 NCQ (depth 31/32)
[ 1338.251183] ata2.02: configured for UDMA/133
[ 1338.259316] scsi 1:2:0:0: Direct-Access     ATA      KLEVV SSD NEO N5 1C0  PQ: 0 ANSI: 5
[ 1338.287615] hwmon hwmon1: temp1_input not attached to any thermal zone
[ 1338.294682] sd 1:2:0:0: [sdb] 234441648 512-byte logical blocks: (120 GB/112 GiB)
[ 1338.302232] sd 1:2:0:0: [sdb] Write Protect is off
[ 1338.307092] sd 1:2:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1338.316225] sd 1:2:0:0: [sdb] Preferred minimum I/O size 512 bytes
[ 1338.332178]  sdb: sdb1
[ 1338.334924] sd 1:2:0:0: [sdb] Attached SCSI disk

root@OpenWrt:~# [ 1353.592610] br-lan: port 1(eth0) entered disabled state
[ 1353.609240] e1000e 0000:01:00.0 eth0: left allmulticast mode
[ 1353.614914] e1000e 0000:01:00.0 eth0: left promiscuous mode
[ 1353.620756] br-lan: port 1(eth0) entered disabled state
[ 1353.715230] e1000e 0000:01:00.0 eth0: NIC Link is Down
[ 1354.594277] EXT4-fs (sda2): re-mounted ff313567-e9f1-5a5d-9895-3ba130b4a864 ro. Quota mode: disabled.
[ 1357.873265] sd 1:2:0:0: [sdb] Synchronizing SCSI cache
[ 1357.878577] sd 1:2:0:0: [sdb] Stopping disk
[ 1357.938923] sd 1:0:0:0: [sda] Synchronizing SCSI cache
[ 1357.944155] sd 1:0:0:0: [sda] Stopping disk
[ 1358.009465] e1000e: EEE TX LPI TIMER: 00000000
[ 1358.016690] reboot: Power down

HDL-XV R8C関連メモ

Linux Kernel

serdev

  • serdev受信時のcountは末尾の \0 を含まない
    • strscpy() でコピーする場合は \0 終端分を含めた count + 1 を渡す
      • この時、serdevのbuf内のcountと同じ長さである有効データが \0 で終端されていない場合、コピー先は有効データが \0 で終端されて返されるが戻り値が -E2BIG になることに留意する
  • serdevの受信バッファはcount上限以降に無関係のデータが付いていることが度々ある?
    • count内の有効データが \0 で終端されておらず、何も考えずにコピーすると無関係データを巻き込んで事故る
    • 他の用途のバッファと共用している?
      • count以降にEthernetやBlockデバイス絡みの文字列が混じることがある

input

  • 同一キーコード (KEY_*, BTN_*, SW_*, etc?) に対する、一つ前と同じ入力値は、input_event() (+ input_sync()) による送信を受けてもhandler等へのイベント送信を発生させない?
    • input_dev.keycode の登録状況に依存する?
    • input_dev側で前回の値を保持している可能性があり、初期値も input_event() または input_report_*() により送信されないと、実際の初期値からLinux Kernel側における初期値と同値へと変化した場合にLinux Kernel側で変化が検出できず、handler等へのイベント送信が発生しない可能性
      • 例:

        初期 初回変化 結果
        実: pressed (1)
        Linux: released (0)
        実: released (0)
        Linux: released (0)
        不検出

R8C

  • ボタン押下のタイミングによっては、コマンドのリプライとイベントコードが個々の \0 終端無しの改行による連続データで送られてくることがある?

HDL-XVのWake on LAN (Magic Packet) 有効化

Intel 82574Lを搭載しており、ethtoolでの通常のWoL有効化だけでは足りず、EEPROM内の値の変更が必要となる場合が存在する模様

参考: __resetscript_post_reset()(メーカーファームウェアreset.sh

# ethtool -e eth0
Offset          Values
------          ------
0x0000:         34 76 c5 1d 55 02 20 04 46 f7 90 10 ff ff ff ff 
0x0010:         ff ff ff ff 6b 02 00 00 86 80 d3 10 ff ff 58 81 
0x0020:         00 00 01 20 74 7e ff ff 00 10 c8 00 00 00 04 27 
0x0030:         c9 6c 50 21 3e 07 0b 46 07 2d 40 01 00 f0 84 06 
0x0040:         00 60 80 00 04 0f ff 7f 01 49 ec 92 5c fc 83 f0 
0x0050:         28 00 33 02 50 00 1f 7d 61 19 53 04 a0 00 ff ff 
0x0060:         ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
0x0070:         ff ff ff ff ff ff ff ff ff ff 30 01 ff ff 64 d5 
0x0080:         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x0090:         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x00a0:         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x00b0:         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x00c0:         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x00d0:         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x00e0:         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
0x00f0:         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
# ethtool -e eth0 | grep "^0x0040" | cut -d' ' -f10
49
# ethtool -E eth0 magic 0x10d38086 offset 0x49 value 0x4d
# ethtool -e eth0 | grep "^0x0040" | cut -d' ' -f10
4d
# ethtool eth0 | grep "^\sWake-on: "
        Wake-on: d
# ethtool -s eth0 wol g
# ethtool eth0 | grep "^\sWake-on: "
        Wake-on: g

Marvell Armada 7K (88F70x0)/8K (88F80x0)のcp110 pinctrl

  • Armada 7K (88F70x0)は一つのcp110ユニット (cp0)が全てのピンを管理し、一部ピン (39-43)は利用不可
  • Armada 8K (88F80x0)は二つのcp110ユニット (cp0, cp1)が大体半分ずつを管理し、master (cp0) はピン32~62、slave (cp1)はピン0~31という、ユニットの数字とは逆の割り当て
    • cp1EthernetにRGMIIを使用する場合のpinctrl設定では、RGMIIのピン44~55は cp0 が管理する範囲である為、cp1 ではなく cp0 のpinctrlに置いたpinmuxノードをバインドする必要がある
      cp1 のpinctrlに置いた場合:

      [    0.677752] armada-cp110-pinctrl f4440000.system-controller:pinctrl: unsupported function ge1 on pin mpp44
      [    0.687454] armada-cp110-pinctrl f4440000.system-controller:pinctrl: unsupported function ge1 on pin mpp45
      [    0.697156] armada-cp110-pinctrl f4440000.system-controller:pinctrl: unsupported function ge1 on pin mpp46
      [    0.706857] armada-cp110-pinctrl f4440000.system-controller:pinctrl: unsupported function ge1 on pin mpp47
      [    0.716556] armada-cp110-pinctrl f4440000.system-controller:pinctrl: unsupported function ge1 on pin mpp48
      [    0.726255] armada-cp110-pinctrl f4440000.system-controller:pinctrl: unsupported function ge1 on pin mpp49
      [    0.735958] armada-cp110-pinctrl f4440000.system-controller:pinctrl: unsupported function ge1 on pin mpp50
      [    0.745658] armada-cp110-pinctrl f4440000.system-controller:pinctrl: unsupported function ge1 on pin mpp51
      [    0.755358] armada-cp110-pinctrl f4440000.system-controller:pinctrl: unsupported function ge1 on pin mpp52
      [    0.765057] armada-cp110-pinctrl f4440000.system-controller:pinctrl: unsupported function ge1 on pin mpp53
      [    0.774757] armada-cp110-pinctrl f4440000.system-controller:pinctrl: unsupported function ge1 on pin mpp54
      [    0.784460] armada-cp110-pinctrl f4440000.system-controller:pinctrl: unsupported function ge1 on pin mpp55
      [    0.794161] pinctrl core: failed to register map default (0): invalid type given
      
mpp Armada 7K (88F70x0)
cp0
Armada 8K (88F80x0)
cp0 (master) cp1 (slave)
0-31
32-62 32-38
39-43
44-62

参考

elixir.bootlin.com

Xubuntu 24.04 LTS MinimalでBluetoothを使う

ThinkPad X250がWindowsでは最早将来性が無い為、思い立ってXubuntuを突っ込んだらBluetooth周りでコケたメモ

BluetoothGUIが無い

→ bluemanをインストールする

No Bluetooth on Xubuntu Minimal : r/xubuntu

YAMAHA SR-C20Aに接続しようとすると
br-connection-profile-unavailable でリンク確立に失敗する

→ userのpulseaudioを起動する

$ systemctl --user enable pulseaudio
$ systemctl --user start pulseaudio

Xubuntu 23.04 bluetooth - br-connection-profile-unavailable - Ask Ubuntu

初期の音量が100%なので注意すること。上手くいって繋がった途端夜中に爆音再生して焦った


その他、ユーザーログイン時の自動接続とかpulseaudioの自動起動には bluez-alsa-utils も必要かも?

V-81

V-80の確保に前後して、OpenWrt Forumにて挙げられていたことから把握しており、中古でも価格が高めである為散々悩んだ末に思い切って確保したもの。

弄っていくのでメモ。

Switch, PHY

未確認

zone WAN LAN
port
(V-81)
INTERNET LAN1 LAN2 LAN3
port (MT7530) port0 port1 port2 port3

MAC

mmcblk1boot0は少なくともU-Boot本体とU-Boot環境変数領域の2つを含んでいる領域

  • LAN: 00:1C:7F:xx:xx:FA (mmcblk1boot0, ethaddr (text))
  • WAN: 00:1C:7F:xx:xx:F9 (mmcblk1boot0, eth2addr (text))
  • DMZ: 00:1C:7F:xx:xx:FB (mmcblk1boot0, eth1addr/eth3addr (text))

U-Boot

Ctrl + Cでブートメニューが表示できるのみで、U-Bootのコマンドラインに入ることは不可。

  • (bootmenu)

      ************ Hit 'Ctrl + C' for boot menu ************
                                                                                                                                                   0 
      Setting bootaddr to 0x6000200
      Enabling network ports...
      Done.
      init 88e6352 start
      init 88e6352 finish
    
    
      Welcome to Gaia Embedded Boot Menu :
    
              1.  Start in normal Mode
              2.  Start in debug Mode
              3.  Start in maintenance Mode
              4.  Restore to Factory Defaults (local)
              5.  Install/Update Image from Network
              6.  Restart Boot-Loader
              7.  Install/Update Image from USB
              8.  Upload preset configuration file from Network
              9.  Delete preset configuration file
              10. Change active ethernet port
              11.  Delete branding file
    
              Please enter your selection (press ENTER to finish) :
    

    リストに無い 0 が存在し選択することが可能であるものの、アクセスコードの入力を求められるので利用不可

      Welcome to Gaia Embedded Boot Menu :
    
              1.  Start in normal Mode
              2.  Start in debug Mode
              3.  Start in maintenance Mode
              4.  Restore to Factory Defaults (local)
              5.  Install/Update Image from Network
              6.  Restart Boot-Loader
              7.  Install/Update Image from USB
              8.  Upload preset configuration file from Network
              9.  Delete preset configuration file
              10. Change active ethernet port
              11.  Delete branding file
    
              Please enter your selection (press ENTER to finish) :0
    
      Please enter access code: (press ENTER to finish)
    
              Access Code:
    
  • help

    bootcmd を弄って強引に表示

      ?       - alias for 'help'
      avs     - Set/Get Adaptive Voltage Scaling (AVS) value
    
      base    - print or set address offset
      bdinfo  - print Board Info structure
      blkcache- block cache diagnostics and control
      boot    - boot default, i.e., run 'bootcmd'
      bootd   - boot default, i.e., run 'bootcmd'
      bootefi - Boots an EFI payload from memory
      bootelf - Boot from an ELF image in memory
      booti   - boot arm64 Linux Image image from memory
      bootm   - boot application image from memory
      bootp   - boot image via network using BOOTP/TFTP protocol
      bootvx  - Boot vxWorks from an ELF image
      bubt    - Burn a u-boot image to flash
      cmp     - memory compare
      coninfo - print console devices and information
      cp      - memory copy
      cp_blob_update- cp_blob_update  - set blob params from uboot enviroment.
    
      cp_reset_to_default- cp_reset_to_default - restore default image.
    
      crc32   - checksum calculation
      dcache  - enable or disable data cache
      dhcp    - boot image via network using DHCP/TFTP protocol
      dm      - Driver model low level access
      echo    - echo args to console
      editenv - edit environment variable
      env     - environment handling commands
      ethsw   - Ethernet l2 switch commands
      exit    - exit script
      ext2load- load binary file from a Ext2 filesystem
      ext2ls  - list files in a directory (default /)
      ext4load- load binary file from a Ext4 filesystem
      ext4ls  - list files in a directory (default /)
      ext4size- determine a file's size
      ext4write- create a file in the root directory
      false   - do nothing, unsuccessfully
      fatinfo - print information about filesystem
      fatload - load binary file from a dos filesystem
      fatls   - list files in a directory (default /)
      fatsize - determine a file's size
      fdt     - flattened device tree utility commands
      fstype  - Look up a filesystem type
      go      - start application at address 'addr'
      gpio    - query and control gpio pins
      gzwrite - unzip and write memory to block device
      help    - print command description/usage
      i2c     - I2C sub-system
      icache  - enable or disable instruction cache
      iminfo  - print header information for application image
      imxtract- extract a part of a multi-image
      init_88e6352- init 88e6352
      init_88e6352_factory- init 88e6352_factory
      ir      - ir    - Reading and changing internal register values.
    
      itest   - return true/false on integer compare
      ledCtl  - ledCtl <LED> <color> <blink>
    
      load    - load binary file from a filesystem
      loadb   - load binary file over serial line (kermit mode)
      loads   - load S-Record file over serial line
      loadx   - load binary file over serial line (xmodem mode)
      loady   - load binary file over serial line (ymodem mode)
      loop    - infinite loop on address range
      ls      - list files in a directory (default /)
      lzmadec - lzma uncompress a memory region
      map     - Display address decode windows
    
      md      - memory display
      mdio    - MDIO utility commands
      menu    - menu
    
      mii     - MII utility commands
      mm      - memory modify (auto-incrementing address)
      mmc     - MMC sub system
      mmcinfo - display MMC info
      mv_fw_info- Prints service CPU firmware information
      mv_get_counters- Get gop counters
      mvsw_reg- marvell 88e6352 switch register access
      mw      - memory write (fill)
      network - network [enable|disable|status]
    
      nfs     - boot image via network using NFS protocol
      nm      - memory modify (constant address)
      part    - disk partition related commands
      pci     - list and access PCI Configuration Space
      phy_fw_down- phy_fw_down - Downloads x3220/3310 Ethernet transceiver PHY firmware.
    
      ping    - send ICMP ECHO_REQUEST to network host
      printenv- print environment variables
      pxe     - commands to get and boot from pxe files
      regulator- uclass operations
      reset   - Perform RESET of the CPU
      run     - run commands in an environment variable
      sata    - SATA sub-system
      save    - save file to a filesystem
      saveenv - save environment variables to persistent storage
      scsi    - SCSI sub-system
      scsiboot- boot from SCSI device
      setenv  - set environment variables
      sf      - SPI flash sub-system
      showvar - print local hushshell variables
      size    - determine a file's size
      sleep   - delay execution for some time
      source  - run script from memory
      sspi    - SPI utility command
      switch  - Switch Access commands
      sysboot - command to get and boot from syslinux files
      test    - minimal test like /bin/sh
      tftpboot- boot image via network using TFTP protocol
      time    - run commands and summarize execution time
      true    - do nothing, successfully
      tsen    - tsen - Display the SoC temperature.
    
      unzip   - unzip a memory region
      usb     - USB sub-system
      usbboot - boot from USB device
      v0_eth_led_test- v0 eth led test tool
      version - print monitor, compiler and linker version
    
  • (空のUSBストレージ装着時ログ)

      ************ Hit 'Ctrl + C' for boot menu ************
                                                                                                                                                 0 1 
      USB0:   Register 2000120 NbrPorts 2
      Starting the controller
      USB XHCI 1.00
      scanning bus 0 for devices... 2 USB Device(s) found
             scanning usb for storage devices... 1 Storage Device(s) found
    
      Trying to load file "u-boot*v0.bin" from USB flash drive using FAT FS
      ** Unable to read file u-boot*v0.bin **
    
      Trying to load file "fw1*.img" from USB flash drive using FAT FS
      ** Unable to read file fw1*.img **
    
      Trying to load file "*.cfg" from USB flash drive using FAT FS
      ** Unable to read file *.cfg **
    

Kernel

expert コマンドでLinux Kernelのコマンドラインに入れる

  • uname -a

      [Expert@Gateway-ID-7Fxxxx4A]# uname -a
      Linux Gateway-ID-7Fxxxx4A 4.14.76-release-1.3.0 #1 SMP Sun Nov 1 10:59:50 IST 2020 aarch64 arm GNU/Linux
    
  • cat /proc/version

      [Expert@Gateway-ID-7FxxxxF9]# cat /proc/version
      Linux version 4.14.76-release-1.3.0 (builder@lnx70bcccmp1) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05)) #1 SMP Thu Dec 9 11:14:22 IST 2021
    
  • cat /proc/cmdline

      [Expert@Gateway-ID-7FxxxxF9]# cat /proc/cmdline
      console=ttyS0,115200 earlycon=uart8250,mmio32,0xf0512000 crashkernel=70M mvpp2x.queue_mode=1 quiet blkdevparts=mmcblk1:48M@10M(kernel-1),1M(dtb-1),720M(rootfs-1),48M(kernel-2),1M(dtb-2),720M(rootfs-2),300M(default_sw),5000M(logs),1M(preset_cfg),1M(adsl),-(storage) maxcpus=4
    
  • cat /proc/cpuinfo

      [Expert@Gateway-ID-7FxxxxF9]# cat /proc/cpuinfo
      processor       : 0
      BogoMIPS        : 50.00
      Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
      CPU implementer : 0x41
      CPU architecture: 8
      CPU variant     : 0x0
      CPU part        : 0xd08
      CPU revision    : 1
    
      processor       : 1
      BogoMIPS        : 50.00
      Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
      CPU implementer : 0x41
      CPU architecture: 8
      CPU variant     : 0x0
      CPU part        : 0xd08
      CPU revision    : 1
    
      processor       : 2
      BogoMIPS        : 50.00
      Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
      CPU implementer : 0x41
      CPU architecture: 8
      CPU variant     : 0x0
      CPU part        : 0xd08
      CPU revision    : 1
    
      processor       : 3
      BogoMIPS        : 50.00
      Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
      CPU implementer : 0x41
      CPU architecture: 8
      CPU variant     : 0x0
      CPU part        : 0xd08
      CPU revision    : 1
    
  • cat /proc/meminfo

      [Expert@Gateway-ID-7FxxxxF9]# cat /proc/meminfo
      MemTotal:        1959620 kB
      MemFree:         1040208 kB
      MemAvailable:    1159820 kB
      Buffers:            9592 kB
      Cached:           179700 kB
      SwapCached:            0 kB
      Active:           199752 kB
      Inactive:          61308 kB
      Active(anon):      81180 kB
      Inactive(anon):     8040 kB
      Active(file):     118572 kB
      Inactive(file):    53268 kB
      Unevictable:           0 kB
      Mlocked:               0 kB
      SwapTotal:             0 kB
      SwapFree:              0 kB
      Dirty:                 0 kB
      Writeback:             0 kB
      AnonPages:         71804 kB
      Mapped:            62832 kB
      Shmem:             17464 kB
      Slab:              38708 kB
      SReclaimable:      19448 kB
      SUnreclaim:        19260 kB
      KernelStack:        2080 kB
      PageTables:         1136 kB
      NFS_Unstable:          0 kB
      Bounce:                0 kB
      WritebackTmp:          0 kB
      CommitLimit:      979808 kB
      Committed_AS:     334224 kB
      VmallocTotal:   135290159040 kB
      VmallocUsed:           0 kB
      VmallocChunk:          0 kB
      AnonHugePages:     16384 kB
      ShmemHugePages:        0 kB
      ShmemPmdMapped:        0 kB
      CmaTotal:         262144 kB
      CmaFree:          249960 kB
      HugePages_Total:       0
      HugePages_Free:        0
      HugePages_Rsvd:        0
      HugePages_Surp:        0
      Hugepagesize:       2048 kB
    
  • cat /proc/mtd

      [Expert@Gateway-ID-7FxxxxF9]# cat /proc/mtd
      dev:    size   erasesize  name
    
  • fdisk -l /dev/mmcblk1

      [Expert@Gateway-ID-7FxxxxF9]# fdisk -l /dev/mmcblk1
      Disk /dev/mmcblk1: 15 GB, 15758000128 bytes, 30777344 sectors
      480896 cylinders, 4 heads, 16 sectors/track
      Units: cylinders of 64 * 512 = 32768 bytes
    
      Device       Boot StartCHS    EndCHS        StartLBA     EndLBA    Sectors  Size Id Type
      /dev/mmcblk1p1    320,0,1     639,3,16         20480   30777343   30756864 14.6G 83 Linux
    
  • cat /proc/partitions

    以下のmmcblk1のパーティションはbootargsで渡されたものを基にパースしていて、実際にeMMCのパーティションテーブルに記録されているのは上記fdiskの出力通り1パーティションのみであると思われる

      [Expert@Gateway-ID-7FxxxxF9]# cat /proc/partitions
      major minor  #blocks  name
    
         1        0       4096 ram0
         1        1       4096 ram1
         1        2       4096 ram2
         1        3       4096 ram3
         1        4       4096 ram4
         1        5       4096 ram5
         1        6       4096 ram6
         1        7       4096 ram7
         1        8       4096 ram8
         1        9       4096 ram9
         1       10       4096 ram10
         1       11       4096 ram11
         1       12       4096 ram12
         1       13       4096 ram13
         1       14       4096 ram14
         1       15       4096 ram15
       179        0   15388672 mmcblk1
       179        1      49152 mmcblk1p1
       179        2       1024 mmcblk1p2
       179        3     737280 mmcblk1p3
       179        4      49152 mmcblk1p4
       179        5       1024 mmcblk1p5
       179        6     737280 mmcblk1p6
       179        7     307200 mmcblk1p7
       179        8    5120000 mmcblk1p8
       179        9       1024 mmcblk1p9
       179       10       1024 mmcblk1p10
       179       11    8374272 mmcblk1p11
       179       96       4096 mmcblk1rpmb
       179       64       4096 mmcblk1boot1
       179       32       4096 mmcblk1boot0
    
  • mount

      [Expert@Gateway-ID-7FxxxxF9]# mount
      rootfs on / type rootfs (rw,size=845088k,nr_inodes=211272)
      proc on /proc type proc (rw,relatime)
      devpts on /dev/pts type devpts (rw,relatime,gid=4,mode=620,ptmxmode=000)
      none on /sys type sysfs (rw,relatime)
      tmpfs on /tmp type tmpfs (rw,relatime,size=20480k)
      tmpfs on /fwtmp type tmpfs (rw,relatime,size=61440k)
      /dev/mmcblk1p8 on /logs type ext4 (rw,relatime,nodelalloc,commit=1)
      /dev/mmcblk1p11 on /storage type ext4 (rw,relatime,nodelalloc,commit=1)
      /dev/mmcblk1p3 on /pfrm2.0 type ext4 (rw,relatime,nodelalloc)
      tmpfs on /tmp/log/local type tmpfs (rw,relatime,size=20480k)
      tmpfs on /tetmp type tmpfs (rw,relatime,size=512000k)
      none on /sys/kernel/debug type debugfs (rw,relatime)
    
  • cat /proc/self/mountinfo

      [Expert@Gateway-ID-7FxxxxF9]# cat /proc/self/mountinfo 
      1 1 0:2 / / rw - rootfs rootfs rw,size=845088k,nr_inodes=211272
      16 1 0:5 / /proc rw,relatime - proc proc rw
      17 1 0:16 / /dev/pts rw,relatime - devpts devpts rw,gid=4,mode=620,ptmxmode=000
      18 1 0:17 / /sys rw,relatime - sysfs none rw
      19 1 0:18 / /tmp rw,relatime - tmpfs tmpfs rw,size=20480k
      20 1 0:19 / /fwtmp rw,relatime - tmpfs tmpfs rw,size=61440k
      21 1 179:8 / /logs rw,relatime - ext4 /dev/mmcblk1p8 rw,nodelalloc,commit=1
      22 1 179:11 / /storage rw,relatime - ext4 /dev/mmcblk1p11 rw,nodelalloc,commit=1
      23 1 179:3 / /pfrm2.0 rw,relatime - ext4 /dev/mmcblk1p3 rw,nodelalloc
      24 19 0:20 / /tmp/log/local rw,relatime - tmpfs tmpfs rw,size=20480k
      25 1 0:21 / /tetmp rw,relatime - tmpfs tmpfs rw,size=512000k
      26 18 0:7 / /sys/kernel/debug rw,relatime - debugfs none rw
    
  • cat /sys/kernel/debug/gpio

      [Expert@Gateway-ID-7xxxxF9]# cat /sys/kernel/debug/gpio
      gpiochip0: GPIOs 0-19, parent: platform/f06f4000.system-controller:gpio@1040, f06f4000.system-controller:gpio@1040:
       gpio-12  (cd                  ) in  hi (act hi) - IRQ disabled
    
      gpiochip2: GPIOs 32-63, parent: platform/f4440000.system-controller:gpio@100, f4440000.system-controller:gpio@100:
       gpio-34  (gpio34              ) out lo 
       gpio-35  (gpio35              ) out hi 
       gpio-38  (gpio38              ) out hi 
       gpio-39  (gpio39              ) out hi 
       gpio-40  (gpio40              ) out hi 
       gpio-41  (gpio41              ) out hi 
       gpio-43  (gpio43              ) out lo 
       gpio-46  (gpio46              ) out hi 
       gpio-47  (gpio47              ) out hi 
       gpio-48  (gpio48              ) out lo 
       gpio-55  (wdt_rst             ) out hi 
       gpio-56  (gpio56              ) out lo 
       gpio-58  (gpio58              ) out hi 
       gpio-63  (Factory Reset       ) in  hi (act lo) - IRQ edge  (clear  )
    
      gpiochip1: GPIOs 64-94, parent: platform/f2440000.system-controller:gpio@140, f2440000.system-controller:gpio@140:
       gpio-65  (switch_int          ) in  hi (act hi) - IRQ disabled
       gpio-71  (sfp_rj45_led_sel    ) out hi 
    
      gpiochip5: GPIOs 472-479, parent: i2c/0-003b, pca9534, can sleep:
       gpio-472 (                    |factory_rst         ) out hi    
       gpio-474 (                    |tpm_rst             ) in  lo    
       gpio-475 (                    |vdsl_rst            ) out hi    
       gpio-476 (                    |wifi2_en            ) out hi    
       gpio-478 (                    |lte_full_card_power_) out hi    
       gpio-479 (                    |Spare_LED2          ) out hi    
    
      gpiochip4: GPIOs 480-495, parent: i2c/0-0022, pca9555, can sleep:
       gpio-480 (                    |USB_PWR_EN          ) out hi    
       gpio-481 (                    |vdsl_12v            ) out hi    
       gpio-482 (                    |lte_en              ) out hi    
       gpio-483 (                    |lte_w_disable_1     ) out hi    
       gpio-484 (                    |lte_w_disable_2     ) out hi    
       gpio-485 (                    |wifi_wol_3v3_2      ) out hi    
       gpio-486 (                    |wifi_wol_3v3        ) in  hi    
       gpio-487 (                    |CP_V1_VPD_ROM_WP    ) out hi    
       gpio-488 (                    |lte_wake_on_wan     ) out hi    
       gpio-489 (                    |lte_wwan_led        ) in  hi    
       gpio-492 (                    |w_disable           ) out hi    
       gpio-493 (                    |w_disable_2         ) out hi    
       gpio-494 (                    |lte_rst             ) out hi    
    
      gpiochip3: GPIOs 496-511, parent: i2c/0-0021, pca9555, can sleep:
       gpio-502 (                    |wifi1_reset         ) out lo    
       gpio-503 (                    |wifi2_reset         ) out lo    
       gpio-504 (                    |lte_slot            ) in  hi    
       gpio-506 (                    |sfp_1_tx_disable    ) out lo    
       gpio-508 (                    |wifi1_en            ) out hi
    
  • ls -alh /sys/kernel/debug/pinctrl/*/pinmux-pins
    cat /sys/kernel/debug/pinctrl/*/pinmux-pins

      [Expert@Gateway-ID-7FxxxxF9]# ls -alh /sys/kernel/debug/pinctrl/*/pinmux-pins
      -r--r--r--    1 root     root           0 Jan  1  1970 /sys/kernel/debug/pinctrl/f06f4000.system-controller:pinctrl/pinmux-pins
      -r--r--r--    1 root     root           0 Jan  1  1970 /sys/kernel/debug/pinctrl/f2440000.system-controller:pinctrl/pinmux-pins
      -r--r--r--    1 root     root           0 Jan  1  1970 /sys/kernel/debug/pinctrl/f4440000.system-controller:pinctrl/pinmux-pins
      [Expert@Gateway-ID-7FxxxxF9]# cat /sys/kernel/debug/pinctrl/*/pinmux-pins    
      Pinmux settings per pin
      Format: pin (name): mux_owner gpio_owner hog?
      pin 0 (PIN0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 1 (PIN1): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 2 (PIN2): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 3 (PIN3): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 4 (PIN4): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 5 (PIN5): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 6 (PIN6): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 7 (PIN7): leds (GPIO UNCLAIMED) function gpio group mpp7
      pin 8 (PIN8): leds (GPIO UNCLAIMED) function gpio group mpp8
      pin 9 (PIN9): gpio_mpp_oem (GPIO UNCLAIMED) function gpio group mpp9
      pin 10 (PIN10): gpio_mpp_oem (GPIO UNCLAIMED) function gpio group mpp10
      pin 11 (PIN11): f0512000.serial (GPIO UNCLAIMED) function uart0 group mpp11
      pin 12 (PIN12): (MUX UNCLAIMED) mvebu-gpio:12
      pin 13 (PIN13): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 14 (PIN14): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 15 (PIN15): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 16 (PIN16): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 17 (PIN17): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 18 (PIN18): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 19 (PIN19): f0512000.serial (GPIO UNCLAIMED) function uart0 group mpp19
      Pinmux settings per pin
      Format: pin (name): mux_owner gpio_owner hog?
      pin 0 (PIN0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 1 (PIN1): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 2 (PIN2): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 3 (PIN3): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 4 (PIN4): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 5 (PIN5): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 6 (PIN6): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 7 (PIN7): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 8 (PIN8): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 9 (PIN9): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 10 (PIN10): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 11 (PIN11): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 12 (PIN12): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 13 (PIN13): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 14 (PIN14): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 15 (PIN15): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 16 (PIN16): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 17 (PIN17): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 18 (PIN18): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 19 (PIN19): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 20 (PIN20): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 21 (PIN21): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 22 (PIN22): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 23 (PIN23): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 24 (PIN24): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 25 (PIN25): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 26 (PIN26): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 27 (PIN27): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 28 (PIN28): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 29 (PIN29): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 30 (PIN30): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 31 (PIN31): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 32 (PIN32): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 33 (PIN33): (MUX UNCLAIMED) f2440000.system-controller:gpio@140:65
      pin 34 (PIN34): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 35 (PIN35): f2701100.i2c (GPIO UNCLAIMED) function i2c1 group mpp35
      pin 36 (PIN36): f2701100.i2c (GPIO UNCLAIMED) function i2c1 group mpp36
      pin 37 (PIN37): f2701000.i2c (GPIO UNCLAIMED) function i2c0 group mpp37
      pin 38 (PIN38): f2701000.i2c (GPIO UNCLAIMED) function i2c0 group mpp38
      pin 39 (PIN39): (MUX UNCLAIMED) f2440000.system-controller:gpio@140:71
      pin 40 (PIN40): f2700600.spi (GPIO UNCLAIMED) function spi0 group mpp40
      pin 41 (PIN41): f2700600.spi (GPIO UNCLAIMED) function spi0 group mpp41
      pin 42 (PIN42): f2700600.spi (GPIO UNCLAIMED) function spi0 group mpp42
      pin 43 (PIN43): f2700600.spi (GPIO UNCLAIMED) function spi0 group mpp43
      pin 44 (PIN44): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 45 (PIN45): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 46 (PIN46): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 47 (PIN47): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 48 (PIN48): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 49 (PIN49): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 50 (PIN50): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 51 (PIN51): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 52 (PIN52): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 53 (PIN53): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 54 (PIN54): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 55 (PIN55): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 56 (PIN56): f2780000.sdhci (GPIO UNCLAIMED) function sdio group mpp56
      pin 57 (PIN57): f2780000.sdhci (GPIO UNCLAIMED) function sdio group mpp57
      pin 58 (PIN58): f2780000.sdhci (GPIO UNCLAIMED) function sdio group mpp58
      pin 59 (PIN59): f2780000.sdhci (GPIO UNCLAIMED) function sdio group mpp59
      pin 60 (PIN60): f2780000.sdhci (GPIO UNCLAIMED) function sdio group mpp60
      pin 61 (PIN61): f2780000.sdhci (GPIO UNCLAIMED) function sdio group mpp61
      pin 62 (PIN62): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      Pinmux settings per pin
      Format: pin (name): mux_owner gpio_owner hog?
      pin 0 (PIN0): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 1 (PIN1): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 2 (PIN2): leds f4440000.system-controller:gpio@100:34 function gpio group mpp2
      pin 3 (PIN3): leds f4440000.system-controller:gpio@100:35 function gpio group mpp3
      pin 4 (PIN4): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 5 (PIN5): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 6 (PIN6): leds f4440000.system-controller:gpio@100:38 function gpio group mpp6
      pin 7 (PIN7): leds f4440000.system-controller:gpio@100:39 function gpio group mpp7
      pin 8 (PIN8): leds f4440000.system-controller:gpio@100:40 function gpio group mpp8
      pin 9 (PIN9): leds f4440000.system-controller:gpio@100:41 function gpio group mpp9
      pin 10 (PIN10): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 11 (PIN11): (MUX UNCLAIMED) f4440000.system-controller:gpio@100:43
      pin 12 (PIN12): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 13 (PIN13): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 14 (PIN14): leds f4440000.system-controller:gpio@100:46 function gpio group mpp14
      pin 15 (PIN15): leds f4440000.system-controller:gpio@100:47 function gpio group mpp15
      pin 16 (PIN16): leds f4440000.system-controller:gpio@100:48 function gpio group mpp16
      pin 17 (PIN17): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 18 (PIN18): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 19 (PIN19): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 20 (PIN20): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 21 (PIN21): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 22 (PIN22): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 23 (PIN23): gpio_mpp_oem f4440000.system-controller:gpio@100:55 function gpio group mpp23
      pin 24 (PIN24): leds f4440000.system-controller:gpio@100:56 function gpio group mpp24
      pin 25 (PIN25): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 26 (PIN26): leds f4440000.system-controller:gpio@100:58 function gpio group mpp26
      pin 27 (PIN27): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 28 (PIN28): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 29 (PIN29): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 30 (PIN30): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 31 (PIN31): load_default_key f4440000.system-controller:gpio@100:63 function gpio group mpp31
      pin 32 (PIN32): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 33 (PIN33): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 34 (PIN34): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 35 (PIN35): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 36 (PIN36): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 37 (PIN37): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 38 (PIN38): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 39 (PIN39): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 40 (PIN40): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 41 (PIN41): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 42 (PIN42): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 43 (PIN43): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 44 (PIN44): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 45 (PIN45): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 46 (PIN46): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 47 (PIN47): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 48 (PIN48): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 49 (PIN49): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 50 (PIN50): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 51 (PIN51): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 52 (PIN52): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 53 (PIN53): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 54 (PIN54): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 55 (PIN55): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 56 (PIN56): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 57 (PIN57): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 58 (PIN58): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 59 (PIN59): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 60 (PIN60): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 61 (PIN61): (MUX UNCLAIMED) (GPIO UNCLAIMED)
      pin 62 (PIN62): (MUX UNCLAIMED) (GPIO UNCLAIMED)
    
  • ls -alh /sys/class/leds/

      [Expert@Gateway-ID-7FxxxxF9]# ls -alh /sys/class/leds/
      drwxr-xr-x    2 root     root           0 Oct 14 18:29 .
      drwxr-xr-x   58 root     root           0 Oct 14 18:03 ..
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio34 -> ../../devices/platform/leds/leds/gpio34
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio35 -> ../../devices/platform/leds/leds/gpio35
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio38 -> ../../devices/platform/leds/leds/gpio38
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio39 -> ../../devices/platform/leds/leds/gpio39
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio40 -> ../../devices/platform/leds/leds/gpio40
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio41 -> ../../devices/platform/leds/leds/gpio41
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio43 -> ../../devices/platform/leds/leds/gpio43
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio46 -> ../../devices/platform/leds/leds/gpio46
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio47 -> ../../devices/platform/leds/leds/gpio47
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio48 -> ../../devices/platform/leds/leds/gpio48
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio56 -> ../../devices/platform/leds/leds/gpio56
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio58 -> ../../devices/platform/leds/leds/gpio58
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 mmc0:: -> ../../devices/platform/ap806/ap806:config-space@f0000000/f06e0000.sdhci/leds/mmc0::
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 mmc1:: -> ../../devices/platform/cp0/cp0:config-space/f2780000.sdhci/leds/mmc1::
    
  • ls -alh /sys/class/gpio/

      [Expert@Gateway-ID-7FxxxxF9]# ls -alh /sys/class/gpio
      drwxr-xr-x    2 root     root           0 Oct 14 18:29 .
      drwxr-xr-x   58 root     root           0 Oct 14 18:03 ..
      --w-------    1 root     root        4.0K Oct 14 18:29 export
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio472 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-003b/gpiochip5/gpio/gpio472
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio474 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-003b/gpiochip5/gpio/gpio474
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio475 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-003b/gpiochip5/gpio/gpio475
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio476 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-003b/gpiochip5/gpio/gpio476
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio478 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-003b/gpiochip5/gpio/gpio478
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio479 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-003b/gpiochip5/gpio/gpio479
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio480 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-0022/gpiochip4/gpio/gpio480
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio481 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-0022/gpiochip4/gpio/gpio481
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio482 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-0022/gpiochip4/gpio/gpio482
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio483 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-0022/gpiochip4/gpio/gpio483
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio484 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-0022/gpiochip4/gpio/gpio484
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio485 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-0022/gpiochip4/gpio/gpio485
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio486 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-0022/gpiochip4/gpio/gpio486
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio487 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-0022/gpiochip4/gpio/gpio487
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio488 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-0022/gpiochip4/gpio/gpio488
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio489 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-0022/gpiochip4/gpio/gpio489
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio492 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-0022/gpiochip4/gpio/gpio492
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio493 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-0022/gpiochip4/gpio/gpio493
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio494 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-0022/gpiochip4/gpio/gpio494
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio502 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-0021/gpiochip3/gpio/gpio502
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio503 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-0021/gpiochip3/gpio/gpio503
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio504 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-0021/gpiochip3/gpio/gpio504
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio506 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-0021/gpiochip3/gpio/gpio506
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio508 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-0021/gpiochip3/gpio/gpio508
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio55 -> ../../devices/platform/cp1/cp1:config-space/f4440000.system-controller/f4440000.system-controller:gpio@100/gpiochip2/gpio/gpio55
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio65 -> ../../devices/platform/cp0/cp0:config-space/f2440000.system-controller/f2440000.system-controller:gpio@140/gpiochip1/gpio/gpio65
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpio71 -> ../../devices/platform/cp0/cp0:config-space/f2440000.system-controller/f2440000.system-controller:gpio@140/gpiochip1/gpio/gpio71
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpiochip0 -> ../../devices/platform/ap806/ap806:config-space@f0000000/f06f4000.system-controller/f06f4000.system-controller:gpio@1040/gpio/gpiochip0
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpiochip32 -> ../../devices/platform/cp1/cp1:config-space/f4440000.system-controller/f4440000.system-controller:gpio@100/gpio/gpiochip32
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpiochip472 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-003b/gpio/gpiochip472
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpiochip480 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-0022/gpio/gpiochip480
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpiochip496 -> ../../devices/platform/cp0/cp0:config-space/f2701000.i2c/i2c-0/0-0021/gpio/gpiochip496
      lrwxrwxrwx    1 root     root           0 Oct 14 18:29 gpiochip64 -> ../../devices/platform/cp0/cp0:config-space/f2440000.system-controller/f2440000.system-controller:gpio@140/gpio/gpiochip64
      --w-------    1 root     root        4.0K Oct 14 18:29 unexport
    
  • cat /etc/fw_env.config

      [Expert@Gateway-ID-7FxxxxF9]# cat /etc/fw_env.config
      # Configuration file for fw_(printenv/setenv) utility.
      # Up to two entries are valid, in this case the redundant
      # environment sector is assumed present.
      # Notice, that the "Number of sectors" is not required on NOR and SPI-dataflash.
      # Futhermore, if the Flash sector size is omitted, this value is assumed to
      # be the same as the Environment size, which is valid for NOR and SPI-dataflash
      # Device offset must be prefixed with 0x to be parsed as a hexadecimal value.
    
      # NOR example
      # MTD device name       Device offset   Env. size       Flash sector size       Number of sectors
      #/dev/mtd1              0x0000          0x4000          0x4000
      #/dev/mtd2              0x0000          0x4000          0x4000
    
      # V0
      /dev/mmcblk1boot0       0x1F0000        0x10000 
    
      # MTD SPI-dataflash example
      # MTD device name       Device offset   Env. size       Flash sector size       Number of sectors
      #/dev/mtd5              0x4200          0x4200
      #/dev/mtd6              0x4200          0x4200
    
      # NAND example
      #/dev/mtd0              0x4000          0x4000          0x20000                 2
    
      # On a block device a negative offset is treated as a backwards offset from the
      # end of the device/partition, rather than a forwards offset from the start.
    
      # Block device example
      #/dev/mmcblk0           0xc0000         0x20000
      #/dev/mmcblk0           -0x20000        0x20000
    
      # VFAT example
      #/boot/uboot.env        0x0000          0x4000
    
      # UBI volume
      #/dev/ubi0_0            0x0             0x1f000         0x1f000
      #/dev/ubi0_1            0x0             0x1f000         0x1f000
    
      # UBI volume by name
      #/dev/ubi0:env          0x0             0x1f000         0x1f000
      #/dev/ubi0:env-redund   0x0             0x1f000         0x1f000
    
  • fw_printenv

      [Expert@Gateway-ID-7FxxxxF9]# fw_printenv
      activeConfig=1
      activePartition=1
      adsl_partition_mmc_blk=0xD60800
      adsl_partition_mmc_blk_cnt=0x800
      adsl_reserved_space=1
      arch=arm
      baudrate=115200
      board=mvebu_armada-8k
      board_name=mvebu_armada-8k
      bootaddr=0x6000200
      bootcmd=run bootcmd_part${activePartition};
      bootcmd_legacy=run get_images; run set_bootargs; booti $kernel_addr $ramfs_addr $fdt_addr
      bootcmd_part1=run set_bootargs_vx; run cpboot_prim;
      bootcmd_part2=run set_bootargs_vx; run cpboot_sec;
      bootdelay=2
      bootfile=fw1_vx_dep_R80_992001653_20.img
      bootloader_version=992000129
      brandingFileExtracted=0
      burn_default=run set_mmc_internal ; mmc write ${kern_src_addr} ${def_kern_dest_mmc_blk} ${kern_blk_count}; mmc write ${dtb_src_addr} ${def_dtb_dest_mmc_blk} ${dtb_blk_count}; mmc write ${rootfs_src_addr} ${def_rootfs_dest_mmc_blk} ${rootfs_blk_count}; 
      burn_primary=run set_mmc_internal ; mmc write ${loadaddr} ${prim_header_mmc_blk} 1; mmc write ${kern_src_addr} ${prim_kern_dest_mmc_blk} ${kern_blk_count}; mmc write ${dtb_src_addr} ${prim_dtb_dest_mmc_blk} ${dtb_blk_count}; mmc erase ${prim_rootfs_dest_mmc_blk} ${min_erase_blk_cnt};
      change_config=run switch_config set_bootcmd_normal bootcmd
      confirm_boot=run set_bootcmd_normal bootcmd
      console=console=ttyS0,115200 earlycon=uart8250,mmio32,0xf0512000
      cp_boot_mode=1
      cp_quiet=quiet
      cp_uboot=true
      cpboot_prim=run set_mmc_internal; mmc read ${kernel_addr_r} ${prim_kern_dest_mmc_blk} ${kernel_partition_block_count}; mmc read ${fdt_addr_r} ${prim_dtb_dest_mmc_blk} ${dtb_partition_block_count}; booti ${kernel_addr_r} - ${fdt_addr_r}
      cpboot_sec=run set_mmc_internal; mmc read ${kernel_addr_r} ${secondary_kern_dest_mmc_blk} ${kernel_partition_block_count}; mmc read ${fdt_addr_r} ${secondary_dtb_dest_mmc_blk} ${dtb_partition_block_count}; booti ${kernel_addr_r} - ${fdt_addr_r}
      cpnumofcores=maxcpus=4
      cpu=armv8
      cpuidle=cpuidle.off=1
      crash_kernel=crashkernel=70M
      def_rootfs_blk_offset=9f74
      def_sw_blk_cnt=0x96000
      def_sw_dest_mmc_blk=0x306000
      default_sw_reserved_space=300
      dmz_mac_addr=00:1C:7F:xx:xx:FB
      dsl2_mac_addr=00:00:00:00:00:00
      dsl3_mac_addr=00:00:00:00:00:00
      dsl_action=5
      dsl_mac_addr=00:00:00:00:00:00
      dtb_blk_count=4d
      dtb_partition_block_count=0x800
      dtb_reserved_space=1
      dtb_src_addr=fe59d1a
      erase_default_sw=run set_mmc_internal; mmc erase ${def_sw_dest_mmc_blk} ${min_erase_blk_cnt}
      erase_primary_secondary=run primary_part_erase; run secondary_part_erase
      erase_storage=run set_mmc_internal; mmc erase ${storage_partition_mmc_blk} ${min_erase_blk_cnt}
      eth1addr=00:1C:7F:xx:xx:FB
      eth2addr=00:1C:7F:xx:xx:F9
      eth3addr=00:1C:7F:xx:xx:FB
      ethact=mvpp2-5
      ethaddr=00:1C:7F:xx:xx:FA
      ethprime=eth3
      extra_params=pci=pcie_bus_safe
      fdt_addr_r=0x6f00000
      fdt_high=0xffffffffffffffff
      fdt_name=fdt.dtb
      fdtcontroladdr=7f5cb0d0
      fileaddr=6000000
      filesize=9e6a25e
      flash_erase=run erase_default_sw; run erase_storage
      flash_secondary_erase=run secondary_part_erase; run erase_storage; run logs_erase
      format_fs_parts=0
      format_pfrm_part=0
      fwtmp_dir_size=60
      gatewayip=10.4.50.254
      hardware_capabilities=1
      hostname=marvell
      hw_mac_addr=00:1C:7F:xx:xx:F9
      image_header_blk_cnt=0x1
      initrd_addr=0xa00000
      initrd_size=0x2000000
      ipaddr=192.168.1.1
      kern_blk_count=9f6d
      kern_reserved_space=48
      kern_src_addr=60003a0
      kernel_addr_r=0x7000000
      kernel_partition_block_count=0x18000
      lan1_mac_addr=00:1C:7F:xx:xx:FA
      lan2_mac_addr=00:1C:7F:xx:xx:FA
      lan3_mac_addr=00:1C:7F:xx:xx:FA
      lan4_mac_addr=00:1C:7F:xx:xx:FA
      lan5_mac_addr=00:1C:7F:xx:xx:FA
      lan6_mac_addr=00:1C:7F:xx:xx:FA
      lan7_mac_addr=00:1C:7F:xx:xx:FA
      lan8_mac_addr=00:1C:7F:xx:xx:FA
      loadaddr=0x6000000
      logs_erase=run set_mmc_internal; mmc erase ${logs_partition_mmc_blk} ${min_erase_blk_cnt}
      logs_partition_mmc_blk=0x39C000
      logs_partition_mmc_blk_cnt=0x9C4000
      logs_reserved_space=5000
      marketing_capabilities=0
      marketing_name=1590
      mgmt_opq=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      mgmt_signature=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      mgmt_signature_ver=1
      min_erase_blk_cnt=0x400
      mmc_blk_dev=1
      mmc_load=ext4load mmc 1:1
      mmc_start_reserved_space=10
      netdev=eth1
      netmask=255.255.255.0
      preset=0
      preset_cfg_reserved_space=1
      prim_dtb_dest_mmc_blk=0x1D000
      prim_header_mmc_blk=0x5000
      prim_kern_dest_mmc_blk=0x5001
      prim_rootfs_dest_mmc_blk=0x1D800
      prim_rootfs_partition_size=0x168000
      primary_part_erase=run set_mmc_internal; mmc erase ${prim_header_mmc_blk} ${min_erase_blk_cnt}
      ramdisk_addr_r=0x8000000
      ramfs_name=-
      recoverFlag=0
      recover_boot=run switch_active ; run set_recover_flags ; run set_bootcmd_normal bootcmd
      reset_to_default_finalize=run secondary_part_erase; run erase_storage; run logs_erase
      return_to_default=cp_reset_to_default
      rootfs_blk_count=4532f
      rootfs_reserved_space=720
      rootpath=/srv/nfs/
      secondary_dtb_dest_mmc_blk=0x19D800
      secondary_header_mmc_blk=0x185800
      secondary_kern_dest_mmc_blk=0x185801
      secondary_part_erase=run set_mmc_internal; mmc erase ${secondary_header_mmc_blk} ${min_erase_blk_cnt}
      serial_number=BA21C01070
      serverip=192.168.0.2
      set_bootargs=setenv bootargs ttyS0,115200 earlycon=uart8250,mmio32,0xf0512000 earlyprink root=/dev/mmcblk1p1 rw rootwait
      set_bootargs_vx=run set_console ; setenv bootargs $console $crash_kernel mvpp2x.queue_mode=1 ${cp_quiet} blkdevparts=mmcblk${mmc_blk_dev}:${kern_reserved_space}M@${mmc_start_reserved_space}M(kernel-1),${dtb_reserved_space}M(dtb-1),${rootfs_reserved_space}M(rootfs-1),${kern_reserved_space}M(kernel-2),${dtb_reserved_space}M(dtb-2),${rootfs_reserved_space}M(rootfs-2),${default_sw_reserved_space}M(default_sw),${logs_reserved_space}M(logs),${preset_cfg_reserved_space}M(preset_cfg),${adsl_reserved_space}M(adsl),-(storage) ${cpnumofcores}
      set_bootcmd_normal=setenv bootcmd "run bootcmd_part$activePartition "; saveenv
      set_bootcmd_recover=setenv bootcmd run recover_boot ; saveenv
      set_console=setenv console console=ttyS0,${baudrate} earlycon=uart8250,mmio32,0xf0512000
      set_mmc_internal=mmc dev 1
      set_recover_flags=setenv recoverFlag 1 ; setenv upgradeFlag 0
      soc=mvebu
      stderr=serial@512000
      stdin=serial@512000
      stdout=serial@512000
      storage_partition_mmc_blk=0xD61000
      storage_partition_mmc_blk_cnt=0x1F4000
      sub_hw_ver=MRV
      switch_active=run switch_active_from_$activePartition
      switch_active_from_1=setenv activePartition 2 ; saveenv
      switch_active_from_2=setenv activePartition 1 ; saveenv
      switch_config=run switch_config_from_$activeConfig
      switch_config_from_1=setenv activeConfig 2 ; saveenv
      switch_config_from_2=setenv activeConfig 1 ; saveenv
      tmp_dir_size=20
      unitModel=V1
      unitVer=1
      upgradeFlag=0
      upgrade_boot=run switch_active ; run set_bootcmd_recover ; setenv upgradeFlag 1 ; saveenv ; run bootcmd_part$activePartition
      usb_filename=fw1_vx_dep_R80_20_35_992002577.img
      vendor=Marvell
      num_of_flash_writes=1299970344
      cp_boot_no_console_output=0
      mtc_mode_rst_cnt=0
    
  • bootlog

    Linux Kernelのログがごく一部しか表示されないのは、恐らくbootargsの quiet によるもの

    
      BootROM - 2.03
      Starting CP-0 IOROM 1.07
      Booting from eMMC 0 (0x2B)
      Found valid image at boot postion 0x000
      lNOTICE:  Starting binary extension
      NOTICE:  SVC: DEV ID: 8040, FREQ Mode: 0x1
      NOTICE:  SVC: AVS work point changed from 0x27 to 0x27
      mv_ddr: mv_ddr-release-19.06.3-g??? (Oct 11 2020 - 07:28:05 PM)
      mv_ddr: completed successfully
      NOTICE:  Cold boot
      NOTICE:  Booting Trusted Firmware
      NOTICE:  BL1: v1.5(debug): (Marvell-release-19.06.3)
      NOTICE:  BL1: Built : 19:28:16, Oct 11 2020
      NOTICE:  BL1: Booting BL2
      NOTICE:  BL2: v1.5(debug): (Marvell-release-19.06.3)
      NOTICE:  BL2: Built : 19:28:21, Oct 11 2020
      BL2: Initiating SCP_BL2 transfer to SCP
      NOTICE:  SCP_BL2 contains 5 concatenated images
      NOTICE:  Skipping MSS CP3 related image
      NOTICE:  Skipping MSS CP2 related image
      NOTICE:  Load image to CP1 MSS AP0
      NOTICE:  Loading MSS image from addr. 0x40269f4 Size 0x1cd8 to MSS at 0xf4280000
      NOTICE:  Done
      NOTICE:  Load image to CP0 MSS AP0
      NOTICE:  Loading MSS image from addr. 0x40286cc Size 0x1cd8 to MSS at 0xf2280000
      NOTICE:  Done
      NOTICE:  Load image to AP0 MSS
      NOTICE:  Loading MSS image from addr. 0x402a3a4 Size 0x5420 to MSS at 0xf0580000
      NOTICE:  Done
      NOTICE:  SCP Image doesn't contain PM firmware
      NOTICE:  BL1: Booting BL31
      lNOTICE:  MSS PM is not supported in this build
      NOTICE:  BL31: v1.5(debug): (Marvell-release-19.06.3)
      NOTICE:  BL31: Built : 19:28:30, Oct 11 2020
    
    
      U-Boot 2018.03-release-19.06.3 (Oct 11 2020 - 19:27:23 +0300)
    
      Model: Marvell Armada 8040 Sunspear V1_dvt1 Software 0.0.4
      SoC: Armada8040-A2; AP806-A1; 2xCP110-A2
      Clock:  CPU     2000 [MHz]
              DDR     1050 [MHz]
              FABRIC  1050 [MHz]
              MSS     200  [MHz]
      LLC Enabled (Exclusive Mode)
      DRAM:  2 GiB
    
       === V1 board_init (Check Point version: 992000129) ===
      Comphy chip #0:
      Comphy-0: UNCONNECTED  
      Comphy-1: USB3_HOST0   
      Comphy-2: SFI0          10.3125 Gbps
      Comphy-3: USB3_HOST1   
      Comphy-4: UNCONNECTED  
      Comphy-5: PEX2         
      Comphy chip #1:
      Comphy-0: UNCONNECTED  
      Comphy-1: SGMII2        1.25 Gbps 
      Comphy-2: UNCONNECTED  
      Comphy-3: UNCONNECTED  
      Comphy-4: PEX1         
      Comphy-5: UNCONNECTED  
      UTMI PHY 0 initialized to USB Host0
      UTMI PHY 1 initialized to USB Host1
      PCIE-0: Link down
      PCIE-2: Link down
      MMC:   sdhci@6e0000: 0, sdhci@780000: 1
      Loading Environment from MMC... OK
      Model: Marvell Armada 8040 Sunspear V1_dvt1 Software 0.0.4
      Net:   incorrect phy mode
      eth0: mvpp2-0incorrect phy mode
      , eth-1: mvpp2-1, eth1: mvpp2-2, eth2: mvpp2-4, eth3: mvpp2-5 [PRIME]
      config_88E1512_init++
      incorrect phy mode
      m88e151x_config_leds(mvpp2-4)
      config_88E1512_init++
      incorrect phy mode
      m88e151x_config_leds(mvpp2-5)
      set_88E6393_mdio:miiphy_get_current_dev=cp0-mdio
      cp_set_board_vars started
      switch to partitions #0, OK
      mmc1(part 0) is current device
    
      MMC read: dev # 1, block # 4096, count 512 ... 512 blocks read: OK
      blob magic: a5a51234
      blob crc: a58cb039
      Verifying CRC for settings area... Done
      cp_set_board_vars: dsl_annex is env_set to nothing
      Saving Environment to MMC... Writing to MMC(1)... OK
    
      ************ Hit 'Ctrl + C' for boot menu ************
    
    
                                                                                                                                                 0 1 
      USB0:   Register 2000120 NbrPorts 2
      Starting the controller
      USB XHCI 1.00
      USB1:   Register 2000120 NbrPorts 2
      Starting the controller
      USB XHCI 1.00
      scanning bus 0 for devices... 1 USB Device(s) found
      scanning bus 1 for devices... 1 USB Device(s) found
             scanning usb for storage devices... 0 Storage Device(s) found
    
      USB storage device not found .. 
    
      Trying to load file "u-boot*v1.bin" from SD Card flash drive using FAT FS
      Card did not respond to voltage select!
      ** Bad device mmc 0 **
    
      Trying to load file "fw1*.img" from SD Card flash drive using FAT FS
      Card did not respond to voltage select!
      ** Bad device mmc 0 **
    
      Trying to load file "*.cfg" from SD Card flash drive using FAT FS
      Card did not respond to voltage select!
      ** Bad device mmc 0 **
      switch to partitions #0, OK
      mmc1(part 0) is current device
    
      MMC read: dev # 1, block # 20481, count 98304 ... 98304 blocks read: OK
    
      MMC read: dev # 1, block # 118784, count 2048 ... 2048 blocks read: OK
      ## Flattened Device Tree blob at 06f00000
         Booting using the fdt blob at 0x6f00000
         Using Device Tree in place at 0000000006f00000, end 0000000006f0c8c3
    
      Starting kernel ...
    
      [    0.000000] Booting Linux on physical CPU 0x0
      [    0.000000] Linux version 4.14.76-release-1.3.0 (builder@lnx70bcccmp1) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfb
      c167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05)) #1 SMP Thu Dec 9 11:14:22 IST 2021
      [    0.000000] Boot CPU: AArch64 Processor [410fd081]
      [    0.000000] Machine model: Marvell Armada 8040 Sunspear V1_dvt Software 0.0.3
      [    0.000000] earlycon: uart8250 at MMIO32 0x00000000f0512000 (options '')
      [    0.000000] bootconsole [uart8250] enabled
      [    0.673651] xenon-sdhci f06e0000.sdhci: AP SDHC is running in slow mode
      [    0.767461] armada-cp110-pinctrl f2440000.system-controller:pinctrl: missing marvell,function in node cp0-gpio-mpp-oem-pins
      [    1.803365] armada8k-pcie f2640000.pcie: phy link never came up
      [    1.809317] armada8k-pcie f2640000.pcie: Link not up after reconfiguration
      [    3.124460] armada8k-pcie f4620000.pcie: phy link never came up
      [    3.130411] armada8k-pcie f4620000.pcie: Link not up after reconfiguration
      INIT: version 2.88 booting
    
      Booting Check Point RD-6281-A User Space...
      INIT: Entering runlevel: 3
      ......................................................................................
      System Started...
      Appliance was not configured yet - Checking Zero Touch service...
    
      Gateway-ID-7FAF33F9 login: 
    
  • dmesg

      [Expert@Gateway-ID-7FxxxxF9]# dmesg
      [    0.000000] Booting Linux on physical CPU 0x0
      [    0.000000] Linux version 4.14.76-release-1.3.0 (builder@lnx70bcccmp1) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05)) #1 SMP Thu Dec 9 11:14:22 IST 2021
      [    0.000000] Boot CPU: AArch64 Processor [410fd081]
      [    0.000000] Machine model: Marvell Armada 8040 Sunspear V1_dvt Software 0.0.3
      [    0.000000] earlycon: uart8250 at MMIO32 0x00000000f0512000 (options '')
      [    0.000000] bootconsole [uart8250] enabled
      [    0.000000] efi: Getting EFI parameters from FDT:
      [    0.000000] efi: UEFI not found.
      [    0.000000] crashkernel reserved: 0x000000007b800000 - 0x000000007fe00000 (70 MB)
      [    0.000000] cma: Reserved 256 MiB at 0x000000006b800000
      [    0.000000] NUMA: No NUMA configuration found
      [    0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x000000007fffffff]
      [    0.000000] NUMA: NODE_DATA [mem 0x7ff97700-0x7ff991ff]
      [    0.000000] Zone ranges:
      [    0.000000]   DMA      [mem 0x0000000000000000-0x000000007fffffff]
      [    0.000000]   Normal   empty
      [    0.000000] Movable zone start for each node
      [    0.000000] Early memory node ranges
      [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
      [    0.000000]   node   0: [mem 0x0000000004200000-0x00000000043fffff]
      [    0.000000]   node   0: [mem 0x0000000005400000-0x000000007fffffff]
      [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
      [    0.000000] On node 0 totalpages: 519680
      [    0.000000]   DMA zone: 8192 pages used for memmap
      [    0.000000]   DMA zone: 0 pages reserved
      [    0.000000]   DMA zone: 519680 pages, LIFO batch:31
      [    0.000000] psci: probing for conduit method from DT.
      [    0.000000] psci: PSCIv1.1 detected in firmware.
      [    0.000000] psci: Using standard PSCI v0.2 function IDs
      [    0.000000] psci: Trusted OS resident on physical CPU 0x0
      [    0.000000] psci: SMC Calling Convention v1.1
      [    0.000000] percpu: Embedded 23 pages/cpu @ffff80007ff34000 s57240 r8192 d28776 u94208
      [    0.000000] pcpu-alloc: s57240 r8192 d28776 u94208 alloc=23*4096
      [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
      [    0.000000] Detected PIPT I-cache on CPU0
      [    0.000000] Speculative Store Bypass Disable mitigation not required
      [    0.000000] Built 1 zonelists, mobility grouping on.  Total 4kB pages: 511488
      [    0.000000] Policy zone: DMA
      [    0.000000] Kernel command line: console=ttyS0,115200 earlycon=uart8250,mmio32,0xf0512000 crashkernel=70M mvpp2x.queue_mode=1 quiet blkdevparts=mmcblk1:48M@10M(kernel-1),1M(dtb-1),720M(rootfs-1),48M(kernel-2),1M(dtb-2),720M(rootfs-2),300M(default_sw),5000M(logs),1M(preset_cfg),1M(adsl),-(storage) maxcpus=4
      [    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
      [    0.000000] Memory: 1690180K/2078720K available (8764K kernel code, 950K rwdata, 3360K rodata, 7296K init, 634K bss, 126396K reserved, 262144K cma-reserved)
      [    0.000000] Virtual kernel memory layout:
      [    0.000000]     modules : 0xffff000000000000 - 0xffff000010000000   (   256 MB)
      [    0.000000]     vmalloc : 0xffff000010000000 - 0xffff7dffbfff0000   (129022 GB)
      [    0.000000]       .text : 0xffff000010080000 - 0xffff000010910000   (  8768 KB)
      [    0.000000]     .rodata : 0xffff000010910000 - 0xffff000010c60000   (  3392 KB)
      [    0.000000]       .init : 0xffff000010c60000 - 0xffff000011380000   (  7296 KB)
      [    0.000000]       .data : 0xffff000011380000 - 0xffff00001146da00   (   951 KB)
      [    0.000000]        .bss : 0xffff00001146da00 - 0xffff00001150c230   (   635 KB)
      [    0.000000]     fixed   : 0xffff7dfffe7f9000 - 0xffff7dfffec00000   (  4124 KB)
      [    0.000000]     PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000   (    16 MB)
      [    0.000000]     vmemmap : 0xffff7e0000000000 - 0xffff800000000000   (  2048 GB maximum)
      [    0.000000]               0xffff7e0000000000 - 0xffff7e0002000000   (    32 MB actual)
      [    0.000000]     memory  : 0xffff800000000000 - 0xffff800080000000   (  2048 MB)
      [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
      [    0.000000] Hierarchical RCU implementation.
      [    0.000000]  RCU event tracing is enabled.
      [    0.000000]  CONFIG_RCU_FANOUT set to non-default value of 32
      [    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
      [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
      [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
      [    0.000000] GIC: Adjusting CPU interface base to 0x00000000f022f000
      [    0.000000] GIC: Using split EOI/Deactivate mode
      [    0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:160, num:32)
      [    0.000000] GICv2m: range[mem 0xf0280000-0xf0280fff], SPI[160:191]
      [    0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:192, num:32)
      [    0.000000] GICv2m: range[mem 0xf0290000-0xf0290fff], SPI[192:223]
      [    0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:224, num:32)
      [    0.000000] GICv2m: range[mem 0xf02a0000-0xf02a0fff], SPI[224:255]
      [    0.000000] GICv2m: DT overriding V2M MSI_TYPER (base:256, num:32)
      [    0.000000] GICv2m: range[mem 0xf02b0000-0xf02b0fff], SPI[256:287]
      [    0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys).
      [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
      [    0.000001] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
      [    0.000159] Console: colour dummy device 80x25
      [    0.000181] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=100000)
      [    0.000185] pid_max: default: 32768 minimum: 301
      [    0.000208] Security Framework initialized
      [    0.000623] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
      [    0.000837] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
      [    0.000850] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
      [    0.000858] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
      [    0.001299] ASID allocator initialised with 32768 entries
      [    0.001324] Hierarchical SRCU implementation.
      [    0.002021] EFI services will not be available.
      [    0.002109] smp: Bringing up secondary CPUs ...
      [    0.002377] Detected PIPT I-cache on CPU1
      [    0.002404] CPU1: Booted secondary processor [410fd081]
      [    0.002689] Detected PIPT I-cache on CPU2
      [    0.002707] CPU2: Booted secondary processor [410fd081]
      [    0.002981] Detected PIPT I-cache on CPU3
      [    0.002994] CPU3: Booted secondary processor [410fd081]
      [    0.003025] smp: Brought up 1 node, 4 CPUs
      [    0.003027] SMP: Total of 4 processors activated.
      [    0.003030] CPU features: detected feature: 32-bit EL0 Support
      [    0.003032] CPU features: detected feature: Kernel page table isolation (KPTI)
      [    0.011701] CPU: All CPU(s) started at EL2
      [    0.011710] alternatives: patching kernel code
      [    0.012007] devtmpfs: initialized
      [    0.013788] random: get_random_u32 called from bucket_table_alloc+0x108/0x258 with crng_init=0
      [    0.013971] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
      [    0.013992] futex hash table entries: 1024 (order: 5, 131072 bytes)
      [    0.015833] pinctrl core: initialized pinctrl subsystem
      [    0.016164] DMI not present or invalid.
      [    0.016274] NET: Registered protocol family 16
      [    0.016705] cpuidle: using governor menu
      [    0.016915] vdso: 2 pages (1 code @ ffff000011386000, 1 data @ ffff000011385000)
      [    0.016917] vdso: 2 pages (1 code @ ffff000010917000, 1 data @ ffff000011385000)
      [    0.016924] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
      [    0.017359] DMA: preallocated 256 KiB pool for atomic allocations
      [    0.017414] Serial: AMBA PL011 UART driver
      [    0.021402] gpio_mpp_oem gpio_mpp_oem: could not find pctldev for node /ap806/config-space@f0000000/system-controller@6f4000/pinctrl/ap-gpio-mpp-oem-pins, deferring probe
      [    0.025506] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
      [    0.025922] ACPI: Interpreter disabled.
      [    0.026401] vgaarb: loaded
      [    0.026528] SCSI subsystem initialized
      [    0.026593] libata version 3.00 loaded.
      [    0.026688] usbcore: registered new interface driver usbfs
      [    0.026703] usbcore: registered new interface driver hub
      [    0.026721] usbcore: registered new device driver usb
      [    0.027104] pps_core: LinuxPPS API ver. 1 registered
      [    0.027106] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
      [    0.027111] PTP clock support registered
      [    0.027270] EDAC MC: Ver: 3.0.0
      [    0.027814] clocksource: Switched to clocksource arch_sys_counter
      [    0.027926] pnp: PnP ACPI: disabled
      [    0.030562] NET: Registered protocol family 2
      [    0.030793] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
      [    0.030865] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
      [    0.030971] TCP: Hash tables configured (established 16384 bind 16384)
      [    0.031032] UDP hash table entries: 1024 (order: 3, 32768 bytes)
      [    0.031055] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
      [    0.031127] NET: Registered protocol family 1
      [    0.031136] PCI: CLS 0 bytes, default 128
      [    0.131580] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
      [    0.131756] kvm [1]: 8-bit VMID
      [    0.132201] kvm [1]: vgic interrupt IRQ1
      [    0.132248] kvm [1]: Hyp mode initialized successfully
      [    0.134258] audit: initializing netlink subsys (disabled)
      [    0.134326] audit: type=2000 audit(0.124:1): state=initialized audit_enabled=0 res=1
      [    0.134465] workingset: timestamp_bits=44 max_order=19 bucket_order=0
      [    0.136656] ntfs: driver 2.1.32 [Flags: R/W].
      [    0.138148] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
      [    0.138151] io scheduler noop registered
      [    0.138191] io scheduler cfq registered (default)
      [    0.138193] io scheduler mq-deadline registered
      [    0.138195] io scheduler kyber registered
      [    0.138266] watchdog_register_device: maxtime=342000ms timeleft=3430355332ms active=0
      [    0.138270] sbsa-gwdt f0610000.watchdog: Initialized with 0s timeout @ 25000000 Hz, action=0.
      [    0.139676] armada-ap806-pinctrl f06f4000.system-controller:pinctrl: registered pinctrl driver
      [    0.139964] armada-cp110-pinctrl f2440000.system-controller:pinctrl: registered pinctrl driver
      [    0.140183] armada-cp110-pinctrl f4440000.system-controller:pinctrl: registered pinctrl driver
      [    0.142681] Register SLOW_IO with dummy clock gate routines
      [    0.143273] mv_xor_v2 f0400000.xor: Marvell Version 2 XOR driver
      [    0.143543] mv_xor_v2 f0420000.xor: Marvell Version 2 XOR driver
      [    0.143799] mv_xor_v2 f0440000.xor: Marvell Version 2 XOR driver
      [    0.144052] mv_xor_v2 f0460000.xor: Marvell Version 2 XOR driver
      [    0.144363] mv_xor_v2 f26a0000.xor: Marvell Version 2 XOR driver
      [    0.144619] mv_xor_v2 f26c0000.xor: Marvell Version 2 XOR driver
      [    0.144970] mv_xor_v2 f46a0000.xor: Marvell Version 2 XOR driver
      [    0.145251] mv_xor_v2 f46c0000.xor: Marvell Version 2 XOR driver
      [    0.146886] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
      [    0.147510] console [ttyS0] disabled
      [    0.167633] f0512000.serial: ttyS0 at MMIO 0xf0512000 (irq = 8, base_baud = 12500000) is a 16550A
      [    0.167646] console [ttyS0] enabled
      [    0.167647] bootconsole [uart8250] disabled
      [    0.188222] f0512100.serial: ttyS1 at MMIO 0xf0512100 (irq = 9, base_baud = 12500000) is a 16550A
      [    0.208835] f4702000.serial: ttyS2 at MMIO 0xf4702000 (irq = 29, base_baud = 15625000) is a 16550A
      [    0.209666] omap_rng f2760000.trng: Random Number Generator ver. 203b34c
      [    0.209764] omap_rng f4760000.trng: Random Number Generator ver. 203b34c
      [    0.209875] arm-smmu f0100000.iommu: probing hardware configuration...
      [    0.209878] arm-smmu f0100000.iommu: SMMUv2 with:
      [    0.209880] arm-smmu f0100000.iommu:         stage 1 translation
      [    0.209881] arm-smmu f0100000.iommu:         stage 2 translation
      [    0.209883] arm-smmu f0100000.iommu:         nested translation
      [    0.209885] arm-smmu f0100000.iommu:         coherent table walk
      [    0.209888] arm-smmu f0100000.iommu:         stream matching with 16 register groups
      [    0.209890] arm-smmu f0100000.iommu:         8 context banks (0 stage-2 only)
      [    0.209894] arm-smmu f0100000.iommu:         Supported page sizes: 0x61311000
      [    0.209896] arm-smmu f0100000.iommu:         Stage-1: 48-bit VA -> 48-bit IPA
      [    0.209897] arm-smmu f0100000.iommu:         Stage-2: 48-bit IPA -> 48-bit PA
      [    0.213075] brd: module loaded
      [    0.215021] loop: module loaded
      [    0.215189] zram: Added device: zram0
      [    0.216795] libphy: Fixed MDIO Bus: probed
      [    0.216995] tun: Universal TUN/TAP device driver, 1.6
      [    0.217541] libphy: orion_mdio_bus: probed
      [    0.217731] libphy: orion_mdio_bus: probed
      [    0.233813] mvpp2 f2000000.ethernet eth0: Using firmware node mac address 00:1c:7f:xx:xx:fa
      [    0.235546] mvpp2 f2000000.ethernet eth1: Using random mac address 72:42:b3:38:c9:e2
      [    0.352853] mvpp2 f2000000.ethernet: CM3 firmware not running, TX FC disabled
      [    0.362899] mvpp2 f4000000.ethernet eth2: Using firmware node mac address 00:1c:7f:xx:xx:fb
      [    0.432129] mvpp2 f4000000.ethernet eth2: PHY [f412a200.mdio-mii:00] driver [Marvell 88E1510]
      [    0.434323] mvpp2 f4000000.ethernet eth3: Using firmware node mac address 00:1c:7f:xx:xx:f9
      [    0.504483] mvpp2 f4000000.ethernet eth3: PHY [f412a200.mdio-mii:01] driver [Marvell 88E1510]
      [    0.623301] mvpp2 f4000000.ethernet: CM3 firmware not running, TX FC disabled
      [    0.626495] PPP generic driver version 2.4.2
      [    0.626577] PPP BSD Compression module registered
      [    0.626600] PPP MPPE Compression module registered
      [    0.626603] NET: Registered protocol family 24
      [    0.626673] VFIO - User Level meta-driver version: 0.3
      [    0.627330] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
      [    0.627335] ehci-pci: EHCI PCI platform driver
      [    0.627353] ehci-platform: EHCI generic platform driver
      [    0.627438] ehci-orion: EHCI orion driver
      [    0.627497] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
      [    0.627500] ohci-pci: OHCI PCI platform driver
      [    0.627517] ohci-platform: OHCI generic platform driver
      [    0.627852] xhci-hcd f2500000.usb3: xHCI Host Controller
      [    0.627919] xhci-hcd f2500000.usb3: new USB bus registered, assigned bus number 1
      [    0.628213] xhci-hcd f2500000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
      [    0.628236] xhci-hcd f2500000.usb3: irq 52, io mem 0xf2500000
      [    0.628473] hub 1-0:1.0: USB hub found
      [    0.628484] hub 1-0:1.0: 1 port detected
      [    0.628590] xhci-hcd f2500000.usb3: xHCI Host Controller
      [    0.628632] xhci-hcd f2500000.usb3: new USB bus registered, assigned bus number 2
      [    0.628638] xhci-hcd f2500000.usb3: Host supports USB 3.0  SuperSpeed
      [    0.628660] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
      [    0.628821] hub 2-0:1.0: USB hub found
      [    0.628833] hub 2-0:1.0: 1 port detected
      [    0.639782] xhci-hcd f2510000.usb3: xHCI Host Controller
      [    0.639852] xhci-hcd f2510000.usb3: new USB bus registered, assigned bus number 3
      [    0.640138] xhci-hcd f2510000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
      [    0.640158] xhci-hcd f2510000.usb3: irq 53, io mem 0xf2510000
      [    0.640358] hub 3-0:1.0: USB hub found
      [    0.640368] hub 3-0:1.0: 1 port detected
      [    0.640472] xhci-hcd f2510000.usb3: xHCI Host Controller
      [    0.640515] xhci-hcd f2510000.usb3: new USB bus registered, assigned bus number 4
      [    0.640520] xhci-hcd f2510000.usb3: Host supports USB 3.0  SuperSpeed
      [    0.640543] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
      [    0.640704] hub 4-0:1.0: USB hub found
      [    0.640717] hub 4-0:1.0: 1 port detected
      [    0.640939] usbcore: registered new interface driver cdc_wdm
      [    0.640981] usbcore: registered new interface driver usb-storage
      [    0.641012] usbcore: registered new interface driver usbserial
      [    0.641025] usbcore: registered new interface driver ftdi_sio
      [    0.641038] usbserial: USB Serial support registered for FTDI USB Serial Device
      [    0.642076] armada38x-rtc f4284000.rtc: rtc core: registered f4284000.rtc as rtc0
      [    0.642207] i2c /dev entries driver
      [    0.642519] pca953x_probe++
      [    0.642532] pca953x 0-0021: 0-0021 supply vcc not found, using dummy regulator
      [    0.650739] pca953x_probe--
      [    0.650793] pca953x_probe++
      [    0.650800] pca953x 0-0022: 0-0022 supply vcc not found, using dummy regulator
      [    0.659024] pca953x_probe--
      [    0.659078] pca953x_probe++
      [    0.659084] pca953x 0-003b: 0-003b supply vcc not found, using dummy regulator
      [    0.663645] pca953x_probe--
      [    0.664185] Cavium generic PTP Driver, ver 1.0
      [    0.664472] nct7802_probe++
      [    0.664497] nct7802_init_chip: RTD3_MD = 2
      [    0.666058] nct7802_init_chip: REG_MODE = 0x6f
      [    0.667389] nct7802_probe--
      [    0.667414] nct7802_probe++
      [    0.667432] nct7802_init_chip: RTD3_MD = 3
      [    0.668681] nct7802_init_chip: REG_MODE = 0x7f
      [    0.669996] nct7802_probe--
      [    0.670141] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
      [    0.671243] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
      [    0.671848] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
      [    0.672052] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
      [    0.672258] sdhci: Secure Digital Host Controller Interface driver
      [    0.672259] sdhci: Copyright(c) Pierre Ossman
      [    0.672305] Synopsys Designware Multimedia Card Interface Driver
      [    0.672505] sdhci-pltfm: SDHCI platform and OF driver helper
      [    0.672712] xenon-sdhci f06e0000.sdhci: Got CD GPIO
      [    0.673651] xenon-sdhci f06e0000.sdhci: AP SDHC is running in slow mode
      [    0.719821] mmc0: SDHCI controller on f06e0000.sdhci [f06e0000.sdhci] using ADMA 64-bit
      [    0.763818] mmc1: SDHCI controller on f2780000.sdhci [f2780000.sdhci] using ADMA 64-bit
      [    0.764587] ledtrig-cpu: registered to indicate activity on CPUs
      [    0.764881] usbcore: registered new interface driver usbhid
      [    0.764882] usbhid: USB HID core driver
      [    0.765181] optee: probing for conduit method from DT.
      [    0.765186] optee: api uid mismatch
      [    0.765187] Generic LED driver initialize
      [    0.765412] NET: Registered protocol family 10
      [    0.765819] Segment Routing with IPv6
      [    0.766010] NET: Registered protocol family 17
      [    0.766031] Bridge firewalling registered
      [    0.766171] 8021q: 802.1Q VLAN Support v1.8
      [    0.766194] 9pnet: Installing 9P2000 support
      [    0.766212] Key type dns_resolver registered
      [    0.766214] mpls_gso: MPLS GSO support
      [    0.766454] registered taskstats version 1
      [    0.766491] ########  init_hwwatchdog_sysfs error is 0, if OK, configuraing wdt sysfs and checking if wdt thread is needed
      [    0.767323] CP LED driver initialize 
      [    0.767461] armada-cp110-pinctrl f2440000.system-controller:pinctrl: missing marvell,function in node cp0-gpio-mpp-oem-pins
      [    0.778696] gpio_mpp_oem_probe: vfd_rom_wp = 487
      [    0.779760] gpio_mpp_v1++
      [    0.780800] gpio_mpp_set: lte_full_card_power_off = 478 flag=0xc0 output 1
      [    0.780840] gpio_mpp_set: sfp_rj45_led_sel = 71 flag=0xc0 output 1
      [    0.780893] gpio_mpp_set: wdt_rst = 55 flag=0xc0 output 1
      [    0.781961] gpio_mpp_set: vdsl_rst = 475 flag=0xc0 output 1
      [    0.783013] gpio_mpp_set: wifi1_reset = 502 flag=0x80 output 0
      [    0.784067] gpio_mpp_set: wifi2_reset = 503 flag=0x80 output 0
      [    0.784809] gpio_mpp_set: lte_slot = 504 flag=0x0 input
      [    0.785860] gpio_mpp_set: wifi1_en = 508 flag=0xc0 output 1
      [    0.786909] gpio_mpp_set: vdsl_12v = 481 flag=0xc0 output 1
      [    0.787961] gpio_mpp_set: lte_en = 482 flag=0xc0 output 1
      [    0.789013] gpio_mpp_set: lte_w_disable_1 = 483 flag=0xc0 output 1
      [    0.790064] gpio_mpp_set: lte_w_disable_2 = 484 flag=0xc0 output 1
      [    0.791116] gpio_mpp_set: wifi_wol_3v3_2 = 485 flag=0xc0 output 1
      [    0.791856] gpio_mpp_set: wifi_wol_3v3 = 486 flag=0x0 input
      [    0.792910] gpio_mpp_set: lte_wake_on_wan = 488 flag=0xc0 output 1
      [    0.793649] gpio_mpp_set: lte_wwan_led = 489 flag=0x0 input
      [    0.794699] gpio_mpp_set: w_disable = 492 flag=0xc0 output 1
      [    0.795747] gpio_mpp_set: w_disable_2 = 493 flag=0xc0 output 1
      [    0.796798] gpio_mpp_set: lte_rst = 494 flag=0xc0 output 1
      [    0.797849] gpio_mpp_set: sfp_1_tx_disable = 506 flag=0x80 output 0
      [    0.798898] gpio_mpp_set: wifi2_en = 476 flag=0xc0 output 1
      [    0.799949] gpio_mpp_set: USB_PWR_EN = 480 flag=0xc0 output 1
      [    0.800690] gpio_mpp_set: tpm_rst = 474 flag=0x0 input
      [    0.801740] gpio_mpp_set: factory_rst = 472 flag=0xc0 output 1
      [    0.802789] gpio_mpp_set: Spare_LED2 = 479 flag=0xc0 output 1
      [    0.802816] gpio_mpp_set: switch_int = 65 flag=0x0 input
      [    0.802853] gpio_mpp_set: adding expander_int_no property with value 60
      [    0.803027] armada8k-pcie f2640000.pcie: host bridge /cp0/pcie@640000 ranges:
      [    0.803037] armada8k-pcie f2640000.pcie:    IO 0xf9020000..0xf902ffff -> 0xf9020000
      [    0.803042] armada8k-pcie f2640000.pcie:   MEM 0xf8000000..0xf8efffff -> 0xf8000000
      [    0.814887] mmc1: new HS200 MMC card at address 0001
      [    0.815088] mmcblk1: mmc1:0001 016GB0 14.7 GiB 
      [    0.815147] mmcblk1boot0: mmc1:0001 016GB0 partition 1 4.00 MiB
      [    0.815198] mmcblk1boot1: mmc1:0001 016GB0 partition 2 4.00 MiB
      [    0.815249] mmcblk1rpmb: mmc1:0001 016GB0 partition 3 4.00 MiB
      [    0.815412]  mmcblk1: p1(kernel-1) p2(dtb-1) p3(rootfs-1) p4(kernel-2) p5(dtb-2) p6(rootfs-2) p7(default_sw) p8(logs) p9(preset_cfg) p10(adsl) p11(storage)
      [    1.803365] armada8k-pcie f2640000.pcie: phy link never came up
      [    1.809317] armada8k-pcie f2640000.pcie: Link not up after reconfiguration
      [    1.816275] armada8k-pcie f2640000.pcie: PCI host bridge to bus 0000:00
      [    1.816279] pci_bus 0000:00: root bus resource [bus 00-ff]
      [    1.816283] pci_bus 0000:00: root bus resource [io  0x0000-0xffff] (bus address [0xf9020000-0xf902ffff])
      [    1.816285] pci_bus 0000:00: root bus resource [mem 0xf8000000-0xf8efffff]
      [    1.816298] pci 0000:00:00.0: [11ab:0110] type 01 class 0x060400
      [    1.816313] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
      [    1.816348] pci 0000:00:00.0: supports D1 D2
      [    1.816350] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
      [    1.816466] pci 0000:00:00.0: BAR 0: assigned [mem 0xf8000000-0xf80fffff 64bit]
      [    1.816472] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
      [    2.123872] pcieport 0000:00:00.0: Signaling PME with IRQ 61
      [    2.123914] pcieport 0000:00:00.0: AER enabled with IRQ 61
      [    2.124130] armada8k-pcie f4620000.pcie: host bridge /cp1/pcie@620000 ranges:
      [    2.124140] armada8k-pcie f4620000.pcie:    IO 0xfd010000..0xfd01ffff -> 0xfd010000
      [    2.124145] armada8k-pcie f4620000.pcie:   MEM 0xfb000000..0xfbefffff -> 0xfb000000
      [    3.124460] armada8k-pcie f4620000.pcie: phy link never came up
      [    3.130411] armada8k-pcie f4620000.pcie: Link not up after reconfiguration
      [    3.137358] armada8k-pcie f4620000.pcie: PCI host bridge to bus 0001:00
      [    3.137361] pci_bus 0001:00: root bus resource [bus 00-ff]
      [    3.137364] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0xfd010000-0xfd01ffff])
      [    3.137367] pci_bus 0001:00: root bus resource [mem 0xfb000000-0xfbefffff]
      [    3.137378] pci 0001:00:00.0: [11ab:0110] type 01 class 0x060400
      [    3.137393] pci 0001:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit]
      [    3.137430] pci 0001:00:00.0: supports D1 D2
      [    3.137432] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
      [    3.137548] pci 0001:00:00.0: BAR 0: assigned [mem 0xfb000000-0xfb0fffff 64bit]
      [    3.137554] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
      [    3.444935] pcieport 0001:00:00.0: Signaling PME with IRQ 94
      [    3.444981] pcieport 0001:00:00.0: AER enabled with IRQ 94
      [    3.445066] armada38x-rtc f4284000.rtc: setting system clock to 2024-10-14 18:03:56 UTC (1728929036)
      [    3.445244] cp0-usb3h0-vbus: disabling
      [    3.445247] cp0-usb3h1-vbus: disabling
      [    3.445248] 
      [    3.445248] cp210x_usb_serial_module_init
      [    3.445283] usbcore: registered new interface driver cp210x
      [    3.445296] usbserial: USB Serial support registered for cp210x
      [    3.447552] Freeing unused kernel memory: 7296K
      [    3.806455] EXT4-fs: Warning: mounting with data=journal disables delayed allocation and O_DIRECT support!
      [    3.807665] random: fast init done
      [    3.857903] EXT4-fs (mmcblk1p8): recovery complete
      [    3.858238] EXT4-fs (mmcblk1p8): mounted filesystem with journalled data mode. Opts: commit=1
      [    3.898806] EXT4-fs (mmcblk1p11): recovery complete
      [    3.899139] EXT4-fs (mmcblk1p11): mounted filesystem with journalled data mode. Opts: commit=1
      [    4.167744] EXT4-fs (mmcblk1p3): recovery complete
      [    4.168079] EXT4-fs (mmcblk1p3): mounted filesystem with journalled data mode. Opts: (null)
      [    5.046080] mvpp2 f4000000.ethernet DMZ: renamed from eth2
      [    5.077936] mvpp2 f4000000.ethernet WAN: renamed from eth3
      [    5.092135] coresight-axim f0840000.axim-ddr-rd: AXIM 4.0 2.0 initialized
      [    5.092293] coresight-axim f0841000.axim-ddr-wr: AXIM 4.0 2.0 initialized
      [    5.092481] coresight-axim f0848000.axim-sb-rd: AXIM 4.0 2.0 initialized
      [    5.092653] coresight-axim f0849000.axim-sb-wr: AXIM 4.0 2.0 initialized
      [    5.092782] coresight-axim f23c5000.axim-cp-rd: AXIM 4.0 1.0 initialized
      [    5.092891] coresight-axim f23c6000.axim-cp-wr: AXIM 4.0 1.0 initialized
      [    5.093002] coresight-axim f23c0000.axim-ppv2-rd: AXIM 4.0 1.0 initialized
      [    5.093110] coresight-axim f23c1000.axim-ppv2-wr: AXIM 4.0 1.0 initialized
      [    5.093253] coresight-axim f43c5000.axim-cp-rd: AXIM 4.0 1.0 initialized
      [    5.093370] coresight-axim f43c6000.axim-cp-wr: AXIM 4.0 1.0 initialized
      [    5.093494] coresight-axim f43c0000.axim-ppv2-rd: AXIM 4.0 1.0 initialized
      [    5.093613] coresight-axim f43c1000.axim-ppv2-wr: AXIM 4.0 1.0 initialized
      [    5.105899] mvpp2_open: Setting device eth0 to DSA
      [    5.163310] mvpp2 f2000000.ethernet eth0: configuring for inband/10gbase-kr link mode
      [    5.163506] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
      [    5.191953] marvellmod: loading out-of-tree module taints kernel.
      [    5.191958] marvellmod: module license 'unspecified' taints kernel.
      [    5.191960] Disabling lock debugging due to kernel taint
      [    5.196918] UMSD Driver Init
      [    5.196946] Trying to load UMSD
      [    5.197090] qdLoadDriver Sucess deviceid=1
      [    5.197092] module_init_umsd: Number of switch ports: 11
      [    5.228369] msdStatsFlushAll Sucess
      [    5.283460] portmask=1,num_sw_ports=11
      [    5.283463] mrv_gtw_set_port_based_vlan numOfports=11 ports_mask=1
      [    5.283465]  gvlnSetPortVlanPorts success
      [    5.283466] mrv_gtw_set_port_based_vlan Sucess=11
      [    5.283925] 
      [    5.283925] gstuAddEntry  Success.
      [    5.285204]   umsd_add_cpu_mac_internal(667) Successfully added 00:1c:7f:xx:xx:fa on FID 1
      [    5.285207] ATU List:
      [    5.289560] (00:1c:7f:xx:xx:fa) PortVec 0x1, FID: 1, EntryState: 0xf, MCEntryState: 0xf
      [    6.159087] B4 gstpSetMode =11
      [    6.519368] ********** Driver was initialized succsefully*****************
      [    6.519372] umsd_fdb_port_learn_enable(952) port ff, enable 0, command 0
      [    6.520375] ksw_mrv_netdev_create_port_netdevice LAN1
      [    6.520613] ksw_mrv_netdev_create_port_netdevice LAN2
      [    6.520757] ksw_mrv_netdev_create_port_netdevice LAN3
      [    6.520888] ksw_mrv_netdev_create_port_netdevice LAN4
      [    6.521030] ksw_mrv_netdev_create_port_netdevice LAN5
      [    6.521166] ksw_mrv_netdev_create_port_netdevice LAN6
      [    6.521304] ksw_mrv_netdev_create_port_netdevice LAN7
      [    6.521436] ksw_mrv_netdev_create_port_netdevice LAN8
      [    6.521576] ********** Network devices initialized succsefully*****************
      [    6.598513] mvpp2 f2000000.ethernet eth0: Link is Up - 10Gbps/Full - flow control off
      [    6.598533] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
      [    6.611008] NET: Registered protocol family 32
      [    6.611011] kernel UMI module loaded
      [    7.728457] random: sqlite3: uninitialized urandom read (256 bytes read)
      [    7.843468] random: evtDsptchd: uninitialized urandom read (256 bytes read)
      [   10.140065] SIM: Linux kernel version 4.14.76 
      [   10.140131] Sim: driver installed
      [   11.474292] [sim4_0];FW-1: Linux kernel version 2.6.32--1 
      [   11.523708] [fw4_0];cphwd_register_all_internal_notification_handlers: Error - not handled!
      [   11.523712] [fw4_0];cphwd_register_all_internal_notification_handlers: Error - not handled!
      [   11.526607] [fw4_0];FW-1: driver installed
      [   12.336063] [sim4_0];FW-1: Linux kernel version 2.6.32--1 
      [   12.362103] [fw4_1];cphwd_register_all_internal_notification_handlers: Error - not handled!
      [   12.362108] [fw4_1];cphwd_register_all_internal_notification_handlers: Error - not handled!
      [   12.363423] [fw4_1];FW-1: driver installed
      [   13.175594] [sim4_0];FW-1: Linux kernel version 2.6.32--1 
      [   13.201707] [fw4_2];cphwd_register_all_internal_notification_handlers: Error - not handled!
      [   13.201711] [fw4_2];cphwd_register_all_internal_notification_handlers: Error - not handled!
      [   13.202996] [fw4_2];FW-1: driver installed
      [   14.017227] [sim4_0];FW-1: Linux kernel version 2.6.32--1 
      [   14.043635] [fw4_3];cphwd_register_all_internal_notification_handlers: Error - not handled!
      [   14.043639] [fw4_3];cphwd_register_all_internal_notification_handlers: Error - not handled!
      [   14.044983] [fw4_3];FW-1: driver installed
      [   14.142233] VPNT: IPv4 over VPN Tunnel driver installed
      [   15.344886] adp_init maj:506 created
      [   15.344888] adp_init: no ADP is present, acting as a kernel agent
      [   15.367829] adp_init: done
      [   15.461032] random: fw: uninitialized urandom read (4096 bytes read)
      [   15.468320] [fw4_0];VPN-1: Cryptographic algorithm tests passed successfully
      [   15.468401] [fw4_0];VPN-1: connected to FW-1
      [   15.468406] [fw4_0];fwmultik_msg_reg_handler: same handler already registered for type 4
      [   15.468409] [fw4_0];fwmultik_msg_reg_handler: same handler already registered for type 5
      [   15.468412] [fw4_0];fwmultik_msg_reg_handler: same handler already registered for type 6
      [   15.468415] [fw4_0];fwmultik_msg_reg_handler: same handler already registered for type 7
      [   15.468418] [fw4_0];fwmultik_msg_reg_handler: same handler already registered for type 10
      [   15.468421] [fw4_0];fwmultik_msg_reg_handler: same handler already registered for type 11
      [   15.468424] [fw4_0];fwmultik_msg_reg_handler: same handler already registered for type 8
      [   15.468427] [fw4_0];fwmultik_msg_reg_handler: same handler already registered for type 9
      [   15.468429] [fw4_0];fwmultik_msg_reg_handler: same handler already registered for type 12
      [   15.469205] [fw4_0];fwha_cluster_msg_register_handler: Registering handler ffff000002030c88 for VPN
      [   15.470892] [fw4_0];FW-1: fwkdebug_register: module CI already registered
      [   15.568512] [fw4_1];VPN-1: Cryptographic algorithm tests passed successfully
      [   15.568595] [fw4_1];VPN-1: connected to FW-1
      [   15.568599] [fw4_1];fwmultik_msg_reg_handler: same handler already registered for type 4
      [   15.568602] [fw4_1];fwmultik_msg_reg_handler: same handler already registered for type 5
      [   15.568605] [fw4_1];fwmultik_msg_reg_handler: same handler already registered for type 6
      [   15.568608] [fw4_1];fwmultik_msg_reg_handler: same handler already registered for type 7
      [   15.568611] [fw4_1];fwmultik_msg_reg_handler: same handler already registered for type 10
      [   15.568614] [fw4_1];fwmultik_msg_reg_handler: same handler already registered for type 11
      [   15.568617] [fw4_1];fwmultik_msg_reg_handler: same handler already registered for type 8
      [   15.568619] [fw4_1];fwmultik_msg_reg_handler: same handler already registered for type 9
      [   15.568622] [fw4_1];fwmultik_msg_reg_handler: same handler already registered for type 12
      [   15.568989] [fw4_1];fwha_cluster_msg_register_handler: Registering handler ffff000004c2ec88 for VPN
      [   15.569983] [fw4_1];FW-1: fwkdebug_register: module CI already registered
      [   15.570609] [fw4_2];VPN-1: Cryptographic algorithm tests passed successfully
      [   15.570692] [fw4_2];VPN-1: connected to FW-1
      [   15.570696] [fw4_2];fwmultik_msg_reg_handler: same handler already registered for type 4
      [   15.570699] [fw4_2];fwmultik_msg_reg_handler: same handler already registered for type 5
      [   15.570702] [fw4_2];fwmultik_msg_reg_handler: same handler already registered for type 6
      [   15.570705] [fw4_2];fwmultik_msg_reg_handler: same handler already registered for type 7
      [   15.570708] [fw4_2];fwmultik_msg_reg_handler: same handler already registered for type 10
      [   15.570711] [fw4_2];fwmultik_msg_reg_handler: same handler already registered for type 11
      [   15.570713] [fw4_2];fwmultik_msg_reg_handler: same handler already registered for type 8
      [   15.570716] [fw4_2];fwmultik_msg_reg_handler: same handler already registered for type 9
      [   15.570719] [fw4_2];fwmultik_msg_reg_handler: same handler already registered for type 12
      [   15.571074] [fw4_2];fwha_cluster_msg_register_handler: Registering handler ffff00000782cc88 for VPN
      [   15.572081] [fw4_2];FW-1: fwkdebug_register: module CI already registered
      [   15.572697] [fw4_3];VPN-1: Cryptographic algorithm tests passed successfully
      [   15.572783] [fw4_3];VPN-1: connected to FW-1
      [   15.572787] [fw4_3];fwmultik_msg_reg_handler: same handler already registered for type 4
      [   15.572790] [fw4_3];fwmultik_msg_reg_handler: same handler already registered for type 5
      [   15.572793] [fw4_3];fwmultik_msg_reg_handler: same handler already registered for type 6
      [   15.572795] [fw4_3];fwmultik_msg_reg_handler: same handler already registered for type 7
      [   15.572798] [fw4_3];fwmultik_msg_reg_handler: same handler already registered for type 10
      [   15.572801] [fw4_3];fwmultik_msg_reg_handler: same handler already registered for type 11
      [   15.572804] [fw4_3];fwmultik_msg_reg_handler: same handler already registered for type 8
      [   15.572807] [fw4_3];fwmultik_msg_reg_handler: same handler already registered for type 9
      [   15.572809] [fw4_3];fwmultik_msg_reg_handler: same handler already registered for type 12
      [   15.573168] [fw4_3];fwha_cluster_msg_register_handler: Registering handler ffff000009a79c88 for VPN
      [   15.574147] [fw4_3];FW-1: fwkdebug_register: module CI already registered
      [   15.682212] [fw4_0];FW-1: Unknown device lo is going down
      [   15.682229] [fw4_1];FW-1: Unknown device lo is going down
      [   15.682245] [fw4_2];FW-1: Unknown device lo is going down
      [   15.682258] [fw4_3];FW-1: Unknown device lo is going down
      [   15.682365] [fw4_0];FW-1: Unknown device lo went down
      [   15.682402] [fw4_1];FW-1: Unknown device lo went down
      [   15.682440] [fw4_2];FW-1: Unknown device lo went down
      [   15.682473] [fw4_3];FW-1: Unknown device lo went down
      [   16.227582] mvpp2_open: Setting device WAN to NH
      [   16.300500] mvpp2 f4000000.ethernet WAN: PHY [f412a200.mdio-mii:01] driver [Marvell 88E1510]
      [   16.302528] mvpp2 f4000000.ethernet WAN: configuring for phy/sgmii link mode
      [   16.705943] random: sqlite3: uninitialized urandom read (256 bytes read)
      [   16.803859] random: sqlite3: uninitialized urandom read (256 bytes read)
      [   16.810935] cpwd (3066): /proc/3066/oom_adj is deprecated, please use /proc/3066/oom_score_adj instead.
      [   16.832135] random: sqlite3: uninitialized urandom read (256 bytes read)
      [   17.147756] Initialzing Factory Reset module
      [   17.147759] setInterruptLinux irq: 127
      [   17.170942] Wait for first press is Enabled
      [   17.793832] usbcore: registered new interface driver usb_debug
      [   17.793855] usbserial: USB Serial support registered for debug
      [   17.793866] usbserial: USB Serial support registered for xhci_dbc
      [   17.801981] usbcore: registered new interface driver cdc_ncm
      [   17.808330] usbcore: registered new interface driver cdc_ether
      [   17.811051] usbcore: registered new interface driver cdc_mbim
      [   17.815850] usbcore: registered new interface driver huawei_cdc_ncm
      [   17.820483] usbcore: registered new interface driver sierra_net
      [   17.828829] usbcore: registered new interface driver qmi_wwan
      [   17.832648] usbcore: registered new interface driver cdc_eem
      [   17.838453] usbcore: registered new interface driver rndis_host
      [   17.848089] usbcore: registered new interface driver pl2303
      [   17.848107] usbserial: USB Serial support registered for pl2303
      [   17.852987] usbcore: registered new interface driver option
      [   17.853007] usbserial: USB Serial support registered for GSM modem (1-port)
      [   17.856437] usbcore: registered new interface driver qcserial
      [   17.856460] usbserial: USB Serial support registered for Qualcomm USB modem
      [   17.860133] usbcore: registered new interface driver sierra
      [   17.860153] usbserial: USB Serial support registered for Sierra USB modem
      [   17.872166] usbcore: registered new interface driver omninet
      [   17.872184] usbserial: USB Serial support registered for ZyXEL - omni.net lcd plus usb
      [   17.881499] usbcore: registered new interface driver belkin_sa
      [   17.881521] usbserial: USB Serial support registered for Belkin / Peracom / GoHubs USB Serial Adapter
      [   17.890747] usbcore: registered new interface driver aircable
      [   17.890766] usbserial: USB Serial support registered for aircable
      [   17.905181] usbcore: registered new interface driver cdc_acm
      [   17.905184] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
      [   18.025675] random: crng init done
      [   18.025680] random: 4 urandom warning(s) missed due to ratelimiting
      [   20.091151] mvpp2_open: Setting device DMZ to NH
      [   20.168150] mvpp2 f4000000.ethernet DMZ: PHY [f412a200.mdio-mii:00] driver [Marvell 88E1510]
      [   20.168200] mvpp2 f4000000.ethernet DMZ: configuring for phy/rgmii-id link mode
      [   20.268004] mvpp2_open: Setting device DMZ to NH
      [   20.344157] mvpp2 f4000000.ethernet DMZ: PHY [f412a200.mdio-mii:00] driver [Marvell 88E1510]
      [   20.344209] mvpp2 f4000000.ethernet DMZ: configuring for phy/rgmii-id link mode
      [   20.434677] [fw4_0];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.434699] [fw4_1];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.434718] [fw4_2];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.434738] [fw4_3];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.534516] Updating vid 1 link status
      [   20.542880] ksw_mrv_dev_do_ioctl(528)
      [   20.542883] Ports vlan
      [   20.542884] num      |VID    |port_state     |
      [   20.542885] --------------------------------------------
      [   20.542887] 1        |1      |3      |
      [   20.542888] 2        |1      |3      |
      [   20.542889] 3        |1      |3      |
      [   20.542891] 4        |1      |3      |
      [   20.542892] 5        |1      |3      |
      [   20.542893] 6        |1      |3      |
      [   20.542894] 7        |1      |3      |
      [   20.542895] 8        |1      |3      |
      [   20.542896] 
      [   20.542896] Vlan port Mask
      [   20.542897] VID      |Port mask      |
      [   20.542898] -----------------------
      [   20.542900] 1        |0xff   |
      [   20.542908] 
      [   20.542909] g_port_vlan_exist=0
      [   20.543287] umsd_fdb_port_learn_enable(952) port 0, enable 0, command 0
      [   20.543529] umsd_fdb_flush started
      [   20.544140] umsd_fdb_flush ending
      [   20.544561] umsd_fdb_port_learn_enable(952) port 1, enable 0, command 0
      [   20.544802] umsd_fdb_flush started
      [   20.545402] umsd_fdb_flush ending
      [   20.545822] umsd_fdb_port_learn_enable(952) port 2, enable 0, command 0
      [   20.546063] umsd_fdb_flush started
      [   20.546677] umsd_fdb_flush ending
      [   20.548221] umsd_fdb_port_learn_enable(952) port 3, enable 0, command 0
      [   20.548464] umsd_fdb_flush started
      [   20.548883] umsd_fdb_flush ending
      [   20.549303] umsd_fdb_port_learn_enable(952) port 4, enable 0, command 0
      [   20.549543] umsd_fdb_flush started
      [   20.550143] umsd_fdb_flush ending
      [   20.550562] umsd_fdb_port_learn_enable(952) port 5, enable 0, command 0
      [   20.550803] umsd_fdb_flush started
      [   20.551431] umsd_fdb_flush ending
      [   20.552223] umsd_fdb_port_learn_enable(952) port 6, enable 0, command 0
      [   20.552473] umsd_fdb_flush started
      [   20.552893] umsd_fdb_flush ending
      [   20.553314] umsd_fdb_port_learn_enable(952) port 7, enable 0, command 0
      [   20.553554] umsd_fdb_flush started
      [   20.554154] umsd_fdb_flush ending
      [   20.554178] ksw_mrv_dev_apply_current_vlans(183)
      [   20.554179] Ports vlan
      [   20.554180] num      |VID    |port_state     |
      [   20.554181] --------------------------------------------
      [   20.554182] 1        |1      |0      |
      [   20.554184] 2        |1      |0      |
      [   20.554185] 3        |1      |0      |
      [   20.554186] 4        |1      |0      |
      [   20.554187] 5        |1      |0      |
      [   20.554188] 6        |1      |0      |
      [   20.554189] 7        |1      |0      |
      [   20.554190] 8        |1      |0      |
      [   20.554191] 
      [   20.554191] Vlan port Mask
      [   20.554192] VID      |Port mask      |
      [   20.554193] -----------------------
      [   20.554195] 1        |0xff   |
      [   20.554200] 
      [   20.554201] g_port_vlan_exist=0
      [   20.555102] umsd_set_vlan_ports(1851) vid 1, port_mask 0x1ff, port_num 8
      [   20.555103] mrv_gtw_set_port_based_vlan numOfports=11 ports_mask=511
      [   20.555105] 
      [   20.555105]  port1 friends:
      [   20.555106]  0 
      [   20.555107]  2 
      [   20.555108]  3 
      [   20.555109]  4 
      [   20.555110]  5 
      [   20.555111]  6 
      [   20.555112]  7 
      [   20.555113]  8 
      [   20.555115] 
      [   20.555115] port=1 dev->numOfPorts=11 ports_mask=0x1ff num_of_ports=8
      [   20.555236] 
      [   20.555236]  port2 friends:
      [   20.555237]  0 
      [   20.555238]  1 
      [   20.555240]  3 
      [   20.555241]  4 
      [   20.555242]  5 
      [   20.555243]  6 
      [   20.555244]  7 
      [   20.555245]  8 
      [   20.555246] 
      [   20.555246] port=2 dev->numOfPorts=11 ports_mask=0x1ff num_of_ports=8
      [   20.555367] 
      [   20.555367]  port3 friends:
      [   20.555368]  0 
      [   20.555369]  1 
      [   20.555370]  2 
      [   20.555371]  4 
      [   20.555372]  5 
      [   20.555373]  6 
      [   20.555374]  7 
      [   20.555375]  8 
      [   20.555377] 
      [   20.555377] port=3 dev->numOfPorts=11 ports_mask=0x1ff num_of_ports=8
      [   20.555498] 
      [   20.555498]  port4 friends:
      [   20.555499]  0 
      [   20.555500]  1 
      [   20.555501]  2 
      [   20.555502]  3 
      [   20.555503]  5 
      [   20.555504]  6 
      [   20.555505]  7 
      [   20.555506]  8 
      [   20.555507] 
      [   20.555507] port=4 dev->numOfPorts=11 ports_mask=0x1ff num_of_ports=8
      [   20.555628] 
      [   20.555628]  port5 friends:
      [   20.555629]  0 
      [   20.555630]  1 
      [   20.555631]  2 
      [   20.555632]  3 
      [   20.555633]  4 
      [   20.555634]  6 
      [   20.555635]  7 
      [   20.555636]  8 
      [   20.555638] 
      [   20.555638] port=5 dev->numOfPorts=11 ports_mask=0x1ff num_of_ports=8
      [   20.555759] 
      [   20.555759]  port6 friends:
      [   20.555760]  0 
      [   20.555761]  1 
      [   20.555762]  2 
      [   20.555763]  3 
      [   20.555764]  4 
      [   20.555765]  5 
      [   20.555766]  7 
      [   20.555767]  8 
      [   20.555769] 
      [   20.555769] port=6 dev->numOfPorts=11 ports_mask=0x1ff num_of_ports=8
      [   20.556334] 
      [   20.556334]  port7 friends:
      [   20.556336]  0 
      [   20.556337]  1 
      [   20.556338]  2 
      [   20.556339]  3 
      [   20.556340]  4 
      [   20.556341]  5 
      [   20.556342]  6 
      [   20.556343]  8 
      [   20.556345] 
      [   20.556345] port=7 dev->numOfPorts=11 ports_mask=0x1ff num_of_ports=8
      [   20.556467] 
      [   20.556467]  port8 friends:
      [   20.556468]  0 
      [   20.556469]  1 
      [   20.556470]  2 
      [   20.556471]  3 
      [   20.556472]  4 
      [   20.556473]  5 
      [   20.556474]  6 
      [   20.556475]  7 
      [   20.556476] 
      [   20.556476] port=8 dev->numOfPorts=11 ports_mask=0x1ff num_of_ports=8
      [   20.556598]  gvlnSetPortVlanPorts success
      [   20.557678]   umsd_add_cpu_mac_internal(667) Successfully added 00:1c:7f:xx:xx:fa on FID 1
      [   20.557689] umsd_fdb_port_learn_enable(952) port 0, enable 1, command 0
      [   20.558349] umsd_fdb_flush started
      [   20.558769] umsd_fdb_flush ending
      [   20.558771] umsd_fdb_port_learn_enable(952) port 1, enable 1, command 0
      [   20.559428] umsd_fdb_flush started
      [   20.560161] umsd_fdb_flush ending
      [   20.560164] umsd_fdb_port_learn_enable(952) port 2, enable 1, command 0
      [   20.561365] umsd_fdb_flush started
      [   20.561790] umsd_fdb_flush ending
      [   20.561794] umsd_fdb_port_learn_enable(952) port 3, enable 1, command 0
      [   20.562453] umsd_fdb_flush started
      [   20.563052] umsd_fdb_flush ending
      [   20.563054] umsd_fdb_port_learn_enable(952) port 4, enable 1, command 0
      [   20.563710] umsd_fdb_flush started
      [   20.564358] umsd_fdb_flush ending
      [   20.564361] umsd_fdb_port_learn_enable(952) port 5, enable 1, command 0
      [   20.565018] umsd_fdb_flush started
      [   20.565617] umsd_fdb_flush ending
      [   20.565619] umsd_fdb_port_learn_enable(952) port 6, enable 1, command 0
      [   20.566279] umsd_fdb_flush started
      [   20.566881] umsd_fdb_flush ending
      [   20.566883] umsd_fdb_port_learn_enable(952) port 7, enable 1, command 0
      [   20.567542] umsd_fdb_flush started
      [   20.568239] umsd_fdb_flush ending
      [   20.568242] ksw_mrv_dev_do_ioctl(530)
      [   20.568243] Ports vlan
      [   20.568244] num      |VID    |port_state     |
      [   20.568245] --------------------------------------------
      [   20.568247] 1        |1      |0      |
      [   20.568248] 2        |1      |0      |
      [   20.568249] 3        |1      |0      |
      [   20.568251] 4        |1      |0      |
      [   20.568252] 5        |1      |0      |
      [   20.568253] 6        |1      |0      |
      [   20.568254] 7        |1      |0      |
      [   20.568255] 8        |1      |0      |
      [   20.568256] 
      [   20.568256] Vlan port Mask
      [   20.568257] VID      |Port mask      |
      [   20.568258] -----------------------
      [   20.568259] 1        |0xff   |
      [   20.568267] 
      [   20.568268] g_port_vlan_exist=1
      [   20.568272] Updating vid 1 link status
      [   20.573323] [fw4_0];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573344] [fw4_1];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573366] [fw4_2];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573386] [fw4_3];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573399] [fw4_0];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573404] [fw4_1];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573409] [fw4_2];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573414] [fw4_3];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573422] [fw4_0];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573427] [fw4_1];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573432] [fw4_2];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573437] [fw4_3];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573445] [fw4_0];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573450] [fw4_1];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573455] [fw4_2];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573459] [fw4_3];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573467] [fw4_0];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573472] [fw4_1];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573477] [fw4_2];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573481] [fw4_3];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573489] [fw4_0];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573494] [fw4_1];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573498] [fw4_2];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573503] [fw4_3];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573510] [fw4_0];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573515] [fw4_1];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573520] [fw4_2];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573525] [fw4_3];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573532] [fw4_0];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573537] [fw4_1];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573541] [fw4_2];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.573546] [fw4_3];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.658851] Updating vid 1 link status
      [   20.659430] umsd_fdb_flush started
      [   20.659794] umsd_fdb_flush ending
      [   20.659795] Updating vid 1 link status
      [   20.660435] Updating vid 1 link status
      [   20.688864] New timeout is 12
      [   20.836841] Updating vid 1 link status
      [   20.854255] [fw4_0];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.854277] [fw4_1];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.854299] [fw4_2];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.854323] [fw4_3];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.868946] enter mrv_dev_change_lan_mac_addr
      [   20.877301] [fw4_0];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.877323] [fw4_1];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.877343] [fw4_2];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.877362] [fw4_3];fw_enable_ifname: Error: Not yet supported on R80.20
      [   20.991980] Updating vid 1 link status
      [   22.854721] [fw4_0];FW-1: Warning: No valid license
      [   22.854767] [fw4_1];FW-1: Warning: No valid license
      [   22.854801] [fw4_2];FW-1: Warning: No valid license
      [   22.854832] [fw4_3];FW-1: Warning: No valid license
      [   23.044501] [fw4_0];cphwd_api_set_seg_info_: calling func with seg_num 4, func_ptr is ffff000000a10560
      [   23.044508] [SIM4];sim_db_init_hash: Called, with num_segs = 4
      [   23.044689] [fw4_0];cphwd_api_q_host_queues_init: initializing host queues.. total cores=4, active queues=4
      [   23.046909] [fw4_0];cphwd_api_q_set_host_queues_affinity: Setting affinity..
      [   23.092700] [SIM4];cphwd_api_register_host: already registered
      [   23.092708] [fw4_0];cphwd_api_set_seg_info_: calling func with seg_num 4, func_ptr is ffff000000a10560
      [   23.092712] [SIM4];sim_db_init_hash: Called, with num_segs = 4
      [   23.092851] [SIM4];cphwd_api_set_num_of_sxl_devices: set number of sxl devices to: 1
      [   23.093018] [fw4_0];FW-1: SND SecureXL device detected (ID 0)
      [   23.182506] [fw4_0];FW-1: fwloghandle_sanity: no log handle
      [   23.182511] [fw4_0];FW-1: fwloghandle_send_log: no log handle
      [   23.182514] [fw4_0];FW-1: fwloghandle_destroy: no log handle
      [   23.182564] [SIM4];SIM (sim_mgr_handle_message): sim was not initialized. opcode=76 vsid=0 service_id=0 internal_flags=4
      [   23.715289] [fw4_0];==>fwk_cmi_prepare: SMEM used: 331686148
      [   23.715328] [fw4_0];<==fwk_cmi_prepare: SMEM used: 331691704
      [   23.727602] [fw4_0];FW-1: No normal policy. Acceleration is disabled.
      [   23.729881] [fw4_1];FW-1: No normal policy. Acceleration is disabled.
      [   23.732202] [fw4_2];FW-1: No normal policy. Acceleration is disabled.
      [   23.734516] [fw4_3];FW-1: No normal policy. Acceleration is disabled.
      [   23.734748] [fw4_0];===> ACC: Accelerator started. Features: 0x3b (v300151119)
      [   23.734773] [fw4_1];===> ACC: Accelerator started. Features: 0x3b (v300151119)
      [   23.734796] [fw4_2];===> ACC: Accelerator started. Features: 0x3b (v300151119)
      [   23.734812] [fw4_3];===> ACC: Accelerator started. Features: 0x3b (v300151119)
      [   23.981821] [fw4_0];FW-1: Warning: No valid license
      [   23.981851] [fw4_1];FW-1: Warning: No valid license
      [   23.981878] [fw4_2];FW-1: Warning: No valid license
      [   23.981902] [fw4_3];FW-1: Warning: No valid license
      [   24.569418] [fw4_0];Successfully configured Routing (6)
      [   90.589377] mvpp2_open: Setting device WAN to NH
      [   90.664502] mvpp2 f4000000.ethernet WAN: PHY [f412a200.mdio-mii:01] driver [Marvell 88E1510]
      [   90.666526] mvpp2 f4000000.ethernet WAN: configuring for phy/sgmii link mode
      [  391.985878] mvpp2_open: Setting device WAN to NH
      [  392.060503] mvpp2 f4000000.ethernet WAN: PHY [f412a200.mdio-mii:01] driver [Marvell 88E1510]
      [  392.062536] mvpp2 f4000000.ethernet WAN: configuring for phy/sgmii link mode
      [  392.165708] mvpp2_open: Setting device WAN to NH
      [  392.240518] mvpp2 f4000000.ethernet WAN: PHY [f412a200.mdio-mii:01] driver [Marvell 88E1510]
      [  392.242548] mvpp2 f4000000.ethernet WAN: configuring for phy/sgmii link mode
      [  452.225282] mvpp2_open: Setting device WAN to NH
      [  452.300499] mvpp2 f4000000.ethernet WAN: PHY [f412a200.mdio-mii:01] driver [Marvell 88E1510]
      [  452.302529] mvpp2 f4000000.ethernet WAN: configuring for phy/sgmii link mode
      [  753.729789] mvpp2_open: Setting device WAN to NH
      [  753.804520] mvpp2 f4000000.ethernet WAN: PHY [f412a200.mdio-mii:01] driver [Marvell 88E1510]
      [  753.806552] mvpp2 f4000000.ethernet WAN: configuring for phy/sgmii link mode
      [  753.909503] mvpp2_open: Setting device WAN to NH
      [  753.984497] mvpp2 f4000000.ethernet WAN: PHY [f412a200.mdio-mii:01] driver [Marvell 88E1510]
      [  753.986527] mvpp2 f4000000.ethernet WAN: configuring for phy/sgmii link mode
      [  757.124185] [WAN] up, speed=1000
      [  757.124212] mvpp2 f4000000.ethernet WAN: Link is Up - 1Gbps/Full - flow control rx/tx
      [  764.255412] [fw4_0];Successfully configured Routing (6)
      [  764.844853] [fw4_0];Successfully configured Routing (6)
      [  770.628425] [fw4_0];Successfully configured Routing (6)
      [  773.685848] mvpp2 f4000000.ethernet WAN: Link is Down
      [  773.685851] [WAN] down
      [  773.710544] mvpp2_open: Setting device WAN to NH
      [  773.784494] [WAN] up, speed=1000
      [  773.784741] mvpp2 f4000000.ethernet WAN: PHY [f412a200.mdio-mii:01] driver [Marvell 88E1510]
      [  773.786767] mvpp2 f4000000.ethernet WAN: configuring for phy/sgmii link mode
      [  773.786814] mvpp2 f4000000.ethernet WAN: Link is Up - 1Gbps/Full - flow control rx/tx
      [  773.861278] mvpp2 f4000000.ethernet WAN: Link is Down
      [  773.861281] [WAN] down
      [  774.709433] [fw4_0];Successfully configured Routing (6)
      [  775.252637] [fw4_0];Successfully configured Routing (6)
    

HDL2-A bootcmdメモ

整形したやつ

順番としては

  1. 1番目のSATAポートで試行 (ext2/ext3)
  2. 2番目のSATAポートで試行 (ext2/ext3)
  3. 1番目のUSBポートで試行 (fat)
  4. 2番目のUSBポートで試行 (fat)
  5. ボタン操作待ち(poweroffまたはreset)
hdlfixwol
mw.b 0x800000 0x00 0x800000
mw.b 0x2000000 0x00 0x800000
hdlwake
ide reset
hdlstart
if   ext2load ide 0:1 0x800000 /uImage.l2a && \
     ext2load ide 0:1 0x2000000 /initrd.l2a && \
     sbootm 0x800000 0x2000000; then

elif ext2load ide 1:1 0x800000 /uImage.l2a && \
     ext2load ide 1:1 0x2000000 /initrd.l2a && \
     sbootm 0x800000 0x2000000; then

else
    usb start

    if   fatload usb 0:0 0x800000 l2a/uImage.l2a && \
         fatload usb 0:0 0x2000000 l2a/initrd.l2a && \
         sbootm 0x800000 0x2000000; then

    elif fatload usb 0:1 0x800000 l2a/uImage.l2a && \
         fatload usb 0:1 0x2000000 l2a/initrd.l2a && \
         sbootm 0x800000 0x2000000; then

    else
        hdlbtn

    fi
fi