Welcome! Log In Create A New Profile

Advanced

My Cloud Mirror Gen2 u-boot

Posted by hmartin 
Re: My Cloud Mirror Gen2
July 09, 2017 04:42PM
mcmg2,

It looks fine. But you should try to get rid of that DTS error in dmesg.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
mcmg2
Re: My Cloud Mirror Gen2
July 09, 2017 05:17PM
sorry, I am not linux user, I just followed your instruction so please advise me how to save env and remove error in mtd.

Debian GNU/Linux 8 debian ttyS0

debian login: root
Password: 
Last login: Sun Jul  9 04:26:58 PDT 2017 on ttyS0
Linux debian 4.9.0-mvebu-tld-12 #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian
192.168.2.109
Western Digital MyCloud EX2 Ultra
Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
 15:06:04 up 0 min,  1 user,  load average: 0.45, 0.11, 0.04
root@debian:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Western Digital MyCloud EX2 Ultra
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] ------------[ cut here ]------------
[    0.000000] WARNING: CPU: 0 PID: 0 at kernel/printk/printk.c:2612 register_console+0x3c/0x398
[    0.000000] console 'earlycon0' already registered
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.9.0-mvebu-tld-12 #2
[    0.000000] Hardware name: Marvell Armada 380/385 (Device Tree)
[    0.000000] [<c01160bc>] (unwind_backtrace) from [<c0110bb4>] (show_stack+0x10/0x14)
[    0.000000] [<c0110bb4>] (show_stack) from [<c04ba5a4>] (dump_stack+0x70/0x8c)
[    0.000000] [<c04ba5a4>] (dump_stack) from [<c0123ce0>] (__warn+0xc8/0xfc)
[    0.000000] [<c0123ce0>] (__warn) from [<c0123d48>] (warn_slowpath_fmt+0x34/0x44)
[    0.000000] [<c0123d48>] (warn_slowpath_fmt) from [<c0171b1c>] (register_console+0x3c/0x398)
[    0.000000] [<c0171b1c>] (register_console) from [<c0c04dc0>] (setup_early_printk+0x14/0x24)
[    0.000000] [<c0c04dc0>] (setup_early_printk) from [<c0c00478>] (do_early_param+0x6c/0xbc)
[    0.000000] [<c0c00478>] (do_early_param) from [<c013f774>] (parse_args+0x2dc/0x40c)
[    0.000000] [<c013f774>] (parse_args) from [<c0c0088c>] (parse_early_options+0x2c/0x3c)
[    0.000000] [<c0c0088c>] (parse_early_options) from [<c0c008c8>] (parse_early_param+0x2c/0x44)
[    0.000000] [<c0c008c8>] (parse_early_param) from [<c0c03350>] (setup_arch+0x4fc/0xa24)
[    0.000000] [<c0c03350>] (setup_arch) from [<c0c00934>] (start_kernel+0x50/0x390)
[    0.000000] [<c0c00934>] (start_kernel) from [<0000807c>] (0x807c)
[    0.000000] ---[ end trace 0000000000000000 ]---
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 262144
[    0.000000] free_area_init_node: node 0, pgdat c0d97f80, node_mem_map ef7f8000
[    0.000000]   Normal zone: 1536 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 65536 pages, LIFO batch:15
[    0.000000] percpu: Embedded 15 pages/cpu @ef7cc000 s30796 r8192 d22452 u61440
[    0.000000] pcpu-alloc: s30796 r8192 d22452 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608
[    0.000000] Kernel command line: console=ttyS0,115200 libata.force=3.0G root=LABEL=rootfs earlyprintk console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1019928K/1048576K available (8192K kernel code, 690K rwdata, 2052K rodata, 1024K init, 386K bss, 28648K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0900000   (9184 kB)
      .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
      .data : 0xc0d00000 - 0xc0daca28   ( 691 kB)
       .bss : 0xc0daca28 - 0xc0e0d4f8   ( 387 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000004] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.007883] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019110] Console: colour dummy device 80x30
[    0.023626] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.034034] pid_max: default: 32768 minimum: 301
[    0.038802] Security Framework initialized
[    0.043004] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.049679] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.057255] CPU: Testing write buffer coherency: ok
[    0.062347] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.068090] Setting up static identity map for 0x100000 - 0x100058
[    0.074522] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.079806] mvebu-pmsu: Initializing Power Management Service Unit
[    0.283605] Booting CPU 1
[    0.286476] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.286533] Brought up 2 CPUs
[    0.295295] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.301616] CPU: All CPU(s) started in SVC mode.
[    0.306884] devtmpfs: initialized
[    0.312798] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.320782] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.330722] prandom: seed boundary self test passed
[    0.337684] prandom: 100 self tests passed
[    0.341846] pinctrl core: initialized pinctrl subsystem
[    0.347879] NET: Registered protocol family 16
[    0.353056] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.383455] cpuidle: using governor ladder
[    0.413422] cpuidle: using governor menu
[    0.417538] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.425611] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.483820] vgaarb: loaded
[    0.486860] SCSI subsystem initialized
[    0.490846] libata version 3.00 loaded.
[    0.491164] usbcore: registered new interface driver usbfs
[    0.496819] usbcore: registered new interface driver hub
[    0.502254] usbcore: registered new device driver usb
[    0.507605] media: Linux media interface: v0.10
[    0.512250] Linux video capture interface: v2.00
[    0.517929] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.554105] VFS: Disk quotas dquot_6.6.0
[    0.558178] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.573486] NET: Registered protocol family 2
[    0.578361] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.585501] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.592101] TCP: Hash tables configured (established 8192 bind 8192)
[    0.598563] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.604558] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.611111] NET: Registered protocol family 1
[    0.615817] RPC: Registered named UNIX socket transport module.
[    0.621812] RPC: Registered udp transport module.
[    0.626577] RPC: Registered tcp transport module.
[    0.631367] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.637864] PCI: CLS 0 bytes, default 64
[    0.638007] Unpacking initramfs...
[    0.886072] Freeing initrd memory: 6068K (c2900000 - c2eed000)
[    0.892176] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.898948] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.908282] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.914495] audit: initializing netlink subsys (disabled)
[    0.920009] audit: type=2000 audit(0.910:1): initialized
[    0.925840] Initialise system trusted keyrings
[    0.930527] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.937093] zbud: loaded
[    0.940278] NFS: Registering the id_resolver key type
[    0.945398] Key type id_resolver registered
[    0.949665] Key type id_legacy registered
[    0.953747] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.960530] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.967094] jffs2: version 2.2. (NAND) (SUMMARY)  \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
[    0.974546] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.981197] orangefs_init: module version upstream loaded
[    0.988875] Key type asymmetric registered
[    0.993038] Asymmetric key parser 'x509' registered
[    0.998035] bounce: pool size: 64 pages
[    1.002021] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    1.009478] io scheduler noop registered
[    1.013467] io scheduler deadline registered
[    1.017814] io scheduler cfq registered (default)
[    1.023527] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.032205] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    1.039167] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.045491] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.052430] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.057995] pci_bus 0000:00: scanning bus
[    1.058021] pci 0000:00:01.0: [11ab:6820] type 01 class 0x060400
[    1.058052] pci 0000:00:01.0: calling pci_fixup_ide_bases+0x0/0x3c
[    1.058243] pci 0000:00:02.0: [11ab:6820] type 01 class 0x060400
[    1.058267] pci 0000:00:02.0: calling pci_fixup_ide_bases+0x0/0x3c
[    1.058436] pci_bus 0000:00: fixups for bus
[    1.058445] PCI: bus0: Fast back to back transfers disabled
[    1.064079] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 0
[    1.064084] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.072152] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 0
[    1.072157] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.080233] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 1
[    1.080344] pci_bus 0000:01: scanning bus
[    1.080350] pci_bus 0000:01: fixups for bus
[    1.080354] PCI: bus1: Fast back to back transfers enabled
[    1.085898] pci_bus 0000:01: bus scan returning with max=01
[    1.085904] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.085912] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 1
[    1.086020] pci_bus 0000:02: scanning bus
[    1.086027] pci_bus 0000:02: fixups for bus
[    1.086030] PCI: bus2: Fast back to back transfers enabled
[    1.091590] pci_bus 0000:02: bus scan returning with max=02
[    1.091596] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.091602] pci_bus 0000:00: bus scan returning with max=02
[    1.091608] pci 0000:00:01.0: fixup irq: got 0
[    1.091613] pci 0000:00:01.0: assigning IRQ 00
[    1.091618] pci 0000:00:02.0: fixup irq: got 0
[    1.091622] pci 0000:00:02.0: assigning IRQ 00
[    1.091637] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.096667] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.101757] pcieport 0000:00:01.0: enabling bus mastering
[    1.101798] pcieport 0000:00:02.0: enabling bus mastering
[    1.102211] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.168406] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.176025] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.238413] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.297457] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.305365] console [ttyS0] disabled
[    1.329126] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 12500000) is a 16550A
[    1.338168] console [ttyS0] enabled
[    1.345256] bootconsole [earlycon0] disabled
[    1.374600] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 12500000) is a 16550A
[    1.384639] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.393764] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.403463] scsi host0: ahci-mvebu
[    1.407196] scsi host1: ahci-mvebu
[    1.410870] ata1: FORCE: PHY spd limit set to 3.0Gbps
[    1.415945] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.423909] ata2: FORCE: PHY spd limit set to 3.0Gbps
[    1.429005] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.437495] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.445406] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    1.451815] nand: Hynix H27U2G8F2CTR-BC
[    1.455670] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.463285] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.470505] Bad block table found at page 131008, version 0x01
[    1.476707] Bad block table found at page 130944, version 0x01
[    1.482805] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.488949] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.494379] 0x000000000000-0x000000500000 : "U-Boot"
[    1.500192] 0x000000500000-0x000000a00000 : "uImage"
[    1.515918] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    1.531804] 0x000000f00000-0x00000c800000 : "image.cfs"
[    1.548574] 0x00000c800000-0x00000d700000 : "rescue fw"
[    1.564570] 0x00000d700000-0x00000eb00000 : "config"
[    1.580372] 0x00000eb00000-0x00000f500000 : "reserve1"
[    1.596296] 0x00000f500000-0x00000ff00000 : "reserve2"
[    1.612850] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.619676] libphy: Fixed MDIO Bus: probed
[    1.624107] libphy: mdio_driver_register: mv88e6085
[    1.629218] libphy: orion_mdio_bus: probed
[    1.638634] mvneta f1034000.ethernet eth0: Using random mac address 26:f4:94:97:3a:55
[    1.646688] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.653332] ehci-pci: EHCI PCI platform driver
[    1.657843] ehci-orion: EHCI orion driver
[    1.662210] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.667560] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 1
[    1.675186] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.683795] xhci-hcd f10f0000.usb3: irq 45, io mem 0xf10f0000
[    1.689693] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.696514] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.703779] usb usb1: Product: xHCI Host Controller
[    1.708698] usb usb1: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.715166] usb usb1: SerialNumber: f10f0000.usb3
[    1.720284] hub 1-0:1.0: USB hub found
[    1.724073] hub 1-0:1.0: 1 port detected
[    1.728236] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.733579] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.741171] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.749386] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    1.756205] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.763469] usb usb2: Product: xHCI Host Controller
[    1.768388] usb usb2: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.769220] ata1: SATA link down (SStatus 0 SControl 320)
[    1.779167] ata2: SATA link down (SStatus 0 SControl 320)
[    1.785716] usb usb2: SerialNumber: f10f0000.usb3
[    1.790825] hub 2-0:1.0: USB hub found
[    1.794608] hub 2-0:1.0: 1 port detected
[    1.798835] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.804183] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    1.811796] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.820394] xhci-hcd f10f8000.usb3: irq 46, io mem 0xf10f8000
[    1.826256] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    1.833111] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.840418] usb usb3: Product: xHCI Host Controller
[    1.845318] usb usb3: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.851807] usb usb3: SerialNumber: f10f8000.usb3
[    1.856881] hub 3-0:1.0: USB hub found
[    1.860677] hub 3-0:1.0: 1 port detected
[    1.864811] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.870180] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    1.877750] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.885955] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[    1.892795] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.900058] usb usb4: Product: xHCI Host Controller
[    1.904958] usb usb4: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.911512] usb usb4: SerialNumber: f10f8000.usb3
[    1.916578] hub 4-0:1.0: USB hub found
[    1.920374] hub 4-0:1.0: 1 port detected
[    1.924605] usbcore: registered new interface driver usblp
[    1.930219] usbcore: registered new interface driver usb-storage
[    1.936449] mousedev: PS/2 mouse device common for all mice
[    1.942548] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.950557] i2c /dev entries driver
[    1.966025] orion_wdt: Initial timeout 171 sec
[    1.972513] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.979898] hidraw: raw HID events driver (C) Jiri Kosina
[    1.985641] usbcore: registered new interface driver usbhid
[    1.991268] usbhid: USB HID core driver
[    1.995279] drop_monitor: Initializing network drop monitor service
[    2.001621] Netfilter messages via NETLINK v0.30.
[    2.006371] ip_set: protocol 6
[    2.009662] NET: Registered protocol family 10
[    2.014704] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.021751] NET: Registered protocol family 17
[    2.026382] 8021q: 802.1Q VLAN Support v1.8
[    2.030722] Key type dns_resolver registered
[    2.035142] ThumbEE CPU extension supported.
[    2.039449] Registering SWP/SWPB emulation handler
[    2.044766] registered taskstats version 1
[    2.048911] Loading compiled-in X.509 certificates
[    2.053758] zswap: loaded using pool lzo/zbud
[    2.107349] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    2.118237] Key type big_key registered
[    2.126212] Key type encrypted registered
[    2.131464] armada38x-rtc f10a3800.rtc: setting system clock to 2017-07-09 22:05:11 UTC (1499637911)
[    2.140742] PM: Hibernation image not present or could not be loaded.
[    2.141848] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000)
[    2.187150] systemd-udevd[1315]: starting version 215
[    2.193305] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.280324] usb 1-1: New USB device found, idVendor=090c, idProduct=1000
[    2.287062] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.294385] usb 1-1: Product: POLLEX 8G
[    2.305426] usb 1-1: Manufacturer: SRT
[    2.309219] usb 1-1: SerialNumber: 033113111111135234000373
[    2.322215] usb-storage 1-1:1.0: USB Mass Storage device detected
[    2.336489] scsi host2: usb-storage 1-1:1.0
[    2.494070] usbcore: registered new interface driver uas
[    3.368671] scsi 2:0:0:0: Direct-Access     SRT      POLLEX 8G        1100 PQ: 0 ANSI: 4
[    3.379375] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    3.386387] sd 2:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
[    3.395036] sd 2:0:0:0: [sda] Write Protect is off
[    3.399885] sd 2:0:0:0: [sda] Mode Sense: 43 00 00 00
[    3.400540] sd 2:0:0:0: [sda] No Caching mode page found
[    3.405877] sd 2:0:0:0: [sda] Assuming drive cache: write through
[    3.415158]  sda: sda1
[    3.423907] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    3.465622] random: fast init done
[   17.613701] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   17.631296] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   18.553428] systemd-udevd[1520]: starting version 215
[   19.943773] EXT4-fs (sda1): re-mounted. Opts: (null)
[   21.208663] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   25.368402] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   25.376287] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   34.402777] random: crng init done

mcmg2
Re: My Cloud Mirror Gen2
July 09, 2017 07:53PM
mint@mint ~/kwboot $ sudo ./kwboot -f -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-GrandTeton_2014T3_PQ-nand-uart.bin -s 0 -q 1
Sending boot message. Please reboot the target...-
Sending boot image...
  0 % [+++...................................................................]
  0 % [......................................................................]
  1 % [......................................................................]
  2 % [......................................................................]
  3 % [......................................................................]
  4 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  7 % [......................................................................]
  8 % [......................................................................]
  9 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 12 % [......................................................................]
 13 % [......................................................................]
 14 % [......................................................................]
 14 % [......................................................................]
 15 % [......................................................................]
 16 % [......................................................................]
 17 % [......................................................................]
 18 % [......................................................................]
 19 % [......................................................................]
 20 % [......................................................................]
 21 % [......................................................................]
 22 % [......................................................................]
 23 % [......................................................................]
 24 % [......................................................................]
 25 % [......................................................................]
 26 % [......................................................................]
 27 % [......................................................................]
 28 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 30 % [......................................................................]
 31 % [......................................................................]
 32 % [......................................................................]
 33 % [......................................................................]
 34 % [......................................................................]
 35 % [......................................................................]
 36 % [......................................................................]
 37 % [......................................................................]
 38 % [......................................................................]
 39 % [......................................................................]
 40 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 43 % [......................................................................]
 44 % [......................................................................]
 45 % [......................................................................]
 45 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 48 % [......................................................................]
 49 % [......................................................................]
 50 % [......................................................................]
 51 % [......................................................................]
 52 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 55 % [......................................................................]
 56 % [......................................................................]
 57 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 60 % [......................................................................]
 60 % [......................................................................]
 61 % [......................................................................]
 62 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 65 % [......................................................................]
 66 % [......................................................................]
 67 % [......................................................................]
 68 % [......................................................................]
 69 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 72 % [......................................................................]
 73 % [......................................................................]
 74 % [......................................................................]
 75 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 77 % [......................................................................]
 78 % [......................................................................]
 79 % [......................................................................]
 80 % [......................................................................]
 81 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 84 % [......................................................................]
 85 % [......................................................................]
 86 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 89 % [......................................................................]
 90 % [......................................................................]
 91 % [......................................................................]
 91 % [......................................................................]
 92 % [......................................................................]
 93 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 96 % [......................................................................]
 97 % [......................................................................]
 98 % [......................................................................]
 99 % [...........................................]
[Type Ctrl-\ + c to quit]

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_ 
        | | | |___|  _ \ / _ \ / _ \| __| 
        | |_| |___| |_) | (_) | (_) | |_ 
         \___/    |____/ \___/ \___/ \__| 
 ** LOADER **


U-Boot 2013.01_v1.04 (Jul 05 2017 - 16:59:05) Marvell version: 2014_T3.0p6

mvBoardIdIndexGet(boardId) = 1
Board: GrandTeton DB6820
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1332 [MHz]
       L2     @ 666 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 666 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  1 GiB

Map:   Code:			0x3fece000:0x3ff95f50
       BSS:			0x3ffef254
       Stack:			0x3f9cdf20
       Heap:			0x3f9ce000:0x3fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:	0x00000000:0x00080000 (NAND)

NAND:  ID: daad ,256 MiB
MMC:   mv_sdh: 0
PCI-e 0: Detected No Link.
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00000f500000-0x00000ff00000 : "mtd=7"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=7"
UBI: MTD device size:            10 MiB
UBI: number of good PEBs:        80
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             32
UBI: total number of reserved PEBs: 48
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 3/0
UBIFS: mounted UBI device 0, volume 0, name "reserve2"
UBIFS: mounted read-only
UBIFS: file system size:   4063232 bytes (3968 KiB, 3 MiB, 32 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  200807 bytes (196 KiB)
Loading file '/mac_addr' to addr 0x02000000 with size 18 (0x00000012)...
Done
Set lan 2 WakeOnLan ok
Enable HD1
Enable HD2
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |   In-Band    |
| egiga1 |   RGMII   |   In-Band    |
| egiga2 |   SGMII   |     0x00     |
egiga0, egiga1, egiga2 [PRIME]
Hit any key to stop autoboot:  0 
Marvell>> setenv bootdev 'usb'
Marvell>> setenv device '0:1'
Marvell>> setenv load_image_addr '0x02000000'
Marvell>> setenv load_initrd_addr '0x2900000'
Marvell>> setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage'
Marvell>> setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
Marvell>> setenv bootcmd_usb 'echo Booting from USB ...; usb start; setenv fdt_skip_update yes; usb start; run usb_set_bootargs; if run load_image; then if run load_initrd; then bootm $load_image_addr $load_initrd_addr; else bootm $load_image_addr; fi; fi'
Marvell>> run bootcmd_usb
Booting from USB ...
(Re)start USB...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
(Re)start USB...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
loading Image ...
3920526 bytes read in 421 ms (8.9 MiB/s)
loading uInitrd ...
6210503 bytes read in 491 ms (12.1 MiB/s)
## Booting image at 02000000 ...
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-4.9.0-mvebu-tld-12
   Created:      2017-07-09   9:45:53 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3920462 Bytes = 3.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02900000 ...
   Image Name:   initramfs-4.9.0-mvebu-tld-12
   Created:      2017-02-03  23:57:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6210439 Bytes = 5.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Western Digital MyCloud EX2 Ultra
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] ------------[ cut here ]------------
[    0.000000] WARNING: CPU: 0 PID: 0 at kernel/printk/printk.c:2612 register_console+0x3c/0x398
[    0.000000] console 'earlycon0' already registered
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.9.0-mvebu-tld-12 #2
[    0.000000] Hardware name: Marvell Armada 380/385 (Device Tree)
[    0.000000] [<c01160bc>] (unwind_backtrace) from [<c0110bb4>] (show_stack+0x10/0x14)
[    0.000000] [<c0110bb4>] (show_stack) from [<c04ba5a4>] (dump_stack+0x70/0x8c)
[    0.000000] [<c04ba5a4>] (dump_stack) from [<c0123ce0>] (__warn+0xc8/0xfc)
[    0.000000] [<c0123ce0>] (__warn) from [<c0123d48>] (warn_slowpath_fmt+0x34/0x44)
[    0.000000] [<c0123d48>] (warn_slowpath_fmt) from [<c0171b1c>] (register_console+0x3c/0x398)
[    0.000000] [<c0171b1c>] (register_console) from [<c0c04dc0>] (setup_early_printk+0x14/0x24)
[    0.000000] [<c0c04dc0>] (setup_early_printk) from [<c0c00478>] (do_early_param+0x6c/0xbc)
[    0.000000] [<c0c00478>] (do_early_param) from [<c013f774>] (parse_args+0x2dc/0x40c)
[    0.000000] [<c013f774>] (parse_args) from [<c0c0088c>] (parse_early_options+0x2c/0x3c)
[    0.000000] [<c0c0088c>] (parse_early_options) from [<c0c008c8>] (parse_early_param+0x2c/0x44)
[    0.000000] [<c0c008c8>] (parse_early_param) from [<c0c03350>] (setup_arch+0x4fc/0xa24)
[    0.000000] [<c0c03350>] (setup_arch) from [<c0c00934>] (start_kernel+0x50/0x390)
[    0.000000] [<c0c00934>] (start_kernel) from [<0000807c>] (0x807c)
[    0.000000] ---[ end trace 0000000000000000 ]---
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 15 pages/cpu @ef7cc000 s30796 r8192 d22452 u61440
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608
[    0.000000] Kernel command line: console=ttyS0,115200 libata.force=3.0G root=LABEL=rootfs earlyprintk console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1019928K/1048576K available (8192K kernel code, 690K rwdata, 2052K rodata, 1024K init, 386K bss, 28648K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
[    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
[    0.000000]       .data : 0xc0d00000 - 0xc0daca28   ( 691 kB)
[    0.000000]        .bss : 0xc0daca28 - 0xc0e0d4f8   ( 387 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000004] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.007883] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019111] Console: colour dummy device 80x30
[    0.023628] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.034036] pid_max: default: 32768 minimum: 301
[    0.038805] Security Framework initialized
[    0.043006] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.049681] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.057258] CPU: Testing write buffer coherency: ok
[    0.062352] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.068095] Setting up static identity map for 0x100000 - 0x100058
[    0.074525] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.079809] mvebu-pmsu: Initializing Power Management Service Unit
[    0.283605] Booting CPU 1
[    0.286476] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.286533] Brought up 2 CPUs
[    0.295294] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.301615] CPU: All CPU(s) started in SVC mode.
[    0.306883] devtmpfs: initialized
[    0.312773] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.320760] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.330698] prandom: seed boundary self test passed
[    0.337660] prandom: 100 self tests passed
[    0.341821] pinctrl core: initialized pinctrl subsystem
[    0.347860] NET: Registered protocol family 16
[    0.353037] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.383454] cpuidle: using governor ladder
[    0.413422] cpuidle: using governor menu
[    0.417537] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.425610] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.483818] vgaarb: loaded
[    0.486861] SCSI subsystem initialized
[    0.491165] usbcore: registered new interface driver usbfs
[    0.496821] usbcore: registered new interface driver hub
[    0.502256] usbcore: registered new device driver usb
[    0.507608] media: Linux media interface: v0.10
[    0.512252] Linux video capture interface: v2.00
[    0.517934] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.554085] VFS: Disk quotas dquot_6.6.0
[    0.558157] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.573487] NET: Registered protocol family 2
[    0.578360] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.585501] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.592102] TCP: Hash tables configured (established 8192 bind 8192)
[    0.598565] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.604560] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.611118] NET: Registered protocol family 1
[    0.615811] RPC: Registered named UNIX socket transport module.
[    0.621809] RPC: Registered udp transport module.
[    0.626575] RPC: Registered tcp transport module.
[    0.631366] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.638008] Unpacking initramfs...
[    0.885762] Freeing initrd memory: 6068K (c2900000 - c2eed000)
[    0.891867] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.898641] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.907979] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.914190] audit: initializing netlink subsys (disabled)
[    0.919700] audit: type=2000 audit(0.910:1): initialized
[    0.925528] Initialise system trusted keyrings
[    0.930217] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.936786] zbud: loaded
[    0.939974] NFS: Registering the id_resolver key type
[    0.945094] Key type id_resolver registered
[    0.949361] Key type id_legacy registered
[    0.953442] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.960225] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.966789] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.974241] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.980888] orangefs_init: module version upstream loaded
[    0.988524] Key type asymmetric registered
[    0.992687] Asymmetric key parser 'x509' registered
[    0.997656] bounce: pool size: 64 pages
[    1.001667] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    1.009124] io scheduler noop registered
[    1.013113] io scheduler deadline registered
[    1.017460] io scheduler cfq registered (default)
[    1.023173] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.031843] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    1.038807] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.045131] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.052070] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.058099] PCI: bus0: Fast back to back transfers disabled
[    1.063737] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.071807] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.080004] PCI: bus1: Fast back to back transfers enabled
[    1.085679] PCI: bus2: Fast back to back transfers enabled
[    1.091285] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.096316] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.101854] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.168408] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.176027] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.238419] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.296650] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.304565] console [ttyS0] disabled
[    1.328335] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 12500000) is a 16550A
[    1.337363] console [ttyS0] enabled
[    1.337363] console [ttyS0] enabled
[    1.344466] bootconsole [earlycon0] disabled
[    1.344466] bootconsole [earlycon0] disabled
[    1.373870] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 12500000) is a 16550A
[    1.383916] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.393042] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.402745] scsi host0: ahci-mvebu
[    1.406480] scsi host1: ahci-mvebu
[    1.410155] ata1: FORCE: PHY spd limit set to 3.0Gbps
[    1.415231] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.423195] ata2: FORCE: PHY spd limit set to 3.0Gbps
[    1.428290] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.436777] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.444673] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    1.451080] nand: Hynix H27U2G8F2CTR-BC
[    1.454933] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.462547] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.469768] Bad block table found at page 131008, version 0x01
[    1.475969] Bad block table found at page 130944, version 0x01
[    1.482068] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.488212] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.493640] 0x000000000000-0x000000500000 : "U-Boot"
[    1.509469] 0x000000500000-0x000000a00000 : "uImage"
[    1.525206] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    1.541109] 0x000000f00000-0x00000c800000 : "image.cfs"
[    1.557873] 0x00000c800000-0x00000d700000 : "rescue fw"
[    1.573889] 0x00000d700000-0x00000eb00000 : "config"
[    1.589677] 0x00000eb00000-0x00000f500000 : "reserve1"
[    1.605600] 0x00000f500000-0x00000ff00000 : "reserve2"
[    1.622162] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.628987] libphy: Fixed MDIO Bus: probed
[    1.633415] libphy: mdio_driver_register: mv88e6085
[    1.638566] libphy: orion_mdio_bus: probed
[    1.648239] mvneta f1034000.ethernet eth0: Using random mac address 76:53:1c:88:3e:39
[    1.656293] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.662890] ehci-pci: EHCI PCI platform driver
[    1.667399] ehci-orion: EHCI orion driver
[    1.671766] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.677116] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 1
[    1.684745] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.693349] xhci-hcd f10f0000.usb3: irq 45, io mem 0xf10f0000
[    1.699244] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.706064] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.713330] usb usb1: Product: xHCI Host Controller
[    1.718255] usb usb1: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.724723] usb usb1: SerialNumber: f10f0000.usb3
[    1.729840] hub 1-0:1.0: USB hub found
[    1.733633] hub 1-0:1.0: 1 port detected
[    1.737765] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.743136] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.750721] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.758936] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    1.759241] ata1: SATA link down (SStatus 0 SControl 320)
[    1.769195] ata2: SATA link down (SStatus 0 SControl 320)
[    1.776617] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.783891] usb usb2: Product: xHCI Host Controller
[    1.788798] usb usb2: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.795267] usb usb2: SerialNumber: f10f0000.usb3
[    1.800363] hub 2-0:1.0: USB hub found
[    1.804148] hub 2-0:1.0: 1 port detected
[    1.808381] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.813729] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    1.821340] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.829955] xhci-hcd f10f8000.usb3: irq 46, io mem 0xf10f8000
[    1.835815] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    1.842698] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.849966] usb usb3: Product: xHCI Host Controller
[    1.854865] usb usb3: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.861353] usb usb3: SerialNumber: f10f8000.usb3
[    1.866417] hub 3-0:1.0: USB hub found
[    1.870217] hub 3-0:1.0: 1 port detected
[    1.874352] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.879719] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    1.887286] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.895491] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[    1.902331] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.909593] usb usb4: Product: xHCI Host Controller
[    1.914492] usb usb4: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.921046] usb usb4: SerialNumber: f10f8000.usb3
[    1.926112] hub 4-0:1.0: USB hub found
[    1.929910] hub 4-0:1.0: 1 port detected
[    1.934145] usbcore: registered new interface driver usblp
[    1.939758] usbcore: registered new interface driver usb-storage
[    1.945979] mousedev: PS/2 mouse device common for all mice
[    1.952178] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.960015] i2c /dev entries driver
[    1.975495] orion_wdt: Initial timeout 171 sec
[    1.981937] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.989321] hidraw: raw HID events driver (C) Jiri Kosina
[    1.995066] usbcore: registered new interface driver usbhid
[    2.000693] usbhid: USB HID core driver
[    2.004709] drop_monitor: Initializing network drop monitor service
[    2.011056] Netfilter messages via NETLINK v0.30.
[    2.015794] ip_set: protocol 6
[    2.019135] NET: Registered protocol family 10
[    2.024171] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.031157] NET: Registered protocol family 17
[    2.035786] 8021q: 802.1Q VLAN Support v1.8
[    2.040127] Key type dns_resolver registered
[    2.044548] ThumbEE CPU extension supported.
[    2.048853] Registering SWP/SWPB emulation handler
[    2.054175] registered taskstats version 1
[    2.058322] Loading compiled-in X.509 certificates
[    2.063171] zswap: loaded using pool lzo/zbud
[    2.113358] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    2.124170] Key type big_key registered
[    2.132011] Key type encrypted registered
[    2.137126] armada38x-rtc f10a3800.rtc: setting system clock to 2017-07-10 00:49:28 UTC (1499647768)
[    2.147495] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000)
Loading, please wait...
[    2.193697] systemd-udevd[1315]: starting version 215
[    2.199854] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.290307] usb 1-1: New USB device found, idVendor=090c, idProduct=1000
[    2.297046] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.305674] usb 1-1: Product: POLLEX 8G
[    2.309574] usb 1-1: Manufacturer: SRT
[    2.313342] usb 1-1: SerialNumber: 033113111111135234000373
[    2.319569] usb-storage 1-1:1.0: USB Mass Storage device detected
[    2.335935] scsi host2: usb-storage 1-1:1.0
[    2.520679] usbcore: registered new interface driver uas
[    3.368683] scsi 2:0:0:0: Direct-Access     SRT      POLLEX 8G        1100 PQ: 0 ANSI: 4
[    3.379192] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    3.386224] sd 2:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
[    3.394520] sd 2:0:0:0: [sda] Write Protect is off
[    3.400023] sd 2:0:0:0: [sda] No Caching mode page found
[    3.405359] sd 2:0:0:0: [sda] Assuming drive cache: write through
[    3.414537]  sda: sda1
[    3.422727] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    3.464876] random: fast init done
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
modprobe: module ext3 not found in modules.dep
Begin: Will now check root file system ... fsck from util-linux 2.25.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   17.653681] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   17.671227] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd[   18.584624] systemd-udevd[1520]: starting version 215
. ok 
[ ok ] Synthesizing the initial hotplug events...done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Activating swap...done.
[   19.349714] EXT4-fs (sda1): re-mounted. Opts: (null)
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.25.2
done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[   20.618695] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/76:53:1c:88:3e:39
Sending on   LPF/eth0/76:53:1c:88:3e:39
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
[   24.808400] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   24.816284] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.2.1
DHCPACK from 192.168.2.1
bound to 192.168.2.109 -- renewal in 33883 seconds.
done.
[ ok ] Starting rpcbind daemon....
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
2453 (syslogd)
. ok 
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[....] Starting system message b[   29.108726] random: crng init done
[ ok bus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
2451 (klogd)
. ok 

Debian GNU/Linux 8 debian ttyS0

debian login:

even without the patch, it boots ok.

./kwboot -f -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-GrandTeton_2014T3_PQ-nand-uart.bin -s 0 -q 1
Re: My Cloud Mirror Gen2
July 09, 2017 08:10PM
mcmg2,

> sorry, I am not linux user, I just followed your i
> nstruction so please advise me how to save env and
> remove error in mtd.

hmartin is the thread starter and has been helping you. So it is bad form for me to take over this role :) let him help you. I'll be glad to answer questions when asked. Only when hmartin can no longer do this then I might jump in and help.

Besides, I'm still have some unfinished issues in the WD MYCloud EX4100 thread:
http://forum.doozan.com/read.php?2,34103,35397#msg-35397

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
mcmg2
Re: My Cloud Mirror Gen2
July 10, 2017 10:38PM
mint@mint ~/kwboot $ sudo ./kwboot -f -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-GrandTeton_2014T3_PQ-nand-uart.bin -s 0 -q 1
Sending boot message. Please reboot the target...|
Sending boot image...
  0 % [+.....................................................................]
  0 % [......................................................................]
  1 % [......................................................................]
  2 % [......................................................................]
  3 % [......................................................................]
  4 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  7 % [......................................................................]
  8 % [......................................................................]
  9 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 12 % [......................................................................]
 13 % [......................................................................]
 14 % [......................................................................]
 15 % [......................................................................]
 15 % [......................................................................]
 16 % [......................................................................]
 17 % [......................................................................]
 18 % [......................................................................]
 19 % [......................................................................]
 20 % [......................................................................]
 21 % [......................................................................]
 22 % [......................................................................]
 23 % [......................................................................]
 24 % [......................................................................]
 25 % [......................................................................]
 26 % [......................................................................]
 27 % [......................................................................]
 28 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 30 % [......................................................................]
 31 % [......................................................................]
 32 % [......................................................................]
 33 % [......................................................................]
 34 % [......................................................................]
 35 % [......................................................................]
 36 % [......................................................................]
 37 % [......................................................................]
 38 % [......................................................................]
 39 % [......................................................................]
 40 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 43 % [......................................................................]
 44 % [......................................................................]
 45 % [......................................................................]
 45 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 48 % [......................................................................]
 49 % [......................................................................]
 50 % [......................................................................]
 51 % [......................................................................]
 52 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 55 % [......................................................................]
 56 % [......................................................................]
 57 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 60 % [......................................................................]
 60 % [......................................................................]
 61 % [......................................................................]
 62 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 65 % [......................................................................]
 66 % [......................................................................]
 67 % [......................................................................]
 68 % [......................................................................]
 69 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 72 % [......................................................................]
 73 % [......................................................................]
 74 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 76 % [......................................................................]
 77 % [......................................................................]
 78 % [......................................................................]
 79 % [......................................................................]
 80 % [......................................................................]
 81 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 84 % [......................................................................]
 85 % [......................................................................]
 86 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 89 % [......................................................................]
 90 % [......................................................................]
 91 % [......................................................................]
 91 % [......................................................................]
 92 % [......................................................................]
 93 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 96 % [......................................................................]
 97 % [......................................................................]
 98 % [......................................................................]
 99 % [.........................................]
[Type Ctrl-\ + c to quit]

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_ 
        | | | |___|  _ \ / _ \ / _ \| __| 
        | |_| |___| |_) | (_) | (_) | |_ 
         \___/    |____/ \___/ \___/ \__| 
 ** LOADER **


U-Boot 2013.01_v1.04 (Jul 05 2017 - 16:59:05) Marvell version: 2014_T3.0p6

mvBoardIdIndexGet(boardId) = 1
Board: GrandTeton DB6820
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1332 [MHz]
       L2     @ 666 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 666 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  1 GiB

Map:   Code:			0x3fece000:0x3ff95f50
       BSS:			0x3ffef254
       Stack:			0x3f9cdf20
       Heap:			0x3f9ce000:0x3fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:	0x00000000:0x00080000 (NAND)

NAND:  ID: daad ,256 MiB
MMC:   mv_sdh: 0
PCI-e 0: Detected No Link.
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00000f500000-0x00000ff00000 : "mtd=7"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=7"
UBI: MTD device size:            10 MiB
UBI: number of good PEBs:        80
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             32
UBI: total number of reserved PEBs: 48
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 3/0
UBIFS: mounted UBI device 0, volume 0, name "reserve2"
UBIFS: mounted read-only
UBIFS: file system size:   4063232 bytes (3968 KiB, 3 MiB, 32 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  200807 bytes (196 KiB)
Loading file '/mac_addr' to addr 0x02000000 with size 18 (0x00000012)...
Done
Set lan 2 WakeOnLan ok
Enable HD1
Enable HD2
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |   In-Band    |
| egiga1 |   RGMII   |   In-Band    |
| egiga2 |   SGMII   |     0x00     |
egiga0, egiga1, egiga2 [PRIME]
Hit any key to stop autoboot:  0 
Marvell>> setenv bootdev 'usb' 
Marvell>> setenv device '0:1' 
Marvell>> setenv load_image_addr '0x02000000' 
Marvell>> setenv load_initrd_addr '0x2900000' 
Marvell>> setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage' 
Marvell>> setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd' 
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)'
Marvell>> setenv bootcmd_usb 'echo Booting from USB ...; usb start; setenv fdt_skip_update yes; usb start; run usb_set_bootargs; if run load_image; then if run load_initrd; then bootm $load_image_addr $load_initrd_addr; else bootm $load_image_addr; fi; fi' 
Marvell>> run bootcmd_usb
Booting from USB ...
(Re)start USB...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
(Re)start USB...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
loading Image ...
3920526 bytes read in 421 ms (8.9 MiB/s)
loading uInitrd ...
6210503 bytes read in 491 ms (12.1 MiB/s)
## Booting image at 02000000 ...
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-4.9.0-mvebu-tld-12
   Created:      2017-07-09   9:45:53 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3920462 Bytes = 3.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02900000 ...
   Image Name:   initramfs-4.9.0-mvebu-tld-12
   Created:      2017-02-03  23:57:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6210439 Bytes = 5.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Western Digital MyCloud EX2 Ultra
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] ------------[ cut here ]------------
[    0.000000] WARNING: CPU: 0 PID: 0 at kernel/printk/printk.c:2612 register_console+0x3c/0x398
[    0.000000] console 'earlycon0' already registered
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.9.0-mvebu-tld-12 #2
[    0.000000] Hardware name: Marvell Armada 380/385 (Device Tree)
[    0.000000] [<c01160bc>] (unwind_backtrace) from [<c0110bb4>] (show_stack+0x10/0x14)
[    0.000000] [<c0110bb4>] (show_stack) from [<c04ba5a4>] (dump_stack+0x70/0x8c)
[    0.000000] [<c04ba5a4>] (dump_stack) from [<c0123ce0>] (__warn+0xc8/0xfc)
[    0.000000] [<c0123ce0>] (__warn) from [<c0123d48>] (warn_slowpath_fmt+0x34/0x44)
[    0.000000] [<c0123d48>] (warn_slowpath_fmt) from [<c0171b1c>] (register_console+0x3c/0x398)
[    0.000000] [<c0171b1c>] (register_console) from [<c0c04dc0>] (setup_early_printk+0x14/0x24)
[    0.000000] [<c0c04dc0>] (setup_early_printk) from [<c0c00478>] (do_early_param+0x6c/0xbc)
[    0.000000] [<c0c00478>] (do_early_param) from [<c013f774>] (parse_args+0x2dc/0x40c)
[    0.000000] [<c013f774>] (parse_args) from [<c0c0088c>] (parse_early_options+0x2c/0x3c)
[    0.000000] [<c0c0088c>] (parse_early_options) from [<c0c008c8>] (parse_early_param+0x2c/0x44)
[    0.000000] [<c0c008c8>] (parse_early_param) from [<c0c03350>] (setup_arch+0x4fc/0xa24)
[    0.000000] [<c0c03350>] (setup_arch) from [<c0c00934>] (start_kernel+0x50/0x390)
[    0.000000] [<c0c00934>] (start_kernel) from [<0000807c>] (0x807c)
[    0.000000] ---[ end trace 0000000000000000 ]---
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 15 pages/cpu @ef7cc000 s30796 r8192 d22452 u61440
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608
[    0.000000] Kernel command line: console=ttyS0,115200 libata.force=3.0G root=LABEL=rootfs earlyprintk console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1019928K/1048576K available (8192K kernel code, 690K rwdata, 2052K rodata, 1024K init, 386K bss, 28648K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
[    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
[    0.000000]       .data : 0xc0d00000 - 0xc0daca28   ( 691 kB)
[    0.000000]        .bss : 0xc0daca28 - 0xc0e0d4f8   ( 387 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000003] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.007883] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019111] Console: colour dummy device 80x30
[    0.023627] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.034035] pid_max: default: 32768 minimum: 301
[    0.038803] Security Framework initialized
[    0.043005] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.049680] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.057256] CPU: Testing write buffer coherency: ok
[    0.062347] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.068090] Setting up static identity map for 0x100000 - 0x100058
[    0.074523] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.079807] mvebu-pmsu: Initializing Power Management Service Unit
[    0.283603] Booting CPU 1
[    0.286473] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.286531] Brought up 2 CPUs
[    0.295292] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.301613] CPU: All CPU(s) started in SVC mode.
[    0.306881] devtmpfs: initialized
[    0.312816] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.320803] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.330743] prandom: seed boundary self test passed
[    0.337706] prandom: 100 self tests passed
[    0.341867] pinctrl core: initialized pinctrl subsystem
[    0.347905] NET: Registered protocol family 16
[    0.353099] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.383453] cpuidle: using governor ladder
[    0.413420] cpuidle: using governor menu
[    0.417551] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.425625] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.483820] vgaarb: loaded
[    0.486857] SCSI subsystem initialized
[    0.491161] usbcore: registered new interface driver usbfs
[    0.496817] usbcore: registered new interface driver hub
[    0.502252] usbcore: registered new device driver usb
[    0.507604] media: Linux media interface: v0.10
[    0.512249] Linux video capture interface: v2.00
[    0.517943] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.554266] VFS: Disk quotas dquot_6.6.0
[    0.558339] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.573639] NET: Registered protocol family 2
[    0.578510] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.585650] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.592229] TCP: Hash tables configured (established 8192 bind 8192)
[    0.598688] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.604684] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.611223] NET: Registered protocol family 1
[    0.615914] RPC: Registered named UNIX socket transport module.
[    0.621908] RPC: Registered udp transport module.
[    0.626673] RPC: Registered tcp transport module.
[    0.631448] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.638079] Unpacking initramfs...
[    0.885875] Freeing initrd memory: 6068K (c2900000 - c2eed000)
[    0.891954] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.898715] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.908044] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.914258] audit: initializing netlink subsys (disabled)
[    0.919757] audit: type=2000 audit(0.910:1): initialized
[    0.925589] Initialise system trusted keyrings
[    0.930266] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.936835] zbud: loaded
[    0.940016] NFS: Registering the id_resolver key type
[    0.945137] Key type id_resolver registered
[    0.949402] Key type id_legacy registered
[    0.953483] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.960251] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.966817] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.974265] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.980901] orangefs_init: module version upstream loaded
[    0.988527] Key type asymmetric registered
[    0.992691] Asymmetric key parser 'x509' registered
[    0.997659] bounce: pool size: 64 pages
[    1.001659] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    1.009117] io scheduler noop registered
[    1.013106] io scheduler deadline registered
[    1.017454] io scheduler cfq registered (default)
[    1.023155] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.031841] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    1.038789] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.045113] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.052052] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.058069] PCI: bus0: Fast back to back transfers disabled
[    1.063707] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.071778] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.079959] PCI: bus1: Fast back to back transfers enabled
[    1.085636] PCI: bus2: Fast back to back transfers enabled
[    1.091240] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.096270] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.101799] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.168425] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.176045] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.238420] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.297152] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.305032] console [ttyS0] disabled
[    1.328791] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 12500000) is a 16550A
[    1.337817] console [ttyS0] enabled
[    1.337817] console [ttyS0] enabled
[    1.344930] bootconsole [earlycon0] disabled
[    1.344930] bootconsole [earlycon0] disabled
[    1.374322] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 12500000) is a 16550A
[    1.384349] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.393458] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.403170] scsi host0: ahci-mvebu
[    1.406906] scsi host1: ahci-mvebu
[    1.410568] ata1: FORCE: PHY spd limit set to 3.0Gbps
[    1.415636] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.423601] ata2: FORCE: PHY spd limit set to 3.0Gbps
[    1.428683] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.437170] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.445085] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    1.451481] nand: Hynix H27U2G8F2CTR-BC
[    1.455335] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.462950] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.470157] Bad block table found at page 131008, version 0x01
[    1.476358] Bad block table found at page 130944, version 0x01
[    1.482466] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.488597] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.494025] 0x000000000000-0x000000500000 : "U-Boot"
[    1.509859] 0x000000500000-0x000000a00000 : "uImage"
[    1.515595] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    1.531482] 0x000000f00000-0x00000c800000 : "image.cfs"
[    1.548240] 0x00000c800000-0x00000d700000 : "rescue fw"
[    1.564239] 0x00000d700000-0x00000eb00000 : "config"
[    1.580031] 0x00000eb00000-0x00000f500000 : "reserve1"
[    1.595965] 0x00000f500000-0x00000ff00000 : "reserve2"
[    1.612510] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.619326] libphy: Fixed MDIO Bus: probed
[    1.623753] libphy: mdio_driver_register: mv88e6085
[    1.628911] libphy: orion_mdio_bus: probed
[    1.638209] mvneta f1034000.ethernet eth0: Using random mac address ea:17:7e:7f:cb:8e
[    1.646263] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.652849] ehci-pci: EHCI PCI platform driver
[    1.657355] ehci-orion: EHCI orion driver
[    1.661707] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.667056] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 1
[    1.674671] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.683284] xhci-hcd f10f0000.usb3: irq 45, io mem 0xf10f0000
[    1.689180] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.695999] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.703263] usb usb1: Product: xHCI Host Controller
[    1.708171] usb usb1: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.714639] usb usb1: SerialNumber: f10f0000.usb3
[    1.719760] hub 1-0:1.0: USB hub found
[    1.723547] hub 1-0:1.0: 1 port detected
[    1.727678] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.733037] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.740621] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.748825] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    1.755643] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.759235] ata1: SATA link down (SStatus 0 SControl 320)
[    1.768355] usb usb2: Product: xHCI Host Controller
[    1.769186] ata2: SATA link down (SStatus 0 SControl 320)
[    1.778679] usb usb2: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.785147] usb usb2: SerialNumber: f10f0000.usb3
[    1.790234] hub 2-0:1.0: USB hub found
[    1.794020] hub 2-0:1.0: 1 port detected
[    1.798246] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.803594] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    1.811193] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.819806] xhci-hcd f10f8000.usb3: irq 46, io mem 0xf10f8000
[    1.825667] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    1.832542] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.839806] usb usb3: Product: xHCI Host Controller
[    1.844705] usb usb3: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.851183] usb usb3: SerialNumber: f10f8000.usb3
[    1.856244] hub 3-0:1.0: USB hub found
[    1.860043] hub 3-0:1.0: 1 port detected
[    1.864177] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.869531] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    1.877095] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.885295] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[    1.892128] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.899390] usb usb4: Product: xHCI Host Controller
[    1.904288] usb usb4: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.910836] usb usb4: SerialNumber: f10f8000.usb3
[    1.915904] hub 4-0:1.0: USB hub found
[    1.919700] hub 4-0:1.0: 1 port detected
[    1.923932] usbcore: registered new interface driver usblp
[    1.929532] usbcore: registered new interface driver usb-storage
[    1.935757] mousedev: PS/2 mouse device common for all mice
[    1.941966] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.949791] i2c /dev entries driver
[    1.965278] orion_wdt: Initial timeout 171 sec
[    1.971737] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.979116] hidraw: raw HID events driver (C) Jiri Kosina
[    1.984870] usbcore: registered new interface driver usbhid
[    1.990481] usbhid: USB HID core driver
[    1.994493] drop_monitor: Initializing network drop monitor service
[    2.000840] Netfilter messages via NETLINK v0.30.
[    2.005579] ip_set: protocol 6
[    2.008910] NET: Registered protocol family 10
[    2.013952] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.020933] NET: Registered protocol family 17
[    2.025562] 8021q: 802.1Q VLAN Support v1.8
[    2.029895] Key type dns_resolver registered
[    2.034331] ThumbEE CPU extension supported.
[    2.038638] Registering SWP/SWPB emulation handler
[    2.043980] registered taskstats version 1
[    2.048113] Loading compiled-in X.509 certificates
[    2.052961] zswap: loaded using pool lzo/zbud
[    2.102331] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    2.113080] Key type big_key registered
[    2.120918] Key type encrypted registered
[    2.126040] armada38x-rtc f10a3800.rtc: setting system clock to 2017-07-11 03:33:35 UTC (1499744015)
[    2.136393] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000)
Loading, please wait...
[    2.182348] systemd-udevd[1315]: starting version 215
[    2.188558] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.280327] usb 1-1: New USB device found, idVendor=090c, idProduct=1000
[    2.287077] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.295395] usb 1-1: Product: POLLEX 8G
[    2.299281] usb 1-1: Manufacturer: SRT
[    2.303049] usb 1-1: SerialNumber: 033113111111135234000373
[    2.309177] usb-storage 1-1:1.0: USB Mass Storage device detected
[    2.328167] scsi host2: usb-storage 1-1:1.0
[    2.487566] usbcore: registered new interface driver uas
[    3.368691] scsi 2:0:0:0: Direct-Access     SRT      POLLEX 8G        1100 PQ: 0 ANSI: 4
[    3.379215] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    3.385852] sd 2:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
[    3.394147] sd 2:0:0:0: [sda] Write Protect is off
[    3.399660] sd 2:0:0:0: [sda] No Caching mode page found
[    3.404996] sd 2:0:0:0: [sda] Assuming drive cache: write through
[    3.414217]  sda: sda1
[    3.422943] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    3.464013] random: fast init done
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
modprobe: module ext3 not found in modules.dep
Begin: Will now check root file system ... fsck from util-linux 2.25.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   17.613681] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   17.622335] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[   17.629257] EXT4-fs (sda1): write access will be enabled during recovery
[   22.755202] EXT4-fs (sda1): recovery complete
[   22.767994] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd[   23.671649] systemd-udevd[1520]: starting version 215
. ok 
[ ok ] Synthesizing the initial hotplug events...done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Activating swap...done.
[   24.473901] EXT4-fs (sda1): re-mounted. Opts: (null)
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.25.2
done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[   25.728704] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/ea:17:7e:7f:cb:8e
Sending on   LPF/eth0/ea:17:7e:7f:cb:8e
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
[   29.928416] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   29.936301] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   34.955009] random: crng init done
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.2.1
DHCPACK from 192.168.2.1
bound to 192.168.2.109 -- renewal in 32458 seconds.
done.
[ ok ] Starting rpcbind daemon....
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
2462 (syslogd)
. ok 
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Starting system message bus: dbus.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
2461 (klogd)
. ok 

Debian GNU/Linux 8 debian ttyS0

debian login: root
Password: 
Last login: Sun Jul  9 17:52:15 PDT 2017 on ttyS0
Linux debian 4.9.0-mvebu-tld-12 #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian
192.168.2.109
Western Digital MyCloud EX2 Ultra
Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
 20:34:24 up 0 min,  1 user,  load average: 0.58, 0.16, 0.05
root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00500000 00020000 "U-Boot"
mtd1: 00500000 00020000 "uImage"
mtd2: 00500000 00020000 "uRamdisk"
mtd3: 0b900000 00020000 "image.cfs"
mtd4: 00f00000 00020000 "rescue fw"
mtd5: 01400000 00020000 "config"
mtd6: 00a00000 00020000 "reserve1"
mtd7: 00a00000 00020000 "reserve2"
root@debian:~# fw_printenv
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
root@debian:~# dmseg
-bash: dmseg: command not found
root@debian:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Western Digital MyCloud EX2 Ultra
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] ------------[ cut here ]------------
[    0.000000] WARNING: CPU: 0 PID: 0 at kernel/printk/printk.c:2612 register_console+0x3c/0x398
[    0.000000] console 'earlycon0' already registered
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.9.0-mvebu-tld-12 #2
[    0.000000] Hardware name: Marvell Armada 380/385 (Device Tree)
[    0.000000] [<c01160bc>] (unwind_backtrace) from [<c0110bb4>] (show_stack+0x10/0x14)
[    0.000000] [<c0110bb4>] (show_stack) from [<c04ba5a4>] (dump_stack+0x70/0x8c)
[    0.000000] [<c04ba5a4>] (dump_stack) from [<c0123ce0>] (__warn+0xc8/0xfc)
[    0.000000] [<c0123ce0>] (__warn) from [<c0123d48>] (warn_slowpath_fmt+0x34/0x44)
[    0.000000] [<c0123d48>] (warn_slowpath_fmt) from [<c0171b1c>] (register_console+0x3c/0x398)
[    0.000000] [<c0171b1c>] (register_console) from [<c0c04dc0>] (setup_early_printk+0x14/0x24)
[    0.000000] [<c0c04dc0>] (setup_early_printk) from [<c0c00478>] (do_early_param+0x6c/0xbc)
[    0.000000] [<c0c00478>] (do_early_param) from [<c013f774>] (parse_args+0x2dc/0x40c)
[    0.000000] [<c013f774>] (parse_args) from [<c0c0088c>] (parse_early_options+0x2c/0x3c)
[    0.000000] [<c0c0088c>] (parse_early_options) from [<c0c008c8>] (parse_early_param+0x2c/0x44)
[    0.000000] [<c0c008c8>] (parse_early_param) from [<c0c03350>] (setup_arch+0x4fc/0xa24)
[    0.000000] [<c0c03350>] (setup_arch) from [<c0c00934>] (start_kernel+0x50/0x390)
[    0.000000] [<c0c00934>] (start_kernel) from [<0000807c>] (0x807c)
[    0.000000] ---[ end trace 0000000000000000 ]---
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 262144
[    0.000000] free_area_init_node: node 0, pgdat c0d97f80, node_mem_map ef7f8000
[    0.000000]   Normal zone: 1536 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 65536 pages, LIFO batch:15
[    0.000000] percpu: Embedded 15 pages/cpu @ef7cc000 s30796 r8192 d22452 u61440
[    0.000000] pcpu-alloc: s30796 r8192 d22452 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608
[    0.000000] Kernel command line: console=ttyS0,115200 libata.force=3.0G root=LABEL=rootfs earlyprintk console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1019928K/1048576K available (8192K kernel code, 690K rwdata, 2052K rodata, 1024K init, 386K bss, 28648K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0900000   (9184 kB)
      .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
      .data : 0xc0d00000 - 0xc0daca28   ( 691 kB)
       .bss : 0xc0daca28 - 0xc0e0d4f8   ( 387 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000003] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.007883] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019111] Console: colour dummy device 80x30
[    0.023627] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.034035] pid_max: default: 32768 minimum: 301
[    0.038803] Security Framework initialized
[    0.043005] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.049680] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.057256] CPU: Testing write buffer coherency: ok
[    0.062347] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.068090] Setting up static identity map for 0x100000 - 0x100058
[    0.074523] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.079807] mvebu-pmsu: Initializing Power Management Service Unit
[    0.283603] Booting CPU 1
[    0.286473] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.286531] Brought up 2 CPUs
[    0.295292] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.301613] CPU: All CPU(s) started in SVC mode.
[    0.306881] devtmpfs: initialized
[    0.312816] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.320803] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.330743] prandom: seed boundary self test passed
[    0.337706] prandom: 100 self tests passed
[    0.341867] pinctrl core: initialized pinctrl subsystem
[    0.347905] NET: Registered protocol family 16
[    0.353099] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.383453] cpuidle: using governor ladder
[    0.413420] cpuidle: using governor menu
[    0.417551] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.425625] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.483820] vgaarb: loaded
[    0.486857] SCSI subsystem initialized
[    0.490843] libata version 3.00 loaded.
[    0.491161] usbcore: registered new interface driver usbfs
[    0.496817] usbcore: registered new interface driver hub
[    0.502252] usbcore: registered new device driver usb
[    0.507604] media: Linux media interface: v0.10
[    0.512249] Linux video capture interface: v2.00
[    0.517943] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.554266] VFS: Disk quotas dquot_6.6.0
[    0.558339] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.573639] NET: Registered protocol family 2
[    0.578510] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.585650] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.592229] TCP: Hash tables configured (established 8192 bind 8192)
[    0.598688] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.604684] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.611223] NET: Registered protocol family 1
[    0.615914] RPC: Registered named UNIX socket transport module.
[    0.621908] RPC: Registered udp transport module.
[    0.626673] RPC: Registered tcp transport module.
[    0.631448] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.637952] PCI: CLS 0 bytes, default 64
[    0.638079] Unpacking initramfs...
[    0.885875] Freeing initrd memory: 6068K (c2900000 - c2eed000)
[    0.891954] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.898715] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.908044] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.914258] audit: initializing netlink subsys (disabled)
[    0.919757] audit: type=2000 audit(0.910:1): initialized
[    0.925589] Initialise system trusted keyrings
[    0.930266] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.936835] zbud: loaded
[    0.940016] NFS: Registering the id_resolver key type
[    0.945137] Key type id_resolver registered
[    0.949402] Key type id_legacy registered
[    0.953483] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.960251] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.966817] jffs2: version 2.2. (NAND) (SUMMARY)  \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
[    0.974265] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.980901] orangefs_init: module version upstream loaded
[    0.988527] Key type asymmetric registered
[    0.992691] Asymmetric key parser 'x509' registered
[    0.997659] bounce: pool size: 64 pages
[    1.001659] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    1.009117] io scheduler noop registered
[    1.013106] io scheduler deadline registered
[    1.017454] io scheduler cfq registered (default)
[    1.023155] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.031841] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    1.038789] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.045113] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.052052] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.057597] pci_bus 0000:00: scanning bus
[    1.057622] pci 0000:00:01.0: [11ab:6820] type 01 class 0x060400
[    1.057654] pci 0000:00:01.0: calling pci_fixup_ide_bases+0x0/0x3c
[    1.057845] pci 0000:00:02.0: [11ab:6820] type 01 class 0x060400
[    1.057869] pci 0000:00:02.0: calling pci_fixup_ide_bases+0x0/0x3c
[    1.058060] pci_bus 0000:00: fixups for bus
[    1.058069] PCI: bus0: Fast back to back transfers disabled
[    1.063702] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 0
[    1.063707] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.071774] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 0
[    1.071778] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.079840] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 1
[    1.079949] pci_bus 0000:01: scanning bus
[    1.079956] pci_bus 0000:01: fixups for bus
[    1.079959] PCI: bus1: Fast back to back transfers enabled
[    1.085504] pci_bus 0000:01: bus scan returning with max=01
[    1.085510] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.085518] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 1
[    1.085626] pci_bus 0000:02: scanning bus
[    1.085633] pci_bus 0000:02: fixups for bus
[    1.085636] PCI: bus2: Fast back to back transfers enabled
[    1.091194] pci_bus 0000:02: bus scan returning with max=02
[    1.091199] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.091205] pci_bus 0000:00: bus scan returning with max=02
[    1.091212] pci 0000:00:01.0: fixup irq: got 0
[    1.091216] pci 0000:00:01.0: assigning IRQ 00
[    1.091222] pci 0000:00:02.0: fixup irq: got 0
[    1.091226] pci 0000:00:02.0: assigning IRQ 00
[    1.091240] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.096270] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.101347] pcieport 0000:00:01.0: enabling bus mastering
[    1.101386] pcieport 0000:00:02.0: enabling bus mastering
[    1.101799] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.168425] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.176045] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.238420] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.297152] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.305032] console [ttyS0] disabled
[    1.328791] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 12500000) is a 16550A
[    1.337817] console [ttyS0] enabled
[    1.344930] bootconsole [earlycon0] disabled
[    1.374322] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 12500000) is a 16550A
[    1.384349] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.393458] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.403170] scsi host0: ahci-mvebu
[    1.406906] scsi host1: ahci-mvebu
[    1.410568] ata1: FORCE: PHY spd limit set to 3.0Gbps
[    1.415636] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.423601] ata2: FORCE: PHY spd limit set to 3.0Gbps
[    1.428683] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.437170] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.445085] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    1.451481] nand: Hynix H27U2G8F2CTR-BC
[    1.455335] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.462950] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.470157] Bad block table found at page 131008, version 0x01
[    1.476358] Bad block table found at page 130944, version 0x01
[    1.482466] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.488597] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.494025] 0x000000000000-0x000000500000 : "U-Boot"
[    1.509859] 0x000000500000-0x000000a00000 : "uImage"
[    1.515595] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    1.531482] 0x000000f00000-0x00000c800000 : "image.cfs"
[    1.548240] 0x00000c800000-0x00000d700000 : "rescue fw"
[    1.564239] 0x00000d700000-0x00000eb00000 : "config"
[    1.580031] 0x00000eb00000-0x00000f500000 : "reserve1"
[    1.595965] 0x00000f500000-0x00000ff00000 : "reserve2"
[    1.612510] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.619326] libphy: Fixed MDIO Bus: probed
[    1.623753] libphy: mdio_driver_register: mv88e6085
[    1.628911] libphy: orion_mdio_bus: probed
[    1.638209] mvneta f1034000.ethernet eth0: Using random mac address ea:17:7e:7f:cb:8e
[    1.646263] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.652849] ehci-pci: EHCI PCI platform driver
[    1.657355] ehci-orion: EHCI orion driver
[    1.661707] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.667056] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 1
[    1.674671] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.683284] xhci-hcd f10f0000.usb3: irq 45, io mem 0xf10f0000
[    1.689180] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.695999] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.703263] usb usb1: Product: xHCI Host Controller
[    1.708171] usb usb1: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.714639] usb usb1: SerialNumber: f10f0000.usb3
[    1.719760] hub 1-0:1.0: USB hub found
[    1.723547] hub 1-0:1.0: 1 port detected
[    1.727678] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.733037] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.740621] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.748825] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    1.755643] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.759235] ata1: SATA link down (SStatus 0 SControl 320)
[    1.768355] usb usb2: Product: xHCI Host Controller
[    1.769186] ata2: SATA link down (SStatus 0 SControl 320)
[    1.778679] usb usb2: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.785147] usb usb2: SerialNumber: f10f0000.usb3
[    1.790234] hub 2-0:1.0: USB hub found
[    1.794020] hub 2-0:1.0: 1 port detected
[    1.798246] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.803594] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    1.811193] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.819806] xhci-hcd f10f8000.usb3: irq 46, io mem 0xf10f8000
[    1.825667] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    1.832542] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.839806] usb usb3: Product: xHCI Host Controller
[    1.844705] usb usb3: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.851183] usb usb3: SerialNumber: f10f8000.usb3
[    1.856244] hub 3-0:1.0: USB hub found
[    1.860043] hub 3-0:1.0: 1 port detected
[    1.864177] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.869531] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    1.877095] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.885295] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[    1.892128] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.899390] usb usb4: Product: xHCI Host Controller
[    1.904288] usb usb4: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.910836] usb usb4: SerialNumber: f10f8000.usb3
[    1.915904] hub 4-0:1.0: USB hub found
[    1.919700] hub 4-0:1.0: 1 port detected
[    1.923932] usbcore: registered new interface driver usblp
[    1.929532] usbcore: registered new interface driver usb-storage
[    1.935757] mousedev: PS/2 mouse device common for all mice
[    1.941966] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.949791] i2c /dev entries driver
[    1.965278] orion_wdt: Initial timeout 171 sec
[    1.971737] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.979116] hidraw: raw HID events driver (C) Jiri Kosina
[    1.984870] usbcore: registered new interface driver usbhid
[    1.990481] usbhid: USB HID core driver
[    1.994493] drop_monitor: Initializing network drop monitor service
[    2.000840] Netfilter messages via NETLINK v0.30.
[    2.005579] ip_set: protocol 6
[    2.008910] NET: Registered protocol family 10
[    2.013952] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.020933] NET: Registered protocol family 17
[    2.025562] 8021q: 802.1Q VLAN Support v1.8
[    2.029895] Key type dns_resolver registered
[    2.034331] ThumbEE CPU extension supported.
[    2.038638] Registering SWP/SWPB emulation handler
[    2.043980] registered taskstats version 1
[    2.048113] Loading compiled-in X.509 certificates
[    2.052961] zswap: loaded using pool lzo/zbud
[    2.102331] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    2.113080] Key type big_key registered
[    2.120918] Key type encrypted registered
[    2.126040] armada38x-rtc f10a3800.rtc: setting system clock to 2017-07-11 03:33:35 UTC (1499744015)
[    2.135322] PM: Hibernation image not present or could not be loaded.
[    2.136393] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000)
[    2.182348] systemd-udevd[1315]: starting version 215
[    2.188558] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.280327] usb 1-1: New USB device found, idVendor=090c, idProduct=1000
[    2.287077] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.295395] usb 1-1: Product: POLLEX 8G
[    2.299281] usb 1-1: Manufacturer: SRT
[    2.303049] usb 1-1: SerialNumber: 033113111111135234000373
[    2.309177] usb-storage 1-1:1.0: USB Mass Storage device detected
[    2.328167] scsi host2: usb-storage 1-1:1.0
[    2.487566] usbcore: registered new interface driver uas
[    3.368691] scsi 2:0:0:0: Direct-Access     SRT      POLLEX 8G        1100 PQ: 0 ANSI: 4
[    3.379215] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    3.385852] sd 2:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
[    3.394147] sd 2:0:0:0: [sda] Write Protect is off
[    3.398996] sd 2:0:0:0: [sda] Mode Sense: 43 00 00 00
[    3.399660] sd 2:0:0:0: [sda] No Caching mode page found
[    3.404996] sd 2:0:0:0: [sda] Assuming drive cache: write through
[    3.414217]  sda: sda1
[    3.422943] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    3.464013] random: fast init done
[   17.613681] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   17.622335] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[   17.629257] EXT4-fs (sda1): write access will be enabled during recovery
[   22.755202] EXT4-fs (sda1): recovery complete
[   22.767994] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   23.671649] systemd-udevd[1520]: starting version 215
[   24.473901] EXT4-fs (sda1): re-mounted. Opts: (null)
[   25.728704] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   29.928416] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   29.936301] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   34.955009] random: crng init done
root@debian:~#

I changed uboot env as below but still bad crc error.
setenv bootdev 'usb'

setenv device '0:1'

setenv load_image_addr '0x02000000'

setenv load_initrd_addr '0x2900000'

setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage'

setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'

setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)'

setenv bootcmd_usb 'echo Booting from USB ...; usb start; setenv fdt_skip_update yes; usb start; run usb_set_bootargs; if run load_image; then if run load_initrd; then bootm $load_image_addr $load_initrd_addr; else bootm $load_image_addr; fi; fi'

run bootcmd_usb
Re: My Cloud Mirror Gen2
July 11, 2017 12:46AM
mcmg2,

Your bootlog looks really good.

You can safely ignore this error about printk for now.

[    0.000000] WARNING: CPU: 0 PID: 0 at kernel/printk/printk.c:2612 register_console+0x3c/0x398

I like this particular part about the mtd partitions. Those have been allocated successful, similar to the NAS326:

[    1.437170] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.445085] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    1.451481] nand: Hynix H27U2G8F2CTR-BC
[    1.455335] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.462950] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.470157] Bad block table found at page 131008, version 0x01
[    1.476358] Bad block table found at page 130944, version 0x01
[    1.482466] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.488597] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.494025] 0x000000000000-0x000000500000 : "U-Boot"
[    1.509859] 0x000000500000-0x000000a00000 : "uImage"
[    1.515595] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    1.531482] 0x000000f00000-0x00000c800000 : "image.cfs"
[    1.548240] 0x00000c800000-0x00000d700000 : "rescue fw"
[    1.564239] 0x00000d700000-0x00000eb00000 : "config"
[    1.580031] 0x00000eb00000-0x00000f500000 : "reserve1"
[    1.595965] 0x00000f500000-0x00000ff00000 : "reserve2"

Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
 20:34:24 up 0 min,  1 user,  load average: 0.58, 0.16, 0.05
root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00500000 00020000 "U-Boot"
mtd1: 00500000 00020000 "uImage"
mtd2: 00500000 00020000 "uRamdisk"
mtd3: 0b900000 00020000 "image.cfs"
mtd4: 00f00000 00020000 "rescue fw"
mtd5: 01400000 00020000 "config"
mtd6: 00a00000 00020000 "reserve1"
mtd7: 00a00000 00020000 "reserve2"

This CRC error is expected. You are booting with hmartin's u-boot build. And you have not set the envs permanently. So it will always give you the CRC error.

root@debian:~# fw_printenv
Warning: Bad CRC, using default environment

To save the envs (therefore get rid of the CRC error), and to make it boot automatically to the new Debian rootfs on USB, you will need to follow hmartin's instruction (not my instruction in the WD My Cloud EX4100 thread). I cannot advice you how to do that, because I have not looked at how hmartin built this patched u-boot, and where is the envs located at.

For now, kwboot and set the envs temporarily, is what you have do to boot into Debian. It's done. Run it this way and do whatever you want, install new packages,... And we'll see if hmartin will get back to this thread in a couple weeks.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
mcmg2
Re: My Cloud Mirror Gen2
July 12, 2017 09:22PM
Preparing to unpack .../mysql-client-5.5_5.5.55-0+deb8u1_armhf.deb ...
Unpacking mysql-client-5.5 (5.5.55-0+deb8u1) ...
Selecting previously unselected package mysql-server-core-5.5.
Preparing to unpack .../mysql-server-core-5.5_5.5.55-0+deb8u1_armhf.deb ...
Unpacking mysql-server-core-5.5 (5.5.55-0+deb8u1) ...
[ 1049.967625] Unable to handle kernel paging request at virtual address 000081fd
[ 1049.967925] Unable to handle kernel paging request at virtual address 000081fd
[ 1049.967928] pgd = eade8000
[ 1049.967931] [000081fd] *pgd=3fc1c831
[ 1049.967938] Internal error: Oops: 17 [#1] PREEMPT SMP ARM
[ 1049.967946] Modules linked in: uio_pdrv_genirq uio sg uas
[ 1049.967952] CPU: 1 PID: 11752 Comm: dpkg Tainted: G        W       4.9.0-mvebu-tld-12 #2
[ 1049.967954] Hardware name: Marvell Armada 380/385 (Device Tree)
[ 1049.967957] task: ef0f86c0 task.stack: ef0a8000
[ 1049.967966] PC is at __vfs_read+0x68/0x104
[ 1049.967971] LR is at vfs_read+0x90/0x144
[ 1049.967975] pc : [<c023bc80>]    lr : [<c023c8c4>]    psr: 400f0013
[ 1049.967975] sp : ef0a9f08  ip : c0909728  fp : be83786c
[ 1049.967978] r10: 00000000  r9 : ef0a8000  r8 : c010c468
[ 1049.967980] r7 : 00008000  r6 : ef0a9f88  r5 : ebce4180  r4 : 00000000
[ 1049.967983] r3 : 00000000  r2 : 000081e1  r1 : 0055ffa0  r0 : ebce4180
[ 1049.967986] Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[ 1049.967989] Control: 10c5387d  Table: 2ade804a  DAC: 00000051
[ 1049.967992] Process dpkg (pid: 11752, stack limit = 0xef0a8220)
[ 1049.967994] Stack: (0xef0a9f08 to 0xef0aa000)
[ 1049.967999] 9f00:                   00008000 0055ffa0 00008000 0055ffa0 00008000 00000000
[ 1049.968005] 9f20: ef0a9f14 00020000 c2c0c8c0 ebce4188 c0d542ac c010c468 ef0a8000 00000000
[ 1049.968010] 9f40: be83786c c044b50c 00000000 00000000 00000000 ebce4180 00008000 0055ffa0
[ 1049.968015] 9f60: ef0a9f88 c023c8c4 ebce4180 0055ffa0 ebce4180 ebce4180 0055ffa0 00008000
[ 1049.968020] 9f80: c010c468 c023d7d0 00000000 00000000 00008000 00008000 00008000 00000000
[ 1049.968025] 9fa0: 00000003 c010c280 00008000 00008000 0000000a 0055ffa0 00008000 00008000
[ 1049.968029] 9fc0: 00008000 00008000 00000000 00000003 0000000a 0055ffa0 00008000 be83786c
[ 1049.968034] 9fe0: 00000000 be8377ec 00024037 b6e9bea6 600f0030 0000000a 00000000 00000000
[ 1049.968046] [<c023bc80>] (__vfs_read) from [<c023c8c4>] (vfs_read+0x90/0x144)
[ 1049.968054] [<c023c8c4>] (vfs_read) from [<c023d7d0>] (SyS_read+0x3c/0x74)
[ 1049.968064] [<c023d7d0>] (SyS_read) from [<c010c280>] (ret_fast_syscall+0x0/0x3c)
[ 1049.968071] Code: e3130a01 1a000008 e59020a8 e5922000 (e592101c) 
[ 1049.974913] ---[ end trace 2fd5d964740e50c1 ]---
[ 1049.976527] Unable to handle kernel paging request at virtual address 0000225e
[ 1049.976530] pgd = c0004000
[ 1049.976533] [0000225e] *pgd=00000000
[ 1049.976538] Internal error: Oops: 17 [#2] PREEMPT SMP ARM
[ 1049.976546] Modules linked in: uio_pdrv_genirq uio sg uas
[ 1049.976551] CPU: 1 PID: 11752 Comm: dpkg Tainted: G      D W       4.9.0-mvebu-tld-12 #2
[ 1049.976553] Hardware name: Marvell Armada 380/385 (Device Tree)
[ 1049.976555] task: ef0f86c0 task.stack: ef0a8000
[ 1049.976561] PC is at locks_remove_posix+0x20/0x180
[ 1049.976566] LR is at filp_close+0x64/0x78
[ 1049.976570] pc : [<c0286d9c>]    lr : [<c023a650>]    psr: 200f0113
[ 1049.976570] sp : ef0a9cb0  ip : 00000000  fp : ffffe000
[ 1049.976572] r10: 00000000  r9 : 00000028  r8 : ef0a8000
[ 1049.976575] r7 : 00020003  r6 : ef162500  r5 : c2c0c8c0  r4 : 00000000
[ 1049.976577] r3 : 00002252  r2 : c2c0c8c0  r1 : ef162500  r0 : ebce4180
[ 1049.976580] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[ 1049.976583] Control: 10c5387d  Table: 2ade804a  DAC: 00000051
[ 1049.976586] Process dpkg (pid: 11752, stack limit = 0xef0a8220)
[ 1049.976588] Stack: (0xef0a9cb0 to 0xef0aa000)
[ 1049.976592] 9ca0:                                     c0a54a03 c0a1e76b ef2db630 ef0f86c0
[ 1049.976597] 9cc0: 00000001 00000001 c0a54a14 ef162500 00000041 c0de8902 00002de8 00000000
[ 1049.976602] 9ce0: ffffe000 c0839900 ffffe000 c04df908 eea61180 00000658 00000000 00000000
[ 1049.976607] 9d00: ffffffff 7fffffff 00000017 c021de88 000001f4 00000000 00000000 00000001
[ 1049.976612] 9d20: 00000000 00000000 ffffffff 00000001 ef38a9c0 00000000 ebce4180 ef162500
[ 1049.976616] 9d40: 00020003 c023a650 ef162500 00000000 ef162518 c0257688 ef0f86c0 eeb528c0
[ 1049.976621] 9d60: ef0f8b1c eeb528f8 00000000 c0d09900 00000017 c01274c4 0000000b 600f0113
[ 1049.976626] 9d80: 00000000 00000000 c0dacce0 c0a09ce1 ffffe000 c0110de4 ef0a8220 0000000b
[ 1049.976631] 9da0: 00000017 000081fd ef0a9eb8 00000017 eeb528c0 ef0f86c0 00000017 c0de87b0
[ 1049.976636] 9dc0: eeb528c0 c011f77c 00000014 c011b3b0 0023f000 00000000 ef0a9f14 00001000
[ 1049.976640] 9de0: eeb528f8 00000000 00000000 00008000 e8727884 00000017 000081fd c0d0a344
[ 1049.976645] 9e00: ef0a9eb8 c010c468 ef0a8000 00000000 be83786c c0101308 00240000 00000000
[ 1049.976650] 9e20: ef0a9e38 ef0a8000 00000000 00000000 efc50420 c0254f7c 5966d8a5 ef0f86c0
[ 1049.976655] 9e40: ef0a9f28 ef0a9f14 e8727818 ef331c00 ef0a9f14 00000000 e8727884 c01f036c
[ 1049.976660] 9e60: 5966d8a5 2265b9a0 5966d8a5 2265b9a0 c0a54a14 c0a0e44b 00000001 e87277a0
[ 1049.976665] 9e80: ef0a9f28 ef0a9f14 e8727818 00008000 00000000 00000000 be83786c c02ac61c
[ 1049.976670] 9ea0: ef3acc10 c023bc80 400f0013 ffffffff ef0a9eec c0111578 ebce4180 0055ffa0
[ 1049.976675] 9ec0: 000081e1 00000000 00000000 ebce4180 ef0a9f88 00008000 c010c468 ef0a8000
[ 1049.976680] 9ee0: 00000000 be83786c c0909728 ef0a9f08 c023c8c4 c023bc80 400f0013 ffffffff
[ 1049.976684] 9f00: 00000051 bf000000 00008000 0055ffa0 00008000 0055ffa0 00008000 00000000
[ 1049.976689] 9f20: ef0a9f14 00020000 c2c0c8c0 ebce4188 c0d542ac c010c468 ef0a8000 00000000
[ 1049.976694] 9f40: be83786c c044b50c 00000000 00000000 00000000 ebce4180 00008000 0055ffa0
[ 1049.976699] 9f60: ef0a9f88 c023c8c4 ebce4180 0055ffa0 ebce4180 ebce4180 0055ffa0 00008000
[ 1049.976704] 9f80: c010c468 c023d7d0 00000000 00000000 00008000 00008000 00008000 00000000
[ 1049.976708] 9fa0: 00000003 c010c280 00008000 00008000 0000000a 0055ffa0 00008000 00008000
[ 1049.976713] 9fc0: 00008000 00008000 00000000 00000003 0000000a 0055ffa0 00008000 be83786c
[ 1049.976717] 9fe0: 00000000 be8377ec 00024037 b6e9bea6 600f0030 0000000a 00000000 00000000
[ 1049.976727] [<c0286d9c>] (locks_remove_posix) from [<c023a650>] (filp_close+0x64/0x78)
[ 1049.976734] [<c023a650>] (filp_close) from [<c0257688>] (put_files_struct+0xa0/0xf4)
[ 1049.976741] [<c0257688>] (put_files_struct) from [<c01274c4>] (do_exit+0x490/0xa18)
[ 1049.976748] [<c01274c4>] (do_exit) from [<c0110de4>] (die+0x22c/0x2b0)
[ 1049.976757] [<c0110de4>] (die) from [<c011f77c>] (__do_kernel_fault.part.0+0x54/0x1f8)
[ 1049.976766] [<c011f77c>] (__do_kernel_fault.part.0) from [<c011b3b0>] (do_page_fault+0x2a4/0x328)
[ 1049.976772] [<c011b3b0>] (do_page_fault) from [<c0101308>] (do_DataAbort+0x34/0xb4)
[ 1049.976778] [<c0101308>] (do_DataAbort) from [<c0111578>] (__dabt_svc+0x58/0x80)
[ 1049.976780] Exception stack(0xef0a9eb8 to 0xef0a9f00)
[ 1049.976783] 9ea0:                                                       ebce4180 0055ffa0
[ 1049.976788] 9ec0: 000081e1 00000000 00000000 ebce4180 ef0a9f88 00008000 c010c468 ef0a8000
[ 1049.976793] 9ee0: 00000000 be83786c c0909728 ef0a9f08 c023c8c4 c023bc80 400f0013 ffffffff
[ 1049.976801] [<c0111578>] (__dabt_svc) from [<c023bc80>] (__vfs_read+0x68/0x104)
[ 1049.976807] [<c023bc80>] (__vfs_read) from [<c023c8c4>] (vfs_read+0x90/0x144)
[ 1049.976814] [<c023c8c4>] (vfs_read) from [<c023d7d0>] (SyS_read+0x3c/0x74)
[ 1049.976822] [<c023d7d0>] (SyS_read) from [<c010c280>] (ret_fast_syscall+0x0/0x3c)
[ 1049.976827] Code: e59530e0 f57ff05b e3530000 0a000053 (e5b3c00c) 
[ 1049.976830] ---[ end trace 2fd5d964740e50c2 ]---
[ 1049.976833] Fixing recursive fault but reboot is needed!
[ 1050.640875] pgd = ebd68000
[ 1050.643603] [000081fd] *pgd=2b11e831, *pte=00000000, *ppte=00000000
[ 1050.649983] Internal error: Oops: 17 [#3] PREEMPT SMP ARM
[ 1050.655405] Modules linked in: uio_pdrv_genirq uio sg uas
[ 1050.660885] CPU: 0 PID: 12034 Comm: dpkg-deb Tainted: G      D W       4.9.0-mvebu-tld-12 #2
[ 1050.669358] Hardware name: Marvell Armada 380/385 (Device Tree)
[ 1050.675303] task: eea8f940 task.stack: ebe48000
[ 1050.679856] PC is at __vfs_write+0x68/0x108
[ 1050.684058] LR is at vfs_write+0xb8/0x18c
[ 1050.688085] pc : [<c023bd84>]    lr : [<c023ca30>]    psr: 400b0013
[ 1050.688085] sp : ebe49f00  ip : c0909728  fp : 00034298
[ 1050.699612] r10: 00000000  r9 : ebe48000  r8 : c010c468
[ 1050.704858] r7 : 00001000  r6 : ebe49f88  r5 : ef34c240  r4 : 00000000
[ 1050.711412] r3 : 00000001  r2 : 000081e1  r1 : beea89d4  r0 : ef34c240
[ 1050.717967] Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[ 1050.725132] Control: 10c5387d  Table: 2bd6804a  DAC: 00000051
[ 1050.730903] Process dpkg-deb (pid: 12034, stack limit = 0xebe48220)
[ 1050.737195] Stack: (0xebe49f00 to 0xebe4a000)
[ 1050.741572] 9f00: 00001000 c023bcf4 00001000 beea89d4 00001000 00000001 00000000 00000000
[ 1050.749787] 9f20: ebe49f14 00000000 ef34c240 00000000 00000000 00000000 00000000 00001000
[ 1050.758001] 9f40: ef34c240 00000002 00000000 00001000 ef34c240 ebe49f88 beea89d4 c023ca30
[ 1050.766215] 9f60: ef34c240 beea89d4 00001000 ef34c240 ef34c240 beea89d4 00001000 c010c468
[ 1050.774428] 9f80: ebe48000 c023d844 00000000 00000000 00001000 beea9a00 00001000 00000000
[ 1050.782642] 9fa0: 00000004 c010c280 beea9a00 00001000 00000001 beea89d4 00001000 00000000
[ 1050.790855] 9fc0: beea9a00 00001000 00000000 00000004 00000001 beea89d4 00000004 00034298
[ 1050.799068] 9fe0: 00000000 beea7954 0001783b b6e0ef26 600b0030 00000001 00000000 00000000
[ 1050.807288] [<c023bd84>] (__vfs_write) from [<c023ca30>] (vfs_write+0xb8/0x18c)
[ 1050.814633] [<c023ca30>] (vfs_write) from [<c023d844>] (SyS_write+0x3c/0x74)
[ 1050.821718] [<c023d844>] (SyS_write) from [<c010c280>] (ret_fast_syscall+0x0/0x3c)
[ 1050.829322] Code: e3130a01 1a000008 e59020a8 e5922000 (e592101c) 
[ 1050.835510] ---[ end trace 2fd5d964740e50c3 ]---
[ 1050.842035] Unable to handle kernel paging request at virtual address 0000225e
[ 1050.849318] pgd = c0004000
[ 1050.852044] [0000225e] *pgd=00000000
[ 1050.855648] Internal error: Oops: 17 [#4] PREEMPT SMP ARM
[ 1050.861069] Modules linked in: uio_pdrv_genirq uio sg uas
[ 1050.866549] CPU: 0 PID: 12034 Comm: dpkg-deb Tainted: G      D W       4.9.0-mvebu-tld-12 #2
[ 1050.875021] Hardware name: Marvell Armada 380/385 (Device Tree)
[ 1050.880966] task: eea8f940 task.stack: ebe48000
[ 1050.885518] PC is at locks_remove_posix+0x20/0x180
[ 1050.890332] LR is at filp_close+0x64/0x78
[ 1050.894359] pc : [<c0286d9c>]    lr : [<c023a650>]    psr: 200b0113
[ 1050.894359] sp : ebe49ca8  ip : 00000000  fp : ffffe000
[ 1050.905884] r10: 00000000  r9 : 00000004  r8 : ebe48000
[ 1050.911130] r7 : 0000000f  r6 : ef2d6a00  r5 : c2c0c8c0  r4 : 00000000
[ 1050.917686] r3 : 00002252  r2 : c2c0c8c0  r1 : ef2d6a00  r0 : ef34c240
[ 1050.924241] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[ 1050.931406] Control: 10c5387d  Table: 2bd6804a  DAC: 00000051
[ 1050.937177] Process dpkg-deb (pid: 12034, stack limit = 0xebe48220)
[ 1050.943469] Stack: (0xebe49ca8 to 0xebe4a000)
[ 1050.947846] 9ca0:                   00000000 c01f5884 ef35bf20 00000145 c0a54a03 c0a1e76b
[ 1050.956060] 9cc0: c0a54a14 c0a0e44b 0000572f c0de8940 600b0113 ffffffff ffffe000 c0839900
[ 1050.964273] 9ce0: ffffe000 c04df908 00000000 00000865 00000001 eea7e738 00000000 c0d09900
[ 1050.972487] 9d00: 00000017 c021de88 000001f4 00000000 eea7e700 00000001 00000000 00000000
[ 1050.980701] 9d20: ffffffff 00000001 00000000 00000000 ef34c240 ef2d6a00 0000000f c023a650
[ 1050.988915] 9d40: ef2d6a00 00000000 ef2d6a18 c0257688 eea8f940 eea7e700 eea8fd9c eea7e738
[ 1050.997128] 9d60: 00000000 c0d09900 00000017 c01274c4 0000000b c0a8c286 00000000 00000000
[ 1051.005342] 9d80: c0dacce0 c0a09ce1 ffffe000 c0110de4 ebe48220 0000000b 00000017 000081fd
[ 1051.013556] 9da0: ebe49eb0 00000017 eea7e700 eea8f940 00000017 c0de87b0 eea7e700 c011f77c
[ 1051.021769] 9dc0: 00000014 c011b3b0 00000000 00000000 00000000 ffffffff eea7e738 00000000
[ 1051.029982] 9de0: 00000000 c0a1e76b ebe48000 00000017 000081fd c0d0a344 ebe49eb0 c010c468
[ 1051.038195] 9e00: ebe48000 00000000 00034298 c0101308 00000000 c0141470 00000000 00000002
[ 1051.046409] 9e20: c0d00000 ef7d2c80 eea8f940 c0d08480 eea7e700 00000000 00000000 eea8fccc
[ 1051.054623] 9e40: ebe49e8c c0835ab8 5966d8a5 2265b9a0 ebe49e88 c0d1dfb0 00001000 c02281bc
[ 1051.062836] 9e60: 5966d8a5 2265b9a0 c2c0c8c0 ebe49ea8 00000006 00000000 00000001 00000009
[ 1051.071050] 9e80: eeb41750 c0254a58 ef3acc10 c2c0c8c0 c0a54a14 c0a0e44b 00000001 c023bd84
[ 1051.079264] 9ea0: 400b0013 ffffffff ebe49ee4 c0111578 ef34c240 beea89d4 000081e1 00000001
[ 1051.087478] 9ec0: 00000000 ef34c240 ebe49f88 00001000 c010c468 ebe48000 00000000 00034298
[ 1051.095692] 9ee0: c0909728 ebe49f00 c023ca30 c023bd84 400b0013 ffffffff 00000051 bf000000
[ 1051.103905] 9f00: 00001000 c023bcf4 00001000 beea89d4 00001000 00000001 00000000 00000000
[ 1051.112119] 9f20: ebe49f14 00000000 ef34c240 00000000 00000000 00000000 00000000 00001000
[ 1051.120333] 9f40: ef34c240 00000002 00000000 00001000 ef34c240 ebe49f88 beea89d4 c023ca30
[ 1051.128546] 9f60: ef34c240 beea89d4 00001000 ef34c240 ef34c240 beea89d4 00001000 c010c468
[ 1051.136759] 9f80: ebe48000 c023d844 00000000 00000000 00001000 beea9a00 00001000 00000000
[ 1051.144973] 9fa0: 00000004 c010c280 beea9a00 00001000 00000001 beea89d4 00001000 00000000
[ 1051.153187] 9fc0: beea9a00 00001000 00000000 00000004 00000001 beea89d4 00000004 00034298
[ 1051.161400] 9fe0: 00000000 beea7954 0001783b b6e0ef26 600b0030 00000001 00000000 00000000
[ 1051.169619] [<c0286d9c>] (locks_remove_posix) from [<c023a650>] (filp_close+0x64/0x78)
[ 1051.177574] [<c023a650>] (filp_close) from [<c0257688>] (put_files_struct+0xa0/0xf4)
[ 1051.185355] [<c0257688>] (put_files_struct) from [<c01274c4>] (do_exit+0x490/0xa18)
[ 1051.193048] [<c01274c4>] (do_exit) from [<c0110de4>] (die+0x22c/0x2b0)
[ 1051.199609] [<c0110de4>] (die) from [<c011f77c>] (__do_kernel_fault.part.0+0x54/0x1f8)
[ 1051.207565] [<c011f77c>] (__do_kernel_fault.part.0) from [<c011b3b0>] (do_page_fault+0x2a4/0x328)
[ 1051.216478] [<c011b3b0>] (do_page_fault) from [<c0101308>] (do_DataAbort+0x34/0xb4)
[ 1051.224170] [<c0101308>] (do_DataAbort) from [<c0111578>] (__dabt_svc+0x58/0x80)
[ 1051.231597] Exception stack(0xebe49eb0 to 0xebe49ef8)
[ 1051.236670] 9ea0:                                     ef34c240 beea89d4 000081e1 00000001
[ 1051.244884] 9ec0: 00000000 ef34c240 ebe49f88 00001000 c010c468 ebe48000 00000000 00034298
[ 1051.253098] 9ee0: c0909728 ebe49f00 c023ca30 c023bd84 400b0013 ffffffff
[ 1051.259745] [<c0111578>] (__dabt_svc) from [<c023bd84>] (__vfs_write+0x68/0x108)
[ 1051.267177] [<c023bd84>] (__vfs_write) from [<c023ca30>] (vfs_write+0xb8/0x18c)
[ 1051.274520] [<c023ca30>] (vfs_write) from [<c023d844>] (SyS_write+0x3c/0x74)
[ 1051.281604] [<c023d844>] (SyS_write) from [<c010c280>] (ret_fast_syscall+0x0/0x3c)
[ 1051.289208] Code: e59530e0 f57ff05b e3530000 0a000053 (e5b3c00c) 
[ 1051.295434] ---[ end trace 2fd5d964740e50c4 ]---
[ 1051.300111] Fixing recursive fault but reboot is needed!
[ 1052.257305] Unable to handle kernel paging request at virtual address 00003125
[ 1052.264637] pgd = ef290000
[ 1052.267356] [00003125] *pgd=3f32f831
[ 1052.270976] Internal error: Oops: 17 [#5] PREEMPT SMP ARM
[ 1052.276397] Modules linked in: uio_pdrv_genirq uio sg uas
[ 1052.281877] CPU: 0 PID: 1 Comm: init Tainted: G      D W       4.9.0-mvebu-tld-12 #2
[ 1052.289651] Hardware name: Marvell Armada 380/385 (Device Tree)
[ 1052.295596] task: ef098680 task.stack: ef09a000
[ 1052.300149] PC is at __d_lookup_rcu+0x64/0x160
[ 1052.304614] LR is at lookup_fast+0x38/0x294
[ 1052.308816] pc : [<c025273c>]    lr : [<c0245ff8>]    psr: 200f0013
[ 1052.308816] sp : ef09bdd8  ip : 80000000  fp : 000263e8
[ 1052.320342] r10: ffffffff  r9 : ef09be1c  r8 : 00003121
[ 1052.325589] r7 : ef09be88  r6 : eec2d4c8  r5 : 0000a3ba  r4 : 00003129
[ 1052.332143] r3 : 0000a3bb  r2 : ef748000  r1 : cf94ad7d  r0 : eec2d4c8
[ 1052.338699] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[ 1052.345864] Control: 10c5387d  Table: 2f29004a  DAC: 00000051
[ 1052.351634] Process init (pid: 1, stack limit = 0xef09a220)
[ 1052.357229] Stack: (0xef09bdd8 to 0xef09c000)
[ 1052.361604] bdc0:                                                       cf94ad7d 00000007
[ 1052.369818] bde0: eb95c015 eb95c015 cf94ad7d 00000007 00000000 ef09be80 ef09be80 ef09be50
[ 1052.378033] be00: eec2d4c8 ef09be48 ef118190 ef09be4c 000263e8 c0245ff8 ef09be80 ef09be50
[ 1052.386246] be20: ef09be48 ef09be80 00000000 00000001 ef09bf28 ef09bf50 00000000 00000000
[ 1052.394460] be40: 000263e8 c0248654 ef09be80 ef09be80 00000001 ef09bf28 ef09bf28 ef09be80
[ 1052.402674] be60: 00000000 ef09bf28 ef09bf28 c0248d40 00000001 00000001 eb95c000 c0249374
[ 1052.410888] be80: ef118190 eec2d4c8 cf94ad7d 00000007 eb95c015 c011daec ef333790 eee92550
[ 1052.419101] bea0: ef1f1990 00000041 00000002 00000068 00000000 00000000 00000000 ef09bec0
[ 1052.427316] bec0: 000151b4 eb95c010 ffffe000 c04e665c eb95c000 ffffff9c c0d04ef8 000151b4
[ 1052.435529] bee0: 000151b4 00000000 00000001 c0249148 eb95c000 00000000 ef09bf28 00000002
[ 1052.443742] bf00: ffffff9c 00000000 00000000 00000001 0002642c ffffff9c 000151b4 c0240e8c
[ 1052.451957] bf20: 00000000 00000000 3b4f3a18 00000000 ffffffff be9f3818 0002642c 80000000
[ 1052.460170] bf40: 000000c3 c010c468 ef09a000 c02413c0 be9f3b08 80000000 0000004e c010c468
[ 1052.468384] bf60: ef09a000 be9f3b08 80000000 0000004e c010c468 be9f3b08 00000008 00000000
[ 1052.476597] bf80: 00000051 c04c69e4 00000000 c0183754 5966d8a7 000d6ab5 6958f700 be9f3b34
[ 1052.484811] bfa0: 00026404 c010c280 00026404 0002642c 000151b4 be9f3818 be9f3818 6958f700
[ 1052.493025] bfc0: 00026404 0002642c 80000000 000000c3 00026404 000261ac 0000004e 000263e8
[ 1052.501238] bfe0: 000000c3 be9f3774 b6e7e653 b6e0b8e6 200f0030 000151b4 ebc7c708 d39c795b
[ 1052.509459] [<c025273c>] (__d_lookup_rcu) from [<c0245ff8>] (lookup_fast+0x38/0x294)
[ 1052.517239] [<c0245ff8>] (lookup_fast) from [<c0248654>] (walk_component+0xb4/0x268)
[ 1052.525017] [<c0248654>] (walk_component) from [<c0248d40>] (path_lookupat+0x80/0xfc)
[ 1052.532883] [<c0248d40>] (path_lookupat) from [<c0249374>] (filename_lookup+0x5c/0xb0)
[ 1052.540836] [<c0249374>] (filename_lookup) from [<c0240e8c>] (vfs_fstatat+0x50/0x90)
[ 1052.548615] [<c0240e8c>] (vfs_fstatat) from [<c02413c0>] (SyS_stat64+0x14/0x30)
[ 1052.555960] [<c02413c0>] (SyS_stat64) from [<c010c280>] (ret_fast_syscall+0x0/0x3c)
[ 1052.563651] Code: e58d3014 e3540000 0a00003b e2448008 (e5145004) 
[ 1052.569811] ---[ end trace 2fd5d964740e50c5 ]---
[ 1052.574702] Unable to handle kernel paging request at virtual address 0000a49d
[ 1052.581981] pgd = c0004000
[ 1052.584717] [0000a49d] *pgd=00000000
[ 1052.588332] Internal error: Oops: 17 [#6] PREEMPT SMP ARM
[ 1052.593754] Modules linked in: uio_pdrv_genirq uio sg uas
[ 1052.599234] CPU: 0 PID: 1 Comm: init Tainted: G      D W       4.9.0-mvebu-tld-12 #2
[ 1052.607009] Hardware name: Marvell Armada 380/385 (Device Tree)
[ 1052.612953] task: ef098680 task.stack: ef09a000
[ 1052.617505] PC is at locks_remove_posix+0x10/0x180
[ 1052.622318] LR is at filp_close+0x64/0x78
[ 1052.626344] pc : [<c0286d8c>]    lr : [<c023a650>]    psr: 800f0113
[ 1052.626344] sp : ef09bb80  ip : 00000000  fp : ffffe000
[ 1052.637871] r10: 00000000  r9 : 00000028  r8 : ef09a000
[ 1052.643117] r7 : 00000001  r6 : ef015500  r5 : 0000a3bd  r4 : 00000000
[ 1052.649671] r3 : c2c05b28  r2 : ef352800  r1 : ef015500  r0 : ef3550c0
[ 1052.656226] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[ 1052.663391] Control: 10c5387d  Table: 2f29004a  DAC: 00000051
[ 1052.669161] Process init (pid: 1, stack limit = 0xef09a220)
[ 1052.674757] Stack: (0xef09bb80 to 0xef09c000)
[ 1052.679134] bb80: c0a54a03 c0a1e76b c28b12c0 ef098680 00000000 00000001 c0a54a14 c0a8c286
[ 1052.687349] bba0: 00000001 c0de8940 000001f4 ffffffa1 ffffffff 00000000 ffffe000 c04df908
[ 1052.695561] bbc0: 00000000 0000005f 00000001 c28b0038 00000000 c0d09900 00000017 c021de88
[ 1052.703775] bbe0: 000001f4 00000000 c28b0000 00000001 00000000 00000000 ffffffff 00000001
[ 1052.711989] bc00: 00000800 00000000 ef3550c0 ef015500 00000001 c023a650 ef015500 00000000
[ 1052.720202] bc20: ef015518 c0257688 ef098680 c28b0000 ef098adc c28b0038 00000000 c0d09900
[ 1052.728416] bc40: 00000017 c01274c4 0000000b c0a8c286 00000000 00000000 c0dacce0 c0a09ce1
[ 1052.736630] bc60: ffffe000 c0110de4 ef09a220 0000000b 00000017 00003125 ef09bd88 00000017
[ 1052.744844] bc80: c28b0000 ef098680 00000017 c0de87b0 c28b0000 c011f77c 00000014 c011b3b0
[ 1052.753057] bca0: ef0b0080 00000010 afb50400 0000000a c28b0038 00000000 00000000 00000000
[ 1052.761270] bcc0: ffffffff 00000017 00003125 c0d0a344 ef09bd88 00003121 ef09a000 ffffffff
[ 1052.769484] bce0: 000263e8 c0101308 00000000 800f0193 00000000 00000000 00000000 ef0b5f50
[ 1052.777698] bd00: 200f0113 c0d10e00 c0d10e00 c0c6c4c0 600f0113 00000001 00000000 c015e9b4
[ 1052.785911] bd20: ef7d3500 c0d11380 ef7d33e0 c0d10e00 c0c6c4c0 c017f3fc 600f0113 00000000
[ 1052.794125] bd40: 00000102 c0d0412c c0d9c038 00000001 c0a54a14 c0a8c286 c0a54a03 c0a1e76b
[ 1052.802339] bd60: 00000000 ef09a000 00000009 c0d030a8 00000000 c025273c 200f0013 ffffffff
[ 1052.810553] bd80: ef09bdbc c0111578 eec2d4c8 cf94ad7d ef748000 0000a3bb 00003129 0000a3ba
[ 1052.818766] bda0: eec2d4c8 ef09be88 00003121 ef09be1c ffffffff 000263e8 80000000 ef09bdd8
[ 1052.826980] bdc0: c0245ff8 c025273c 200f0013 ffffffff 00000051 bf000000 cf94ad7d 00000007
[ 1052.835193] bde0: eb95c015 eb95c015 cf94ad7d 00000007 00000000 ef09be80 ef09be80 ef09be50
[ 1052.843407] be00: eec2d4c8 ef09be48 ef118190 ef09be4c 000263e8 c0245ff8 ef09be80 ef09be50
[ 1052.851621] be20: ef09be48 ef09be80 00000000 00000001 ef09bf28 ef09bf50 00000000 00000000
[ 1052.859835] be40: 000263e8 c0248654 ef09be80 ef09be80 00000001 ef09bf28 ef09bf28 ef09be80
[ 1052.868049] be60: 00000000 ef09bf28 ef09bf28 c0248d40 00000001 00000001 eb95c000 c0249374
[ 1052.876262] be80: ef118190 eec2d4c8 cf94ad7d 00000007 eb95c015 c011daec ef333790 eee92550
[ 1052.884476] bea0: ef1f1990 00000041 00000002 00000068 00000000 00000000 00000000 ef09bec0
[ 1052.892690] bec0: 000151b4 eb95c010 ffffe000 c04e665c eb95c000 ffffff9c c0d04ef8 000151b4
[ 1052.900903] bee0: 000151b4 00000000 00000001 c0249148 eb95c000 00000000 ef09bf28 00000002
[ 1052.909118] bf00: ffffff9c 00000000 00000000 00000001 0002642c ffffff9c 000151b4 c0240e8c
[ 1052.917331] bf20: 00000000 00000000 3b4f3a18 00000000 ffffffff be9f3818 0002642c 80000000
[ 1052.925545] bf40: 000000c3 c010c468 ef09a000 c02413c0 be9f3b08 80000000 0000004e c010c468
[ 1052.933758] bf60: ef09a000 be9f3b08 80000000 0000004e c010c468 be9f3b08 00000008 00000000
[ 1052.941973] bf80: 00000051 c04c69e4 00000000 c0183754 5966d8a7 000d6ab5 6958f700 be9f3b34
[ 1052.950187] bfa0: 00026404 c010c280 00026404 0002642c 000151b4 be9f3818 be9f3818 6958f700
[ 1052.958400] bfc0: 00026404 0002642c 80000000 000000c3 00026404 000261ac 0000004e 000263e8
[ 1052.966614] bfe0: 000000c3 be9f3774 b6e7e653 b6e0b8e6 200f0030 000151b4 ebc7c708 d39c795b
[ 1052.974832] [<c0286d8c>] (locks_remove_posix) from [<c023a650>] (filp_close+0x64/0x78)
[ 1052.982787] [<c023a650>] (filp_close) from [<c0257688>] (put_files_struct+0xa0/0xf4)
[ 1052.990566] [<c0257688>] (put_files_struct) from [<c01274c4>] (do_exit+0x490/0xa18)
[ 1052.998259] [<c01274c4>] (do_exit) from [<c0110de4>] (die+0x22c/0x2b0)
[ 1053.004819] [<c0110de4>] (die) from [<c011f77c>] (__do_kernel_fault.part.0+0x54/0x1f8)
[ 1053.012774] [<c011f77c>] (__do_kernel_fault.part.0) from [<c011b3b0>] (do_page_fault+0x2a4/0x328)
[ 1053.021687] [<c011b3b0>] (do_page_fault) from [<c0101308>] (do_DataAbort+0x34/0xb4)
[ 1053.029379] [<c0101308>] (do_DataAbort) from [<c0111578>] (__dabt_svc+0x58/0x80)
[ 1053.036805] Exception stack(0xef09bd88 to 0xef09bdd0)
[ 1053.041879] bd80:                   eec2d4c8 cf94ad7d ef748000 0000a3bb 00003129 0000a3ba
[ 1053.050093] bda0: eec2d4c8 ef09be88 00003121 ef09be1c ffffffff 000263e8 80000000 ef09bdd8
[ 1053.058304] bdc0: c0245ff8 c025273c 200f0013 ffffffff
[ 1053.063381] [<c0111578>] (__dabt_svc) from [<c025273c>] (__d_lookup_rcu+0x64/0x160)
[ 1053.071076] [<c025273c>] (__d_lookup_rcu) from [<c0245ff8>] (lookup_fast+0x38/0x294)
[ 1053.078855] [<c0245ff8>] (lookup_fast) from [<c0248654>] (walk_component+0xb4/0x268)
[ 1053.086633] [<c0248654>] (walk_component) from [<c0248d40>] (path_lookupat+0x80/0xfc)
[ 1053.094498] [<c0248d40>] (path_lookupat) from [<c0249374>] (filename_lookup+0x5c/0xb0)
[ 1053.102452] [<c0249374>] (filename_lookup) from [<c0240e8c>] (vfs_fstatat+0x50/0x90)
[ 1053.110231] [<c0240e8c>] (vfs_fstatat) from [<c02413c0>] (SyS_stat64+0x14/0x30)
[ 1053.117576] [<c02413c0>] (SyS_stat64) from [<c010c280>] (ret_fast_syscall+0x0/0x3c)
[ 1053.125267] Code: e92d40f0 e24dd084 e590300c e5935028 (e59530e0) 
[ 1053.131531] ---[ end trace 2fd5d964740e50c6 ]---
[ 1053.136180] Fixing recursive fault but reboot is needed!
[ 1074.157947] INFO: rcu_preempt detected stalls on CPUs/tasks:
[ 1074.163648] 	Tasks blocked on level-0 rcu_node (CPUs 0-1): P1
[ 1074.169437] 	(detected by 0, t=2103 jiffies, g=7543, c=7542, q=25)
[ 1074.175656] init            D    0     1      0 0x00000004
[ 1074.181191] [<c0835ab4>] (__schedule) from [<c0835e44>] (schedule+0xac/0xc4)
[ 1074.188276] [<c0835e44>] (schedule) from [<c0127130>] (do_exit+0xfc/0xa18)
[ 1074.195185] [<c0127130>] (do_exit) from [<c0110de4>] (die+0x22c/0x2b0)
[ 1074.201747] [<c0110de4>] (die) from [<c011f77c>] (__do_kernel_fault.part.0+0x54/0x1f8)
[ 1074.209704] [<c011f77c>] (__do_kernel_fault.part.0) from [<c011b3b0>] (do_page_fault+0x2a4/0x328)
[ 1074.218618] [<c011b3b0>] (do_page_fault) from [<c0101308>] (do_DataAbort+0x34/0xb4)
[ 1074.226310] [<c0101308>] (do_DataAbort) from [<c0111578>] (__dabt_svc+0x58/0x80)
[ 1074.233736] Exception stack(0xef09bb30 to 0xef09bb78)
[ 1074.238810] bb20:                                     ef3550c0 ef015500 ef352800 c2c05b28
[ 1074.247024] bb40: 00000000 0000a3bd ef015500 00000001 ef09a000 00000028 00000000 ffffe000
[ 1074.255237] bb60: 00000000 ef09bb80 c023a650 c0286d8c 800f0113 ffffffff
[ 1074.261884] [<c0111578>] (__dabt_svc) from [<c0286d8c>] (locks_remove_posix+0x10/0x180)
[ 1074.269927] [<c0286d8c>] (locks_remove_posix) from [<c023a650>] (filp_close+0x64/0x78)
[ 1074.277881] [<c023a650>] (filp_close) from [<c0257688>] (put_files_struct+0xa0/0xf4)
[ 1074.285659] [<c0257688>] (put_files_struct) from [<c01274c4>] (do_exit+0x490/0xa18)
[ 1074.293350] [<c01274c4>] (do_exit) from [<c0110de4>] (die+0x22c/0x2b0)
[ 1074.299909] [<c0110de4>] (die) from [<c011f77c>] (__do_kernel_fault.part.0+0x54/0x1f8)
[ 1074.307862] [<c011f77c>] (__do_kernel_fault.part.0) from [<c011b3b0>] (do_page_fault+0x2a4/0x328)
[ 1074.316775] [<c011b3b0>] (do_page_fault) from [<c0101308>] (do_DataAbort+0x34/0xb4)
[ 1074.324466] [<c0101308>] (do_DataAbort) from [<c0111578>] (__dabt_svc+0x58/0x80)
[ 1074.331892] Exception stack(0xef09bd88 to 0xef09bdd0)
[ 1074.336965] bd80:                   eec2d4c8 cf94ad7d ef748000 0000a3bb 00003129 0000a3ba
[ 1074.345179] bda0: eec2d4c8 ef09be88 00003121 ef09be1c ffffffff 000263e8 80000000 ef09bdd8
[ 1074.353391] bdc0: c0245ff8 c025273c 200f0013 ffffffff
[ 1074.358468] [<c0111578>] (__dabt_svc) from [<c025273c>] (__d_lookup_rcu+0x64/0x160)
[ 1074.366162] [<c025273c>] (__d_lookup_rcu) from [<c0245ff8>] (lookup_fast+0x38/0x294)
[ 1074.373941] [<c0245ff8>] (lookup_fast) from [<c0248654>] (walk_component+0xb4/0x268)
[ 1074.381719] [<c0248654>] (walk_component) from [<c0248d40>] (path_lookupat+0x80/0xfc)
[ 1074.389584] [<c0248d40>] (path_lookupat) from [<c0249374>] (filename_lookup+0x5c/0xb0)
[ 1074.397537] [<c0249374>] (filename_lookup) from [<c0240e8c>] (vfs_fstatat+0x50/0x90)
[ 1074.405316] [<c0240e8c>] (vfs_fstatat) from [<c02413c0>] (SyS_stat64+0x14/0x30)
[ 1074.412661] [<c02413c0>] (SyS_stat64) from [<c010c280>] (ret_fast_syscall+0x0/0x3c)
[ 1074.420350] init            D    0     1      0 0x00000004
[ 1074.425873] [<c0835ab4>] (__schedule) from [<c0835e44>] (schedule+0xac/0xc4)
[ 1074.432954] [<c0835e44>] (schedule) from [<c0127130>] (do_exit+0xfc/0xa18)
[ 1074.439861] [<c0127130>] (do_exit) from [<c0110de4>] (die+0x22c/0x2b0)
[ 1074.446418] [<c0110de4>] (die) from [<c011f77c>] (__do_kernel_fault.part.0+0x54/0x1f8)
[ 1074.454373] [<c011f77c>] (__do_kernel_fault.part.0) from [<c011b3b0>] (do_page_fault+0x2a4/0x328)
[ 1074.463285] [<c011b3b0>] (do_page_fault) from [<c0101308>] (do_DataAbort+0x34/0xb4)
[ 1074.470976] [<c0101308>] (do_DataAbort) from [<c0111578>] (__dabt_svc+0x58/0x80)
[ 1074.478403] Exception stack(0xef09bb30 to 0xef09bb78)
[ 1074.483476] bb20:                                     ef3550c0 ef015500 ef352800 c2c05b28
[ 1074.491690] bb40: 00000000 0000a3bd ef015500 00000001 ef09a000 00000028 00000000 ffffe000
[ 1074.499902] bb60: 00000000 ef09bb80 c023a650 c0286d8c 800f0113 ffffffff
[ 1074.506547] [<c0111578>] (__dabt_svc) from [<c0286d8c>] (locks_remove_posix+0x10/0x180)
[ 1074.514588] [<c0286d8c>] (locks_remove_posix) from [<c023a650>] (filp_close+0x64/0x78)
[ 1074.522541] [<c023a650>] (filp_close) from [<c0257688>] (put_files_struct+0xa0/0xf4)
[ 1074.530318] [<c0257688>] (put_files_struct) from [<c01274c4>] (do_exit+0x490/0xa18)
[ 1074.538009] [<c01274c4>] (do_exit) from [<c0110de4>] (die+0x22c/0x2b0)
[ 1074.544567] [<c0110de4>] (die) from [<c011f77c>] (__do_kernel_fault.part.0+0x54/0x1f8)
[ 1074.552521] [<c011f77c>] (__do_kernel_fault.part.0) from [<c011b3b0>] (do_page_fault+0x2a4/0x328)
[ 1074.561434] [<c011b3b0>] (do_page_fault) from [<c0101308>] (do_DataAbort+0x34/0xb4)
[ 1074.569124] [<c0101308>] (do_DataAbort) from [<c0111578>] (__dabt_svc+0x58/0x80)
[ 1074.576550] Exception stack(0xef09bd88 to 0xef09bdd0)
[ 1074.581624] bd80:                   eec2d4c8 cf94ad7d ef748000 0000a3bb 00003129 0000a3ba
[ 1074.589838] bda0: eec2d4c8 ef09be88 00003121 ef09be1c ffffffff 000263e8 80000000 ef09bdd8
[ 1074.598050] bdc0: c0245ff8 c025273c 200f0013 ffffffff
[ 1074.603126] [<c0111578>] (__dabt_svc) from [<c025273c>] (__d_lookup_rcu+0x64/0x160)
[ 1074.610818] [<c025273c>] (__d_lookup_rcu) from [<c0245ff8>] (lookup_fast+0x38/0x294)
[ 1074.618597] [<c0245ff8>] (lookup_fast) from [<c0248654>] (walk_component+0xb4/0x268)
[ 1074.626374] [<c0248654>] (walk_component) from [<c0248d40>] (path_lookupat+0x80/0xfc)
[ 1074.634238] [<c0248d40>] (path_lookupat) from [<c0249374>] (filename_lookup+0x5c/0xb0)
[ 1074.642191] [<c0249374>] (filename_lookup) from [<c0240e8c>] (vfs_fstatat+0x50/0x90)
[ 1074.649969] [<c0240e8c>] (vfs_fstatat) from [<c02413c0>] (SyS_stat64+0x14/0x30)
[ 1074.657313] [<c02413c0>] (SyS_stat64) from [<c010c280>] (ret_fast_syscall+0x0/0x3c)
��ʲ����Unable to handle kernel paging request at virtual address 0000a3cd
[ 1094.036890] pgd = c2bf4000
[ 1094.039664] [0000a3cd] *pgd=3fc17831
[ 1094.043270] Internal error: Oops: 17 [#7] PREEMPT SMP ARM
[ 1094.048692] Modules linked in: uio_pdrv_genirq uio sg uas
[ 1094.054175] CPU: 1 PID: 2558 Comm: cron Tainted: G      D W       4.9.0-mvebu-tld-12 #2
[ 1094.062211] Hardware name: Marvell Armada 380/385 (Device Tree)
[ 1094.068155] task: eea29940 task.stack: ec14a000
[ 1094.072709] PC is at __d_lookup_rcu+0x64/0x160
[ 1094.077174] LR is at lookup_fast+0x38/0x294
[ 1094.081377] pc : [<c025273c>]    lr : [<c0245ff8>]    psr: 200f0013
[ 1094.081377] sp : ec14bd90  ip : 80000000  fp : 61c88647
[ 1094.092903] r10: ffffffff  r9 : ec14bdd4  r8 : 0000a3c9
[ 1094.098150] r7 : ec14be88  r6 : eee92550  r5 : 0000a3d1  r4 : 0000a3d1
[ 1094.104704] r3 : 0000a3d2  r2 : ef748000  r1 : 93eb5e05  r0 : eee92550
[ 1094.111259] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[ 1094.118425] Control: 10c5387d  Table: 02bf404a  DAC: 00000051
[ 1094.124194] Process cron (pid: 2558, stack limit = 0xec14a220)
[ 1094.130051] Stack: (0xec14bd90 to 0xec14c000)
[ 1094.134427] bd80:                                     93eb5e05 00000003 00000000 eb5d3011
[ 1094.142641] bda0: 93eb5e05 00000003 ef001f80 ec14be80 ec14be80 ec14be08 eee92550 ec14be00
[ 1094.150855] bdc0: ef333790 ec14be04 61c88647 c0245ff8 ec14be80 ec14be08 ec14be00 ec14be80
[ 1094.159069] bde0: eb5d3015 00000001 00000018 004c5b4a 00000000 00000000 61c88647 c0248654
[ 1094.167284] be00: eee983a8 00000081 ec14bf28 ec14bf28 ec14be80 ec14be80 eb5d3015 eee92550
[ 1094.175497] be20: 00000018 c0248900 00000000 00000003 c0a54a14 c0a8c26b 2eb76000 00000001
[ 1094.183711] be40: c0d97f80 c0c6e87a ec14be80 ec14be80 00000001 ec14bf28 ec14bf28 ec14bf50
[ 1094.191923] be60: 00000000 00000000 b6ef7000 c0248ce4 00000001 00000001 eb5d3000 c0249374
[ 1094.200138] be80: ef333790 eee92550 93eb5e05 00000003 eb5d3011 eea29ccc ef333790 eee92550
[ 1094.208351] bea0: eee983a8 00000051 00000002 00000068 00000000 00000000 00000000 ec14bec0
[ 1094.216565] bec0: b6edbc7c eb5d3010 ffffe000 c04e665c eb5d3000 ffffff9c c0d04ef8 b6edbc7c
[ 1094.224779] bee0: b6edbc7c 00000000 00000001 c0249148 eb5d3000 00000000 ec14bf28 00000002
[ 1094.232993] bf00: ffffff9c 00000000 00000000 00000001 00000001 ffffff9c b6edbc7c c0240e8c
[ 1094.241207] bf20: 00000000 0000000d ec14bf28 00000000 00000000 beca1b60 00000001 b6edbc7c
[ 1094.249421] bf40: 000000c3 c010c468 ec14a000 c02413c0 beca1c10 00027f24 0000004e c010c468
[ 1094.257634] bf60: ec14a000 beca1c10 00027f24 0000004e c010c468 beca1c10 00000008 00000000
[ 1094.265847] bf80: 00000051 c04c69e4 00000000 c0183754 5966d8d1 0009f14f 00000000 00000000
[ 1094.274061] bfa0: 00000000 c010c280 00000000 00000001 b6edbc7c beca1b60 beca1b60 00000000
[ 1094.282275] bfc0: 00000000 00000001 b6edbc7c 000000c3 00000000 00000000 0000002f b6ef7000
[ 1094.290489] bfe0: 000000c3 beca1afc b6e95653 b6e228e6 200f0030 b6edbc7c 2fffd861 2fffdc61
[ 1094.298710] [<c025273c>] (__d_lookup_rcu) from [<c0245ff8>] (lookup_fast+0x38/0x294)
[ 1094.306490] [<c0245ff8>] (lookup_fast) from [<c0248654>] (walk_component+0xb4/0x268)
[ 1094.314269] [<c0248654>] (walk_component) from [<c0248900>] (link_path_walk+0xf8/0x460)
[ 1094.322309] [<c0248900>] (link_path_walk) from [<c0248ce4>] (path_lookupat+0x24/0xfc)
[ 1094.330174] [<c0248ce4>] (path_lookupat) from [<c0249374>] (filename_lookup+0x5c/0xb0)
[ 1094.338127] [<c0249374>] (filename_lookup) from [<c0240e8c>] (vfs_fstatat+0x50/0x90)
[ 1094.345906] [<c0240e8c>] (vfs_fstatat) from [<c02413c0>] (SyS_stat64+0x14/0x30)
[ 1094.353251] [<c02413c0>] (SyS_stat64) from [<c010c280>] (ret_fast_syscall+0x0/0x3c)
[ 1094.360943] Code: e58d3014 e3540000 0a00003b e2448008 (e5145004) 
[ 1094.367105] ---[ end trace 2fd5d964740e50c7 ]---
[ 1094.372078] Unable to handle kernel NULL pointer dereference at virtual address 000000e0
[ 1094.380221] pgd = c0004000
[ 1094.382939] [000000e0] *pgd=00000000
[ 1094.386541] Internal error: Oops: 17 [#8] PREEMPT SMP ARM
[ 1094.391961] Modules linked in: uio_pdrv_genirq uio sg uas
[ 1094.397439] CPU: 1 PID: 2558 Comm: cron Tainted: G      D W       4.9.0-mvebu-tld-12 #2
[ 1094.405476] Hardware name: Marvell Armada 380/385 (Device Tree)
[ 1094.411420] task: eea29940 task.stack: ec14a000
[ 1094.415972] PC is at locks_remove_posix+0x10/0x180
[ 1094.420785] LR is at filp_close+0x64/0x78
[ 1094.424812] pc : [<c0286d8c>]    lr : [<c023a650>]    psr: 200f0113
[ 1094.424812] sp : ec14bb38  ip : 00000000  fp : ffffe000
[ 1094.436338] r10: 00000000  r9 : 0000000c  r8 : ec14a000
[ 1094.441583] r7 : 00000001  r6 : ef1d7100  r5 : 00000000  r4 : 00000000
[ 1094.448138] r3 : c2c05e58  r2 : c2a004e0  r1 : ef1d7100  r0 : ef333180
[ 1094.454692] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[ 1094.461857] Control: 10c5387d  Table: 02bf404a  DAC: 00000051
[ 1094.467626] Process cron (pid: 2558, stack limit = 0xec14a220)
[ 1094.473483] Stack: (0x���8 to 0xec14c000)
[ 1094.477859] bb20:                                                       c0a54a03 c0a1e76b
[ 1094.486072] bb40: c2814aa8 eea29940 00000001 00000001 c0a54a14 c0a8c286 00000001 c0de8940
[ 1094.494286] bb60: 000001f4 ffffff89 ffffffff 00000000 ffffe000 c04df908 00000000 00000077
[ 1094.502500] bb80: 00000001 eea928f8 00000000 c0d09900 00000017 c021de88 000001f4 00000000
[ 1094.510715] bba0: eea928c0 00000001 00000000 00000000 ffffffff 00000001 ef381d80 00000000
[ 1094.518928] bbc0: ef333180 ef1d7100 00000001 c023a650 ef1d7100 00000000 ef1d7118 c0257688
[ 1094.527142] bbe0: eea29940 eea928c0 eea29d9c eea928f8 00000000 c0d09900 00000017 c01274c4
[ 1094.535356] bc00: 0000000b c0a8c286 00000000 00000000 c0dacce0 c0a09ce1 ffffe000 c0110de4
[ 1094.543571] bc20: ec14a220 0000000b 00000017 0000a3cd ec14bd40 00000017 eea928c0 eea29940
[ 1094.551784] bc40: 00000017 c0de87b0 eea928c0 c011f77c 00000014 c011b3b0 00000000 0001f92f
[ 1094.559998] bc60: 00000000 c014fb70 eea928f8 00000000 00000000 ef7e1cb8 c0a54a14 00000017
[ 1094.568212] bc80: 0000a3cd c0d0a344 ec14bd40 0000a3c9 ec14a000 ffffffff 61c88647 c0101308
[ 1094.576427] bca0: c0d98200 c0c6e880 00000000 c08398ac c0d98200 c01f5be0 0000033d 00000000
[ 1094.584640] bcc0: 00000001 ec14bd80 00000001 024200ca c0d98700 00000001 60070113 ef7e4894
[ 1094.592854] bce0: ef7e4890 00000000 00000000 ffffffff c0d983d0 00000058 ec14bcb8 0000000e
[ 1094.601068] bd00: 000�L�de6108 00000000 c0d98200 eea76c60 00000000 0000081f ec14a000
[ 1094.609282] bd20: 024200ca c01f6710 c0a54a03 c025273c 200f0013 ffffffff ec14bd74 c0111578
[ 1094.617495] bd40: eee92550 93eb5e05 ef748000 0000a3d2 0000a3d1 0000a3d1 eee92550 ec14be88
[ 1094.625710] bd60: 0000a3c9 ec14bdd4 ffffffff 61c88647 80000000 ec14bd90 c0245ff8 c025273c
[ 1094.633924] bd80: 200f0013 ffffffff 00000051 bf000000 93eb5e05 00000003 00000000 eb5d3011
[ 1094.642138] bda0: 93eb5e05 00000003 ef001f80 ec14be80 ec14be80 ec14be08 eee92550 ec14be00
[ 1094.65035�: ef333790 ec14be04 61c88647 c0245ff8 ec14be80 ec14be08 ec14be00 ec14be80
[ 1094.658565] bde0: eb5d3015 00000001 00000018 004c5b4a 00000000 00000000 61c88647 c0248654
[ 1094.666779] be00: eee983a8 00000081 ec14bf28 ec14bf28 ec14be80 ec14be80 eb5d3015 eee92550
[ 1094.674993] be20: 00000018 c0248900 00000000 00000003 c0a54a14 c0a8c26b 2eb76000 00000001
[ 1094.683206] be40: c0d97f80 c0c6e87a ec14be80 ec14be80 00000001 ec14bf28 ec14bf28 ec14bf50
[ 1094.691420] be60: 00000000 00000000 b6ef7000 c0248ce4 00000001 00000001 eb5d3000 c0249374
[ 1094.699635] be80: ef333790 eee92550 93eb5e05 00000003 eb5d3011 eea29ccc ef333790 eee92550
[ 1094.707848] bea0: eee983a8 00000051 00000002 00000068 00000000 00000000 00000000 ec14bec0
[ 1094.716062] bec0: b6edbc7c eb5d3010 ffffe000 c04e665c eb5d3000 ffffff9c c0d04ef8 b6edbc7c
[ 1094.724276] bee0: b6edbc7c 00000000 00000001 c0249148 eb5d3000 00000000 ec14bf28 00000002
[ 1094.732489] bf00: ffffff9c 00000000 00000000 00000001 00000001 ffffff9c b6edbc7c c0240e8c
[ 1094.740704] bf20: 00000000 0000000d ec14bf28 00000000 00000000 beca1b60 00000001 b6edbc7c
[ 1094.748918] bf40: 000000c3 c010c468 ec14a000 c02413c0 beca1c10 00027f24 0000004e c010c468
[ 1094.757132] bf60: ec14a000 beca1c10 00027f24 0000004e c010c468 beca1c10 00000008 00000000
[ 1094.765346] bf80: 00000051 c04c69e4 00000000 c0183754 5966d8d1 0009f14f 00000000 00000000
[ 1094.773560] bfa0: 00000000 c010c280 00000000 00000001 b6edbc7c beca1b60 beca1b60 00000000
[ 1094.781773] bfc0: 00000000 00000001 b6edbc7c 000000c3 00000000 00000000 0000002f b6ef7000
[ 1094.789987] bfe0: 000000c3 beca1afc b6e95653 b6e228e6 200f0030 b6edbc7c 2fffd861 2fffdc61
[ 1094.798205] [<c0286d8c>] (locks_remove_posix) from [<c023a650>] (filp_close+0x64/0x78)
[ 1094.806159] [<c023a650>] (filp_close) from [<c0257688>] (put_files_struct+0xa0/0xf4)
[ 1094.813940] [<c0257688>] (put_files_struct) from [<c01274c4>] (do_exit+0x490/0xa18)
[ 1094.821632] [<c01274c4>] (do_exit) from [<c0110de4>] (die+0x22c/0x2b0)
[ 1094.828192] [<c0110de4>] (die) from [<c011f77c>] (__do_kernel_fault.part.0+0x54/0x1f8)
[ 1094.836149] [<c011f77c>] (__do_kernel_fault.part.0) from [<c011b3b0>] (do_page_fault+0x2a4/0x328)
[ 1094.845062] [<c011b3b0>] (do_page_fault) from [<c0101308>] (do_DataAbort+0x34/0xb4)
[ 1094.852754] [<c0101308>] (do_DataAbort) from [<c0111578>] (__dabt_svc+0x58/0x80)
[ 1094.860180] Exception stack(0xec14bd40 to 0xec14bd88)
[ 1094.865255] bd40: eee92550 93eb5e05 ef748000 0000a3d2 0000a3d1 0000a3d1 eee92550 ec14be88
[ 1094.873469] bd60: 0000a3c9 ec14bdd4 ffffffff 61c88647 80000000 ec14bd90 c0245ff8 c025273c
[ 1094.881681] bd80: 200f0013 ffffffff
[ 1094.885189] [<c0111578>] (__dabt_svc) from [<c025273c>] (__d_lookup_rcu+0x64/0x160)
[ 1094.892883] [<c025273c>] (__d_lookup_rcu) from [<c0245ff8>] (lookup_fast+0x38/0x294)
[ 1094.900663] [<c0245ff8>] (lookup_fast) from [<c0248654>] (walk_component+0xb4/0x268)
[ 1094.908441] [<c024654>] (walk_�2ɽ��[<c0248900>] (link_path_walk+0xf8/0x460)
[ 1094.916479] [<c0248900>] (link_path_walk) from [<c0248ce4>] (path_lookupat+0x24/0xfc)
[ 1094.924344] [<c0248ce4>] (path_lookupat) from [<c0249374>] (filename_lookup+0x5c/0xb0)
[ 1094.932297] [<c0249374>] (filename_lookup) from [<c0240e8c>] (vfs_fstatat+0x50/0x90)
[ 1094.940075] [<c0240e8c>��e�ххѥ from [<c02413c0>] (SyS_stat64+0x14/0x30)
[ 1094.947420] [<c02413c0>] (SyS_� from [<c010c280>] (ret_fast_syscall+0x0/0x3c)
[ 1094.955111] Code: e92d40f0 e24dd08�L,*�935028 (e59530e0) 
[ 1094.961253] ---[ end trace 2fd5d964740e50c8 ]---
[ 1094�2�᥹��recursive fault but reboot is needed!
9=� rcu_prt detected stalls on CPUs/tasks:
[ 1137.213644] 	��on rcu_node (CPUs 0-1): P1
[ 1137.219435] 	(detected by 1, t=8408 �˙��ͱ g=7543, c=7542, q=354)
[ 1137.225740] init            D    0     1      0 0x00000004
[ 1137.231270] [<c0835ab4>] (__schedule) from [<c0835e44>] (schedule+0xac/0xc4)
[ 1137.238353] [<c0835e44>] (schedule) from [<c0127130>] (do_exit+0xfc/0xa18)
[ 1137.245262] [<c0127130>] (do_exit) from [<c0110de4>] (die+0x22c/0x2b0)
[ 1137.251822] [<c0110de4>] (die) from [<c011f77c>] (__do_kernel_fault.part.0+0x54/0x1f8)
[ 1137.259778] [<c011f77c>] (__do_kernel_fault.part.0) from [<c011b3b0>] (do_page_fault+0x2a4/0x328)
[ 1137.268691] [<c011b3b0>] (do_page_fault) from [<c0101308>] (do_DataAbort+0x34/0xb4)
[ 1137.276383] [<c0101308>] (do_DataAbort) from [<c0111578>] (__dabt_svc+0x58/0x80)
[ 1137.283809] Exception stack(0xef09bb30 to 0xef09bb78)
[ 1137.288883] bb20:                                     ef3550c0 ef015500 ef352800 c2c05b28
[ 1137.297097] bb40: 00000000 0000a3bd ef015500 00000001 ef09a000 00000028 00000000 ffffe000
[ 1137.305309] bb60: 00000000 ef09bb80 c023a650 c0286d8c 800f0113 ffffffff
[ 1137.311956] [<c0111578>] (__dabt_svc) from [<c0286d8c>] (locks_remove_posix+0x10/0x180)
[ 1137.319997] [<c0286d8c>] (locks_remove_posix) from [<c023a650>] (filp_close+0x64/0x78)
[ 1137.327951] [<c023a650>] (filp_close) from [<c0257688>] (put_files_struct+0xa0/0xf4)
[ 1137.335729] [<c0257688>] (put_files_struct) from [<c01274c4>] (do_exit+0x490/0xa18)
[ 1137.343420] [<c01274c4>] (do_exit) from [<c0110de4>] (die+0x22c/0x2b0)
[ 1137.349979] [<c0110de4>] (die) from [<c011f77c>] (__do_kernel_fault.part.0+0x54/0x1f8)
[ 1137.357932] [<c011f77c>] (__do_kernel_fault.part.0) from [<c011b3b0>] (do_page_fault+0x2a4/0x328)
[ 1137.366845] [<c011b3b0>] (do_page_fault) from [<c0101308>] (do_DataAbort+0x34/0xb4)
[ 1137.374535] [<c0101308>] (do_DataAbort) from [<c0111578>] (__dabt_svc+0x58/0x80)
[ 1137.381961] Exception stack(0xef09bd88 to 0xef09bdd0)
[ 1137.387035] bd80:                   eec2d4c8 cf94ad7d ef748000 0000a3bb 00003129 0000a3ba
[ 1137.395248] bda0: eec2d4c8 ef09be88 00003121 ef09be1c ffffffff 000263e8 80000000 ef09bdd8
[ 1137.403460] bdc0: c0245ff8 c025273c 200f0013 ffffffff
[ 1137.408537] [<c0111578>] (__dabt_svc) from [<c025273c>] (__d_lookup_rcu+0x64/0x160)
[ 1137.416230] [<c025273c>] (__d_lookup_rcu) from [<c0245ff8>] (lookup_fast+0x38/0x294)
[ 1137.424010] [<c0245ff8>] (lookup_fast) from [<c0248654>] (walk_component+0xb4/0x268)
[ 1137.431787] [<c0248654>] (walk_component) from [<c0248d40>] (path_lookupat+0x80/0xfc)
[ 1137.439651] [<c0248d40>] (path_lookupat) from [<c0249374>] (filename_lookup+0x5c/0xb0)
[ 1137.447604] [<c0249374>] (filename_lookup) from [<c0240e8c>] (vfs_fstatat+0x50/0x90)
[ 1137.455382] [<c0240e8c>] (vfs_fstatat) from [<c02413c0>] (SyS_stat64+0x14/0x30)
[ 1137.462727] [<c02413c0>] (SyS_stat64) from [<c010c280>] (ret_fast_syscall+0x0/0x3c)
[ 1137.470415] init            D    0     1      0 0x00000004
[ 1137.475940] [<c0835ab4>] (__schedule) from [<c0835e44>] (schedule+0xac/0xc4)
[ 1137.483021] [<c0835e44>] (schedule) from [<c0127130>] (do_exit+0xfc/0xa18)
[ 1137.489928] [<c0127130>] (do_exit) from [<c0110de4>] (die+0x22c/0x2b0)
[ 1137.496487] [<c0110de4>] (die) from [<c011f77c>] (__do_kernel_fault.part.0+0x54/0x1f8)
[ 1137.504440] [<c011f77c>] (__do_kernel_fault.part.0) from [<c011b3b0>] (do_page_fault+0x2a4/0x328)
[ 1137.513353] [<c011b3b0>] (do_page_fault) from [<c0101308>] (do_DataAbort+0x34/0xb4)
[ 1137.521044] [<c0101308>] (do_DataAbort) from [<c0111578>] (__dabt_svc+0x58/0x80)
[ 1137.528471] Exception stack(0xef09bb30 to 0xef09bb78)
[ 1137.533544] bb20:                                     ef3550c0 ef015500 ef352800 c2c05b28
[ 1137.541757] bb40: 00000000 0000a3bd ef015500 000��9a000 00000028 00000000 ffffe000
[ 1137.549970] bb60: 00000000 ef09bb80 c023a650 c0286d8c 800f0113 ffffffff
[ 1137.556615] [<c0111578>] (__dabt_svc) from [<c0286d8c>] (locks_remove_posix+0x10/0x180)
[ 1137.564656] [<c0286d8c>] (locks_remove_posix) from [<c023a65�}���͕�0x64/0x78)
[ 1137.572610] [<c023a650>] (filp_close) from [<c0257688>] (put_files_struct+0xa0/0xf4)
[ 1137.580388] [<c0257688>] (put_files_struct) from [<c01274c4>] (do_exit+0x490/0xa18)
[ 1137.588080] [<c01274c4>] (do_exit) from [<c0110de4>] (die+0x22c/0x2b0)
[ 1137.594637] [<c0110de4>] (die) from [<c011f77c>] (__do_kernel_fault.part.0+0x54/0x1f8)
[ 1137.602591] [<c011f77c>] (__do_kernel_fault.part.0) from [<c011b3b0>] (do_page_fault+0x2a4/0x328)
[ 1137.611503] [<c011b3b0>] (do_page_fault) from [<c0101308>] (do_DataAbort+0x34/0xb4)
[ 1137.619194] [<c0101308>] (do_DataAbort) from [<c0111578>] (__dabt_svc+0x58/0x80)
[ 1137.626619] Exception stack(0xef09bd88 to 0xef09bdd0)
[ 1137.631693] bd80:                   eec2d4c8 cf94ad7��������
                                                                 �bb 00003129 0000a3ba
[ 1137.639907] bda0: eec2d4c8 ef09be88 00003121 ef09be1c ffffffff 000263e8 80000000 ef09bdd8
[ 1137.648119] bdc0: c0245ff8 c025273c 200f0013 ffffffff
[ 1137.653195] [<c0111578>] (__dabt_svc) from [<c025273c>] (__d_lookup_rcu+0x�L�60)
[ 1137.660888] [<c025273c>] (__d_lookup_rcu) from [<c0245ff8>] (lookup_fast+0x38��ɲ²����[<c0245ff8>] (lookup_fast) from [<c0248654>] (walk_component+0xb4/0x268)
[ 1137.676444] [<c0248654>] (walk_component) from [<c0248d40>] (path_lookupat+0x80/0xfc)
[ 1137.684308] [<c0248d40>] (path_lookupat) from [<c0249374>] (filename_lookup+0x5c/0xb0)
[ 1137.692261] [<c0249374>] (filename_lookup) from [<c0240e8c>] (vfs_fstatat+0x50/0c0240e8c>] (vfs_fstatat) from [<c02413c0>] (SyS_stat64+0x14/0x30)
[&���[<c0241���M}�х��4) from [<c010c280>] (ret_fast_syscall+0x0/0x3c)

I am trying to install ajenti but it stops. does it mean there is a problem on linux install?
Re: My Cloud Mirror Gen2
July 12, 2017 11:50PM
mcmg2,

> I am trying to install ajenti but it stops. does i
> t mean there is a problem on linux install?

This problem might be

1. The DTS that you are using might not be the right one for your box.
or
2. To make sure you got the latest packages and ensure the dpkg runs correctly, update Debian first before installing any package:

apt-get update
apt-get upgrade

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
mcmg2
Re: My Cloud Mirror Gen2
July 13, 2017 02:46AM
You are probably right.
Hoop shows there is 1GB memory but mirror has 512 MB ram on board.
mcmg2
Re: My Cloud Mirror Gen2
July 13, 2017 03:56AM
Re: My Cloud Mirror Gen2
July 13, 2017 04:49AM
First, before you do anything to u-boot envs, you should save all the mtd partitions. Run the following commands in Debian and make sure the files are saved to the USB stick. It would be a good idea to also backup the files to another computer.
nanddump --noecc --omitoob -f mtd0 /dev/mtd0
nanddump --noecc --omitoob -f mtd1 /dev/mtd1
nanddump --noecc --omitoob -f mtd2 /dev/mtd2
nanddump --noecc --omitoob -f mtd3 /dev/mtd3
nanddump --noecc --omitoob -f mtd4 /dev/mtd4
nanddump --noecc --omitoob -f mtd5 /dev/mtd5
nanddump --noecc --omitoob -f mtd6 /dev/mtd6
nanddump --noecc --omitoob -f mtd7 /dev/mtd7

From your previous boot log, it seems like the MCM Gen 2 has only 256MB nand, but there should still be 7 partitions:
5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)

@bodhi: is there some way to limit RAM in the kernel command line? The DTS is wrong and I cannot fix it this week due to travel. There's the possibility dumping NAND might result in kernel panic as it tries to allocate more than 512MB...

Quote
mcmg2
I just followed your instruction so please advise me how to save env and remove error in mtd.

If you want to save u-boot env, you need to run "saveenv" command in kwboot u-boot I posted. Only run saveenv in the kwboot u-boot. If you run it in the stock u-boot you will corrupt the Western Digital firmware! You also need to modify /etc/fw_env.config:
/dev/mtd0 0x100000 0x80000 0x20000 4

Quote
bodhi
So it is bad form for me to take over this role :)

Whaaaat?!

Quote
mcmg2
Hoop shows there is 1GB memory but mirror has 512 MB ram on board.

Yup, because the EX2U had 1GB. I just built the stock EX2U DTS. I don't have access to my build system this week so I'll have to fix it next week.

@bodhi: do you know if the Western Digital summary of devices is wrong? Everything I have seen suggests the EX2U is Armada 385, but their page says it's Armada 370...
Re: My Cloud Mirror Gen2
July 13, 2017 05:23AM
hmartin,

> @bodhi: is there some way to limit RAM in the kern
> el command line? The DTS is wrong and I cannot fix
> it this week due to travel. There's the possibilit
> y dumping NAND might result in kernel panic as it
> tries to allocate more than 512MB...

Yes. I forgot the exact syntax, but there is a bootarg for that. I have to look for it.

But u-boot already identified the memory size and passed that to the kernel. So I looked at the log mcmg2 posted, this u-boot has a wrong RAM size. And that should have overwritten the DTS specs.

U-Boot 2013.01_v1.04 (Jul 05 2017 - 16:59:05) Marvell version: 2014_T3.0p6

mvBoardIdIndexGet(boardId) = 1
Board: GrandTeton DB6820
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1332 [MHz]
       L2     @ 666 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 666 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  1 GiB

There might be an option in the u-boot build script?

> @bodhi: do you know if the Western D
> igital summary of devices is wrong? Everythi
> ng I have seen suggests the EX2U is Armada 385, bu
> t their page says it's Armada 370...

Yes, their page looks wrong (they probably forgot to edit it). The EX2 should be Armada 370, the EX2 Ultra should be Armada 385.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: My Cloud Mirror Gen2
July 13, 2017 07:50AM
Quote
bodhi
this u-boot has a wrong RAM size

I checked my patch, and I didn't change the memory size in u-boot. Maybe this is a mistake in the Western Digital GPL archive...

Quote
bodhi
There might be an option in the u-boot build script?

I don't recall any options to change the memory size or device, but I will check when I am back at my build system.

According to this StackOverflow answer, you can limit the kernel memory by altering the bootcmd:
mem=512M

So to fit in our boot process, usb_set_bootargs needs to be modified:

setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mem=512M earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)'

@mcmg2: could you modify the bootargs to include the mem option above and see if htop correctly reports 512MB RAM? The modified line is above.



Edited 1 time(s). Last edit at 07/13/2017 07:52AM by hmartin.
mcmg2
Re: My Cloud Mirror Gen2
July 13, 2017 04:01PM
mint@mint ~/kwboot $ sudo ./kwboot -f -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-GrandTeton_2014T3_PQ-nand-uart-20170708.bin -s 0 -q 1
Sending boot message. Please reboot the target...-
Sending boot image...
  0 % [+.....................................................................]
  0 % [......................................................................]
  1 % [......................................................................]
  2 % [......................................................................]
  3 % [......................................................................]
  4 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  7 % [......................................................................]
  8 % [......................................................................]
  9 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 12 % [......................................................................]
 13 % [......................................................................]
 14 % [......................................................................]
 15 % [......................................................................]
 15 % [......................................................................]
 16 % [......................................................................]
 17 % [......................................................................]
 18 % [......................................................................]
 19 % [......................................................................]
 20 % [......................................................................]
 21 % [......................................................................]
 22 % [......................................................................]
 23 % [......................................................................]
 24 % [......................................................................]
 25 % [......................................................................]
 26 % [......................................................................]
 27 % [......................................................................]
 28 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 30 % [......................................................................]
 31 % [......................................................................]
 32 % [......................................................................]
 33 % [......................................................................]
 34 % [......................................................................]
 35 % [......................................................................]
 36 % [......................................................................]
 37 % [......................................................................]
 38 % [......................................................................]
 39 % [......................................................................]
 40 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 43 % [......................................................................]
 44 % [......................................................................]
 45 % [......................................................................]
 45 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 48 % [......................................................................]
 49 % [......................................................................]
 50 % [......................................................................]
 51 % [......................................................................]
 52 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 55 % [......................................................................]
 56 % [......................................................................]
 57 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 60 % [......................................................................]
 60 % [......................................................................]
 61 % [......................................................................]
 62 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 65 % [......................................................................]
 66 % [......................................................................]
 67 % [......................................................................]
 68 % [......................................................................]
 69 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 72 % [......................................................................]
 73 % [......................................................................]
 74 % [......................................................................]
 75 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 77 % [......................................................................]
 78 % [......................................................................]
 79 % [......................................................................]
 80 % [......................................................................]
 81 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 84 % [......................................................................]
 85 % [......................................................................]
 86 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 89 % [......................................................................]
 90 % [......................................................................]
 91 % [......................................................................]
 91 % [......................................................................]
 92 % [......................................................................]
 93 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 96 % [......................................................................]
 97 % [......................................................................]
 98 % [......................................................................]
 99 % [..........................................]
[Type Ctrl-\ + c to quit]

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_ 
        | | | |___|  _ \ / _ \ / _ \| __| 
        | |_| |___| |_) | (_) | (_) | |_ 
         \___/    |____/ \___/ \___/ \__| 
 ** LOADER **


U-Boot 2013.01_v1.04 (Jul 08 2017 - 10:27:15) Marvell version: 2014_T3.0p6

mvBoardIdIndexGet(boardId) = 1
Board: GrandTeton DB6820
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1332 [MHz]
       L2     @ 666 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 666 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  1 GiB

Map:   Code:			0x3fece000:0x3ff96000
       BSS:			0x3ffef654
       Stack:			0x3f9cdf20
       Heap:			0x3f9ce000:0x3fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:	0x00000000:0x00080000 (NAND)

NAND:  ID: daad ,256 MiB
MMC:   mv_sdh: 0
PCI-e 0: Detected No Link.
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00000f500000-0x00000ff00000 : "mtd=7"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=7"
UBI: MTD device size:            10 MiB
UBI: number of good PEBs:        80
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             32
UBI: total number of reserved PEBs: 48
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 3/0
UBIFS: mounted UBI device 0, volume 0, name "reserve2"
UBIFS: mounted read-only
UBIFS: file system size:   4063232 bytes (3968 KiB, 3 MiB, 32 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  200807 bytes (196 KiB)
Loading file '/mac_addr' to addr 0x02000000 with size 18 (0x00000012)...
Done
Set lan 2 WakeOnLan ok
Enable HD1
Enable HD2
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |   In-Band    |
| egiga1 |   RGMII   |   In-Band    |
| egiga2 |   SGMII   |     0x00     |
egiga0, egiga1, egiga2 [PRIME]
Hit any key to stop autoboot:  0 
Marvell>> setenv bootdev 'usb' 
Marvell>> setenv device '0:1' 
Marvell>> setenv load_image_addr '0x02000000'
Marvell>> setenv load_initrd_addr '0x2900000'
Marvell>> setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage'
Marvell>> setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mem=512M earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)'
Marvell>> setenv bootcmd_usb 'echo Booting from USB ...; usb start; setenv fdt_skip_update yes; usb start; run usb_set_bootargs; if run load_image; then if run load_initrd; then bootm $load_image_addr $load_initrd_addr; else bootm $load_image_addr; fi; fi'
Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...
Writing to Nand... done
Marvell>> run bootcmd_usb
Booting from USB ...
(Re)start USB...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
(Re)start USB...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
loading Image ...
3920526 bytes read in 422 ms (8.9 MiB/s)
loading uInitrd ...
6210503 bytes read in 491 ms (12.1 MiB/s)
## Booting image at 02000000 ...
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-4.9.0-mvebu-tld-12
   Created:      2017-07-09   9:45:53 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3920462 Bytes = 3.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02900000 ...
   Image Name:   initramfs-4.9.0-mvebu-tld-12
   Created:      2017-02-03  23:57:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6210439 Bytes = 5.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Western Digital MyCloud EX2 Ultra
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] ------------[ cut here ]------------
[    0.000000] WARNING: CPU: 0 PID: 0 at kernel/printk/printk.c:2612 register_console+0x3c/0x398
[    0.000000] console 'earlycon0' already registered
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.9.0-mvebu-tld-12 #2
[    0.000000] Hardware name: Marvell Armada 380/385 (Device Tree)
[    0.000000] [<c01160bc>] (unwind_backtrace) from [<c0110bb4>] (show_stack+0x10/0x14)
[    0.000000] [<c0110bb4>] (show_stack) from [<c04ba5a4>] (dump_stack+0x70/0x8c)
[    0.000000] [<c04ba5a4>] (dump_stack) from [<c0123ce0>] (__warn+0xc8/0xfc)
[    0.000000] [<c0123ce0>] (__warn) from [<c0123d48>] (warn_slowpath_fmt+0x34/0x44)
[    0.000000] [<c0123d48>] (warn_slowpath_fmt) from [<c0171b1c>] (register_console+0x3c/0x398)
[    0.000000] [<c0171b1c>] (register_console) from [<c0c04dc0>] (setup_early_printk+0x14/0x24)
[    0.000000] [<c0c04dc0>] (setup_early_printk) from [<c0c00478>] (do_early_param+0x6c/0xbc)
[    0.000000] [<c0c00478>] (do_early_param) from [<c013f774>] (parse_args+0x2dc/0x40c)
[    0.000000] [<c013f774>] (parse_args) from [<c0c0088c>] (parse_early_options+0x2c/0x3c)
[    0.000000] [<c0c0088c>] (parse_early_options) from [<c0c008c8>] (parse_early_param+0x2c/0x44)
[    0.000000] [<c0c008c8>] (parse_early_param) from [<c0c03350>] (setup_arch+0x4fc/0xa24)
[    0.000000] [<c0c03350>] (setup_arch) from [<c0c00934>] (start_kernel+0x50/0x390)
[    0.000000] [<c0c00934>] (start_kernel) from [<0000807c>] (0x807c)
[    0.000000] ---[ end trace 0000000000000000 ]---
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 15 pages/cpu @dfbcc000 s30796 r8192 d22452 u61440
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 libata.force=3.0G root=LABEL=rootfs earlyprintk console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mem=512M earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 500128K/524288K available (8192K kernel code, 690K rwdata, 2052K rodata, 1024K init, 386K bss, 24160K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
[    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
[    0.000000]       .data : 0xc0d00000 - 0xc0daca28   ( 691 kB)
[    0.000000]        .bss : 0xc0daca28 - 0xc0e0d4f8   ( 387 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000004] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.007883] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019112] Console: colour dummy device 80x30
[    0.023626] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.034033] pid_max: default: 32768 minimum: 301
[    0.038802] Security Framework initialized
[    0.043002] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.049677] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.057249] CPU: Testing write buffer coherency: ok
[    0.062344] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.068086] Setting up static identity map for 0x100000 - 0x100058
[    0.074516] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.079800] mvebu-pmsu: Initializing Power Management Service Unit
[    0.283602] Booting CPU 1
[    0.286473] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.286530] Brought up 2 CPUs
[    0.295291] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.301612] CPU: All CPU(s) started in SVC mode.
[    0.306850] devtmpfs: initialized
[    0.312828] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.320814] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.330754] prandom: seed boundary self test passed
[    0.337716] prandom: 100 self tests passed
[    0.341878] pinctrl core: initialized pinctrl subsystem
[    0.347912] NET: Registered protocol family 16
[    0.353096] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.383453] cpuidle: using governor ladder
[    0.413421] cpuidle: using governor menu
[    0.417562] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.425635] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.483828] vgaarb: loaded
[    0.486867] SCSI subsystem initialized
[    0.491171] usbcore: registered new interface driver usbfs
[    0.496828] usbcore: registered new interface driver hub
[    0.502263] usbcore: registered new device driver usb
[    0.507615] media: Linux media interface: v0.10
[    0.512260] Linux video capture interface: v2.00
[    0.517962] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.554084] VFS: Disk quotas dquot_6.6.0
[    0.558156] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.573458] NET: Registered protocol family 2
[    0.578335] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.585457] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.592021] TCP: Hash tables configured (established 4096 bind 4096)
[    0.598470] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.604370] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.610827] NET: Registered protocol family 1
[    0.615511] RPC: Registered named UNIX socket transport module.
[    0.621507] RPC: Registered udp transport module.
[    0.626273] RPC: Registered tcp transport module.
[    0.631064] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.637689] Unpacking initramfs...
[    0.882629] Freeing initrd memory: 6068K (c2900000 - c2eed000)
[    0.888798] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.895499] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.904819] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.911070] audit: initializing netlink subsys (disabled)
[    0.916552] audit: type=2000 audit(0.900:1): initialized
[    0.922408] Initialise system trusted keyrings
[    0.927062] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.933655] zbud: loaded
[    0.936816] NFS: Registering the id_resolver key type
[    0.941958] Key type id_resolver registered
[    0.946205] Key type id_legacy registered
[    0.950298] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.957051] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.963626] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.971070] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.977689] orangefs_init: module version upstream loaded
[    0.985318] Key type asymmetric registered
[    0.989496] Asymmetric key parser 'x509' registered
[    0.994525] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    1.001986] io scheduler noop registered
[    1.005974] io scheduler deadline registered
[    1.010332] io scheduler cfq registered (default)
[    1.016025] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.024707] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    1.031658] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.037991] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.044919] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.050920] PCI: bus0: Fast back to back transfers disabled
[    1.056558] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.064630] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.072817] PCI: bus1: Fast back to back transfers enabled
[    1.078502] PCI: bus2: Fast back to back transfers enabled
[    1.084092] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.089135] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.094663] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.158451] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.166074] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.228433] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.287240] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.295154] console [ttyS0] disabled
[    1.318907] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 12500000) is a 16550A
[    1.327933] console [ttyS0] enabled
[    1.327933] console [ttyS0] enabled
[    1.335037] bootconsole [earlycon0] disabled
[    1.335037] bootconsole [earlycon0] disabled
[    1.364426] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 12500000) is a 16550A
[    1.374449] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.383557] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.393243] scsi host0: ahci-mvebu
[    1.396962] scsi host1: ahci-mvebu
[    1.400621] ata1: FORCE: PHY spd limit set to 3.0Gbps
[    1.405697] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.413662] ata2: FORCE: PHY spd limit set to 3.0Gbps
[    1.418744] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.427241] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.435151] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    1.441546] nand: Hynix H27U2G8F2CTR-BC
[    1.445399] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.453015] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.460216] Bad block table found at page 131008, version 0x01
[    1.466417] Bad block table found at page 130944, version 0x01
[    1.472527] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.478658] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.484082] 0x000000000000-0x000000500000 : "U-Boot"
[    1.489911] 0x000000500000-0x000000a00000 : "uImage"
[    1.505643] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    1.521534] 0x000000f00000-0x00000c800000 : "image.cfs"
[    1.538287] 0x00000c800000-0x00000d700000 : "rescue fw"
[    1.554285] 0x00000d700000-0x00000eb00000 : "config"
[    1.570081] 0x00000eb00000-0x00000f500000 : "reserve1"
[    1.586006] 0x00000f500000-0x00000ff00000 : "reserve2"
[    1.602556] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.609368] libphy: Fixed MDIO Bus: probed
[    1.613796] libphy: mdio_driver_register: mv88e6085
[    1.618955] libphy: orion_mdio_bus: probed
[    1.627842] mvneta f1034000.ethernet eth0: Using random mac address 6e:ba:3f:55:7e:1f
[    1.635969] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.642553] ehci-pci: EHCI PCI platform driver
[    1.647062] ehci-orion: EHCI orion driver
[    1.651409] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.656758] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 1
[    1.664368] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.672983] xhci-hcd f10f0000.usb3: irq 45, io mem 0xf10f0000
[    1.678875] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.685695] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.692959] usb usb1: Product: xHCI Host Controller
[    1.697858] usb usb1: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.704336] usb usb1: SerialNumber: f10f0000.usb3
[    1.709457] hub 1-0:1.0: USB hub found
[    1.713243] hub 1-0:1.0: 1 port detected
[    1.717375] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.722734] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.730319] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.738524] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    1.745344] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.749257] ata1: SATA link down (SStatus 0 SControl 320)
[    1.758055] usb usb2: Product: xHCI Host Controller
[    1.759210] ata2: SATA link down (SStatus 0 SControl 320)
[    1.768381] usb usb2: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.774849] usb usb2: SerialNumber: f10f0000.usb3
[    1.779940] hub 2-0:1.0: USB hub found
[    1.783725] hub 2-0:1.0: 1 port detected
[    1.787942] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.793304] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    1.800902] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.809519] xhci-hcd f10f8000.usb3: irq 46, io mem 0xf10f8000
[    1.815381] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    1.822256] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.829520] usb usb3: Product: xHCI Host Controller
[    1.834420] usb usb3: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.840897] usb usb3: SerialNumber: f10f8000.usb3
[    1.845960] hub 3-0:1.0: USB hub found
[    1.849762] hub 3-0:1.0: 1 port detected
[    1.853900] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.859255] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    1.866820] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.875024] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[    1.881856] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.889188] usb usb4: Product: xHCI Host Controller
[    1.894089] usb usb4: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.900569] usb usb4: SerialNumber: f10f8000.usb3
[    1.905640] hub 4-0:1.0: USB hub found
[    1.909436] hub 4-0:1.0: 1 port detected
[    1.913670] usbcore: registered new interface driver usblp
[    1.919271] usbcore: registered new interface driver usb-storage
[    1.925493] mousedev: PS/2 mouse device common for all mice
[    1.931700] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.939525] i2c /dev entries driver
[    1.955002] orion_wdt: Initial timeout 171 sec
[    1.961437] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.968816] hidraw: raw HID events driver (C) Jiri Kosina
[    1.974564] usbcore: registered new interface driver usbhid
[    1.980177] usbhid: USB HID core driver
[    1.984193] drop_monitor: Initializing network drop monitor service
[    1.990542] Netfilter messages via NETLINK v0.30.
[    1.995282] ip_set: protocol 6
[    1.998610] NET: Registered protocol family 10
[    2.003649] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.010635] NET: Registered protocol family 17
[    2.015260] 8021q: 802.1Q VLAN Support v1.8
[    2.019595] Key type dns_resolver registered
[    2.024041] ThumbEE CPU extension supported.
[    2.028346] Registering SWP/SWPB emulation handler
[    2.033680] registered taskstats version 1
[    2.037796] Loading compiled-in X.509 certificates
[    2.042658] zswap: loaded using pool lzo/zbud
[    2.090795] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    2.101513] Key type big_key registered
[    2.109129] Key type encrypted registered
[    2.114248] armada38x-rtc f10a3800.rtc: setting system clock to 2017-07-13 20:51:03 UTC (1499979063)
[    2.124630] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000)
Loading, please wait...
[    2.167699] systemd-udevd[1315]: starting version 215
[    2.173829] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.280383] usb 1-1: New USB device found, idVendor=090c, idProduct=1000
[    2.287123] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.296889] usb 1-1: Product: POLLEX 8G
[    2.302759] usb 1-1: Manufacturer: SRT
[    2.306529] usb 1-1: SerialNumber: 033113111111135234000373
[    2.312678] usb-storage 1-1:1.0: USB Mass Storage device detected
[    2.329065] scsi host2: usb-storage 1-1:1.0
[    2.494986] usbcore: registered new interface driver uas
[    3.368709] scsi 2:0:0:0: Direct-Access     SRT      POLLEX 8G        1100 PQ: 0 ANSI: 4
[    3.381288] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    3.386649] sd 2:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
[    3.395313] sd 2:0:0:0: [sda] Write Protect is off
[    3.400830] sd 2:0:0:0: [sda] No Caching mode page found
[    3.406167] sd 2:0:0:0: [sda] Assuming drive cache: write through
[    3.415315]  sda: sda1
[    3.420227] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    3.458368] random: fast init done
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
modprobe: module ext3 not found in modules.dep
Begin: Will now check root file system ... fsck from util-linux 2.25.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   17.613418] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   17.640906] EXT4-fs (sda1): recovery complete
[   17.645291] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd[   18.556886] systemd-udevd[1520]: starting version 215
. ok 
[ ok ] Synthesizing the initial hotplug events...done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Activating swap...done.
[   20.037765] EXT4-fs (sda1): Couldn't remount RDWR because of unprocessed orphan inode list.  Please umount/remount instead
[   20.048986] EXT4-fs (sda1): Couldn't remount RDWR because of unprocessed orphan inode list.  Please umount/remount instead
[   20.060138] EXT4-fs (sda1): Couldn't remount RDWR because of unprocessed orphan inode list.  Please umount/remount instead
[   20.071502] EXT4-fs (sda1): Couldn't remount RDWR because of unprocessed orphan inode list.  Please umount/remount instead
[   20.082654] EXT4-fs (sda1): Couldn't remount RDWR because of unprocessed orphan inode list.  Please umount/remount instead
[   20.093837] EXT4-fs (sda1): Couldn't remount RDWR because of unprocessed orphan inode list.  Please umount/remount instead
[   20.104984] EXT4-fs (sda1): Couldn't remount RDWR because of unprocessed orphan inode list.  Please umount/remount instead
[   20.120668] EXT4-fs (sda1): Couldn't remount RDWR because of unprocessed orphan inode list.  Please umount/remount instead
mount: / not mounted or bad option

       In some cases useful info is found in syslog - try
       dmesg | tail or so.
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.25.2
done.
[....] Cleaning up temporary files.../etc/init.d/checkroot-bootclean.sh: 22: /etc/init.d/checkroot-bootclean.sh: cannot create /tmp/.clean: Read-only file system
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[....] Cleaning up temporary files.../etc/init.d/mountall-bootclean.sh: 22: /etc/init.d/mountall-bootclean.sh: cannot create /tmp/.clean: Read-only file system
[ ok ] Setting kernel variables ...done.
[   21.228730] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

can't create /var/lib/dhcp/dhclient.eth0.leases: Read-only file system
Listening on LPF/eth0/6e:ba:3f:55:7e:1f
Sending on   LPF/eth0/6e:ba:3f:55:7e:1f
Sending on   Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
[   25.368433] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   25.376318] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPNAK from 192.168.2.1
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.2.1
DHCPACK from 192.168.2.1
/sbin/dhclient-script: 49: /sbin/dhclient-script: cannot create /etc/resolv.conf.dhclient-new: Read-only file system
chown: cannot access '/etc/resolv.conf.dhclient-new': No such file or directory
chmod: cannot access '/etc/resolv.conf.dhclient-new': No such file or directory
mv: cannot stat '/etc/resolv.conf.dhclient-new': No such file or directory
can't create /var/lib/dhcp/dhclient.eth0.leases: Read-only file system
bound to 192.168.2.155 -- renewal in 36896 seconds.
done.
[ ok ] Starting rpcbind daemon....
[ ok ] Starting NFS common utilities: statd idmapd.
[....] Cleaning up temporary files.../etc/init.d/mountnfs-bootclean.sh: 22: /etc/init.d/mountnfs-bootclean.sh: cannot create /tmp/.clean: Read-only file system
[....] startpar: service(s) returned failure: checkroot-bootclean.sh mountall-bo[FAILan.sh mountnfs-bootclean.sh ... failed!
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
savelog: directory /var/log/ is not writable
/etc/init.d/bootlogs: 23: /etc/init.d/bootlogs: cannot create /var/log/dmesg: Read-only file system

boot ok

root@debian:~# free -m
             total       used       free     shared    buffers     cached
Mem:           495         79        416          0          8         43
-/+ buffers/cache:         27        468
Swap:            0          0          0

memory is now 512MB

but not able to change /etc/fw_env.config because it is read only.

I did saveenv on uboot but I am not sure it is saved or not
mcmg2
Re: My Cloud Mirror Gen2
July 13, 2017 04:03PM
root@debian:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Western Digital MyCloud EX2 Ultra
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] ------------[ cut here ]------------
[    0.000000] WARNING: CPU: 0 PID: 0 at kernel/printk/printk.c:2612 register_console+0x3c/0x398
[    0.000000] console 'earlycon0' already registered
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.9.0-mvebu-tld-12 #2
[    0.000000] Hardware name: Marvell Armada 380/385 (Device Tree)
[    0.000000] [<c01160bc>] (unwind_backtrace) from [<c0110bb4>] (show_stack+0x10/0x14)
[    0.000000] [<c0110bb4>] (show_stack) from [<c04ba5a4>] (dump_stack+0x70/0x8c)
[    0.000000] [<c04ba5a4>] (dump_stack) from [<c0123ce0>] (__warn+0xc8/0xfc)
[    0.000000] [<c0123ce0>] (__warn) from [<c0123d48>] (warn_slowpath_fmt+0x34/0x44)
[    0.000000] [<c0123d48>] (warn_slowpath_fmt) from [<c0171b1c>] (register_console+0x3c/0x398)
[    0.000000] [<c0171b1c>] (register_console) from [<c0c04dc0>] (setup_early_printk+0x14/0x24)
[    0.000000] [<c0c04dc0>] (setup_early_printk) from [<c0c00478>] (do_early_param+0x6c/0xbc)
[    0.000000] [<c0c00478>] (do_early_param) from [<c013f774>] (parse_args+0x2dc/0x40c)
[    0.000000] [<c013f774>] (parse_args) from [<c0c0088c>] (parse_early_options+0x2c/0x3c)
[    0.000000] [<c0c0088c>] (parse_early_options) from [<c0c008c8>] (parse_early_param+0x2c/0x44)
[    0.000000] [<c0c008c8>] (parse_early_param) from [<c0c03350>] (setup_arch+0x4fc/0xa24)
[    0.000000] [<c0c03350>] (setup_arch) from [<c0c00934>] (start_kernel+0x50/0x390)
[    0.000000] [<c0c00934>] (start_kernel) from [<0000807c>] (0x807c)
[    0.000000] ---[ end trace 0000000000000000 ]---
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c0d97f80, node_mem_map dfbf8000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] percpu: Embedded 15 pages/cpu @dfbcc000 s30796 r8192 d22452 u61440
[    0.000000] pcpu-alloc: s30796 r8192 d22452 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 libata.force=3.0G root=LABEL=rootfs earlyprintk console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mem=512M earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 500128K/524288K available (8192K kernel code, 690K rwdata, 2052K rodata, 1024K init, 386K bss, 24160K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
    lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0900000   (9184 kB)
      .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
      .data : 0xc0d00000 - 0xc0daca28   ( 691 kB)
       .bss : 0xc0daca28 - 0xc0e0d4f8   ( 387 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000004] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.007883] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019112] Console: colour dummy device 80x30
[    0.023626] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.034033] pid_max: default: 32768 minimum: 301
[    0.038802] Security Framework initialized
[    0.043002] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.049677] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.057249] CPU: Testing write buffer coherency: ok
[    0.062344] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.068086] Setting up static identity map for 0x100000 - 0x100058
[    0.074516] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.079800] mvebu-pmsu: Initializing Power Management Service Unit
[    0.283602] Booting CPU 1
[    0.286473] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.286530] Brought up 2 CPUs
[    0.295291] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.301612] CPU: All CPU(s) started in SVC mode.
[    0.306850] devtmpfs: initialized
[    0.312828] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.320814] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.330754] prandom: seed boundary self test passed
[    0.337716] prandom: 100 self tests passed
[    0.341878] pinctrl core: initialized pinctrl subsystem
[    0.347912] NET: Registered protocol family 16
[    0.353096] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.383453] cpuidle: using governor ladder
[    0.413421] cpuidle: using governor menu
[    0.417562] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.425635] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.483828] vgaarb: loaded
[    0.486867] SCSI subsystem initialized
[    0.490854] libata version 3.00 loaded.
[    0.491171] usbcore: registered new interface driver usbfs
[    0.496828] usbcore: registered new interface driver hub
[    0.502263] usbcore: registered new device driver usb
[    0.507615] media: Linux media interface: v0.10
[    0.512260] Linux video capture interface: v2.00
[    0.517962] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.554084] VFS: Disk quotas dquot_6.6.0
[    0.558156] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.573458] NET: Registered protocol family 2
[    0.578335] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.585457] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.592021] TCP: Hash tables configured (established 4096 bind 4096)
[    0.598470] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.604370] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.610827] NET: Registered protocol family 1
[    0.615511] RPC: Registered named UNIX socket transport module.
[    0.621507] RPC: Registered udp transport module.
[    0.626273] RPC: Registered tcp transport module.
[    0.631064] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.637561] PCI: CLS 0 bytes, default 64
[    0.637689] Unpacking initramfs...
[    0.882629] Freeing initrd memory: 6068K (c2900000 - c2eed000)
[    0.888798] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.895499] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.904819] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.911070] audit: initializing netlink subsys (disabled)
[    0.916552] audit: type=2000 audit(0.900:1): initialized
[    0.922408] Initialise system trusted keyrings
[    0.927062] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.933655] zbud: loaded
[    0.936816] NFS: Registering the id_resolver key type
[    0.941958] Key type id_resolver registered
[    0.946205] Key type id_legacy registered
[    0.950298] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.957051] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.963626] jffs2: version 2.2. (NAND) (SUMMARY)  \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
[    0.971070] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.977689] orangefs_init: module version upstream loaded
[    0.985318] Key type asymmetric registered
[    0.989496] Asymmetric key parser 'x509' registered
[    0.994525] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    1.001986] io scheduler noop registered
[    1.005974] io scheduler deadline registered
[    1.010332] io scheduler cfq registered (default)
[    1.016025] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.024707] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    1.031658] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.037991] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.044919] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.050474] pci_bus 0000:00: scanning bus
[    1.050497] pci 0000:00:01.0: [11ab:6820] type 01 class 0x060400
[    1.050528] pci 0000:00:01.0: calling pci_fixup_ide_bases+0x0/0x3c
[    1.050717] pci 0000:00:02.0: [11ab:6820] type 01 class 0x060400
[    1.050741] pci 0000:00:02.0: calling pci_fixup_ide_bases+0x0/0x3c
[    1.050911] pci_bus 0000:00: fixups for bus
[    1.050920] PCI: bus0: Fast back to back transfers disabled
[    1.056553] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 0
[    1.056558] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.064625] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 0
[    1.064630] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.072694] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 1
[    1.072807] pci_bus 0000:01: scanning bus
[    1.072813] pci_bus 0000:01: fixups for bus
[    1.072817] PCI: bus1: Fast back to back transfers enabled
[    1.078373] pci_bus 0000:01: bus scan returning with max=01
[    1.078379] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.078387] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 1
[    1.078492] pci_bus 0000:02: scanning bus
[    1.078499] pci_bus 0000:02: fixups for bus
[    1.078502] PCI: bus2: Fast back to back transfers enabled
[    1.084046] pci_bus 0000:02: bus scan returning with max=02
[    1.084051] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.084057] pci_bus 0000:00: bus scan returning with max=02
[    1.084064] pci 0000:00:01.0: fixup irq: got 0
[    1.084068] pci 0000:00:01.0: assigning IRQ 00
[    1.084074] pci 0000:00:02.0: fixup irq: got 0
[    1.084078] pci 0000:00:02.0: assigning IRQ 00
[    1.084092] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.089135] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.094202] pcieport 0000:00:01.0: enabling bus mastering
[    1.094242] pcieport 0000:00:02.0: enabling bus mastering
[    1.094663] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.158451] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.166074] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.228433] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.287240] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.295154] console [ttyS0] disabled
[    1.318907] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 12500000) is a 16550A
[    1.327933] console [ttyS0] enabled
[    1.335037] bootconsole [earlycon0] disabled
[    1.364426] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 12500000) is a 16550A
[    1.374449] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.383557] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.393243] scsi host0: ahci-mvebu
[    1.396962] scsi host1: ahci-mvebu
[    1.400621] ata1: FORCE: PHY spd limit set to 3.0Gbps
[    1.405697] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.413662] ata2: FORCE: PHY spd limit set to 3.0Gbps
[    1.418744] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.427241] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.435151] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    1.441546] nand: Hynix H27U2G8F2CTR-BC
[    1.445399] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.453015] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.460216] Bad block table found at page 131008, version 0x01
[    1.466417] Bad block table found at page 130944, version 0x01
[    1.472527] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.478658] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.484082] 0x000000000000-0x000000500000 : "U-Boot"
[    1.489911] 0x000000500000-0x000000a00000 : "uImage"
[    1.505643] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    1.521534] 0x000000f00000-0x00000c800000 : "image.cfs"
[    1.538287] 0x00000c800000-0x00000d700000 : "rescue fw"
[    1.554285] 0x00000d700000-0x00000eb00000 : "config"
[    1.570081] 0x00000eb00000-0x00000f500000 : "reserve1"
[    1.586006] 0x00000f500000-0x00000ff00000 : "reserve2"
[    1.602556] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.609368] libphy: Fixed MDIO Bus: probed
[    1.613796] libphy: mdio_driver_register: mv88e6085
[    1.618955] libphy: orion_mdio_bus: probed
[    1.627842] mvneta f1034000.ethernet eth0: Using random mac address 6e:ba:3f:55:7e:1f
[    1.635969] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.642553] ehci-pci: EHCI PCI platform driver
[    1.647062] ehci-orion: EHCI orion driver
[    1.651409] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.656758] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 1
[    1.664368] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.672983] xhci-hcd f10f0000.usb3: irq 45, io mem 0xf10f0000
[    1.678875] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.685695] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.692959] usb usb1: Product: xHCI Host Controller
[    1.697858] usb usb1: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.704336] usb usb1: SerialNumber: f10f0000.usb3
[    1.709457] hub 1-0:1.0: USB hub found
[    1.713243] hub 1-0:1.0: 1 port detected
[    1.717375] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.722734] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.730319] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.738524] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    1.745344] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.749257] ata1: SATA link down (SStatus 0 SControl 320)
[    1.758055] usb usb2: Product: xHCI Host Controller
[    1.759210] ata2: SATA link down (SStatus 0 SControl 320)
[    1.768381] usb usb2: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.774849] usb usb2: SerialNumber: f10f0000.usb3
[    1.779940] hub 2-0:1.0: USB hub found
[    1.783725] hub 2-0:1.0: 1 port detected
[    1.787942] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.793304] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    1.800902] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.809519] xhci-hcd f10f8000.usb3: irq 46, io mem 0xf10f8000
[    1.815381] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    1.822256] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.829520] usb usb3: Product: xHCI Host Controller
[    1.834420] usb usb3: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.840897] usb usb3: SerialNumber: f10f8000.usb3
[    1.845960] hub 3-0:1.0: USB hub found
[    1.849762] hub 3-0:1.0: 1 port detected
[    1.853900] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.859255] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    1.866820] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.875024] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[    1.881856] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.889188] usb usb4: Product: xHCI Host Controller
[    1.894089] usb usb4: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.900569] usb usb4: SerialNumber: f10f8000.usb3
[    1.905640] hub 4-0:1.0: USB hub found
[    1.909436] hub 4-0:1.0: 1 port detected
[    1.913670] usbcore: registered new interface driver usblp
[    1.919271] usbcore: registered new interface driver usb-storage
[    1.925493] mousedev: PS/2 mouse device common for all mice
[    1.931700] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.939525] i2c /dev entries driver
[    1.955002] orion_wdt: Initial timeout 171 sec
[    1.961437] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.968816] hidraw: raw HID events driver (C) Jiri Kosina
[    1.974564] usbcore: registered new interface driver usbhid
[    1.980177] usbhid: USB HID core driver
[    1.984193] drop_monitor: Initializing network drop monitor service
[    1.990542] Netfilter messages via NETLINK v0.30.
[    1.995282] ip_set: protocol 6
[    1.998610] NET: Registered protocol family 10
[    2.003649] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.010635] NET: Registered protocol family 17
[    2.015260] 8021q: 802.1Q VLAN Support v1.8
[    2.019595] Key type dns_resolver registered
[    2.024041] ThumbEE CPU extension supported.
[    2.028346] Registering SWP/SWPB emulation handler
[    2.033680] registered taskstats version 1
[    2.037796] Loading compiled-in X.509 certificates
[    2.042658] zswap: loaded using pool lzo/zbud
[    2.090795] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    2.101513] Key type big_key registered
[    2.109129] Key type encrypted registered
[    2.114248] armada38x-rtc f10a3800.rtc: setting system clock to 2017-07-13 20:51:03 UTC (1499979063)
[    2.123547] PM: Hibernation image not present or could not be loaded.
[    2.124630] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000)
[    2.167699] systemd-udevd[1315]: starting version 215
[    2.173829] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.280383] usb 1-1: New USB device found, idVendor=090c, idProduct=1000
[    2.287123] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.296889] usb 1-1: Product: POLLEX 8G
[    2.302759] usb 1-1: Manufacturer: SRT
[    2.306529] usb 1-1: SerialNumber: 033113111111135234000373
[    2.312678] usb-storage 1-1:1.0: USB Mass Storage device detected
[    2.329065] scsi host2: usb-storage 1-1:1.0
[    2.494986] usbcore: registered new interface driver uas
[    3.368709] scsi 2:0:0:0: Direct-Access     SRT      POLLEX 8G        1100 PQ: 0 ANSI: 4
[    3.381288] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    3.386649] sd 2:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
[    3.395313] sd 2:0:0:0: [sda] Write Protect is off
[    3.400171] sd 2:0:0:0: [sda] Mode Sense: 43 00 00 00
[    3.400830] sd 2:0:0:0: [sda] No Caching mode page found
[    3.406167] sd 2:0:0:0: [sda] Assuming drive cache: write through
[    3.415315]  sda: sda1
[    3.420227] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    3.458368] random: fast init done
[   17.613418] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   17.640906] EXT4-fs (sda1): recovery complete
[   17.645291] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   18.556886] systemd-udevd[1520]: starting version 215
[   20.037765] EXT4-fs (sda1): Couldn't remount RDWR because of unprocessed orphan inode list.  Please umount/remount instead
[   20.048986] EXT4-fs (sda1): Couldn't remount RDWR because of unprocessed orphan inode list.  Please umount/remount instead
[   20.060138] EXT4-fs (sda1): Couldn't remount RDWR because of unprocessed orphan inode list.  Please umount/remount instead
[   20.071502] EXT4-fs (sda1): Couldn't remount RDWR because of unprocessed orphan inode list.  Please umount/remount instead
[   20.082654] EXT4-fs (sda1): Couldn't remount RDWR because of unprocessed orphan inode list.  Please umount/remount instead
[   20.093837] EXT4-fs (sda1): Couldn't remount RDWR because of unprocessed orphan inode list.  Please umount/remount instead
[   20.104984] EXT4-fs (sda1): Couldn't remount RDWR because of unprocessed orphan inode list.  Please umount/remount instead
[   20.120668] EXT4-fs (sda1): Couldn't remount RDWR because of unprocessed orphan inode list.  Please umount/remount instead
[   21.228730] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   25.368433] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   25.376318] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   32.168375] random: crng init done
[  320.347681] EXT4-fs (sda1): error count since last fsck: 15
[  320.353293] EXT4-fs (sda1): initial error at time 1499929118: htree_dirblock_to_tree:990: inode 2: block 995
[  320.363195] EXT4-fs (sda1): last error at time 1499929130: htree_dirblock_to_tree:990: inode 2: block 995
root@debian:~# 

mcmg2
Re: My Cloud Mirror Gen2
July 13, 2017 04:07PM
root@debian:~# reboot

Broadcast message from robian (ttyS0) (Th[info] Using makefile-style concurrent boot in runlevel 6.
Stopping supervisor: supervisord.
Stopping Ajenti:
[FAIL] not running ... failed!
[ ok ] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[....] Stopping busybox' klogd implementation: klogd2437 (klogd)
Stopped klogd (pid 2437).
. ok 
[ ok ] Stopping MySQL database server: mysqld.
[ ok ] Stopping NFS kernel daemon: mountd nfsd.
[....] Unexporting directories for NFS kernel daemon...exportfs: could not open /var/lib/nfs/.etab.lock for locking: errno 30 (Read-only file system)
exportfs: can't lock /var/lib/nfs/etab for writing
exportfs: could not open /var/lib/nfs/.xtab.lock for locking: errno 30 (Read-only file system)
exportfs: can't lock /var/lib/nfs/xtab for writing
. ok 
[....] Stopping busybox' syslogd implementation: syslogd2439 (syslogd)
. ok 
[ ok ] Asking all remaining processes to terminate...done.
Currently running processes (pstree):
init-+-logsave
     |-rc---startpar---sendsigs---pstree
     |-rpc.statd
     `-rpcbind
[FAIL] Killing all remaining processes...failed.
rpcbind: rpcbind terminating on signal. Restart with "rpcbind -w"
[ ok ] Stopping rpcbind daemon....
[ ok ] Stopping NFS common utilities: idmapd statd.
[....] Deconfiguring network interfaces...Removed stale PID file
Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

can't create /var/lib/dhcp/dhclient.eth0.leases: Read-only file system
Listening on LPF/eth0/6e:ba:3f:55:7e:1f
Sending on   LPF/eth0/6e:ba:3f:55:7e:1f
Sending on   Socket/fallback
can't create /var/lib/dhcp/dhclient.eth0.leases: Read-only file system
Can't release lease: lease write failed.
done.
[info] Saving the system clock.
hwclock: Could not open file with the clock adjustment parameters in it (/etc/adjtime) for writing: Read-only file system
hwclock: Drift adjustment parameters not updated.
[info] Hardware Clock updated to Thu Jul 13 14:04:02 PDT 2017.
[ ok ] Deactivating swap...done.
[  781.224622] EXT4-fs (sda1): re-mounted. Opts: (null)
[info] Will now restart.
[  783.252803] reboot: Restarting system

BootROM - 1.73
Booting from NAND flash

General initialization - Version: 1.0.0
Detected Device ID 6820
High speed PHY - Version: 2.0

Load WD GrandTeton Serdes Config:
board SerDes lanes topology details:
 | Lane #  | Speed |  Type       |
 --------------------------------
 |   0    |  06   |  SATA0	|
 |   1    |  05   |  PCIe0	|
 |   2    |  06   |  SATA1	|
 |   3    |  05   |  USB3 HOST1	|
 |   4    |  05   |  USB3 HOST0	|
 |   5    |  00   |  SGMII2	|
 --------------------------------
PCIe, Idx 0: detected no link
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver TIP-1.26.0
mvSysEnvGetTopologyUpdateInfo: TWSI Read failed
DDR3 Training Sequence - Switching XBAR Window to FastPath Window 
DDR3 Training Sequence - Ended Successfully
BootROM: Image checksum verification PASSED

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_ 
        | | | |___|  _ \ / _ \ / _ \| __| 
        | |_| |___| |_) | (_) | (_) | |_ 
         \___/    |____/ \___/ \___/ \__| 
 ** LOADER **


U-Boot 2013.01_v1.02 (Jun 25 2015 - 17:06:32) Marvell version: 2014_T3.0p6

mvBoardIdIndexGet(boardId) = 1
Board: GrandTeton DB6820
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1332 [MHz]
       L2     @ 666 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 666 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  512 MiB

Map:   Code:			0x1fece000:0x1ff95bd4
       BSS:			0x1ffef254
       Stack:			0x1f9cdf20
       Heap:			0x1f9ce000:0x1fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:	0x00000000:0x00080000 (NAND)

NAND:  mvNfcInit

mvNfcReset()
ret = 0x0
read Nand Flash ID
ID: daad ,nand reg = 0x.8ff8166
256 MiB
MMC:   mv_sdh: 0
PCI-e 0: Detected No Link.
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00000f500000-0x00000ff00000 : "mtd=7"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=7"
UBI: MTD device size:            10 MiB
UBI: number of good PEBs:        80
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             32
UBI: total number of reserved PEBs: 48
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 3/0
UBIFS: mounted UBI device 0, volume 0, name "reserve2"
UBIFS: mounted read-only
UBIFS: file system size:   4063232 bytes (3968 KiB, 3 MiB, 32 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  200807 bytes (196 KiB)
Loading file '/mac_addr' to addr 0x02000000 with size 18 (0x00000012)...
Done
Set lan 2 WakeOnLan ok
Enable HD1
Enable HD2
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |   In-Band    |
| egiga1 |   RGMII   |   In-Band    |
| egiga2 |   SGMII   |     0x00     |
egiga0, egiga1, egiga2 [PRIME]
Hit any key to stop autoboot:  0 
Marvell>> printenv
CASset=max
MALLOC_len=5
MPmode=SMP
autoload=no
baudrate=115200
boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr
bootargs=root=/dev/ram console=ttyS0,115200
bootargs_dflt=$console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel
bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000
bootcmd_auto=stage_boot $boot_order
bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot
bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 0x2000000; 
bootdelay=1
cacheShare=no
console=console=ttyS0,115200
device_partition=0:1
disaMvPnp=no
eeeEnable=no
enaClockGating=no
enaCpuStream=no
enaFPU=yes
enaMonExt=no
enaWrAllo=no
eth1addr=00:50:43:69:12:11
eth1mtu=1500
eth2addr=00:50:43:69:14:11
eth2mtu=1500
eth3addr=00:50:43:12:14:69
eth3mtu=1500
ethact=egiga2
ethaddr=00:50:43:14:12:11
ethmtu=1500
ethprime=egiga2
fdt_addr=2040000
fdt_skip_update=no
fdtaddr=0x1000000
fdtfile=armada-38x-modular.dtb
filesize=12
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=192.168.11.110
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16@60
lcd_panel=0
loadaddr=0x02000000
loads_echo=0
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:11:14:69
nandEcc=nfcConfig=4bitecc
netbsd_en=no
netmask=255.255.255.0
netretry=no
partition=nand0,0
pcieTune=no
pexMode=RC
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rootpath=/srv/nfs/
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
serverip=192.168.11.114
standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
usbActive=0
usbType=3
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81

Environment size: 3209/524284 bytes
Marvell>> run bootcmd_usb
## Error: "bootcmd_usb" not defined
Marvell>>

after reboot, printenv but no bootcmd_usb
mcmg2
Re: My Cloud Mirror Gen2
July 13, 2017 04:42PM
root@debian:~# apt-get install -f
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. 
root@debian:~# dpkg --configure -a
dpkg: error: unable to access dpkg status area: Read-only file system

need to modify dts? last time was ok to run 'dpkg --configure -a'
Re: My Cloud Mirror Gen2
July 13, 2017 05:03PM
mcmg2,

Shutdown. Take the USB rootfs to another Linux system and run check disk. Assuming it is mounted at /media/sdb1.

umount /media/sdb1
e2fsck /dev/sdb1
And say yes to each question to fix error.

Take back to the MG2 and kwboot as before. Please post serial console log here.

If you still see file system errors then recreate the USB rootfs.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
mcmg2
Re: My Cloud Mirror Gen2
July 13, 2017 05:16PM
mint@mint ~/kwboot $ sudo ./kwboot -f -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-GrandTeton_2014T3_PQ-nand-uart.bin -s 0 -q 1
Sending boot message. Please reboot the target...|
Sending boot image...
  0 % [+++...................................................................]
  0 % [......................................................................]
  1 % [......................................................................]
  2 % [......................................................................]
  3 % [......................................................................]
  4 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  7 % [......................................................................]
  8 % [......................................................................]
  9 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 12 % [......................................................................]
 13 % [......................................................................]
 14 % [......................................................................]
 14 % [......................................................................]
 15 % [......................................................................]
 16 % [......................................................................]
 17 % [......................................................................]
 18 % [......................................................................]
 19 % [......................................................................]
 20 % [......................................................................]
 21 % [......................................................................]
 22 % [......................................................................]
 23 % [......................................................................]
 24 % [......................................................................]
 25 % [......................................................................]
 26 % [......................................................................]
 27 % [......................................................................]
 28 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 30 % [......................................................................]
 31 % [......................................................................]
 32 % [......................................................................]
 33 % [......................................................................]
 34 % [......................................................................]
 35 % [......................................................................]
 36 % [......................................................................]
 37 % [......................................................................]
 38 % [......................................................................]
 39 % [......................................................................]
 40 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 43 % [......................................................................]
 44 % [......................................................................]
 45 % [......................................................................]
 45 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 48 % [......................................................................]
 49 % [......................................................................]
 50 % [......................................................................]
 51 % [......................................................................]
 52 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 55 % [......................................................................]
 56 % [......................................................................]
 57 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 60 % [......................................................................]
 60 % [......................................................................]
 61 % [......................................................................]
 62 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 65 % [......................................................................]
 66 % [......................................................................]
 67 % [......................................................................]
 68 % [......................................................................]
 69 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 72 % [......................................................................]
 73 % [......................................................................]
 74 % [......................................................................]
 75 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 77 % [......................................................................]
 78 % [......................................................................]
 79 % [......................................................................]
 80 % [......................................................................]
 81 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 84 % [......................................................................]
 85 % [......................................................................]
 86 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 89 % [......................................................................]
 90 % [......................................................................]
 91 % [......................................................................]
 91 % [......................................................................]
 92 % [......................................................................]
 93 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 96 % [......................................................................]
 97 % [......................................................................]
 98 % [......................................................................]
 99 % [...........................................]
[Type Ctrl-\ + c to quit]

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_ 
        | | | |___|  _ \ / _ \ / _ \| __| 
        | |_| |___| |_) | (_) | (_) | |_ 
         \___/    |____/ \___/ \___/ \__| 
 ** LOADER **


U-Boot 2013.01_v1.04 (Jul 05 2017 - 16:59:05) Marvell version: 2014_T3.0p6

mvBoardIdIndexGet(boardId) = 1
Board: GrandTeton DB6820
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1332 [MHz]
       L2     @ 666 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 666 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  1 GiB

Map:   Code:			0x3fece000:0x3ff95f50
       BSS:			0x3ffef254
       Stack:			0x3f9cdf20
       Heap:			0x3f9ce000:0x3fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:	0x00000000:0x00080000 (NAND)

NAND:  ID: daad ,256 MiB
MMC:   mv_sdh: 0
PCI-e 0: Detected No Link.
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00000f500000-0x00000ff00000 : "mtd=7"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=7"
UBI: MTD device size:            10 MiB
UBI: number of good PEBs:        80
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             32
UBI: total number of reserved PEBs: 48
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 3/0
UBIFS: mounted UBI device 0, volume 0, name "reserve2"
UBIFS: mounted read-only
UBIFS: file system size:   4063232 bytes (3968 KiB, 3 MiB, 32 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  200807 bytes (196 KiB)
Loading file '/mac_addr' to addr 0x02000000 with size 18 (0x00000012)...
Done
Set lan 2 WakeOnLan ok
Enable HD1
Enable HD2
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |   In-Band    |
| egiga1 |   RGMII   |   In-Band    |
| egiga2 |   SGMII   |     0x00     |
egiga0, egiga1, egiga2 [PRIME]
Hit any key to stop autoboot:  0 
Marvell>> setenv bootdev 'usb' 
Marvell>> setenv device '0:1' 
Marvell>> setenv load_image_addr '0x02000000' 
Marvell>> setenv load_initrd_addr '0x2900000'
Marvell>> setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage' 
Marvell>> setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd' 
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mem=512M earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)'
Marvell>> setenv bootcmd_usb 'echo Booting from USB ...; usb start; setenv fdt_skip_update yes; usb start; run usb_set_bootargs; if run load_image; then if run load_initrd; then bootm $load_image_addr $load_initrd_addr; else bootm $load_image_addr; fi; fi' 
Marvell>> run bootcmd_usb
Booting from USB ...
(Re)start USB...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
(Re)start USB...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
loading Image ...
3920526 bytes read in 421 ms (8.9 MiB/s)
loading uInitrd ...
6210503 bytes read in 492 ms (12 MiB/s)
## Booting image at 02000000 ...
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-4.9.0-mvebu-tld-12
   Created:      2017-07-09   9:45:53 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3920462 Bytes = 3.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02900000 ...
   Image Name:   initramfs-4.9.0-mvebu-tld-12
   Created:      2017-02-03  23:57:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6210439 Bytes = 5.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Western Digital MyCloud EX2 Ultra
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] ------------[ cut here ]------------
[    0.000000] WARNING: CPU: 0 PID: 0 at kernel/printk/printk.c:2612 register_console+0x3c/0x398
[    0.000000] console 'earlycon0' already registered
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.9.0-mvebu-tld-12 #2
[    0.000000] Hardware name: Marvell Armada 380/385 (Device Tree)
[    0.000000] [<c01160bc>] (unwind_backtrace) from [<c0110bb4>] (show_stack+0x10/0x14)
[    0.000000] [<c0110bb4>] (show_stack) from [<c04ba5a4>] (dump_stack+0x70/0x8c)
[    0.000000] [<c04ba5a4>] (dump_stack) from [<c0123ce0>] (__warn+0xc8/0xfc)
[    0.000000] [<c0123ce0>] (__warn) from [<c0123d48>] (warn_slowpath_fmt+0x34/0x44)
[    0.000000] [<c0123d48>] (warn_slowpath_fmt) from [<c0171b1c>] (register_console+0x3c/0x398)
[    0.000000] [<c0171b1c>] (register_console) from [<c0c04dc0>] (setup_early_printk+0x14/0x24)
[    0.000000] [<c0c04dc0>] (setup_early_printk) from [<c0c00478>] (do_early_param+0x6c/0xbc)
[    0.000000] [<c0c00478>] (do_early_param) from [<c013f774>] (parse_args+0x2dc/0x40c)
[    0.000000] [<c013f774>] (parse_args) from [<c0c0088c>] (parse_early_options+0x2c/0x3c)
[    0.000000] [<c0c0088c>] (parse_early_options) from [<c0c008c8>] (parse_early_param+0x2c/0x44)
[    0.000000] [<c0c008c8>] (parse_early_param) from [<c0c03350>] (setup_arch+0x4fc/0xa24)
[    0.000000] [<c0c03350>] (setup_arch) from [<c0c00934>] (start_kernel+0x50/0x390)
[    0.000000] [<c0c00934>] (start_kernel) from [<0000807c>] (0x807c)
[    0.000000] ---[ end trace 0000000000000000 ]---
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 15 pages/cpu @dfbcc000 s30796 r8192 d22452 u61440
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 libata.force=3.0G root=LABEL=rootfs earlyprintk console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mem=512M earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 500128K/524288K available (8192K kernel code, 690K rwdata, 2052K rodata, 1024K init, 386K bss, 24160K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
[    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
[    0.000000]       .data : 0xc0d00000 - 0xc0daca28   ( 691 kB)
[    0.000000]        .bss : 0xc0daca28 - 0xc0e0d4f8   ( 387 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000004] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.007883] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019111] Console: colour dummy device 80x30
[    0.023625] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.034033] pid_max: default: 32768 minimum: 301
[    0.038801] Security Framework initialized
[    0.043002] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.049676] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.057248] CPU: Testing write buffer coherency: ok
[    0.062340] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.068082] Setting up static identity map for 0x100000 - 0x100058
[    0.074512] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.079796] mvebu-pmsu: Initializing Power Management Service Unit
[    0.283604] Booting CPU 1
[    0.286475] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.286532] Brought up 2 CPUs
[    0.295293] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.301613] CPU: All CPU(s) started in SVC mode.
[    0.306846] devtmpfs: initialized
[    0.312807] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.320794] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.330733] prandom: seed boundary self test passed
[    0.337695] prandom: 100 self tests passed
[    0.341856] pinctrl core: initialized pinctrl subsystem
[    0.347881] NET: Registered protocol family 16
[    0.353077] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.383455] cpuidle: using governor ladder
[    0.413422] cpuidle: using governor menu
[    0.417564] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.425638] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.483823] vgaarb: loaded
[    0.486865] SCSI subsystem initialized
[    0.491163] usbcore: registered new interface driver usbfs
[    0.496816] usbcore: registered new interface driver hub
[    0.502251] usbcore: registered new device driver usb
[    0.507605] media: Linux media interface: v0.10
[    0.512250] Linux video capture interface: v2.00
[    0.517950] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.554087] VFS: Disk quotas dquot_6.6.0
[    0.558160] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.573459] NET: Registered protocol family 2
[    0.578334] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.585456] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.592021] TCP: Hash tables configured (established 4096 bind 4096)
[    0.598472] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.604372] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.610829] NET: Registered protocol family 1
[    0.615510] RPC: Registered named UNIX socket transport module.
[    0.621507] RPC: Registered udp transport module.
[    0.626272] RPC: Registered tcp transport module.
[    0.631065] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.637687] Unpacking initramfs...
[    0.882867] Freeing initrd memory: 6068K (c2900000 - c2eed000)
[    0.889038] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.895738] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.905057] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.911308] audit: initializing netlink subsys (disabled)
[    0.916789] audit: type=2000 audit(0.900:1): initialized
[    0.922644] Initialise system trusted keyrings
[    0.927308] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.933901] zbud: loaded
[    0.937060] NFS: Registering the id_resolver key type
[    0.942200] Key type id_resolver registered
[    0.946448] Key type id_legacy registered
[    0.950542] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.957295] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.963867] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.971313] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.977932] orangefs_init: module version upstream loaded
[    0.985578] Key type asymmetric registered
[    0.989757] Asymmetric key parser 'x509' registered
[    0.994786] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    1.002246] io scheduler noop registered
[    1.006234] io scheduler deadline registered
[    1.010592] io scheduler cfq registered (default)
[    1.016286] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.024967] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    1.031917] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.038250] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.045178] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.051178] PCI: bus0: Fast back to back transfers disabled
[    1.056815] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.064888] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.073075] PCI: bus1: Fast back to back transfers enabled
[    1.078760] PCI: bus2: Fast back to back transfers enabled
[    1.084350] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.089394] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.094914] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.158442] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.166067] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.228422] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.286637] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.294523] console [ttyS0] disabled
[    1.318277] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 12500000) is a 16550A
[    1.327309] console [ttyS0] enabled
[    1.327309] console [ttyS0] enabled
[    1.334410] bootconsole [earlycon0] disabled
[    1.334410] bootconsole [earlycon0] disabled
[    1.363796] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 12500000) is a 16550A
[    1.373823] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.382933] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.392617] scsi host0: ahci-mvebu
[    1.396337] scsi host1: ahci-mvebu
[    1.400003] ata1: FORCE: PHY spd limit set to 3.0Gbps
[    1.405078] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.413040] ata2: FORCE: PHY spd limit set to 3.0Gbps
[    1.418123] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.426613] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.434520] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    1.440915] nand: Hynix H27U2G8F2CTR-BC
[    1.444769] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.452383] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.459585] Bad block table found at page 131008, version 0x01
[    1.465784] Bad block table found at page 130944, version 0x01
[    1.471893] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.478026] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.483450] 0x000000000000-0x000000500000 : "U-Boot"
[    1.489277] 0x000000500000-0x000000a00000 : "uImage"
[    1.505000] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    1.520891] 0x000000f00000-0x00000c800000 : "image.cfs"
[    1.537601] 0x00000c800000-0x00000d700000 : "rescue fw"
[    1.553613] 0x00000d700000-0x00000eb00000 : "config"
[    1.569394] 0x00000eb00000-0x00000f500000 : "reserve1"
[    1.585319] 0x00000f500000-0x00000ff00000 : "reserve2"
[    1.601870] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.608677] libphy: Fixed MDIO Bus: probed
[    1.613102] libphy: mdio_driver_register: mv88e6085
[    1.618198] libphy: orion_mdio_bus: probed
[    1.627236] mvneta f1034000.ethernet eth0: Using random mac address de:cb:34:53:02:a2
[    1.635315] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.641898] ehci-pci: EHCI PCI platform driver
[    1.646406] ehci-orion: EHCI orion driver
[    1.650755] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.656105] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 1
[    1.663717] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.672321] xhci-hcd f10f0000.usb3: irq 45, io mem 0xf10f0000
[    1.678216] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.685035] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.692304] usb usb1: Product: xHCI Host Controller
[    1.697203] usb usb1: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.703681] usb usb1: SerialNumber: f10f0000.usb3
[    1.708799] hub 1-0:1.0: USB hub found
[    1.712585] hub 1-0:1.0: 1 port detected
[    1.716717] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.722075] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.729658] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.737850] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    1.744681] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.749279] ata1: SATA link down (SStatus 0 SControl 320)
[    1.757378] usb usb2: Product: xHCI Host Controller
[    1.759196] ata2: SATA link down (SStatus 0 SControl 320)
[    1.767705] usb usb2: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.774181] usb usb2: SerialNumber: f10f0000.usb3
[    1.779271] hub 2-0:1.0: USB hub found
[    1.783054] hub 2-0:1.0: 1 port detected
[    1.787272] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.792635] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    1.800228] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.808845] xhci-hcd f10f8000.usb3: irq 46, io mem 0xf10f8000
[    1.814705] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    1.821583] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.828847] usb usb3: Product: xHCI Host Controller
[    1.833746] usb usb3: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.840224] usb usb3: SerialNumber: f10f8000.usb3
[    1.845281] hub 3-0:1.0: USB hub found
[    1.849077] hub 3-0:1.0: 1 port detected
[    1.853213] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.858569] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    1.866136] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.874336] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[    1.881166] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.888498] usb usb4: Product: xHCI Host Controller
[    1.893398] usb usb4: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.899877] usb usb4: SerialNumber: f10f8000.usb3
[    1.904938] hub 4-0:1.0: USB hub found
[    1.908733] hub 4-0:1.0: 1 port detected
[    1.912964] usbcore: registered new interface driver usblp
[    1.918562] usbcore: registered new interface driver usb-storage
[    1.924783] mousedev: PS/2 mouse device common for all mice
[    1.930990] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.938809] i2c /dev entries driver
[    1.954275] orion_wdt: Initial timeout 171 sec
[    1.960721] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.968108] hidraw: raw HID events driver (C) Jiri Kosina
[    1.973862] usbcore: registered new interface driver usbhid
[    1.979473] usbhid: USB HID core driver
[    1.983488] drop_monitor: Initializing network drop monitor service
[    1.989837] Netfilter messages via NETLINK v0.30.
[    1.994574] ip_set: protocol 6
[    1.997838] NET: Registered protocol family 10
[    2.002951] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.009924] NET: Registered protocol family 17
[    2.014550] 8021q: 802.1Q VLAN Support v1.8
[    2.018881] Key type dns_resolver registered
[    2.023328] ThumbEE CPU extension supported.
[    2.027620] Registering SWP/SWPB emulation handler
[    2.032970] registered taskstats version 1
[    2.037086] Loading compiled-in X.509 certificates
[    2.041946] zswap: loaded using pool lzo/zbud
[    2.092741] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    2.103230] Key type big_key registered
[    2.110796] Key type encrypted registered
[    2.115915] armada38x-rtc f10a3800.rtc: setting system clock to 2017-07-13 22:12:32 UTC (1499983952)
[    2.126274] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000)
Loading, please wait...
[    2.169825] systemd-udevd[1315]: starting version 215
[    2.175903] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.270344] usb 1-1: New USB device found, idVendor=090c, idProduct=1000
[    2.277083] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.287986] usb 1-1: Product: POLLEX 8G
[    2.291845] usb 1-1: Manufacturer: SRT
[    2.295611] usb 1-1: SerialNumber: 033113111111135234000373
[    2.301813] usb-storage 1-1:1.0: USB Mass Storage device detected
[    2.318238] scsi host2: usb-storage 1-1:1.0
[    2.508548] usbcore: registered new interface driver uas
[    3.368705] scsi 2:0:0:0: Direct-Access     SRT      POLLEX 8G        1100 PQ: 0 ANSI: 4
[    3.379576] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    3.386641] sd 2:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
[    3.394929] sd 2:0:0:0: [sda] Write Protect is off
[    3.400442] sd 2:0:0:0: [sda] No Caching mode page found
[    3.405779] sd 2:0:0:0: [sda] Assuming drive cache: write through
[    3.414974]  sda: sda1
[    3.423051] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    3.464661] random: fast init done
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
modprobe: module ext3 not found in modules.dep
Begin: Will now check root file system ... fsck from util-linux 2.25.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   17.643363] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   17.660920] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd[   18.565846] systemd-udevd[1520]: starting version 215
. ok 
[ ok ] Synthesizing the initial hotplug events...done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Activating swap...done.
[   19.451261] EXT4-fs (sda1): re-mounted. Opts: (null)
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.25.2
done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[   20.638700] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/de:cb:34:53:02:a2
Sending on   LPF/eth0/de:cb:34:53:02:a2
Sending on   Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
[   24.808418] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   24.816310] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPNAK from 192.168.2.1
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.2.1
DHCPACK from 192.168.2.1
bound to 192.168.2.64 -- renewal in 32704 seconds.
done.
[ ok ] Starting rpcbind daemon....
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
2477 (syslogd)
. ok 
[   31.243233] random: crng init done
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting system message bus: dbus.
Starting Ajenti:
13.07.2017 15:13 INFO  Using config file /etc/ajenti/config.json
[ ok ] started.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
2478 (klogd)
. ok 
Starting supervisor: supervisord.
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Starting MySQL database server: mysqld . . . . . . . . . . . ..
[info] Checking for tables which need an upgrade, are corrupt or were 
not closed cleanly..

Debian GNU/Linux 8 debian ttyS0

debian login:

now I can save /etc/fw_env.config

root@debian:~# fw_printenv
CASset=max
MALLOC_len=5
MPmode=SMP
autoload=no
baudrate=115200
boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
bootargs_dflt=$console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel
bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000
bootcmd_auto=stage_boot $boot_order
bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot
bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 0x2000000; 
bootcmd_usb=echo Booting from USB ...; usb start; setenv fdt_skip_update yes; usb start; run usb_set_bootargs; if run load_image; then if run load_initrd; then bootm $load_image_addr $load_initrd_addr; else bootm $load_image_addr; fi; fi
bootdelay=1
bootdev=usb
cacheShare=no
console=console=ttyS0,115200
device=0:1
device_partition=0:1
disaMvPnp=no
eeeEnable=no
enaClockGating=no
enaCpuStream=no
enaFPU=yes
enaMonExt=no
enaWrAllo=no
eth1addr=00:50:43:20:21:3e
eth1mtu=1500
eth2addr=00:50:43:20:f2:3e
eth2mtu=1500
eth3addr=00:50:43:21:f2:20
eth3mtu=1500
ethact=egiga2
ethaddr=00:50:43:f2:21:3e
ethmtu=1500
ethprime=egiga2
fdt_addr=2040000
fdt_skip_update=yes
fdtaddr=0x1000000
fdtfile=armada-38x-modular.dtb
filesize=12
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=192.168.11.110
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16@60
lcd_panel=0
load_image=echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage
load_image_addr=0x02000000
load_initrd=echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x2900000
loadaddr=0x02000000
loads_echo=0
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:3e:f2:20
nandEcc=nfcConfig=4bitecc
netbsd_en=no
netmask=255.255.255.0
netretry=no
partition=nand0,0
pcieTune=no
pexMode=RC
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rootpath=/srv/nfs/
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
serverip=192.168.11.114
standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
usbActive=0
usbType=3
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mem=512M earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81
root@debian:~# 

Re: My Cloud Mirror Gen2
July 13, 2017 05:26PM
Yes so as bodhi said, the filesystem was corrupted because the kernel thought it had 1GB of RAM when only 512MB existed.

So, you saved the env in modified u-boot and can read them back in Debian. Once I fix the memory size issue I will provide u-boot to write to NAND and then you don't need to kwboot anymore.

Until then you should hopefully still be able to use Debian normally since we limited the kernel to 512MB.



Edited 1 time(s). Last edit at 07/13/2017 05:27PM by hmartin.
mcmg2
Re: My Cloud Mirror Gen2
July 14, 2017 05:03AM
From MM page, do I need to patch kernel AND use mcm-daemon to turn it off?

MM

reboot works with default debian kernel but after shutdown or power off, there is power and fan keep spinning.

is it possible to build mcm-daemon by mint live cd?

I keep trying to compile by make but...
Re: My Cloud Mirror Gen2
July 14, 2017 07:11AM
Quote
mcmg2
From MM page, do I need to patch kernel AND use mcm-daemon to turn it off?

Yes, you will need to patch the kernel for power off to work as expected: https://github.com/c-MM/mcm-daemon/blob/master/kernel/4.8.12/poweroff-restart.diff

There is a microcontroller (MCU) inside Western Digital NAS products which controls the power to the device. The kernel will correctly shut down the Marvell Armada, but the device will continue to look powered because overall device power is controlled by an external MCU.

Quote
mcmg2
is it possible to build mcm-daemon by mint live cd?

Probably not. You need to cross compile it for ARM, and this means installing a lot of additional development packages.

I would suggest instead installing build-essential within Debian on the MCM Gen 2 and compiling it on the device itself.



Edited 1 time(s). Last edit at 07/14/2017 07:13AM by hmartin.
Re: My Cloud Mirror Gen2
July 16, 2017 05:39PM
hmartin,

Could you tell me (or survey) how any WD boxes have MCU shutdown? I'm thinking if many WD boxes are using this then I should patch MM's poweroff driver into the kernel.

To make it simpler, I can also do the Optware approach (copy all shared libraries and the binary in stock to /opt and run it in Debian to perform shutdown).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: My Cloud Mirror Gen2
July 17, 2017 01:16AM
Quote
bodhi
Could you tell me (or survey) how any WD boxes have MCU shutdown?

I don't know, since I only own the EX2100. Thus far I have read it applies to the MCM Gen 2, EX2 Ultra, EX2100 and EX4100.

I would guess any Western Digital NAS product that supports "Wake On LAN" will have this MCU, since that is how they're implementing the functionality.

Here's my understanding of the feature:
  1. Main CPU configures the NIC to interrupt on WoL packet
  2. Linux shuts down and powers off the main CPU
  3. MCU powers down everything but power to the NIC
  4. NIC receives WoL packet
  5. MCU receives interrupt from NIC and begins start-up of Marvell CPU again

This could be incorrect, but I'm fairly certain of the major steps.

On an unrelated note, I'm looking at the u-boot source for the MCM Gen 2 and I cannot find the RAM size defined anywhere obvious. This u-boot structure is not like mainline u-boot and I'm having trouble finding the RAM size defined.

Do you have any idea where u-boot was modified to define the RAM size?

Sadly it is not a variable in xbuild.sh or build.pl
Re: My Cloud Mirror Gen2
July 17, 2017 04:00AM
hmartin,

> On an unrelated note, I'm looking at the u-boot so
> urce for the MCM Gen 2 and I cannot find the RAM s
> ize defined anywhere obvious. This u-boot structur
> e is not like mainline u-boot and I'm having troub
> le finding the RAM size defined.
>
> Do you have any idea where u-boot was modified to
> define the RAM size?
>

Thi stock u-boot is a mix of mainline code and customed code structure.

The bin_hdr is where memory size, DDR training, ... should be specified.

When you compile u-boot with xbuild.sh, these files are created:
.
./tools/marvell/bin_hdr/bin_hdr.uart.bin
./tools/marvell/bin_hdr/bin_hdr.bin

So somewhere under /tools/marvell/bin_hdr.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 07/17/2017 04:01AM by bodhi.
Re: My Cloud Mirror Gen2
July 17, 2017 01:44PM
Quote
bodhi
So somewhere under /tools/marvell/bin_hdr.

You're right, it seems to be in tools/marvell/bin_hdr/inc/common/ddr3_hws_hw_training_def.h

This is mentioned by Stefan Roese on the u-boot mailing list when he added support for AXP:
https://lists.denx.de/pipermail/u-boot/2014-October/193274.html

My guesstimates aren't that good, since the code is reading a value from a register and using the returned value to compute the DRAM size.

@mmg2 are you able to test this u-boot build? My expectation is it will claim there's 2GB of RAM... if that's indeed the case, then I know what I need to modify to get 512MB.
Attachments:
open | download - u-boot-a38x-GrandTeton_2014T3_PQ-nand-uart.2048.gz (458.2 KB)
mcmg2
Re: My Cloud Mirror Gen2
July 17, 2017 06:14PM
mint@mint ~/kwboot $ sudo ./kwboot -f -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-GrandTeton_2014T3_PQ-nand-uart.bin -s 0 -q 1
Sending boot message. Please reboot the target...|
Sending boot image...
  0 % [+.....................................................................]
  0 % [......................................................................]
  1 % [......................................................................]
  2 % [......................................................................]
  3 % [......................................................................]
  4 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  7 % [......................................................................]
  8 % [......................................................................]
  9 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 12 % [......................................................................]
 13 % [......................................................................]
 14 % [......................................................................]
 15 % [......................................................................]
 15 % [......................................................................]
 16 % [......................................................................]
 17 % [......................................................................]
 18 % [......................................................................]
 19 % [......................................................................]
 20 % [......................................................................]
 21 % [......................................................................]
 22 % [......................................................................]
 23 % [......................................................................]
 24 % [......................................................................]
 25 % [......................................................................]
 26 % [......................................................................]
 27 % [......................................................................]
 28 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 30 % [......................................................................]
 31 % [......................................................................]
 32 % [......................................................................]
 33 % [......................................................................]
 34 % [......................................................................]
 35 % [......................................................................]
 36 % [......................................................................]
 37 % [......................................................................]
 38 % [......................................................................]
 39 % [......................................................................]
 40 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 43 % [......................................................................]
 44 % [......................................................................]
 45 % [......................................................................]
 45 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 48 % [......................................................................]
 49 % [......................................................................]
 50 % [......................................................................]
 51 % [......................................................................]
 52 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 55 % [......................................................................]
 56 % [......................................................................]
 57 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 60 % [......................................................................]
 60 % [......................................................................]
 61 % [......................................................................]
 62 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 65 % [......................................................................]
 66 % [......................................................................]
 67 % [......................................................................]
 68 % [......................................................................]
 69 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 72 % [......................................................................]
 73 % [......................................................................]
 74 % [......................................................................]
 75 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 77 % [......................................................................]
 78 % [......................................................................]
 79 % [......................................................................]
 80 % [......................................................................]
 81 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 84 % [......................................................................]
 85 % [......................................................................]
 86 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 89 % [......................................................................]
 90 % [......................................................................]
 91 % [......................................................................]
 91 % [......................................................................]
 92 % [......................................................................]
 93 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 96 % [......................................................................]
 97 % [......................................................................]
 98 % [......................................................................]
 99 % [..........................................]
[Type Ctrl-\ + c to quit]

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_ 
        | | | |___|  _ \ / _ \ / _ \| __| 
        | |_| |___| |_) | (_) | (_) | |_ 
         \___/    |____/ \___/ \___/ \__| 
 ** LOADER **


U-Boot 2013.01-g7c1da33-dirty_v1.04 (Jul 17 2017 - 18:43:06) Marvell version: 2014_T3.0p6

mvBoardIdIndexGet(boardId) = 1
Board: GrandTeton DB6820
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1332 [MHz]
       L2     @ 666 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 666 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  512 MiB

Map:   Code:			0x1fece000:0x1ff96010
       BSS:			0x1ffef654
       Stack:			0x1f9cdf20
       Heap:			0x1f9ce000:0x1fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:	0x00000000:0x00080000 (NAND)

NAND:  ID: daad ,256 MiB
MMC:   mv_sdh: 0
PCI-e 0: Detected No Link.
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00000f500000-0x00000ff00000 : "mtd=7"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=7"
UBI: MTD device size:            10 MiB
UBI: number of good PEBs:        80
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             32
UBI: total number of reserved PEBs: 48
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 3/0
UBIFS: mounted UBI device 0, volume 0, name "reserve2"
UBIFS: mounted read-only
UBIFS: file system size:   4063232 bytes (3968 KiB, 3 MiB, 32 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  200807 bytes (196 KiB)
Loading file '/mac_addr' to addr 0x02000000 with size 18 (0x00000012)...
Done
Set lan 2 WakeOnLan ok
Enable HD1
Enable HD2
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |   In-Band    |
| egiga1 |   RGMII   |   In-Band    |
| egiga2 |   SGMII   |     0x00     |
egiga0, egiga1, egiga2 [PRIME]
Hit any key to stop autoboot:  0 
Marvell>> setenv bootdev 'usb'
Marvell>> setenv device '0:1'
Marvell>> setenv load_image_addr '0x02000000' 
Marvell>> setenv load_initrd_addr '0x2900000'
Marvell>> setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage'
Marvell>> setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)'
Marvell>> setenv bootcmd_usb 'echo Booting from USB ...; usb start; setenv fdt_skip_update yes; usb start; run usb_set_bootargs; if run load_image; then if run load_initrd; then bootm $load_image_addr $load_initrd_addr; else bootm $load_image_addr; fi; fi'
Marvell>> run bootcmd_usb
Booting from USB ...
(Re)start USB...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
(Re)start USB...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
loading Image ...
3920526 bytes read in 423 ms (8.8 MiB/s)
loading uInitrd ...
6210503 bytes read in 492 ms (12 MiB/s)
## Booting image at 02000000 ...
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-4.9.0-mvebu-tld-12
   Created:      2017-07-09   9:45:53 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3920462 Bytes = 3.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02900000 ...
   Image Name:   initramfs-4.9.0-mvebu-tld-12
   Created:      2017-02-03  23:57:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6210439 Bytes = 5.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Western Digital MyCloud EX2 Ultra
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] ------------[ cut here ]------------
[    0.000000] WARNING: CPU: 0 PID: 0 at kernel/printk/printk.c:2612 register_console+0x3c/0x398
[    0.000000] console 'earlycon0' already registered
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.9.0-mvebu-tld-12 #2
[    0.000000] Hardware name: Marvell Armada 380/385 (Device Tree)
[    0.000000] [<c01160bc>] (unwind_backtrace) from [<c0110bb4>] (show_stack+0x10/0x14)
[    0.000000] [<c0110bb4>] (show_stack) from [<c04ba5a4>] (dump_stack+0x70/0x8c)
[    0.000000] [<c04ba5a4>] (dump_stack) from [<c0123ce0>] (__warn+0xc8/0xfc)
[    0.000000] [<c0123ce0>] (__warn) from [<c0123d48>] (warn_slowpath_fmt+0x34/0x44)
[    0.000000] [<c0123d48>] (warn_slowpath_fmt) from [<c0171b1c>] (register_console+0x3c/0x398)
[    0.000000] [<c0171b1c>] (register_console) from [<c0c04dc0>] (setup_early_printk+0x14/0x24)
[    0.000000] [<c0c04dc0>] (setup_early_printk) from [<c0c00478>] (do_early_param+0x6c/0xbc)
[    0.000000] [<c0c00478>] (do_early_param) from [<c013f774>] (parse_args+0x2dc/0x40c)
[    0.000000] [<c013f774>] (parse_args) from [<c0c0088c>] (parse_early_options+0x2c/0x3c)
[    0.000000] [<c0c0088c>] (parse_early_options) from [<c0c008c8>] (parse_early_param+0x2c/0x44)
[    0.000000] [<c0c008c8>] (parse_early_param) from [<c0c03350>] (setup_arch+0x4fc/0xa24)
[    0.000000] [<c0c03350>] (setup_arch) from [<c0c00934>] (start_kernel+0x50/0x390)
[    0.000000] [<c0c00934>] (start_kernel) from [<0000807c>] (0x807c)
[    0.000000] ---[ end trace 0000000000000000 ]---
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 15 pages/cpu @dfbcc000 s30796 r8192 d22452 u61440
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 libata.force=3.0G root=LABEL=rootfs earlyprintk console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 500128K/524288K available (8192K kernel code, 690K rwdata, 2052K rodata, 1024K init, 386K bss, 24160K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
[    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
[    0.000000]       .data : 0xc0d00000 - 0xc0daca28   ( 691 kB)
[    0.000000]        .bss : 0xc0daca28 - 0xc0e0d4f8   ( 387 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000004] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.007883] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019110] Console: colour dummy device 80x30
[    0.023625] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.034032] pid_max: default: 32768 minimum: 301
[    0.038800] Security Framework initialized
[    0.043001] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.049675] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.057251] CPU: Testing write buffer coherency: ok
[    0.062342] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.068085] Setting up static identity map for 0x100000 - 0x100058
[    0.074516] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.079800] mvebu-pmsu: Initializing Power Management Service Unit
[    0.283601] Booting CPU 1
[    0.286472] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.286529] Brought up 2 CPUs
[    0.295290] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.301610] CPU: All CPU(s) started in SVC mode.
[    0.306854] devtmpfs: initialized
[    0.312820] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.320806] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.330743] prandom: seed boundary self test passed
[    0.337705] prandom: 100 self tests passed
[    0.341866] pinctrl core: initialized pinctrl subsystem
[    0.347901] NET: Registered protocol family 16
[    0.353089] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.383452] cpuidle: using governor ladder
[    0.413419] cpuidle: using governor menu
[    0.417552] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.425625] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.483826] vgaarb: loaded
[    0.486865] SCSI subsystem initialized
[    0.491161] usbcore: registered new interface driver usbfs
[    0.496815] usbcore: registered new interface driver hub
[    0.502251] usbcore: registered new device driver usb
[    0.507606] media: Linux media interface: v0.10
[    0.512251] Linux video capture interface: v2.00
[    0.517940] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.554153] VFS: Disk quotas dquot_6.6.0
[    0.558224] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.573549] NET: Registered protocol family 2
[    0.578415] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.585537] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.592098] TCP: Hash tables configured (established 4096 bind 4096)
[    0.598545] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.604445] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.610891] NET: Registered protocol family 1
[    0.615573] RPC: Registered named UNIX socket transport module.
[    0.621566] RPC: Registered udp transport module.
[    0.626331] RPC: Registered tcp transport module.
[    0.631122] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.637745] Unpacking initramfs...
[    0.882364] Freeing initrd memory: 6068K (c2900000 - c2eed000)
[    0.888527] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.895228] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.904549] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.910799] audit: initializing netlink subsys (disabled)
[    0.916280] audit: type=2000 audit(0.900:1): initialized
[    0.922135] Initialise system trusted keyrings
[    0.926789] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.933382] zbud: loaded
[    0.936537] NFS: Registering the id_resolver key type
[    0.941677] Key type id_resolver registered
[    0.945925] Key type id_legacy registered
[    0.950018] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.956771] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.963350] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.970794] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.977410] orangefs_init: module version upstream loaded
[    0.985026] Key type asymmetric registered
[    0.989204] Asymmetric key parser 'x509' registered
[    0.994234] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    1.001692] io scheduler noop registered
[    1.005680] io scheduler deadline registered
[    1.010039] io scheduler cfq registered (default)
[    1.015725] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.024405] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    1.031356] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.037680] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.044617] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.050618] PCI: bus0: Fast back to back transfers disabled
[    1.056256] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.064328] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.072513] PCI: bus1: Fast back to back transfers enabled
[    1.078195] PCI: bus2: Fast back to back transfers enabled
[    1.083785] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.088832] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.094357] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.158430] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.166053] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.228409] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.286886] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.294768] console [ttyS0] disabled
[    1.318511] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 12500000) is a 16550A
[    1.327540] console [ttyS0] enabled
[    1.327540] console [ttyS0] enabled
[    1.334641] bootconsole [earlycon0] disabled
[    1.334641] bootconsole [earlycon0] disabled
[    1.364040] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 12500000) is a 16550A
[    1.374060] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.383171] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.392856] scsi host0: ahci-mvebu
[    1.396597] scsi host1: ahci-mvebu
[    1.400264] ata1: FORCE: PHY spd limit set to 3.0Gbps
[    1.405340] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.413304] ata2: FORCE: PHY spd limit set to 3.0Gbps
[    1.418387] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.426875] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.434792] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    1.441189] nand: Hynix H27U2G8F2CTR-BC
[    1.445044] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.452658] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.459862] Bad block table found at page 131008, version 0x01
[    1.466063] Bad block table found at page 130944, version 0x01
[    1.472172] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.478305] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.483729] 0x000000000000-0x000000500000 : "U-Boot"
[    1.499565] 0x000000500000-0x000000a00000 : "uImage"
[    1.515298] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    1.531185] 0x000000f00000-0x00000c800000 : "image.cfs"
[    1.547910] 0x00000c800000-0x00000d700000 : "rescue fw"
[    1.563920] 0x00000d700000-0x00000eb00000 : "config"
[    1.579716] 0x00000eb00000-0x00000f500000 : "reserve1"
[    1.595643] 0x00000f500000-0x00000ff00000 : "reserve2"
[    1.612186] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.619016] libphy: Fixed MDIO Bus: probed
[    1.623444] libphy: mdio_driver_register: mv88e6085
[    1.628544] libphy: orion_mdio_bus: probed
[    1.637661] mvneta f1034000.ethernet eth0: Using random mac address 9a:66:02:a8:f9:8f
[    1.645738] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.652320] ehci-pci: EHCI PCI platform driver
[    1.656829] ehci-orion: EHCI orion driver
[    1.661176] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.666527] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 1
[    1.674137] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.682744] xhci-hcd f10f0000.usb3: irq 45, io mem 0xf10f0000
[    1.688639] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.695459] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.702724] usb usb1: Product: xHCI Host Controller
[    1.707623] usb usb1: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.714101] usb usb1: SerialNumber: f10f0000.usb3
[    1.719222] hub 1-0:1.0: USB hub found
[    1.723007] hub 1-0:1.0: 1 port detected
[    1.727141] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.732500] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.740087] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.748296] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    1.749244] ata1: SATA link down (SStatus 0 SControl 320)
[    1.759198] ata2: SATA link down (SStatus 0 SControl 320)
[    1.765977] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.773239] usb usb2: Product: xHCI Host Controller
[    1.778146] usb usb2: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.784615] usb usb2: SerialNumber: f10f0000.usb3
[    1.789704] hub 2-0:1.0: USB hub found
[    1.793490] hub 2-0:1.0: 1 port detected
[    1.797701] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.803063] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    1.810662] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.819260] xhci-hcd f10f8000.usb3: irq 46, io mem 0xf10f8000
[    1.825125] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    1.832078] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.839349] usb usb3: Product: xHCI Host Controller
[    1.844248] usb usb3: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.850727] usb usb3: SerialNumber: f10f8000.usb3
[    1.855794] hub 3-0:1.0: USB hub found
[    1.859590] hub 3-0:1.0: 1 port detected
[    1.863728] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.869083] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    1.876649] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.884855] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[    1.891685] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.899018] usb usb4: Product: xHCI Host Controller
[    1.903919] usb usb4: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.910397] usb usb4: SerialNumber: f10f8000.usb3
[    1.915464] hub 4-0:1.0: USB hub found
[    1.919260] hub 4-0:1.0: 1 port detected
[    1.923491] usbcore: registered new interface driver usblp
[    1.929091] usbcore: registered new interface driver usb-storage
[    1.935317] mousedev: PS/2 mouse device common for all mice
[    1.941533] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.949430] i2c /dev entries driver
[    1.964887] orion_wdt: Initial timeout 171 sec
[    1.971349] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.978731] hidraw: raw HID events driver (C) Jiri Kosina
[    1.984482] usbcore: registered new interface driver usbhid
[    1.990095] usbhid: USB HID core driver
[    1.994105] drop_monitor: Initializing network drop monitor service
[    2.000455] Netfilter messages via NETLINK v0.30.
[    2.005194] ip_set: protocol 6
[    2.008528] NET: Registered protocol family 10
[    2.013571] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.020551] NET: Registered protocol family 17
[    2.025179] 8021q: 802.1Q VLAN Support v1.8
[    2.029512] Key type dns_resolver registered
[    2.033950] ThumbEE CPU extension supported.
[    2.038255] Registering SWP/SWPB emulation handler
[    2.043586] registered taskstats version 1
[    2.047704] Loading compiled-in X.509 certificates
[    2.052565] zswap: loaded using pool lzo/zbud
[    2.104316] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    2.114708] Key type big_key registered
[    2.122457] Key type encrypted registered
[    2.127586] armada38x-rtc f10a3800.rtc: setting system clock to 2017-07-17 23:11:49 UTC (1500333109)
[    2.138003] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000)
Loading, please wait...
[    2.180620] systemd-udevd[1315]: starting version 215
[    2.186688] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.280328] usb 1-1: New USB device found, idVendor=090c, idProduct=1000
[    2.287070] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.298066] usb 1-1: Product: POLLEX 8G
[    2.301925] usb 1-1: Manufacturer: SRT
[    2.305691] usb 1-1: SerialNumber: 033113111111135234000373
[    2.311861] usb-storage 1-1:1.0: USB Mass Storage device detected
[    2.330364] scsi host2: usb-storage 1-1:1.0
[    2.475992] usbcore: registered new interface driver uas
[    3.368688] scsi 2:0:0:0: Direct-Access     SRT      POLLEX 8G        1100 PQ: 0 ANSI: 4
[    3.379350] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    3.386327] sd 2:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
[    3.394963] sd 2:0:0:0: [sda] Write Protect is off
[    3.400473] sd 2:0:0:0: [sda] No Caching mode page found
[    3.405810] sd 2:0:0:0: [sda] Assuming drive cache: write through
[    3.415001]  sda: sda1
[    3.423116] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    3.464595] random: fast init done
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
modprobe: module ext3 not found in modules.dep
Begin: Will now check root file system ... fsck from util-linux 2.25.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   17.613350] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   17.630840] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd[   18.541352] systemd-udevd[1520]: starting version 215
. ok 
[ ok ] Synthesizing the initial hotplug events...done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Activating swap...done.
[   19.438009] EXT4-fs (sda1): re-mounted. Opts: (null)
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.25.2
done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[   20.648704] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/9a:66:02:a8:f9:8f
Sending on   LPF/eth0/9a:66:02:a8:f9:8f
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
[   24.808414] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   24.816300] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.2.1
DHCPACK from 192.168.2.1
bound to 192.168.2.64 -- renewal in 37471 seconds.
done.
[ ok ] Starting rpcbind daemon....
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
2462 (syslogd)
. ok 
[   31.021855] random: crng init done
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
2460 (klogd)
. ok 
[ ok ] Starting system message bus: dbus.
Starting supervisor: supervisord.
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Starting Ajenti:
17.07.2017 16:12 INFO  Using config file /etc/ajenti/config.json
[ ok ] started.
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Starting MySQL database server: mysqld . . . . ..
[info] Checking for tables which need an upgrade, are corrupt or were 
not closed cleanly..

Debian GNU/Linux 8 debian ttyS0

debian login:

root@debian:~# free -m
             total       used       free     shared    buffers     cached
Mem:           495        171        324          5         10         67
-/+ buffers/cache:         93        402
Swap:            0          0          0
root@debian:~#

it shows 512MB not 2GB
mcmg2
Re: My Cloud Mirror Gen2
July 17, 2017 06:25PM
root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00500000 00020000 "U-Boot"
mtd1: 00500000 00020000 "uImage"
mtd2: 00500000 00020000 "uRamdisk"
mtd3: 0b900000 00020000 "image.cfs"
mtd4: 00f00000 00020000 "rescue fw"
mtd5: 01400000 00020000 "config"
mtd6: 00a00000 00020000 "reserve1"
mtd7: 00a00000 00020000 "reserve2"
root@debian:~# fw_printenv
CASset=max
MALLOC_len=5
MPmode=SMP
autoload=no
baudrate=115200
boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
bootargs_dflt=$console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel
bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000
bootcmd_auto=stage_boot $boot_order
bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot
bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 0x2000000; 
bootcmd_usb=echo Booting from USB ...; usb start; setenv fdt_skip_update yes; usb start; run usb_set_bootargs; if run load_image; then if run load_initrd; then bootm $load_image_addr $load_initrd_addr; else bootm $load_image_addr; fi; fi
bootdelay=1
bootdev=usb
cacheShare=no
console=console=ttyS0,115200
device=0:1
device_partition=0:1
disaMvPnp=no
eeeEnable=no
enaClockGating=no
enaCpuStream=no
enaFPU=yes
enaMonExt=no
enaWrAllo=no
eth1addr=00:50:43:20:21:3e
eth1mtu=1500
eth2addr=00:50:43:20:f2:3e
eth2mtu=1500
eth3addr=00:50:43:21:f2:20
eth3mtu=1500
ethact=egiga2
ethaddr=00:50:43:f2:21:3e
ethmtu=1500
ethprime=egiga2
fdt_addr=2040000
fdt_skip_update=yes
fdtaddr=0x1000000
fdtfile=armada-38x-modular.dtb
filesize=12
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=192.168.11.110
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16@60
lcd_panel=0
load_image=echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage
load_image_addr=0x02000000
load_initrd=echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x2900000
loadaddr=0x02000000
loads_echo=0
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:3e:f2:20
nandEcc=nfcConfig=4bitecc
netbsd_en=no
netmask=255.255.255.0
netretry=no
partition=nand0,0
pcieTune=no
pexMode=RC
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rootpath=/srv/nfs/
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
serverip=192.168.11.114
standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
usbActive=0
usbType=3
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mem=512M earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81
root@debian:~#

I did not put mem=512M in uboot but fw_printenv still shows mem=512M option.
mcmg2
Re: My Cloud Mirror Gen2
July 17, 2017 06:37PM
root@debian:~/mcm-daemon# make
cc -c -o mcm-daemon.o mcm-daemon.c -Wall -I. -Iiniparser/src -I/usr/include
mcm-daemon.c: In function 'main':
mcm-daemon.c:1284:6: warning: unused variable 'adjust' [-Wunused-variable]
  int adjust;
      ^
mcm-daemon.c: At top level:
mcm-daemon.c:1103:12: warning: '_checkTemps' defined but not used [-Wunused-function]
 static int _checkTemps(void) {
            ^
make -C iniparser CC=cc AR=ar STRIP=strip
make[1]: Entering directory '/root/mcm-daemon/iniparser'
CC	src/iniparser.o
CC	src/dictionary.o
AR	libiniparser.a
a - src/iniparser.o
a - src/dictionary.o
RANLIB	libiniparser.a
LINK	libiniparser.so.1
make[1]: Leaving directory '/root/mcm-daemon/iniparser'
cc -o mcm-daemon mcm-daemon.o iniparser/libiniparser.a -Wall -I. -Iiniparser/src -I/usr/include -Liniparser -liniparser
root@debian:~/mcm-daemon# ls
.           Makefile    kernel               mcm-daemon.h        mcm.h
..          Readme.txt  linux-4.8.12.tar.gz  mcm-daemon.ini      xcompile.sh
.git        debian      mcm-daemon           mcm-daemon.o
.gitignore  iniparser   mcm-daemon.c         mcm-daemon.service
root@debian:~/mcm-daemon#

after apt-get install build-essential
still not able to build deb
mcmg2
Re: My Cloud Mirror Gen2
July 17, 2017 08:35PM
mint@mint ~/kwboot $ sudo ./kwboot -f -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-GrandTeton_2014T3_PQ-nand-uart.bin -s 0 -q 1
Sending boot message. Please reboot the target...\
Sending boot image...
  0 % [+.....................................................................]
  0 % [......................................................................]
  1 % [......................................................................]
  2 % [......................................................................]
  3 % [......................................................................]
  4 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  7 % [......................................................................]
  8 % [......................................................................]
  9 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 12 % [......................................................................]
 13 % [......................................................................]
 14 % [......................................................................]
 15 % [......................................................................]
 15 % [......................................................................]
 16 % [......................................................................]
 17 % [......................................................................]
 18 % [......................................................................]
 19 % [......................................................................]
 20 % [......................................................................]
 21 % [......................................................................]
 22 % [......................................................................]
 23 % [......................................................................]
 24 % [......................................................................]
 25 % [......................................................................]
 26 % [......................................................................]
 27 % [......................................................................]
 28 % [......................................................................]
 29 % [......................................................................]
 30 % [......................................................................]
 30 % [......................................................................]
 31 % [......................................................................]
 32 % [......................................................................]
 33 % [......................................................................]
 34 % [......................................................................]
 35 % [......................................................................]
 36 % [......................................................................]
 37 % [......................................................................]
 38 % [......................................................................]
 39 % [......................................................................]
 40 % [......................................................................]
 41 % [......................................................................]
 42 % [......................................................................]
 43 % [......................................................................]
 44 % [......................................................................]
 45 % [......................................................................]
 45 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 48 % [......................................................................]
 49 % [......................................................................]
 50 % [......................................................................]
 51 % [......................................................................]
 52 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 55 % [......................................................................]
 56 % [......................................................................]
 57 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 60 % [......................................................................]
 60 % [......................................................................]
 61 % [......................................................................]
 62 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 65 % [......................................................................]
 66 % [......................................................................]
 67 % [......................................................................]
 68 % [......................................................................]
 69 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 72 % [......................................................................]
 73 % [......................................................................]
 74 % [......................................................................]
 75 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 77 % [......................................................................]
 78 % [......................................................................]
 79 % [......................................................................]
 80 % [......................................................................]
 81 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 84 % [......................................................................]
 85 % [......................................................................]
 86 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 89 % [......................................................................]
 90 % [......................................................................]
 91 % [......................................................................]
 91 % [......................................................................]
 92 % [......................................................................]
 93 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 96 % [......................................................................]
 97 % [......................................................................]
 98 % [......................................................................]
 99 % [..........................................]
[Type Ctrl-\ + c to quit]

 __   __                      _ _
|  \/  | __ _ _ ____   _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| |  | | (_| | |   \ V /  __/ | |
|_|  |_|\__,_|_|    \_/ \___|_|_|
         _   _     ____              _
        | | | |   | __ )  ___   ___ | |_ 
        | | | |___|  _ \ / _ \ / _ \| __| 
        | |_| |___| |_) | (_) | (_) | |_ 
         \___/    |____/ \___/ \___/ \__| 
 ** LOADER **


U-Boot 2013.01-g7c1da33-dirty_v1.04 (Jul 17 2017 - 18:43:06) Marvell version: 2014_T3.0p6

mvBoardIdIndexGet(boardId) = 1
Board: GrandTeton DB6820
SoC:   MV88F6820 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1332 [MHz]
       L2     @ 666 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 666 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  512 MiB

Map:   Code:			0x1fece000:0x1ff96010
       BSS:			0x1ffef654
       Stack:			0x1f9cdf20
       Heap:			0x1f9ce000:0x1fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:	0x00000000:0x00080000 (NAND)

NAND:  ID: daad ,256 MiB
MMC:   mv_sdh: 0
PCI-e 0: Detected No Link.
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00000f500000-0x00000ff00000 : "mtd=7"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=7"
UBI: MTD device size:            10 MiB
UBI: number of good PEBs:        80
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             32
UBI: total number of reserved PEBs: 48
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 3/0
UBIFS: mounted UBI device 0, volume 0, name "reserve2"
UBIFS: mounted read-only
UBIFS: file system size:   4063232 bytes (3968 KiB, 3 MiB, 32 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  200807 bytes (196 KiB)
Loading file '/mac_addr' to addr 0x02000000 with size 18 (0x00000012)...
Done
Set lan 2 WakeOnLan ok
Enable HD1
Enable HD2
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |   In-Band    |
| egiga1 |   RGMII   |   In-Band    |
| egiga2 |   SGMII   |     0x00     |
egiga0, egiga1, egiga2 [PRIME]
Hit any key to stop autoboot:  0 
Marvell>> printenv          
CASset=max
MALLOC_len=5
MPmode=SMP
autoload=no
baudrate=115200
boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
bootargs_dflt=$console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel
bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000
bootcmd_auto=stage_boot $boot_order
bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot
bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 0x2000000; 
bootcmd_usb=echo Booting from USB ...; usb start; setenv fdt_skip_update yes; usb start; run usb_set_bootargs; if run load_image; then if run load_initrd; then bootm $load_image_addr $load_initrd_addr; else bootm $load_image_addr; fi; fi
bootdelay=1
bootdev=usb
cacheShare=no
console=console=ttyS0,115200
device=0:1
device_partition=0:1
disaMvPnp=no
eeeEnable=no
enaClockGating=no
enaCpuStream=no
enaFPU=yes
enaMonExt=no
enaWrAllo=no
eth1addr=00:50:43:20:21:3e
eth1mtu=1500
eth2addr=00:50:43:20:f2:3e
eth2mtu=1500
eth3addr=00:50:43:21:f2:20
eth3mtu=1500
ethact=egiga2
ethaddr=00:50:43:f2:21:3e
ethmtu=1500
ethprime=egiga2
fdt_addr=2040000
fdt_skip_update=yes
fdtaddr=0x1000000
fdtfile=armada-38x-modular.dtb
filesize=12
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=192.168.11.110
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16@60
lcd_panel=0
load_image=echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage
load_image_addr=0x02000000
load_initrd=echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x2900000
loadaddr=0x02000000
loads_echo=0
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:3e:f2:20
nandEcc=nfcConfig=4bitecc
netbsd_en=no
netmask=255.255.255.0
netretry=no
partition=nand0,0
pcieTune=no
pexMode=RC
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rootpath=/srv/nfs/
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
serverip=192.168.11.114
standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
usbActive=0
usbType=3
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mem=512M earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81

Environment size: 4037/524284 bytes
Marvell>> setenv bootdev 'usb'
Marvell>> setenv device '0:1'
Marvell>> setenv load_image_addr '0x02000000'
Marvell>> setenv load_initrd_addr '0x2900000'
Marvell>> setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage'
Marvell>> setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)'
Marvell>> setenv bootcmd_usb 'echo Booting from USB ...; usb start; setenv fdt_skip_update yes; usb start; run usb_set_bootargs; if run load_image; then if run load_initrd; then bootm $load_image_addr $load_initrd_addr; else bootm $load_image_addr; fi; fi'
Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...
Writing to Nand... done
Marvell>> printenv
CASset=max
MALLOC_len=5
MPmode=SMP
autoload=no
baudrate=115200
boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
bootargs_dflt=$console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel
bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000
bootcmd_auto=stage_boot $boot_order
bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot
bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 0x2000000; 
bootcmd_usb=echo Booting from USB ...; usb start; setenv fdt_skip_update yes; usb start; run usb_set_bootargs; if run load_image; then if run load_initrd; then bootm $load_image_addr $load_initrd_addr; else bootm $load_image_addr; fi; fi
bootdelay=1
bootdev=usb
cacheShare=no
console=console=ttyS0,115200
device=0:1
device_partition=0:1
disaMvPnp=no
eeeEnable=no
enaClockGating=no
enaCpuStream=no
enaFPU=yes
enaMonExt=no
enaWrAllo=no
eth1addr=00:50:43:20:21:3e
eth1mtu=1500
eth2addr=00:50:43:20:f2:3e
eth2mtu=1500
eth3addr=00:50:43:21:f2:20
eth3mtu=1500
ethact=egiga2
ethaddr=00:50:43:f2:21:3e
ethmtu=1500
ethprime=egiga2
fdt_addr=2040000
fdt_skip_update=yes
fdtaddr=0x1000000
fdtfile=armada-38x-modular.dtb
filesize=12
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=192.168.11.110
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16@60
lcd_panel=0
load_image=echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage
load_image_addr=0x02000000
load_initrd=echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x2900000
loadaddr=0x02000000
loads_echo=0
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:3e:f2:20
nandEcc=nfcConfig=4bitecc
netbsd_en=no
netmask=255.255.255.0
netretry=no
partition=nand0,0
pcieTune=no
pexMode=RC
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rootpath=/srv/nfs/
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
serverip=192.168.11.114
standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
usbActive=0
usbType=3
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81

Environment size: 4028/524284 bytes
Marvell>> run bootcmd_usb
Booting from USB ...
(Re)start USB...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
(Re)start USB...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
loading Image ...
3920526 bytes read in 421 ms (8.9 MiB/s)
loading uInitrd ...
6210503 bytes read in 492 ms (12 MiB/s)
## Booting image at 02000000 ...
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-4.9.0-mvebu-tld-12
   Created:      2017-07-09   9:45:53 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3920462 Bytes = 3.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02900000 ...
   Image Name:   initramfs-4.9.0-mvebu-tld-12
   Created:      2017-02-03  23:57:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6210439 Bytes = 5.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: Western Digital MyCloud EX2 Ultra
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] ------------[ cut here ]------------
[    0.000000] WARNING: CPU: 0 PID: 0 at kernel/printk/printk.c:2612 register_console+0x3c/0x398
[    0.000000] console 'earlycon0' already registered
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.9.0-mvebu-tld-12 #2
[    0.000000] Hardware name: Marvell Armada 380/385 (Device Tree)
[    0.000000] [<c01160bc>] (unwind_backtrace) from [<c0110bb4>] (show_stack+0x10/0x14)
[    0.000000] [<c0110bb4>] (show_stack) from [<c04ba5a4>] (dump_stack+0x70/0x8c)
[    0.000000] [<c04ba5a4>] (dump_stack) from [<c0123ce0>] (__warn+0xc8/0xfc)
[    0.000000] [<c0123ce0>] (__warn) from [<c0123d48>] (warn_slowpath_fmt+0x34/0x44)
[    0.000000] [<c0123d48>] (warn_slowpath_fmt) from [<c0171b1c>] (register_console+0x3c/0x398)
[    0.000000] [<c0171b1c>] (register_console) from [<c0c04dc0>] (setup_early_printk+0x14/0x24)
[    0.000000] [<c0c04dc0>] (setup_early_printk) from [<c0c00478>] (do_early_param+0x6c/0xbc)
[    0.000000] [<c0c00478>] (do_early_param) from [<c013f774>] (parse_args+0x2dc/0x40c)
[    0.000000] [<c013f774>] (parse_args) from [<c0c0088c>] (parse_early_options+0x2c/0x3c)
[    0.000000] [<c0c0088c>] (parse_early_options) from [<c0c008c8>] (parse_early_param+0x2c/0x44)
[    0.000000] [<c0c008c8>] (parse_early_param) from [<c0c03350>] (setup_arch+0x4fc/0xa24)
[    0.000000] [<c0c03350>] (setup_arch) from [<c0c00934>] (start_kernel+0x50/0x390)
[    0.000000] [<c0c00934>] (start_kernel) from [<0000807c>] (0x807c)
[    0.000000] ---[ end trace 0000000000000000 ]---
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 15 pages/cpu @dfbcc000 s30796 r8192 d22452 u61440
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 libata.force=3.0G root=LABEL=rootfs earlyprintk console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 500128K/524288K available (8192K kernel code, 690K rwdata, 2052K rodata, 1024K init, 386K bss, 24160K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff800000   ( 496 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)
[    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
[    0.000000]       .data : 0xc0d00000 - 0xc0daca28   ( 691 kB)
[    0.000000]        .bss : 0xc0daca28 - 0xc0e0d4f8   ( 387 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	Build-time adjustment of leaf fanout to 32.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000004] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.007883] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019113] Console: colour dummy device 80x30
[    0.023628] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.034036] pid_max: default: 32768 minimum: 301
[    0.038805] Security Framework initialized
[    0.043005] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.049680] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.057251] CPU: Testing write buffer coherency: ok
[    0.062342] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.068085] Setting up static identity map for 0x100000 - 0x100058
[    0.074516] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.079800] mvebu-pmsu: Initializing Power Management Service Unit
[    0.283604] Booting CPU 1
[    0.286476] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.286533] Brought up 2 CPUs
[    0.295293] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.301613] CPU: All CPU(s) started in SVC mode.
[    0.306850] devtmpfs: initialized
[    0.312806] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.320794] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.330732] prandom: seed boundary self test passed
[    0.337694] prandom: 100 self tests passed
[    0.341855] pinctrl core: initialized pinctrl subsystem
[    0.347888] NET: Registered protocol family 16
[    0.353070] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.383453] cpuidle: using governor ladder
[    0.413421] cpuidle: using governor menu
[    0.417553] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.425627] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.483823] vgaarb: loaded
[    0.486863] SCSI subsystem initialized
[    0.491164] usbcore: registered new interface driver usbfs
[    0.496819] usbcore: registered new interface driver hub
[    0.502254] usbcore: registered new device driver usb
[    0.507607] media: Linux media interface: v0.10
[    0.512251] Linux video capture interface: v2.00
[    0.517951] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.554196] VFS: Disk quotas dquot_6.6.0
[    0.558269] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.573602] NET: Registered protocol family 2
[    0.578464] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.585585] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.592147] TCP: Hash tables configured (established 4096 bind 4096)
[    0.598593] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.604493] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.610941] NET: Registered protocol family 1
[    0.615624] RPC: Registered named UNIX socket transport module.
[    0.621617] RPC: Registered udp transport module.
[    0.626382] RPC: Registered tcp transport module.
[    0.631172] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.637795] Unpacking initramfs...
[    0.882159] Freeing initrd memory: 6068K (c2900000 - c2eed000)
[    0.888318] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.895018] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.904340] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.910590] audit: initializing netlink subsys (disabled)
[    0.916071] audit: type=2000 audit(0.900:1): initialized
[    0.921927] Initialise system trusted keyrings
[    0.926595] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.933187] zbud: loaded
[    0.936343] NFS: Registering the id_resolver key type
[    0.941486] Key type id_resolver registered
[    0.945734] Key type id_legacy registered
[    0.949826] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.956579] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.963155] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.970599] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.977217] orangefs_init: module version upstream loaded
[    0.984837] Key type asymmetric registered
[    0.989016] Asymmetric key parser 'x509' registered
[    0.994045] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    1.001506] io scheduler noop registered
[    1.005494] io scheduler deadline registered
[    1.009853] io scheduler cfq registered (default)
[    1.015541] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.024214] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    1.031165] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.037488] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.044425] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.050425] PCI: bus0: Fast back to back transfers disabled
[    1.056063] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.064135] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.072322] PCI: bus1: Fast back to back transfers enabled
[    1.078008] PCI: bus2: Fast back to back transfers enabled
[    1.083598] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.088642] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.094166] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.158442] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.166067] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.228423] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.287240] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.295152] console [ttyS0] disabled
[    1.318893] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 12500000) is a 16550A
[    1.327921] console [ttyS0] enabled
[    1.327921] console [ttyS0] enabled
[    1.335022] bootconsole [earlycon0] disabled
[    1.335022] bootconsole [earlycon0] disabled
[    1.364441] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 12500000) is a 16550A
[    1.374459] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.383569] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.393255] scsi host0: ahci-mvebu
[    1.396974] scsi host1: ahci-mvebu
[    1.400633] ata1: FORCE: PHY spd limit set to 3.0Gbps
[    1.405709] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.413671] ata2: FORCE: PHY spd limit set to 3.0Gbps
[    1.418755] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.427252] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.435156] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xda
[    1.441551] nand: Hynix H27U2G8F2CTR-BC
[    1.445406] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.453020] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.460223] Bad block table found at page 131008, version 0x01
[    1.466424] Bad block table found at page 130944, version 0x01
[    1.472532] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.478665] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.484089] 0x000000000000-0x000000500000 : "U-Boot"
[    1.489911] 0x000000500000-0x000000a00000 : "uImage"
[    1.505636] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    1.521523] 0x000000f00000-0x00000c800000 : "image.cfs"
[    1.538251] 0x00000c800000-0x00000d700000 : "rescue fw"
[    1.554248] 0x00000d700000-0x00000eb00000 : "config"
[    1.570037] 0x00000eb00000-0x00000f500000 : "reserve1"
[    1.585958] 0x00000f500000-0x00000ff00000 : "reserve2"
[    1.602499] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.609317] libphy: Fixed MDIO Bus: probed
[    1.613741] libphy: mdio_driver_register: mv88e6085
[    1.618846] libphy: orion_mdio_bus: probed
[    1.627867] mvneta f1034000.ethernet eth0: Using random mac address 0a:03:f7:27:c0:48
[    1.635989] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.642572] ehci-pci: EHCI PCI platform driver
[    1.647080] ehci-orion: EHCI orion driver
[    1.651427] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.656777] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 1
[    1.664389] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.672999] xhci-hcd f10f0000.usb3: irq 45, io mem 0xf10f0000
[    1.678892] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.685712] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.692976] usb usb1: Product: xHCI Host Controller
[    1.697875] usb usb1: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.704352] usb usb1: SerialNumber: f10f0000.usb3
[    1.709473] hub 1-0:1.0: USB hub found
[    1.713259] hub 1-0:1.0: 1 port detected
[    1.717392] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.722750] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.730340] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.738545] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    1.745365] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.749274] ata1: SATA link down (SStatus 0 SControl 320)
[    1.758075] usb usb2: Product: xHCI Host Controller
[    1.759198] ata2: SATA link down (SStatus 0 SControl 320)
[    1.768400] usb usb2: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.774870] usb usb2: SerialNumber: f10f0000.usb3
[    1.779958] hub 2-0:1.0: USB hub found
[    1.783742] hub 2-0:1.0: 1 port detected
[    1.787973] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.793320] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 3
[    1.800919] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.809536] xhci-hcd f10f8000.usb3: irq 46, io mem 0xf10f8000
[    1.815399] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    1.822275] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.829538] usb usb3: Product: xHCI Host Controller
[    1.834438] usb usb3: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.840915] usb usb3: SerialNumber: f10f8000.usb3
[    1.845978] hub 3-0:1.0: USB hub found
[    1.849774] hub 3-0:1.0: 1 port detected
[    1.853908] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.859264] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    1.866831] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.875033] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[    1.881866] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.889198] usb usb4: Product: xHCI Host Controller
[    1.894098] usb usb4: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.900577] usb usb4: SerialNumber: f10f8000.usb3
[    1.905642] hub 4-0:1.0: USB hub found
[    1.909437] hub 4-0:1.0: 1 port detected
[    1.913668] usbcore: registered new interface driver usblp
[    1.919268] usbcore: registered new interface driver usb-storage
[    1.925498] mousedev: PS/2 mouse device common for all mice
[    1.931703] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.939527] i2c /dev entries driver
[    1.954995] orion_wdt: Initial timeout 171 sec
[    1.961419] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.968800] hidraw: raw HID events driver (C) Jiri Kosina
[    1.974553] usbcore: registered new interface driver usbhid
[    1.980166] usbhid: USB HID core driver
[    1.984176] drop_monitor: Initializing network drop monitor service
[    1.990527] Netfilter messages via NETLINK v0.30.
[    1.995265] ip_set: protocol 6
[    1.998596] NET: Registered protocol family 10
[    2.003640] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.010619] NET: Registered protocol family 17
[    2.015248] 8021q: 802.1Q VLAN Support v1.8
[    2.019583] Key type dns_resolver registered
[    2.024019] ThumbEE CPU extension supported.
[    2.028325] Registering SWP/SWPB emulation handler
[    2.033660] registered taskstats version 1
[    2.037777] Loading compiled-in X.509 certificates
[    2.042637] zswap: loaded using pool lzo/zbud
[    2.097114] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    2.107531] Key type big_key registered
[    2.115204] Key type encrypted registered
[    2.120342] armada38x-rtc f10a3800.rtc: setting system clock to 2017-07-18 01:31:17 UTC (1500341477)
[    2.130708] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000)
Loading, please wait...
[    2.173894] systemd-udevd[1315]: starting version 215
[    2.180065] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.270316] usb 1-1: New USB device found, idVendor=090c, idProduct=1000
[    2.277066] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.285257] usb 1-1: Product: POLLEX 8G
[    2.289139] usb 1-1: Manufacturer: SRT
[    2.292906] usb 1-1: SerialNumber: 033113111111135234000373
[    2.299049] usb-storage 1-1:1.0: USB Mass Storage device detected
[    2.319641] scsi host2: usb-storage 1-1:1.0
[    2.483209] usbcore: registered new interface driver uas
[    3.368695] scsi 2:0:0:0: Direct-Access     SRT      POLLEX 8G        1100 PQ: 0 ANSI: 4
[    3.381231] sd 2:0:0:0: Attached scsi generic sg0 type 0
[    3.386592] sd 2:0:0:0: [sda] 15728640 512-byte logical blocks: (8.05 GB/7.50 GiB)
[    3.395245] sd 2:0:0:0: [sda] Write Protect is off
[    3.400759] sd 2:0:0:0: [sda] No Caching mode page found
[    3.406096] sd 2:0:0:0: [sda] Assuming drive cache: write through
[    3.415256]  sda: sda1
[    3.420107] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    3.458350] random: fast init done
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
modprobe: module ext3 not found in modules.dep
Begin: Will now check root file system ... fsck from util-linux 2.25.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   17.593405] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   17.610965] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd[   18.529676] systemd-udevd[1520]: starting version 215
. ok 
[ ok ] Synthesizing the initial hotplug events...done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Activating swap...done.
[   19.513663] EXT4-fs (sda1): re-mounted. Opts: (null)
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.25.2
done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[   20.708706] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/0a:03:f7:27:c0:48
Sending on   LPF/eth0/0a:03:f7:27:c0:48
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
[   24.888423] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   24.896307] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from 192.168.2.1
DHCPACK from 192.168.2.1
bound to 192.168.2.143 -- renewal in 42400 seconds.
done.
[ ok ] Starting rpcbind daemon....
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
2465 (syslogd)
. ok 
[   30.210790] random: crng init done
[ ok ] Starting Courier authentication services: authdaemond.
[ ok ] Starting Courier IMAP-SSL server: imapd-ssl.
[ ok ] Starting Courier IMAP server: imapd.
[ ok ] Starting system message bus: dbus.
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
2466 (klogd)
. ok 
Starting Ajenti:
17.07.2017 18:31 INFO  Using config file /etc/ajenti/config.json
[ ok ] started.
[ ok ] Starting NTP server: ntpd.
Starting supervisor: supervisord.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ....] Starting MySQL database server: mysqld . . . . . . . . ..
[info] Checking for tables which need an upgrade, are corrupt or were 
not closed cleanly..
[ ok ] Starting MTA: exim4.

Debian GNU/Linux 8 debian ttyS0

debian login: root
Password: 

Login incorrect
debian login: root
Password: 
Last login: Mon Jul 17 18:24:16 PDT 2017 on ttyS0
Linux debian 4.9.0-mvebu-tld-12 #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017 armv7l

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian
192.168.2.143
Western Digital MyCloud EX2 Ultra
Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
 18:32:27 up 1 min,  1 user,  load average: 0.64, 0.18, 0.06
root@debian:~# free -m
             total       used       free     shared    buffers     cached
Mem:           495        175        319          5         10         68
-/+ buffers/cache:         95        399
Swap:            0          0          0
root@debian:~# fw_printenv
CASset=max
MALLOC_len=5
MPmode=SMP
autoload=no
baudrate=115200
boot_order=hd_scr usb_scr mmc_scr hd_img usb_img mmc_img pxe net_img net_scr
bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial
bootargs_dflt=$console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel
bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000
bootcmd_auto=stage_boot $boot_order
bootcmd_fdt=tftpboot 0x2000000 $image_name;tftpboot $fdtaddr $fdtfile;setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dovefb:lcd0:$lcd0_params clcd.lcd0_enable=$lcd0_enable clcd.lcd_panel=$lcd_panel; bootz 0x2000000 - $fdtaddr;
bootcmd_fdt_edit=tftpboot $fdtaddr $fdtfile; fdt addr $fdtaddr; setenv bootcmd $bootcmd_fdt_boot
bootcmd_lgcy=tftpboot 0x2000000 $image_name; setenv bootargs $bootargs_dflt; bootm 0x2000000; 
bootcmd_usb=echo Booting from USB ...; usb start; setenv fdt_skip_update yes; usb start; run usb_set_bootargs; if run load_image; then if run load_initrd; then bootm $load_image_addr $load_initrd_addr; else bootm $load_image_addr; fi; fi
bootdelay=1
bootdev=usb
cacheShare=no
console=console=ttyS0,115200
device=0:1
device_partition=0:1
disaMvPnp=no
eeeEnable=no
enaClockGating=no
enaCpuStream=no
enaFPU=yes
enaMonExt=no
enaWrAllo=no
eth1addr=00:50:43:20:21:3e
eth1mtu=1500
eth2addr=00:50:43:20:f2:3e
eth2mtu=1500
eth3addr=00:50:43:21:f2:20
eth3mtu=1500
ethact=egiga2
ethaddr=00:50:43:f2:21:3e
ethmtu=1500
ethprime=egiga2
fdt_addr=2040000
fdt_skip_update=yes
fdtaddr=0x1000000
fdtfile=armada-38x-modular.dtb
filesize=12
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=192.168.11.110
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16@60
lcd_panel=0
load_image=echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage
load_image_addr=0x02000000
load_initrd=echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x2900000
loadaddr=0x02000000
loads_echo=0
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:3e:f2:20
nandEcc=nfcConfig=4bitecc
netbsd_en=no
netmask=255.255.255.0
netretry=no
partition=nand0,0
pcieTune=no
pexMode=RC
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rootpath=/srv/nfs/
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
serverip=192.168.11.114
standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
usbActive=0
usbType=3
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81
root@debian:~#

this time, I use saveenv at uboot and check printenv so there is no mem=512M option.
but still total memory is set to 512M not 2G.
on debian, fw_printenv also shows no mem=512M option.
Author:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: