Welcome! Log In Create A New Profile

Advanced

WDmycloudex4100 instructions

Posted by Johnei 
Re: WDmycloudex4100 instructions
June 15, 2019 11:18PM
ok I got a little bit further now I get done.

Gave up waiting for root file system device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  LABEL=rootfs does not exist.  Dropping to a shell!


BusyBox v1.22.1 (Debian 1:1.22.0-19+b3) built-in shell (ash)
Enter 'help' for a list of built-in commands.


I thought I had names the drive rootfs
Re: WDmycloudex4100 instructions
June 16, 2019 02:47AM
Johnei,

As always, you should post the entire serial boot log so I can see the whole picture before the error occurs. Not enoug info when you post a snippet of log.

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



Edited 1 time(s). Last edit at 06/16/2019 02:48AM by bodhi.
Re: WDmycloudex4100 instructions
June 16, 2019 06:13AM
OK here it is.

BootROM - 1.73
Booting from NAND flash

mvBoardIdGet: TWSI Read for Marvell Board ID failed (57) 
        Using default board ID



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

Initialize DB-88F6820-BP board topology
board SerDes lanes topology details:
 | Lane #  | Speed |  Type       |
 --------------------------------
 |   0    |  06   |  SATA0      |
 |   1    |  00   |  SGMII1     |
 |   2    |  06   |  SATA1      |
 |   3    |  06   |  SATA3      |
 |   4    |  05   |  USB3 HOST0 |
 |   5    |  06   |  SATA2      |
 --------------------------------
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver TIP-1.26.0
mvSysEnvGetTopologyUpdateInfo: TWSI Read failed
DDR3 1 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.06 (Jan 08 2015 - 10:04:46) Marvell version: 2014_T3.0p6

mvBoardSatRRead: Error: Read from S@R failed
mvBoardSatRRead: Error: Read from S@R failed
mvBoardSatRRead: Error: Read from S@R failed
Board: DB-88F6820-BP
SoC:   MV88F6828 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1600 [MHz]
       L2     @ 800 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 800 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  2 GiB

Map:   Code:                    0x7fece000:0x7ff95d44
       BSS:                     0x7ffef254
       Stack:                   0x7f9cdf20
       Heap:                    0x7f9ce000:0x7fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:      0x00000000:0x00080000 (NAND)

NAND:  ID: dcad ,512 MiB
MMC:   mv_sdh: 0
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00001f500000-0x00001ff00000 : "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/1
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 36 (0x00000024)...
Done
lan mac_addr :  00 90 a9 e4 89 34
Set lan 0 WakeOnLan ok
Set lan 1 WakeOnLan ok
MicroP Enable HD
Enable HD1
Enable HD2
Enable HD3
Enable HD4
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x00     |
| egiga1 |   SGMII   |     0x01     |
egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0 
Marvell>> setenv set_bootargs_stock 'setenv bootargs root=/dev/ram console=ttyS0,115200'
Marvell>> setenv bootcmd_stock 'echo Booting from stock ... ; run set_bootargs_stock; printenv bootargs; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000'
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),441m@15m(image.cfs),15m@456m(rescue_fw),20m@471m(config),10m@491m(reserve1),10m@501m(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>> setenv bootcmd_custom 'if run bootcmd_usb; then ; fi; run bootcmd_stock; reset'
Marvell>> setenv bootcmd 'run bootcmd_custom'
Marvell>> boot
Booting from USB ...
(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 4 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... 4 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 ...
4036593 bytes read in 425 ms (9.1 MiB/s)
loading uInitrd ...
7070236 bytes read in 525 ms (12.8 MiB/s)
## Booting image at 02000000 ...
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-4.12.4-mvebu-tld-1
   Created:      2019-06-16   4:11:56 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4036529 Bytes = 3.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02900000 ...
   Image Name:   initramfs-4.12.4-mvebu-tld-1
   Created:      2017-08-22  11:10:43 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7070172 Bytes = 6.7 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
stopping USB..

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.12.4-mvebu-tld-1 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 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: WD My Cloud EX4100
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 17 pages/cpu @eefc9000 s40460 r8192 d20980 u69632
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),441m@15m(image.cfs),15m@456m(rescue_fw),20m@471m(config),10m@491m(reserve1),10m@501m(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: 2059464K/2097152K available (8192K kernel code, 712K rwdata, 2080K rodata, 1024K init, 331K bss, 37688K reserved, 0K cma-reserved, 1310720K 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 - 0xc0db2308   ( 713 kB)
[    0.000000]        .bss : 0xc0db9a84 - 0xc0e0ca58   ( 332 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    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.007881] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019069] Console: colour dummy device 80x30
[    0.023583] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.033974] pid_max: default: 32768 minimum: 301
[    0.038722] Security Framework initialized
[    0.042916] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.049589] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.057038] CPU: Testing write buffer coherency: ok
[    0.062100] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.103885] Setting up static identity map for 0x100000 - 0x100060
[    0.110184] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
[    0.115467] mvebu-pmsu: Initializing Power Management Service Unit
[    0.173865] smp: Bringing up secondary CPUs ...
[    0.233917] Booting CPU 1
[    0.236760] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.236807] smp: Brought up 1 node, 2 CPUs
[    0.246688] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.253008] CPU: All CPU(s) started in SVC mode.
[    0.258230] devtmpfs: initialized
[    0.263172] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.271086] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.280975] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.287245] prandom: seed boundary self test passed
[    0.293884] prandom: 100 self tests passed
[    0.298044] pinctrl core: initialized pinctrl subsystem
[    0.303923] NET: Registered protocol family 16
[    0.308990] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.316878] cpuidle: using governor ladder
[    0.321051] cpuidle: using governor menu
[    0.325164] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.333212] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.339212] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.347359] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.370926] vgaarb: loaded
[    0.374033] SCSI subsystem initialized
[    0.384245] usbcore: registered new interface driver usbfs
[    0.389881] usbcore: registered new interface driver hub
[    0.395361] usbcore: registered new device driver usb
[    0.400776] media: Linux media interface: v0.10
[    0.405521] Linux video capture interface: v2.00
[    0.411039] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.452111] VFS: Disk quotas dquot_6.6.0
[    0.456139] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.469028] NET: Registered protocol family 2
[    0.473930] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.481131] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.487681] TCP: Hash tables configured (established 8192 bind 8192)
[    0.494154] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.500147] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.506710] NET: Registered protocol family 1
[    0.521504] RPC: Registered named UNIX socket transport module.
[    0.527480] RPC: Registered udp transport module.
[    0.532267] RPC: Registered tcp transport module.
[    0.537031] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.543637] Unpacking initramfs...
[    0.778588] Freeing initrd memory: 6908K
[    0.782783] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.789541] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.798652] audit: initializing netlink subsys (disabled)
[    0.804221] audit: type=2000 audit(0.783:1): state=initialized audit_enabled=0 res=1
[    0.804569] Initialise system trusted keyrings
[    0.804591] Key type blacklist registered
[    0.804743] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    0.812036] zbud: loaded
[    0.832554] NFS: Registering the id_resolver key type
[    0.837675] Key type id_resolver registered
[    0.841950] Key type id_legacy registered
[    0.846029] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.852823] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.859335] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.866723] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.873331] orangefs_init: module version upstream loaded
[    0.880947] Key type asymmetric registered
[    0.885138] Asymmetric key parser 'x509' registered
[    0.890100] bounce: pool size: 64 pages
[    0.894063] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.901532] io scheduler noop registered
[    0.905519] io scheduler deadline registered
[    0.909877] io scheduler cfq registered (default)
[    0.915547] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    0.924013] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    0.930943] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.937281] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    0.944230] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.950119] PCI: bus0: Fast back to back transfers disabled
[    0.955780] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.963858] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.972016] PCI: bus1: Fast back to back transfers enabled
[    0.977667] PCI: bus2: Fast back to back transfers enabled
[    0.983270] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.988299] pci 0000:00:02.0: PCI bridge to [bus 02]
[    0.993767] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.051423] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy sg intr )
[    1.059294] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.121424] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy sg intr )
[    1.164877] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.172590] console [ttyS0] disabled
[    1.196380] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
[    1.205645] console [ttyS0] enabled
[    1.205645] console [ttyS0] enabled
[    1.212749] bootconsole [earlycon0] disabled
[    1.212749] bootconsole [earlycon0] disabled
[    1.222161] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.231301] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.240587] scsi host0: ahci-mvebu
[    1.244231] scsi host1: ahci-mvebu
[    1.247764] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.255764] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.263846] ahci-mvebu f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.272945] ahci-mvebu f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.282246] scsi host2: ahci-mvebu
[    1.285855] scsi host3: ahci-mvebu
[    1.289391] ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x100 irq 43
[    1.297359] ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x180 irq 43
[    1.305784] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.313650] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xdc
[    1.320031] nand: Hynix H27U4G8F2DTR-BC
[    1.323896] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.331507] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.338686] Bad block table found at page 262080, version 0x01
[    1.344877] Bad block table found at page 262016, version 0x01
[    1.350902] nand_read_bbt: bad block at 0x000006960000
[    1.356135] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.362261] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.367687] 0x000000000000-0x000000500000 : "U-Boot"
[    1.383348] 0x000000500000-0x000000f00000 : "uImage"
[    1.398976] 0x000000a00000-0x000001900000 : "uRamdisk"
[    1.414735] 0x000000f00000-0x00001d700000 : "image.cfs"
[    1.432159] 0x00001c800000-0x000039f00000 : "rescue_fw"
[    1.437408] mtd: partition "rescue_fw" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x3800000
[    1.458902] 0x00001d700000-0x00003c200000 : "config"
[    1.463901] mtd: partition "config" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x2900000
[    1.485087] 0x00001eb00000-0x00003e000000 : "reserve1"
[    1.490248] mtd: partition "reserve1" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x1500000
[    1.511570] 0x00001f500000-0x00003f400000 : "reserve2"
[    1.516731] mtd: partition "reserve2" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0xb00000
[    1.538580] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.545287] libphy: Fixed MDIO Bus: probed
[    1.549725] libphy: orion_mdio_bus: probed
[    1.559509] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.568466] mvneta f1070000.ethernet eth0: Using random mac address 6a:c2:9d:cd:c1:a4
[    1.577804] mvneta f1030000.ethernet eth1: Using random mac address 32:9b:cb:92:a6:13
[    1.585880] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.592305] ata1: SATA link down (SStatus 0 SControl 300)
[    1.597876] ehci-pci: EHCI PCI platform driver
[    1.602388] ehci-orion: EHCI orion driver
[    1.606524] orion-ehci f1058000.usb: EHCI Host Controller
[    1.611971] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    1.612300] ata2: SATA link down (SStatus 0 SControl 300)
[    1.625055] orion-ehci f1058000.usb: irq 38, io mem 0xf1058000
[    1.642333] ata4: SATA link down (SStatus 0 SControl 300)
[    1.651052] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    1.657110] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.663940] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.671200] usb usb1: Product: EHCI Host Controller
[    1.676098] usb usb1: Manufacturer: Linux 4.12.4-mvebu-tld-1 ehci_hcd
[    1.682572] usb usb1: SerialNumber: f1058000.usb
[    1.687512] hub 1-0:1.0: USB hub found
[    1.691304] hub 1-0:1.0: 1 port detected
[    1.695687] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.701048] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.708631] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.717220] xhci-hcd f10f0000.usb3: irq 46, io mem 0xf10f0000
[    1.723076] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.729893] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.737154] usb usb2: Product: xHCI Host Controller
[    1.742075] usb usb2: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[    1.748542] usb usb2: SerialNumber: f10f0000.usb3
[    1.753562] hub 2-0:1.0: USB hub found
[    1.757343] hub 2-0:1.0: 1 port detected
[    1.761450] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.766790] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    1.774364] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.782556] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[    1.789374] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.796633] usb usb3: Product: xHCI Host Controller
[    1.801049] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    1.808160] usb usb3: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[    1.814638] usb usb3: SerialNumber: f10f0000.usb3
[    1.819640] hub 3-0:1.0: USB hub found
[    1.823430] hub 3-0:1.0: 1 port detected
[    1.827598] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.832953] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    1.840536] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.849124] xhci-hcd f10f8000.usb3: irq 47, io mem 0xf10f8000
[    1.854976] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    1.861802] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.869055] usb usb4: Product: xHCI Host Controller
[    1.873995] usb usb4: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[    1.880463] usb usb4: SerialNumber: f10f8000.usb3
[    1.885458] hub 4-0:1.0: USB hub found
[    1.889237] hub 4-0:1.0: 1 port detected
[    1.893321] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.898662] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    1.906227] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.914418] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003
[    1.921245] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.928498] usb usb5: Product: xHCI Host Controller
[    1.933447] usb usb5: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[    1.939915] usb usb5: SerialNumber: f10f8000.usb3
[    1.944879] hub 5-0:1.0: USB hub found
[    1.948659] hub 5-0:1.0: 1 port detected
[    1.952827] usbcore: registered new interface driver usblp
[    1.958400] usbcore: registered new interface driver usb-storage
[    1.964585] mousedev: PS/2 mouse device common for all mice
[    1.970812] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.978485] i2c /dev entries driver
[    1.992956] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    2.005600] orion_wdt: Initial timeout 171 sec
[    2.011285] marvell-cesa f1090000.crypto: CESA device successfully registered
[    2.018554] hidraw: raw HID events driver (C) Jiri Kosina
[    2.024156] usbcore: registered new interface driver usbhid
[    2.029751] usbhid: USB HID core driver
[    2.033749] drop_monitor: Initializing network drop monitor service
[    2.040084] Netfilter messages via NETLINK v0.30.
[    2.044910] ip_set: protocol 6
[    2.048149] NET: Registered protocol family 10
[    2.053280] Segment Routing with IPv6
[    2.056990] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.063701] NET: Registered protocol family 17
[    2.068192] 8021q: 802.1Q VLAN Support v1.8
[    2.072426] Key type dns_resolver registered
[    2.076800] ThumbEE CPU extension supported.
[    2.081100] Registering SWP/SWPB emulation handler
[    2.086237] registered taskstats version 1
[    2.090351] Loading compiled-in X.509 certificates
[    2.095238] zswap: loaded using pool lzo/zbud
[    2.138447] usb 2-1: new high-speed USB device number 2 using xhci-hcd
[    2.144304] Key type big_key registered
[    2.147550] Key type encrypted registered
[    2.148886] armada38x-rtc f10a3800.rtc: setting system clock to 2019-06-16 11:10:32 UTC (1560683432)
[    2.228234] ata3.00: ATA-8: WDC WD20EARX-008FB0, 51.0AB51, max UDMA/133
[    2.234894] ata3.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    2.243481] ata3.00: configured for UDMA/133
[    2.258074] scsi 2:0:0:0: Direct-Access     ATA      WDC WD20EARX-008 AB51 PQ: 0 ANSI: 5
[    2.266776] sd 2:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    2.274816] sd 2:0:0:0: [sda] 4096-byte physical blocks
[    2.280098] sd 2:0:0:0: [sda] Write Protect is off
[    2.284969] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.342036]  sda: sda1 sda2 sda3 sda4
[    2.346688] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    2.351252] usb 2-1: New USB device found, idVendor=045b, idProduct=0209
[    2.351256] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.366560] hub 2-1:1.0: USB hub found
[    2.366768] Freeing unused kernel memory: 1024K
[    2.375243] hub 2-1:1.0: 4 ports detected
Loading, please wait...
starting version 232
[    2.413280] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.416890] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.417516] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.417550] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.417903] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.418106] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.418312] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.418527] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.418753] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.418948] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.491282] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[    2.522622] usb 3-1: New USB device found, idVendor=045b, idProduct=0210
[    2.529358] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.543296] hub 3-1:1.0: USB hub found
[    2.547396] hub 3-1:1.0: 4 ports detected
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.
[   13.199040] random: fast init done
[   13.715514] random: crng init done
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for root file system device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  LABEL=rootfs does not exist.  Dropping to a shell!


BusyBox v1.22.1 (Debian 1:1.22.0-19+b3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) [6n
Re: WDmycloudex4100 instructions
June 16, 2019 04:43PM
Johnei,

This problem is not rootfs lable. Also you have confirmed that you labeled the USB partition correctly. This usually is because of the USB drive and the port that you plug it into.

Quote

I formatted a USB 2.0 stick and gave it an ext3 file system and labeled the stick rootfs

used
Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2

and extracted all the folders and files to the root of the USB stick

then I did the following

cd /media/sda1/boot
cp -a zImage-4.12.4-mvebu-tld-1 zImage
also added the dts file for wdex4100 to dts folder
finally
sync
sync
umount /media/sda1

So double check the root file system, were you root user (not running sudo) when you extract it? (If you had posted the session log above, then I would not need to ask). And then once it's checked out, and you see the same problem, then try using a different USB thumb drive.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: WDmycloudex4100 instructions
June 16, 2019 05:20PM
Plug your USB drive into a usb2 port and try again.

The kernel log doesn’t show the drive being assigned an sd id.
Re: WDmycloudex4100 instructions
June 16, 2019 05:49PM
jdwl101 Wrote:
-------------------------------------------------------
> Plug your USB drive into a usb2 port and try
> again.
>
> The kernel log doesn’t show the drive being
> assigned an sd id.

J,

This box does not have USB 2.0 port. Thus, it is picky about what type of drive you use for USB.

And I don't recall exactly if saschadd has to use which port in that back of the box to boot. The USB port in front might not work for booting.

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



Edited 1 time(s). Last edit at 06/16/2019 05:52PM by bodhi.
Re: WDmycloudex4100 instructions
June 16, 2019 07:15PM
yea I should try a different stick the one I used is 2.0 but its more of a microsd adapter to usb2.0, Ill see if I can get a hold of another drive.
Re: WDmycloudex4100 instructions
June 16, 2019 08:18PM
Johnei` Wrote:
-------------------------------------------------------
> yea I should try a different stick the one I used
> is 2.0 but its more of a microsd adapter to
> usb2.0, Ill see if I can get a hold of another
> drive.


SD adapter is not a good choice during tests.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: WDmycloudex4100 instructions
June 16, 2019 08:49PM
yea I know Its all I had lying around that wasn't USB3.0 desperate to get this working but ill have to wait till tomorrow
Re: WDmycloudex4100 instructions
June 17, 2019 04:32PM
I got this now with proper usb stick

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

Initialize DB-88F6820-BP board topology
board SerDes lanes topology details:
 | Lane #  | Speed |  Type       |
 --------------------------------
 |   0    |  06   |  SATA0      |
 |   1    |  00   |  SGMII1     |
 |   2    |  06   |  SATA1      |
 |   3    |  06   |  SATA3      |
 |   4    |  05   |  USB3 HOST0 |
 |   5    |  06   |  SATA2      |
 --------------------------------
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver TIP-1.26.0
mvSysEnvGetTopologyUpdateInfo: TWSI Read failed
DDR3 1 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.06 (Jan 08 2015 - 10:04:46) Marvell version: 2014_T3.0p6

mvBoardSatRRead: Error: Read from S@R failed
mvBoardSatRRead: Error: Read from S@R failed
mvBoardSatRRead: Error: Read from S@R failed
Board: DB-88F6820-BP
SoC:   MV88F6828 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1600 [MHz]
       L2     @ 800 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 800 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  2 GiB

Map:   Code:                    0x7fece000:0x7ff95d44
       BSS:                     0x7ffef254
       Stack:                   0x7f9cdf20
       Heap:                    0x7f9ce000:0x7fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:      0x00000000:0x00080000 (NAND)

NAND:  ID: dcad ,512 MiB
MMC:   mv_sdh: 0
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00001f500000-0x00001ff00000 : "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/1
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 36 (0x00000024)...
Done
lan mac_addr :  00 90 a9 e4 89 34
Set lan 0 WakeOnLan ok
Set lan 1 WakeOnLan ok
MicroP Enable HD
Enable HD1
Enable HD2
Enable HD3
Enable HD4
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x00     |
| egiga1 |   SGMII   |     0x01     |
egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0 
Marvell>> setenv set_bootargs_stock 'setenv bootargs root=/dev/ram console=ttyS0,115200'
Marvell>> setenv bootcmd_stock 'echo Booting from stock ... ; run set_bootargs_stock; printenv bootargs; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000'
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),441m@15m(image.cfs),15m@456m(rescue_fw),20m@471m(config),10m@491m(reserve1),10m@501m(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>> setenv bootcmd_custom 'if run bootcmd_usb; then ; fi; run bootcmd_stock; reset'
Marvell>> setenv bootcmd 'run bootcmd_custom'
Marvell>> boot
Booting from USB ...
(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 4 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... 4 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 ...
4036593 bytes read in 390 ms (9.9 MiB/s)
loading uInitrd ...
7070236 bytes read in 475 ms (14.2 MiB/s)
## Booting image at 02000000 ...
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-4.12.4-mvebu-tld-1
   Created:      2019-06-17  21:26:36 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4036529 Bytes = 3.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02900000 ...
   Image Name:   initramfs-4.12.4-mvebu-tld-1
   Created:      2017-08-22  11:10:43 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7070172 Bytes = 6.7 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
stopping USB..

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.12.4-mvebu-tld-1 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 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: WD My Cloud EX4100
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 17 pages/cpu @eefc9000 s40460 r8192 d20980 u69632
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),441m@15m(image.cfs),15m@456m(rescue_fw),20m@471m(config),10m@491m(reserve1),10m@501m(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: 2059464K/2097152K available (8192K kernel code, 712K rwdata, 2080K rodata, 1024K init, 331K bss, 37688K reserved, 0K cma-reserved, 1310720K 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 - 0xc0db2308   ( 713 kB)
[    0.000000]        .bss : 0xc0db9a84 - 0xc0e0ca58   ( 332 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    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.007882] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019070] Console: colour dummy device 80x30
[    0.023584] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.033975] pid_max: default: 32768 minimum: 301
[    0.038722] Security Framework initialized
[    0.042916] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.049589] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.057034] CPU: Testing write buffer coherency: ok
[    0.062095] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.103886] Setting up static identity map for 0x100000 - 0x100060
[    0.110184] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
[    0.115467] mvebu-pmsu: Initializing Power Management Service Unit
[    0.173866] smp: Bringing up secondary CPUs ...
[    0.233917] Booting CPU 1
[    0.236760] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.236808] smp: Brought up 1 node, 2 CPUs
[    0.246690] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.253009] CPU: All CPU(s) started in SVC mode.
[    0.258228] devtmpfs: initialized
[    0.263180] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.271092] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.280981] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.287250] prandom: seed boundary self test passed
[    0.293887] prandom: 100 self tests passed
[    0.298048] pinctrl core: initialized pinctrl subsystem
[    0.303925] NET: Registered protocol family 16
[    0.308982] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.316866] cpuidle: using governor ladder
[    0.321038] cpuidle: using governor menu
[    0.325152] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.333200] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.339200] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.347348] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.370854] vgaarb: loaded
[    0.373881] SCSI subsystem initialized
[    0.378129] usbcore: registered new interface driver usbfs
[    0.383755] usbcore: registered new interface driver hub
[    0.389215] usbcore: registered new device driver usb
[    0.394569] media: Linux media interface: v0.10
[    0.399226] Linux video capture interface: v2.00
[    0.404738] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.445712] VFS: Disk quotas dquot_6.6.0
[    0.449737] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.462506] NET: Registered protocol family 2
[    0.467356] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.474489] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.481104] TCP: Hash tables configured (established 8192 bind 8192)
[    0.487570] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.493563] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.500119] NET: Registered protocol family 1
[    0.504780] RPC: Registered named UNIX socket transport module.
[    0.510757] RPC: Registered udp transport module.
[    0.515544] RPC: Registered tcp transport module.
[    0.520309] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.526908] Unpacking initramfs...
[    0.761585] Freeing initrd memory: 6908K
[    0.765788] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.772546] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.781404] audit: initializing netlink subsys (disabled)
[    0.787066] audit: type=2000 audit(0.772:1): state=initialized audit_enabled=0 res=1
[    0.787184] Initialise system trusted keyrings
[    0.787203] Key type blacklist registered
[    0.787266] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    0.794884] zbud: loaded
[    0.815481] NFS: Registering the id_resolver key type
[    0.820599] Key type id_resolver registered
[    0.824867] Key type id_legacy registered
[    0.828946] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.835721] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.842234] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.849597] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.856215] orangefs_init: module version upstream loaded
[    0.863838] Key type asymmetric registered
[    0.868015] Asymmetric key parser 'x509' registered
[    0.872976] bounce: pool size: 64 pages
[    0.876921] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.884365] io scheduler noop registered
[    0.888367] io scheduler deadline registered
[    0.892726] io scheduler cfq registered (default)
[    0.898188] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    0.906380] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    0.913310] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.919725] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    0.926665] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.932500] PCI: bus0: Fast back to back transfers disabled
[    0.938162] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.946240] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.954360] PCI: bus1: Fast back to back transfers enabled
[    0.960007] PCI: bus2: Fast back to back transfers enabled
[    0.965609] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.970638] pci 0000:00:02.0: PCI bridge to [bus 02]
[    0.976007] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.035125] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy sg intr )
[    1.042948] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.105129] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy sg intr )
[    1.138959] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.146584] console [ttyS0] disabled
[    1.170484] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
[    1.179588] console [ttyS0] enabled
[    1.179588] console [ttyS0] enabled
[    1.186699] bootconsole [earlycon0] disabled
[    1.186699] bootconsole [earlycon0] disabled
[    1.196144] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.205322] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.224636] scsi host0: ahci-mvebu
[    1.228284] scsi host1: ahci-mvebu
[    1.231818] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.239800] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.247918] ahci-mvebu f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.257043] ahci-mvebu f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.266572] scsi host2: ahci-mvebu
[    1.270236] scsi host3: ahci-mvebu
[    1.273830] ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x100 irq 43
[    1.281793] ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x180 irq 43
[    1.290250] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.298126] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xdc
[    1.304508] nand: Hynix H27U4G8F2DTR-BC
[    1.308382] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.315994] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.323175] Bad block table found at page 262080, version 0x01
[    1.329378] Bad block table found at page 262016, version 0x01
[    1.335410] nand_read_bbt: bad block at 0x000006960000
[    1.340634] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.346775] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.352201] 0x000000000000-0x000000500000 : "U-Boot"
[    1.357849] 0x000000500000-0x000000f00000 : "uImage"
[    1.373460] 0x000000a00000-0x000001900000 : "uRamdisk"
[    1.389187] 0x000000f00000-0x00001d700000 : "image.cfs"
[    1.406551] 0x00001c800000-0x000039f00000 : "rescue_fw"
[    1.411799] mtd: partition "rescue_fw" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x3800000
[    1.433279] 0x00001d700000-0x00003c200000 : "config"
[    1.438278] mtd: partition "config" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x2900000
[    1.459459] 0x00001eb00000-0x00003e000000 : "reserve1"
[    1.464622] mtd: partition "reserve1" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x1500000
[    1.485929] 0x00001f500000-0x00003f400000 : "reserve2"
[    1.491102] mtd: partition "reserve2" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0xb00000
[    1.512918] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.519645] libphy: Fixed MDIO Bus: probed
[    1.524081] libphy: orion_mdio_bus: probed
[    1.533836] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.542820] mvneta f1070000.ethernet eth0: Using random mac address b2:f6:f3:87:5d:43
[    1.552184] mvneta f1030000.ethernet eth1: Using random mac address 9a:64:3e:26:73:0e
[    1.560288] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.566885] ehci-pci: EHCI PCI platform driver
[    1.571387] ehci-orion: EHCI orion driver
[    1.575554] orion-ehci f1058000.usb: EHCI Host Controller
[    1.576050] ata2: SATA link down (SStatus 0 SControl 300)
[    1.586430] ata1: SATA link down (SStatus 0 SControl 300)
[    1.591894] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    1.599575] orion-ehci f1058000.usb: irq 38, io mem 0xf1058000
[    1.626051] ata4: SATA link down (SStatus 0 SControl 300)
[    1.634750] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    1.640806] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.647635] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.654906] usb usb1: Product: EHCI Host Controller
[    1.659803] usb usb1: Manufacturer: Linux 4.12.4-mvebu-tld-1 ehci_hcd
[    1.666278] usb usb1: SerialNumber: f1058000.usb
[    1.671218] hub 1-0:1.0: USB hub found
[    1.675017] hub 1-0:1.0: 1 port detected
[    1.679400] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.684760] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.692341] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.700934] xhci-hcd f10f0000.usb3: irq 46, io mem 0xf10f0000
[    1.706792] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.713610] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.720874] usb usb2: Product: xHCI Host Controller
[    1.725796] usb usb2: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[    1.732264] usb usb2: SerialNumber: f10f0000.usb3
[    1.737275] hub 2-0:1.0: USB hub found
[    1.741055] hub 2-0:1.0: 1 port detected
[    1.745164] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.750504] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    1.758080] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.766274] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[    1.773092] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.780354] usb usb3: Product: xHCI Host Controller
[    1.785462] usb usb3: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[    1.791929] usb usb3: SerialNumber: f10f0000.usb3
[    1.796675] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    1.803201] hub 3-0:1.0: USB hub found
[    1.806996] hub 3-0:1.0: 1 port detected
[    1.811164] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.816525] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    1.824114] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.832705] xhci-hcd f10f8000.usb3: irq 47, io mem 0xf10f8000
[    1.838558] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    1.845386] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.852639] usb usb4: Product: xHCI Host Controller
[    1.857584] usb usb4: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[    1.864052] usb usb4: SerialNumber: f10f8000.usb3
[    1.869050] hub 4-0:1.0: USB hub found
[    1.872830] hub 4-0:1.0: 1 port detected
[    1.876916] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.882256] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    1.889822] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.898018] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003
[    1.904846] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.912097] usb usb5: Product: xHCI Host Controller
[    1.917048] usb usb5: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[    1.923515] usb usb5: SerialNumber: f10f8000.usb3
[    1.928479] hub 5-0:1.0: USB hub found
[    1.932258] hub 5-0:1.0: 1 port detected
[    1.936424] usbcore: registered new interface driver usblp
[    1.941997] usbcore: registered new interface driver usb-storage
[    1.948163] mousedev: PS/2 mouse device common for all mice
[    1.954382] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.962059] i2c /dev entries driver
[    1.976528] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    1.989204] orion_wdt: Initial timeout 171 sec
[    1.994852] marvell-cesa f1090000.crypto: CESA device successfully registered
[    2.002119] hidraw: raw HID events driver (C) Jiri Kosina
[    2.007727] usbcore: registered new interface driver usbhid
[    2.013323] usbhid: USB HID core driver
[    2.017318] drop_monitor: Initializing network drop monitor service
[    2.023653] Netfilter messages via NETLINK v0.30.
[    2.028508] ip_set: protocol 6
[    2.031746] NET: Registered protocol family 10
[    2.036853] Segment Routing with IPv6
[    2.040562] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.047277] NET: Registered protocol family 17
[    2.051768] 8021q: 802.1Q VLAN Support v1.8
[    2.056044] Key type dns_resolver registered
[    2.060418] ThumbEE CPU extension supported.
[    2.064708] Registering SWP/SWPB emulation handler
[    2.069838] registered taskstats version 1
[    2.073952] Loading compiled-in X.509 certificates
[    2.078809] zswap: loaded using pool lzo/zbud
[    2.122090] usb 2-1: new high-speed USB device number 2 using xhci-hcd
[    2.132048] Key type big_key registered
[    2.139152] Key type encrypted registered
[    2.144237] armada38x-rtc f10a3800.rtc: setting system clock to 2019-06-17 21:29:54 UTC (1560806994)
[    2.230049] ata3.00: ATA-8: WDC WD20EARX-008FB0, 51.0AB51, max UDMA/133
[    2.236708] ata3.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    2.244417] ata3.00: configured for UDMA/133
[    2.269070] scsi 2:0:0:0: Direct-Access     ATA      WDC WD20EARX-008 AB51 PQ: 0 ANSI: 5
[    2.277792] sd 2:0:0:0: [sda] 3907029168 512-byte logical blocks: (2.00 TB/1.82 TiB)
[    2.285594] sd 2:0:0:0: [sda] 4096-byte physical blocks
[    2.290898] sd 2:0:0:0: [sda] Write Protect is off
[    2.294941] usb 2-1: New USB device found, idVendor=045b, idProduct=0209
[    2.294946] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.295281] hub 2-1:1.0: USB hub found
[    2.295346] hub 2-1:1.0: 4 ports detected
[    2.317553] sd 2:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.367844]  sda: sda1 sda2 sda3 sda4
[    2.372435] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    2.378563] Freeing unused kernel memory: 1024K
Loading, please wait...
starting version 232
[    2.426825] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.430462] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.431096] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.431131] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.431479] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.431685] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.431891] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.432113] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.432338] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.432523] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.447573] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[    2.501850] usb 3-1: New USB device found, idVendor=045b, idProduct=0210
[    2.510406] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.524258] hub 3-1:1.0: USB hub found
[    2.528363] hub 3-1:1.0: 4 ports detected
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.
[   13.162817] random: fast init done
[   13.668753] random: crng init done
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for root file system device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  LABEL=rootfs does not exist.  Dropping to a shell!


BusyBox v1.22.1 (Debian 1:1.22.0-19+b3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) [6n
Re: WDmycloudex4100 instructions
June 17, 2019 08:05PM
Johnei,

I don't remember much about this box. So I had to skim through the working thread!

But I do recall that I have built new stock u-boot for it. Found sachadd post:

https://forum.doozan.com/read.php?2,34103,35252#msg-35252

The reason I built new stock u-boot because stock u-boot actually stopped the USB drive before the kernel start booting. So that would explain why the USB drive was never power up.


   Loading Kernel Image ... OK
OK
stopping USB..

Starting kernel ...


So like saschadd did before, kwboot with u-boot image U-Boot 2013.01_v1.06 (Jun 30 2017 - 16:08:19) Marvell version: 2014_T3.0p6 - bodhi-tld-6 posted here:

https://forum.doozan.com/read.php?2,34103,35230#msg-35230

And enter the same envs you did.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: WDmycloudex4100 instructions
June 17, 2019 08:34PM
really confused how to run the following line ./kwboot -f -t -B 115200 /dev/ttyAMA0 -b u-boot-a38x-Yellowstone_2014T30p6_bodhi-tld-6-nand-uart.bin -s 0 -q 1
is the file supposed to be on the USB drive somewhere? and I have to have device powered off when sending the command and it should see it when I power it up?
Re: WDmycloudex4100 instructions
June 17, 2019 09:49PM
Ok I found info from the forum wiki but when trying to run I get ./kwboot: line 1: syntax error: unexpected ")"
Re: WDmycloudex4100 instructions
June 17, 2019 10:05PM
Please post the log as I mentioned before.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: WDmycloudex4100 instructions
June 17, 2019 10:16PM
Well, I am not sure if I am running kwboot correctly I am login into the wdex4100 via serial connection. and that where io am seeing the error

BootROM - 1.73
Booting from NAND flash

mvBoardIdGet: TWSI Read for Marvell Board ID failed (57) 
        Using default board ID



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

Initialize DB-88F6820-BP board topology
board SerDes lanes topology details:
 | Lane #  | Speed |  Type       |
 --------------------------------
 |   0    |  06   |  SATA0      |
 |   1    |  00   |  SGMII1     |
 |   2    |  06   |  SATA1      |
 |   3    |  06   |  SATA3      |
 |   4    |  05   |  USB3 HOST0 |
 |   5    |  06   |  SATA2      |
 --------------------------------
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver TIP-1.26.0
mvSysEnvGetTopologyUpdateInfo: TWSI Read failed
DDR3 1 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.06 (Jan 08 2015 - 10:04:46) Marvell version: 2014_T3.0p6

mvBoardSatRRead: Error: Read from S@R failed
mvBoardSatRRead: Error: Read from S@R failed
mvBoardSatRRead: Error: Read from S@R failed
Board: DB-88F6820-BP
SoC:   MV88F6828 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1600 [MHz]
       L2     @ 800 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 800 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  2 GiB

Map:   Code:                    0x7fece000:0x7ff95d44
       BSS:                     0x7ffef254
       Stack:                   0x7f9cdf20
       Heap:                    0x7f9ce000:0x7fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:      0x00000000:0x00080000 (NAND)

NAND:  ID: dcad ,512 MiB
MMC:   mv_sdh: 0
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00001f500000-0x00001ff00000 : "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/1
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 36 (0x00000024)...
Done
lan mac_addr :  00 90 a9 e4 89 34
Set lan 0 WakeOnLan ok
Set lan 1 WakeOnLan ok
MicroP Enable HD
Enable HD1
Enable HD2
Enable HD3
Enable HD4
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x00     |
| egiga1 |   SGMII   |     0x01     |
egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0 

NAND read: device 0 offset 0x500000, size 0x500000
 5242880 bytes read: OK

NAND read: device 0 offset 0xa00000, size 0x500000
 5242880 bytes read: OK
## Booting image at 00a00000 ...
## Booting kernel from Legacy Image at 00a00000 ...
   Image Name:   Linux-388
   Created:      2018-11-16   6:11:50 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4093524 Bytes = 3.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 00f00000 ...
   Image Name:   Ramdisk
   Created:      2019-05-15   2:26:55 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    2220263 Bytes = 2.1 MiB
   Load Address: 00e00000
   Entry Point:  00e00000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
stopping USB..

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Initializing cgroup subsys cpuacct
Linux version 3.10.39 (kman@kmachine) (gcc version 4.6.4 (Linaro GCC branch-4.6.4. Marvell GCC Dev 201310-2126.3d181f66 64K MAXPAGESIZE ALIGN) ) #1 SMP Fri Nov 16 14:11:47 CST 2018 2014T30p5 Build-git0451941
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Marvell Armada 380/381/382/385/388 (Device Tree), model: Marvell Armada 385 Development Board
Memory policy: ECC disabled, Data cache writealloc
PERCPU: Embedded 1 pages/cpu @c0b10000 s8320 r8192 d16256 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65505
Kernel command line: root=/dev/ram console=ttyS0,115200
PID hash table entries: 4096 (order: -1, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 4, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 3, 262144 bytes)
allocated 524288 bytes of page_cgroup
please try 'cgroup_disable=memory' option if you don't want memory cgroups
Memory: 2048MB = 2048MB total
Memory: 2081984k/2081984k available, 15168k reserved, 1303552K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff8000   (  32 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xf0800000 - 0xfff00000   ( 247 MB)
    lowmem  : 0xc0000000 - 0xf0700000   ( 775 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0714270   (7217 kB)
      .init : 0xc0718000 - 0xc075a080   ( 265 kB)
      .data : 0xc075c000 - 0xc07a7e40   ( 304 kB)
       .bss : 0xc07a7e40 - 0xc0871570   ( 806 kB)
Hierarchical RCU implementation.
        RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
NR_IRQS:16 nr_irqs:16 16

  LSP version: linux-3.10.39-2014_T3.0p5

sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410054c9, AUX_CTRL 0x16070000, Cache size: 1048576 B
Console: colour dummy device 80x30
Calibrating delay loop... 3188.32 BogoMIPS (lpj=15941632)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 4096
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys blkio
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0xc056c250 - 0xc056c2a8
mvebu-pmsu: Initializing Power Management Service Unit
Initializing CPU Reset module
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (6376.65 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
xor: measuring software checksum speed
   arm4regs  :  1708.800 MB/sec
   8regs     :  1129.600 MB/sec
   32regs    :  1104.000 MB/sec
xor: using function: arm4regs (1708.800 MB/sec)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
irq: Cannot allocate irq_descs @ IRQ195, assuming pre-allocated
irq: Cannot allocate irq_descs @ IRQ227, assuming pre-allocated
bio: create slab <bio-0> at 0
raid6: int32x1    427 MB/s
raid6: int32x2    417 MB/s
raid6: int32x4    537 MB/s
raid6: int32x8    461 MB/s
raid6: using algorithm int32x4 (537 MB/s)
raid6: using intx1 recovery algorithm
mvebu-pcie pcie-controller.3: PCIe0.0: link down
mvebu-pcie pcie-controller.3: PCIe1.0: link down
mvebu-pcie pcie-controller.3: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe8000000]
pci_bus 0000:00: root bus resource [bus 00-ff]
PCI: bus0: Fast back to back transfers disabled
pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
PCI: bus1: Fast back to back transfers enabled
PCI: bus2: Fast back to back transfers enabled
pci 0000:00:01.0: PCI bridge to [bus 01]
pci 0000:00:02.0: PCI bridge to [bus 02]
PCI: enabling device 0000:00:01.0 (0140 -> 0143)
PCI: enabling device 0000:00:02.0 (0140 -> 0143)
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
Switching to clocksource armada_370_xp_clocksource
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 1, 65536 bytes)
TCP bind hash table entries: 8192 (order: 1, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 1024 (order: 0, 32768 bytes)
UDP-Lite hash table entries: 1024 (order: 0, 32768 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 2112K (c0f08000 - c1118000)
bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 8192 (order 0, 32768 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
fuse init (API version 7.22)
SGI XFS with security attributes, large block/inode numbers, no debug enabled
msgmni has been set to 1524
async_tx: api initialized (async)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
mv_xor f1060800.xor: Marvell shared XOR driver
mv_xor f1060800.xor: Marvell XOR: ( xor cpy intr )
mv_xor f1060800.xor: freeing 1 in use descriptors!
mv_xor f1060800.xor: Marvell XOR: ( crc32c )
mv_xor f1060900.xor: Marvell shared XOR driver
mv_xor f1060900.xor: Marvell XOR: ( xor cpy intr )
mv_xor f1060900.xor: freeing 1 in use descriptors!
mv_xor f1060900.xor: Marvell XOR: ( crc32c )
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 44) is a 16550A
console [ttyS0] enabled
f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 45) is a 16550A
brd: module loaded
loop: module loaded
ahci_mv f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
ahci_mv f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
scsi0 : ahci_mv_platform
scsi1 : ahci_mv_platform
ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 58
ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 58
ahci_mv f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
ahci_mv f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
scsi2 : ahci_mv_platform
scsi3 : ahci_mv_platform
ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x100 irq 60
ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x180 irq 60
armada-nand f10d0000.nand: Initialize HAL based NFC in 8bit mode with DMA Disabled using BCH 4bit ECC
NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit), 512MiB, page size: 2048, OOB size: 64
Bad block table found at page 262080, version 0x01
Bad block table found at page 262016, version 0x01
nand_read_bbt: bad block at 0x000006960000
8 ofpart partitions found on MTD device armada-nand
Creating 8 MTD partitions on "armada-nand":
0x000000000000-0x000000500000 : "U-Boot"
0x000000500000-0x000000a00000 : "uImage"
0x000000a00000-0x000000f00000 : "uRamdisk"
0x000000f00000-0x00001c800000 : "image.cfs"
0x00001c800000-0x00001d700000 : "rescue fw"
0x00001d700000-0x00001eb00000 : "config"
0x00001eb00000-0x00001f500000 : "reserve1"
0x00001f500000-0x00001ff00000 : "reserve2"
SoC: model = 0x6828, revision = 0x4
mvPncVirtBase = 0xf0e00000, pncTcamSize = 1024
  o 3 Giga ports supported
  o SKB recycle supported (Disabled)
  o NETA acceleration mode 4
  o BM supported for CPU: 4 BM pools
  o PnC supported (Enabled)
  o RX Queue support: 8 Queues * 256 Descriptors
  o TX Queue support: 8 Queues * 532 Descriptors
  o GSO supported
  o GRO supported
  o Receive checksum offload supported
  o Transmit checksum offload supported
  o Driver ERROR statistics enabled
  o Driver INFO statistics enabled
  o Driver DEBUG statistics enabled

port #0: is_sgmii=0, is_rgmii=1, phy_addr=0
  o Loading network interface(s) for port #0: cpu_mask=0x3, tx_csum_limit=9800

  o Port 0 is connected to Linux netdevice
    o egiga0, ifindex = 2, GbE port = 0
        giga p=0: mtu=1500, mac=00:50:43:02:02:01 (platform)

port #1: is_sgmii=1, is_rgmii=0, phy_addr=1
  o Loading network interface(s) for port #1: cpu_mask=0x3, tx_csum_limit=2048

  o Port 1 is connected to Linux netdevice
    o egiga1, ifindex = 3, GbE port = 1
        giga p=1: mtu=1500, mac=00:50:43:02:02:02 (platform)

libphy: orion_mdio_bus: probed
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ehci-orion: EHCI orion driver
orion-ehci f1058000.usb: EHCI Host Controller
orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
orion-ehci f1058000.usb: irq 50, io mem 0xf1058000
orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
xhci-hcd f10f0000.usb3: xHCI Host Controller
xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
xhci-hcd f10f0000.usb3: irq 48, io mem 0xf10f0000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
xhci-hcd f10f0000.usb3: xHCI Host Controller
xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
ata2: SATA link down (SStatus 0 SControl 300)
ata1: SATA link down (SStatus 0 SControl 300)
ata3: SATA link down (SStatus 0 SControl 300)
ata4: SATA link down (SStatus 0 SControl 300)
usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
usb 3-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
hub 3-1:1.0: USB hub found
hub 3-1:1.0: 4 ports detected
mvebu-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
i2c /dev entries driver
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
md: raid6 personality registered for level 6
usb 2-1: new high-speed USB device number 2 using xhci-hcd
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
dm_crypt using the OCF package.
cpuidle: using governor ladder
armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: Total CESA HW channels supported 2
armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: CESA feature: chain(0)
mvCesaInit: channels=2, session=640, queue=256
armada-cesa-ocf f109d000.crypto: cesa_ocf_probe: CESA driver operate in ocf(0) mode
cesadev_init(c0734f0c)
TCP: cubic registered
NET: Registered protocol family 17
8021q: 802.1Q VLAN Support v1.8
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
registered taskstats version 1
mvebu-rtc f10a3800.rtc: setting system clock to 2019-06-18 02:37:27 UTC (1560825447)
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
RAMDISK: gzip image found at block 0
VFS: Mounted root (ext2 filesystem) readonly on device 1:0.
devtmpfs: mounted
Freeing unused kernel memory: 256K (c0718000 - c0758000)
init started: BusyBox v1.20.2 (2014-10-30 15:28:01 CST)
starting pid 1256, tty '': '/etc/rc.sh'
** Mounting /etc/fstab
umount: can't umount /proc: Invalid argument
umount: can't umount /usr/local/modules: Invalid argument
offset_flag=1,vaule_flag=1,bit_fUBI: attaching mtd5 to ubi0
lag=1
reg f1018140 : 00700000
UBI: scanning is finished
UBI: attached mtd5 (name "config", size 20 MiB) to ubi0
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 160, bad PEBs: 0, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 48/30, WL threshold: 4096, image sequence number: 1237890639
UBI: available PEBs: 12, total reserved PEBs: 148, PEBs reserved for bad PEB handling: 20
UBI: background thread "ubi_bgt0d" started, PID 1271
UBI device number 0, total 160 LEBs (20316160 bytes, 19.4 MiB), available 12 LEBs (1523712 bytes, 1.5 MiB), LEB size 126976 bytes (124.0 KiB)
UBIFS: background thread "ubifs_bgt0_0" started, PID 1276
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "config"
UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS: FS size: 14475264 bytes (13 MiB, 114 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
UBIFS: reserved for root: 683702 bytes (667 KiB)
UBIFS: media format: w4/r0 (latest is w4/r0), UUID 761978AF-C5F8-4E6F-893E-5B2783EE2E98, small LPT model
umount: can't umount /usr/local/tmp/image.cfs: No such file or directory
rm: can't remove '/usr/local/tmp/image.cfs': No such file or directory
umount: can't umount /usr/local/tmp: Invalid argument
first good block is 0
image len = 98234368 , image checksum = 578057a0
umount: can't umount /usr/local/tmp: Invalid argument
usb 2-1.2: new high-speed USB device number 3 using xhci-hcd
usb-storage 2-1.2:1.0: USB Mass Storage device detected
scsi4 : usb-storage 2-1.2:1.0
scsi 4:0:0:0: Direct-Access     VendorCo ProductCode      2.00 PQ: 0 ANSI: 4
sd 4:0:0:0: [sda] 30720000 512-byte logical blocks: (15.7 GB/14.6 GiB)
sd 4:0:0:0: Attached scsi generic sg0 type 0
sd 4:0:0:0: [sda] Write Protect is off
sd 4:0:0:0: [sda] No Caching mode page found
sd 4:0:0:0: [sda] Assuming drive cache: write through
sd 4:0:0:0: [sda] No Caching mode page found
sd 4:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1
sd 4:0:0:0: [sda] No Caching mode page found
sd 4:0:0:0: [sda] Assuming drive cache: write through
sd 4:0:0:0: [sda] Attached SCSI removable disk
dump image checksum=578057a0
mount cmd:busybox mount -t squashfs -o loop /usr/local/tmp/image.cfs /usr/local/modules
cp: can't stat '/tmp1/*': No such file or directory
ln: /lib/./liblber-2.4.so.2.5.6: File exists
ln: /lib/./libminiupnpc.so: File exists
ln: /lib/./libnatpmp.so: File exists
ln: /lib/./libpam.so.0.81.6: File exists
ln: /usr/local/sbin/alert_email_config.sh: File exists
ln: /usr/sbin/language.sh: File exists
ln: /lib/libnss_winbind.so.2: File exists
dev.raid.speed_limit_max = 1000
egiga0    Link encap:Ethernet  HWaddr 00:50:43:02:02:01  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:193 
egiga0: mac address changed

egiga1    Link encap:Ethernet  HWaddr 00:50:43:02:02:02  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:194 

Do Lan Port Switch
egiga1: mac address changed
not_egiga0: mac address changed
jnl: driver (lke_9.2.0 lke_9.2.0_r256412_b49, LBD=ON) loaded at bf000000
ufsd: module license 'Commercial product' taints kernel.
Disabling lock debugging due to kernel taint
ufsd:: trace mask set to 0000000f
ufsd: driver (lke_9.2.0 lke_9.2.0_r256412_b49, build_host("fsd-linux-bs06b"), acl, ioctl, bdi, sd2(0), fua, bz, tr, rsrc) loaded at bf020000
NTFS support included
exFAT support included
Hfs+/HfsJ support included
optimized: speed
Build_for__WD_Yellowstone_k3.10.39_2015-07-06_lke_9.2.0_r256412_b49

bio: create slab <bio-1> at 1
Btrfs loaded
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
lrwxrwxrwx    1 root     0               17 Jun 18 02:37 [1;36m/usr/sbin//raid_config[0m -> [1;32m/usr/sbin/diskmgr[0m
lrwxrwxrwx    1 root     0               17 Jun 18 02:37 [1;36m/usr/sbin//raid_expand[0m -> [1;32m/usr/sbin/diskmgr[0m
lrwxrwxrwx    1 root     0               17 Jun 18 02:37 [1;36m/usr/sbin//raid_expand_disks[0m -> [1;32m/usr/sbin/diskmgr[0m
lrwxrwxrwx    1 root     0               17 Jun 18 02:37 [1;36m/usr/sbin//raid_update_info[0m -> [1;32m/usr/sbin/diskmgr[0m
hardware init
Read PCI register offset 0x18140 = 701000
Read PCI register offset 0x18140 = 701000
Read PCI register offset 0x18140 = 701000
Resetting USB device /dev/bus/usb/003/002
usb 3-1: reset SuperSpeed USB device number 2 using xhci-hcd
usb 3-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
xhci-hcd f10f0000.usb3: xHCI xhci_drop_endpoint called with disabled ep ee3238c0
Reset successful
mode nmae: -->WDMyCloudEX4100<--
Set 802.3az
mtd check v1.06.06032015
config mtd type is UBIFS
device = /usr/local/config
Total size     = 12384 Kbytes
Used size     = 276 Kbytes
Free size     = 12108 Kbytes
percentage = 2
/usr/local/config free size is 12398592
/usr/local/config/dynamicconfig_config.ini file size is zero , and copy from default
** copy config files
*** Copy orion.db from flash ****
cp: can't stat '/usr/local/modules/files/fan_temperature.txt': No such file or directory
*** symlink onbrd.ini from flash ****
/etc/sysinit.d/wdlog: line 13: /etc/system.conf: No such file or directory
** set loopback interface
UBI: attaching mtd6 to ubi1
UBI: scanning is finished
UBI: attached mtd6 (name "reserve1", size 10 MiB) to ubi1
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 4/2, WL threshold: 4096, image sequence number: 2557296595
UBI: available PEBs: 18, total reserved PEBs: 62, PEBs reserved for bad PEB handling: 24
UBI: background thread "ubi_bgt1d" started, PID 3279
UBI device number 1, total 80 LEBs (10158080 bytes, 9.7 MiB), available 18 LEBs (2285568 bytes, 2.2 MiB), LEB size 126976 bytes (124.0 KiB)
UBIFS: background thread "ubifs_bgt1_0" started, PID 3298
UBIFS: mounted UBI device 1, volume 0, name "reserve"
UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS: FS size: 3047424 bytes (2 MiB, 24 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
UBIFS: reserved for root: 143937 bytes (140 KiB)
UBIFS: media format: w4/r0 (latest is w4/r0), UUID 2AF1DBDC-311B-44DB-82D0-0BB16F030BA5, small LPT model
UBIFS: un-mount UBI device 1, volume 0
UBIFS: background thread "ubifs_bgt1_0" stops
UBI: attaching mtd7 to ubi2
UBI: scanning is finished
UBI: attached mtd7 (name "reserve2", size 10 MiB) to ubi2
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 540768837
UBI: available PEBs: 6, total reserved PEBs: 74, PEBs reserved for bad PEB handling: 28
UBI: background thread "ubi_bgt2d" started, PID 3313
UBI device number 2, total 80 LEBs (10158080 bytes, 9.7 MiB), available 6 LEBs (761856 bytes, 744.0 KiB), LEB size 126976 bytes (124.0 KiB)
mknod: /dev/mtd7: File exists
UBIFS: background thread "ubifs_bgt2_0" started, PID 3326
UBIFS: mounted UBI device 2, volume 0, name "reserve2"
UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS: FS size: 4063232 bytes (3 MiB, 32 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
UBIFS: reserved for root: 191915 bytes (187 KiB)
UBIFS: media format: w4/r0 (latest is w4/r0), UUID DA06F613-BDF8-4D03-A522-E6A18E2007CF, small LPT model
/dev/mtd7 mount ok(ubi)
UBIFS: un-mount UBI device 2, volume 0
UBIFS: background thread "ubifs_bgt2_0" stops
mac1 = 00:90:A9:E4:89:34
mac2 =egiga0: mac address changed
 00:90:A9:E4:89:35
lan0:ifconfiegiga1: mac address changed
g egiga0 hw ether 00:90:A9:E4:89:34
lan0:ifconfig egiga1 hw ethpool #1: pkt_size=1536, buf_size=1600 - 2048 of 2048 buffers added
er 00:90:A9:E4:8egiga0: link up
9:35
egiga0: link up, full duplex, speed 1 Gbps
egiga0: started
pool #0: pkt_size=1536, buf_size=1600 - 2048 of 2048 buffers added
egiga1: started
set lan0 speed
set lan1 speed
[wd_read_serial.c:621] Read serial number from flash.
[wd_read_serial.c:160] serial number : WNAG29070174
hidden encryption: 0
old firmware ver:2.31.183.0514.2019
new firmware ver:2.31.183.0514.2019
rm: can't remove '/tmp/fix_wd_config': No such file or directory
NET: Registered protocol family 10
IPv6: ADDRCONF(NETDEV_UP): egiga1: link is not ready
sit: Unknown symbol ip_tunnel_get_stats64 (err 0)
insmod: error inserting '/usr/local/modules/driver/sit.ko': -1 Unknown symbol in module
rm: can't remove '/bin/sysctl': No such file or directory
net.ipv6.conf.default.accept_dad = 2
net.ipv6.conf.egiga0.accept_dad = 2
net.ipv6.conf.default.dad_transmits = 1
net.ipv6.conf.egiga0.dad_transmits = 1
net.ipv6.conf.default.forwarding = 0
net.ipv6.conf.default.accept_redirects = 1
mkdir: can't create directory '/usr/local/etc': File exists
*** execute rc.init.sh
ip.sh bonding {1 restart}
bonding starting ...
insmod /usr/local/modules/driver/bonding.ko mode=1 miimon=500 use_carrier=1 downdelay=1000 updelay=1000
bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
bonding: MII link monitoring set to 500 ms
8021q: adding VLAN 0 to HW filter on device bond0
IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready
egiga0: stopped
egiga0: mac address changed
egiga0: link up
egiga0: started
bonding: bond0: enslaving egiga0 as a backup interface with an up link.
egiga1: stopped
egiga1: mac address changed
egiga1: started
bonding: bond0: enslaving egiga1 as a backup interface with a down link.
udhcpc (v1.20.2) started
cat: can't open '/tmp/setip.0': No such file or directory
Sending discover...
killall: crond: no process killed
crond[3575]: crond: crond (busybox 1.20.2) started, log level 8
--2019-06-18 02:37:58--  http://download.wdc.com/nas/WDMyCloudEX4100_HDD_Blacklist.xml
Resolving download.wdc.com... failed: Name or service not known.
wget: unable to resolve host address 'download.wdc.com'
[upnp_nas_xml.c() 348] Can't get IP of bond0
Initializing UPnP Sdk with
        ipaddress = (null) port = 0
UPnP Initialized
        ipaddress= 0.0.0.0 port = 49152
Specifying the webserver root directory -- /etc/upnp
Registering the RootDevice
         with desc_doc_url: http://0.0.0.0:49152/nasdevicedesc.xml
RootDevice Registered
Initializing State Table
State Table Initialized
sh: you need to specify whom to kill
Advertisements Sent
bonding: bond0: link status definitely up for interface egiga0, 1000 Mbps full duplex.
bonding: bond0: making interface egiga0 the new active one.
bonding: bond0: first active interface up!
IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
*** Copy CacheVolume data from flash ****
*** set Time Zone ****
$Usage: apache {start|stop|restart} {web/dav}
Tue Jun 18 02:37:59 PDT 2019
*** get Time from rtc and set it into system ****
rtc: RTC time = 2019/6/18 Tue 2:38:0
Mon Jun 17 19:38:00 PDT 2019
Set Date & time : sntp -K /dev/null -S -r time.windows.com
sntp 4.2.8@1.3265 Fri Jan  9 06:42:54 UTC 2015 (8)
time.windows.com lookup error Name or service not known

Module IPC SERVER Version:(1.00.20090706)

ads=0
created mail daemon thread 0
restart sysinfod...
Sending discover...
Sending select for 10.0.0.8...
Lease of 10.0.0.8 obtained, lease time 604800
deleting routers
route: SIOCDELRT: No such process
call load_module network
RTNETLINK answers: Operation not supported
RTNETLINK answers: Operation not supported
POWER ON DEVICE!!
sh: can't create /sys/module/gpio/parameters/hdd_status: nonexistent directory
cp: can't stat '/usr/local/config/user.log.*': No such file or directory
cp: can't stat '/usr/local/config/wdmcserver.log.*': No such file or directory
cp: can't stat '/usr/local/config/orion_cm.log.*': No such file or directory
cp: can't stat '/usr/local/config/mycloud.log.*': No such file or directory
cp: can't stat '/usr/local/config/wdhwlib.log.*': No such file or directory
mount: mount point /proc/bus/usb does not exist
WD hwlib start..............
Starting system message bus
Starting wdtms
wdtms started
Loading x_tables.ko
Loading nf_conntrack.ko
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
Loading xt_conntrack.ko
Loading xt_state.ko
Loading xt_tcpudp.ko
Loading xt_recent.ko
Loading xt_LOG.ko
Loading xt_limit.ko
Loading ip_tables.ko
ip_tables: (C) 2000-2006 Netfilter Core Team
Loading iptable_filter.ko
Loading nf_defrag_ipv4.ko
Loading nf_conntrack_ipv4.ko
Loading ip6_tables.ko
ip6_tables: (C) 2000-2006 Netfilter Core Team
Loading ip6table_filter.ko
Loading nf_defrag_ipv6.ko
Loading nf_conntrack_ipv6.ko
PHY_LAN_NUMBER=2
BOND_ENABLE=1
VLAN0_ENABLE=0
VLAN1_ENABLE=0
I/O warning : failed to load external entity "/var/www/xml/internal_backup.xml"
--2019-06-17 19:38:03--  http://download.wdc.com/apps/WDMyCloudEX4100/WDMyCloudEX4100.xml
Resolving download.wdc.com... 34.211.97.143, 35.160.19.99
Connecting to download.wdc.com|34.211.97.143|:80... cat: can't open '/var/run/traceroute_wd.pid': No such file or directory
ash: you need to specify whom to kill
killall: traceroute: no process killed
connected.
HTTP request sent, awaiting response... 
 -------------use hwlib instead of fan_control b c------------- 
200 OK
Length: 62016 (61K) [text/xml]
Saving to: '/var/www/xml/app_info.xml'

100%[======================================>] 62,016       281KB/s   in 0.2s   

2019-06-17 19:38:04 (281 KB/s) - '/var/www/xml/app_info.xml' saved [62016/62016]

I/O warning : failed to load external entity "/var/www/xml/app_update.xml"
Set Date & time : sntp -K /dev/null -S -r pool.ntp.org
[ERROR] Unable to open (null)
sntp 4.2.8@1.3265 Fri Jan  9 06:42:54 UTC 2015 (8)
2019-06-17 19:38:05.071049 (+0800) +0.947954 +/- 0.661103 pool.ntp.org 67.217.112.181 s2
NTP Server connected successfully!!!
rtc: system time: 2019/6/18 Tue 2:38:10
setRTCTime



kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda1): using internal journal
EXT3-fs (sda1): recovery complete
EXT3-fs (sda1): mounted filesystem with ordered data mode
waiting : [10]
country=0
lang_path=/usr/local/modules/language
chk_io v1.04.20141112
system daemon v1.04.20141211
PIP is disabled, exiting.
Mon Jun 17 19:38:53 PDT 2019 - %I - Communication Manager - Start
dev.raid.speed_limit_max = 200000

starting pid 5224, tty '/dev/ttyS0': '/bin/login'
Password of admin: 
sh: operate_auth: not found
killall: chk_hotplug: no process killed
call load_module
### create systemfile ###
### sata_reload_application start ###
Loading iSCSI transport class v2.0-870.
iscsi: registered transport (tcp)
New interface iface0 added
iface0 updated.
New interface iface1 added
iface1 updated.
New interface ifbond added
ifbond updated.
Initializing UPnP Sdk with
        ipaddress = (null) port = 0
UPnP Initialized
        ipaddress= 10.0.0.8 port = 49152
Specifying the webserver root directory -- /etc/upnp
Registering the RootDevice
         with desc_doc_url: http://10.0.0.8:49152/nasdevicedesc.xml
RootDevice Registered
Initializing State Table
State Table Initialized
Starting atopacctd
cannot switch on process accounting: Function not implemented
Starting atop system monitor  atop
atop started
Advertisements Sent
*** APKG Daemon is starting ... ***
Rename is FAILE
USE 2nd Rename 
sh: you need to specify whom to kill
sh: you need to specify whom to kill
Rename is FAILE
USE 2nd Rename 
killall: smbd: no process killed
Starting wdnotifier
wdnotifier started
killall: smbd: no process killed
killall: chk_blockip: no process killed
killall: chk_blockip: no process killed
sh: syntax error: unexpected "("
Starting AFP services:
I/O warning : failed to load external entity "/mnt/USB/USB2_a1/.timeMachine.xml"
Document parsed unsuccessfully. 
 3901 root      8640 S    avahi-daemon: running [WDMyCloudEX4100.local]
killall: elephantdriveDaemon: no process killed
Setting up docker
mkdir: can't create directory '/mnt/HD/HD_a2/Nas_Prog/_docker': No such file or directory
Loading drivers
Loading /usr/local/modules/driver/nf_conntrack.ko
insmod: error inserting '/usr/local/modules/driver/nf_conntrack.ko': -1 File exists
failed to load /usr/local/modules/driver/nf_conntrack.ko
Loading /usr/local/modules/driver/nf_nat.ko
Loading /usr/local/modules/driver/nf_defrag_ipv4.ko
insmod: error inserting '/usr/local/modules/driver/nf_defrag_ipv4.ko': -1 File exists
failed to load /usr/local/modules/driver/nf_defrag_ipv4.ko
Loading /usr/local/modules/driver/nf_conntrack_ipv4.ko
insmod: error inserting '/usr/local/modules/driver/nf_conntrack_ipv4.ko': -1 File exists
failed to load /usr/local/modules/driver/nf_conntrack_ipv4.ko
Loading /usr/local/modules/driver/nf_nat_ipv4.ko
Loading /usr/local/modules/driver/x_tables.ko
insmod: error inserting '/usr/local/modules/driver/x_tables.ko': -1 File exists
failed to load /usr/local/modules/driver/x_tables.ko
Loading /usr/local/modules/driver/xt_conntrack.ko
insmod: error inserting '/usr/local/modules/driver/xt_conntrack.ko': -1 File exists
failed to load /usr/local/modules/driver/xt_conntrack.ko
Loading /usr/local/modules/driver/xt_addrtype.ko
Loading /usr/local/modules/driver/xt_tcpudp.ko
insmod: error inserting '/usr/local/modules/driver/xt_tcpudp.ko': -1 File exists
failed to load /usr/local/modules/driver/xt_tcpudp.ko
Loading /usr/local/modules/driver/xt_nat.ko
Loading /usr/local/modules/driver/nf_nat_masquerade_ipv4.ko
insmod: can't read '/usr/local/modules/driver/nf_nat_masquerade_ipv4.ko': No such file or directory
failed to load /usr/local/modules/driver/nf_nat_masquerade_ipv4.ko
Loading /usr/local/modules/driver/ipt_MASQUERADE.ko
Loading /usr/local/modules/driver/ip_tables.ko
insmod: error inserting '/usr/local/modules/driver/ip_tables.ko': -1 File exists
failed to load /usr/local/modules/driver/ip_tables.ko
Loading /usr/local/modules/driver/iptable_filter.ko
insmod: error inserting '/usr/local/modules/driver/iptable_filter.ko': -1 File exists
failed to load /usr/local/modules/driver/iptable_filter.ko
Loading /usr/local/modules/driver/iptable_nat.ko
Loading /usr/local/modules/driver/llc.ko
Loading /usr/local/modules/driver/stp.ko
Loading /usr/local/modules/driver/bridge.ko
Bridge firewalling registered
Loading /usr/local/modules/driver/br_netfilter.ko
insmod: can't read '/usr/local/modules/driver/br_netfilter.ko': No such file or directory
failed to load /usr/local/modules/driver/br_netfilter.ko
Setting up cgroup
Get http:///var/run/docker.sock/v1.19/containers/json: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?
wdappmgr_auto_start finished modifying wd apps exit code
Starting Docker
Docker is not setup! Run docker_daemon.sh setup
umount: /mnt/HD/HD_a2/Nas_Prog/_docker/devicemapper: not found
Total RAM: 2084352 KB
Creating /sys/fs/cgroup/memory/docker
Docker quota: 1042176 KB
Set memory quota for docker: 1067188224
/usr/sbin/docker_daemon.sh: line 198: /var/lib/docker/docker.log: No such file or directory
Docker pid 6094
Stopping wdappmgr
wdappmgr is already stopped
Starting wdappmgr
parent exiting!
wdappmgr started
curl: (7) Couldn't connect to server
curl: (7) Couldn't connect to server
curl: (7) Couldn't connect to server
curl: (7) Couldn't connect to server
curl: (7) Couldn't connect to server
country=0
lang_path=/usr/local/modules/language
### sata_reload_application end ###
Create USB dev node
rm: can't remove '/tmp/disk_uuid': No such file or directory
dry_total_size:3761
dry_total_size:0
dry_total_size:49607
dry_total_size:3183
dry_total_size:4152
LED_POWER_ON


^[[A^[[A^H^H^HLogin incorrect
Password of admin: 


BusyBox v1.20.2 (2014-10-30 15:28:01 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

root@WDMyCloudEX4100 / # ls
[1;34mCacheVolume[0m  [1;34mhome[0m         [1;34mmnt[0m          [1;34mroot[0m         [1;34mtmp[0m
[1;34mbin[0m          [1;34mlib[0m          [1;36mnfs[0m          [1;34msbin[0m         [1;34musr[0m
[1;34mdev[0m          [1;36mlinuxrc[0m      [1;34mopt[0m          [1;34mshares[0m       [1;34mvar[0m
[1;34metc[0m          [1;34mlost+found[0m   [1;34mproc[0m         [1;34msys[0m
root@WDMyCloudEX4100 / # ls
[1;34mCacheVolume[0m  [1;34mhome[0m         [1;34mmnt[0m          [1;34mroot[0m         [1;34mtmp[0m
[1;34mbin[0m          [1;34mlib[0m          [1;36mnfs[0m          [1;34msbin[0m         [1;34musr[0m
[1;34mdev[0m          [1;36mlinuxrc[0m      [1;34mopt[0m          [1;34mshares[0m       [1;34mvar[0m
[1;34metc[0m          [1;34mlost+found[0m   [1;34mproc[0m         [1;34msys[0m
root@WDMyCloudEX4100 / # ls
[1;34mCacheVolume[0m  [1;34mhome[0m         [1;34mmnt[0m          [1;34mroot[0m         [1;34mtmp[0m
[1;34mbin[0m          [1;34mlib[0m          [1;36mnfs[0m          [1;34msbin[0m         [1;34musr[0m
[1;34mdev[0m          [1;36mlinuxrc[0m      [1;34mopt[0m          [1;34mshares[0m       [1;34mvar[0m
[1;34metc[0m          [1;34mlost+found[0m   [1;34mproc[0m         [1;34msys[0m
root@WDMyCloudEX4100 / # [Jls -lah
drwxr-xr-x   19 root     root        1.0K Jun 17 19:39 [1;34m.[0m
drwxr-xr-x   19 root     root        1.0K Jun 17 19:39 [1;34m..[0m
-rw-------    1 root     root          11 Jun 17 19:40 [0;0m.ash_history[0m
-rw-------    1 root     root        1.0K Jun 17 19:37 [0;0m.rnd[0m
drwxr-xr-x    3 root     root        1.0K Jun 17 19:37 [1;34mCacheVolume[0m
drwxr-xr-x    2 root     root        1.0K Jun 17 19:37 [1;34mbin[0m
drwxrwxrwt    7 root     root       14.0K Jun 17 19:39 [1;34mdev[0m
drwxr-xr-x   25 root     root        2.0K Jun 17 19:39 [1;34metc[0m
drwxr-xr-x    4 root     root        1.0K May 14 19:26 [1;34mhome[0m
drwxr-xr-x    2 root     root       12.0K Jun 17 19:37 [1;34mlib[0m
lrwxrwxrwx    1 root     root          11 May 14 19:26 [1;36mlinuxrc[0m -> [1;32mbin/busybox[0m
drwx------    2 root     root       12.0K May 14 19:26 [1;34mlost+found[0m
drwxrwxrwt    5 root     root         100 Jun 17 19:37 [1;34mmnt[0m
lrwxrwxrwx    1 root     root           7 Jun 17 19:39 [1;36mnfs[0m -> [1;34m/shares[0m
drwxr-xr-x    2 root     root        1.0K Jun 17 19:37 [1;34mopt[0m
dr-xr-xr-x  127 root     root           0 Dec 31  1969 [1;34mproc[0m
drwxr-xr-x    2 root     root        1.0K May 14 19:26 [1;34mroot[0m
drwxr-xr-x    2 root     root        1.0K Jun 17 19:37 [1;34msbin[0m
drwxrwxrwx    2 root     root        1.0K Jun 17 19:38 [1;34mshares[0m
dr-xr-xr-x   12 root     root           0 Jun 17 19:37 [1;34msys[0m
drwxrwxrwt   12 root     root        1.1K Jun 17 19:39 [1;34mtmp[0m
drwxr-xr-x    7 root     root        1.0K Jun 17 19:37 [1;34musr[0m
drwxr-xr-x   13 root     root        1.0K Jun 17 19:39 [1;34mvar[0m
root@WDMyCloudEX4100 / # cd //
root@WDMyCloudEX4100 / # ls
[1;34mCacheVolume[0m  [1;34mhome[0m         [1;34mmnt[0m          [1;34mroot[0m         [1;34mtmp[0m
[1;34mbin[0m          [1;34mlib[0m          [1;36mnfs[0m          [1;34msbin[0m         [1;34musr[0m
[1;34mdev[0m          [1;36mlinuxrc[0m      [1;34mopt[0m          [1;34mshares[0m       [1;34mvar[0m
[1;34metc[0m          [1;34mlost+found[0m   [1;34mproc[0m         [1;34msys[0m
root@WDMyCloudEX4100 / # cd home
root@WDMyCloudEX4100 /home # ls
[1;34mroot[0m           [1;34msqueezecenter[0m
root@WDMyCloudEX4100 /home # cd root/[J
root@WDMyCloudEX4100 root # ls
[0;0marchive-name.tar.gz[0m
root@WDMyCloudEX4100 root # ls[J[[Jedefefefefefefefef.gz ./[J[25Dxvf archive-name.tar.gz ./[25D
-sh: ledefefefefefefefef: not found
root@WDMyCloudEX4100 root # tar
BusyBox v1.20.2 (2014-10-30 15:28:01 CST) multi-call binary.

Usage: tar -[cxtzjhmvO] [-X FILE] [-T FILE] [-f TARFILE] [-C DIR] [FILE]...

Create, extract, or list files from a tar file

Operation:
        c       Create
        x       Extract
        t       List
        f       Name of TARFILE ('-' for stdin/out)
        C       Change to DIR before operation
        v       Verbose
        z       (De)compress using gzip
        j       (De)compress using bzip2
        O       Extract to stdout
        h       Follow symlinks
        m       Don't restore mtime
        exclude File to exclude
        X       File with names to exclude
        T       File with names to include

root@WDMyCloudEX4100 root # tar -zxvf archive-name.tar.gz ./
./
./._kwboot
./kwboot
./archive
./._u-boot-a38x-Yellowstone_2014T30p6_bodhi-tld-6-nand-uart.bin
./u-boot-a38x-Yellowstone_2014T30p6_bodhi-tld-6-nand-uart.bin
./._kwboot.1
./kwboot.1
./x
root@WDMyCloudEX4100 root # ls
[0;0marchive[0m
[0;0marchive-name.tar.gz[0m
[1;32mkwboot[0m
[0;0mkwboot.1[0m
[0;0mu-boot-a38x-Yellowstone_2014T30p6_bodhi-tld-6-nand-uart.bin[0m
[0;0mx[0m
root@WDMyCloudEX4100 root # kwboot
-sh: kwboot: not found
root@WDMyCloudEX4100 root # kwbootttt[t
-sh: kwt: not found
root@WDMyCloudEX4100 root # ./kwboot[J
./kwboot: line 1: syntax error: unexpected ")"
root@WDMyCloudEX4100 root # ./kwboot[[J
-sh: ./kwboo: not found
root@WDMyCloudEX4100 root # ./kboo[[[J
-sh: ./kb: not found
root@WDMyCloudEX4100 root # ./kwboot
./kwboot: line 1: syntax error: unexpected ")"
root@WDMyCloudEX4100 root # ./kwboot -f -t -B 115200 /dev/ttyAMA0 -b u-boot-a38x
-Yellowstone_2014T30p6_bodhi-tld-6-nand-uart.bin -s 0 -q 1
./kwboot: line 1: syntax error: unexpected ")"
root@WDMyCloudEX4100 root # ./kwboot -f -t -B 115200 /dev/ttyAMA0 -b u-boot-a38x
-Yellowstone_2014T30p6_bodhi-tld-6-nand-uart.bin -s 0 -q 1[J
./kwboot: line 1: syntax error: unexpected ")"
root@WDMyCloudEX4100 root # ./kwboot -f -t -B 115200 /dev/ttyAMA0 -b u-boot-a38x
root@WDMyCloudEX4100 root # [Jld-6-nand-uart.bin -s 0 -q 1[J[1A
root@WDMyCloudEX4100 root # kwboot
-sh: kwboot: not found
root@WDMyCloudEX4100 root # chmod +x kwboot[J
root@WDMyCloudEX4100 root # kwboot
-sh: kwboot: not found
root@WDMyCloudEX4100 root # ./kwboot -f -t -B 115200 /dev/ttyAMA0 -b u-boot-a38x
root@WDMyCloudEX4100 root # ./kwboot -f -t -B 115200 /dev/ttyAMA0 -b u-boot-a38x
-Yellowstone_2014T30p6_bodhi-tld-6-nand-uart.bin -s 0 -q 1[J
./kwboot: line 1: syntax error: unexpected ")"
root@WDMyCloudEX4100 root # ./kwboot -f -t -B 115200 /dev/ttyAMA0 -b u-boot-a38x
-Yellowstone_2014T30p6_bodhi-tld-6-nand-uart.bin -s 0 -q 1[J
./kwboot: line 1: syntax error: unexpected ")"
root@WDMyCloudEX4100 root # ./kwboot -f -t -B 115200 /dev/ttyAMA0 -b u-boot-a38x
-Yellowstone_2014T30p6_bodhi-tld-6-nand-uart.bin -s 0 -q 1[[[[[J
./kwboot: line 1: syntax error: unexpected ")"
root@WDMyCloudEX4100 root # exit
process '/bin/login' (pid 5224) exited. Scheduling for restart.

Please press Enter to activate this console. exit
starting pid 8948, tty '/dev/ttyS0': '/bin/login'
Password of admin: 

Login incorrect
Password of admin: send alert suspending
[Disconnected]
Re: WDmycloudex4100 instructions
June 17, 2019 10:33PM
Hi, kwboot needs to be run from a Linux pc connected to the ex4100’s serial port.

If your pc is a windows box you could use a virtual machine or Linux livecd.
Re: WDmycloudex4100 instructions
June 17, 2019 10:43PM
Ahh got it I am now running it on my P. hopefully, it will boot into Debian after the image is sent and I set the env
Re: WDmycloudex4100 instructions
June 17, 2019 11:01PM
Finally got it working so now I can save the environment variables correct? and then update to latest, do I need to always use kwboot?
johnei
Re: WDmycloudex4100 instructions
June 18, 2019 09:21AM
Would it be as simple as adding FW_setenv to all the posted env and is this done in debian or at uboot interrupt ? So my guess from looking at the original thread that I need to back up nand and then flash with the uboot, is this correct from there I can upgrade to you latest release Bodhi?
Re: WDmycloudex4100 instructions
June 18, 2019 04:42PM
johnei,

At the moment, you can't do that yet. For now booting with kwboot and run the envs to boot Debian.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: WDmycloudex4100 instructions
June 18, 2019 04:47PM
pi@raspberrypi:~ $ kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-Yellowstone_2014T30p6_bodhi-tld-6-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 % [......................................................................]
 44 % [......................................................................]
 45 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 48 % [......................................................................]
 49 % [......................................................................]
 50 % [......................................................................]
 51 % [......................................................................]
 52 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 55 % [......................................................................]
 56 % [......................................................................]
 57 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 59 % [......................................................................]
 60 % [......................................................................]
 61 % [......................................................................]
 62 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 65 % [......................................................................]
 66 % [......................................................................]
 67 % [......................................................................]
 68 % [......................................................................]
 69 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 72 % [......................................................................]
 73 % [......................................................................]
 74 % [......................................................................]
 74 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 77 % [......................................................................]
 78 % [......................................................................]
 79 % [......................................................................]
 80 % [......................................................................]
 81 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 84 % [......................................................................]
 85 % [......................................................................]
 86 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 89 % [......................................................................]
 89 % [......................................................................]
 90 % [......................................................................]
 91 % [......................................................................]
 92 % [......................................................................]
 93 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 96 % [......................................................................]
 97 % [......................................................................]
 98 % [......................................................................]
 99 % [..................................................]
[Type Ctrl-\ + c to quit]

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


U-Boot 2013.01_v1.06 (Jun 30 2017 - 16:08:19) Marvell version: 2014_T3.0p6 - bodhi-tld-6

mvBoardSatRRead: Error: Read from S@R failed
mvBoardSatRRead: Error: Read from S@R failed
mvBoardSatRRead: Error: Read from S@R failed
Board: DB-88F6820-BP
SoC:   MV88F6828 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1600 [MHz]
       L2     @ 800 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 800 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  2 GiB

Map:   Code:			0x7fece000:0x7ff960f0
       BSS:			0x7ffef654
       Stack:			0x7f9cdf20
       Heap:			0x7f9ce000:0x7fece000
       U-Boot Environment:	0x00100000:0x00180000 Address: 0x00100000(NAND)

NAND:  ID: dcad ,512 MiB
MMC:   mv_sdh: 0
bootcmd: run bootcmd_custom; setenv bootargs root=/dev/ram console=ttyS0,115200; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00001f500000-0x00001ff00000 : "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/1
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 36 (0x00000024)...
Done
lan mac_addr :  00 90 a9 e4 89 34
Set lan 0 WakeOnLan ok
Set lan 1 WakeOnLan ok
MicroP Enable HD
Enable HD1
Enable HD2
Enable HD3
Enable HD4
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x00     |
| egiga1 |   SGMII   |     0x01     |
egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0 
Marvell>> setenv set_bootargs_stock 'setenv bootargs root=/dev/ram console=ttyS0,115200'
Marvell>> setenv bootcmd_stock 'echo Booting from stock ... ; run set_bootargs_stock; printenv bootargs; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000'
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),441m@15m(image.cfs),15m@456m(rescue_fw),20m@471m(config),10m@491m(reserve1),10m@501m(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>> setenv bootcmd_custom 'if run bootcmd_usb; then ; fi; run bootcmd_stock; reset'
Marvell>> setenv bootcmd 'run bootcmd_custom'
Marvell>> boot
Booting from USB ...
(Re)start USB...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 4 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... 4 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 ...
4036593 bytes read in 395 ms (9.7 MiB/s)
loading uInitrd ...
7070236 bytes read in 476 ms (14.2 MiB/s)
## Booting image at 02000000 ...
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-4.12.4-mvebu-tld-1
   Created:      2019-06-18   1:43:38 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4036529 Bytes = 3.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02900000 ...
   Image Name:   initramfs-4.12.4-mvebu-tld-1
   Created:      2017-08-22  11:10:43 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7070172 Bytes = 6.7 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.12.4-mvebu-tld-1 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 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: WD My Cloud EX4100
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 17 pages/cpu @eefc9000 s40460 r8192 d20980 u69632
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),441m@15m(image.cfs),15m@456m(rescue_fw),20m@471m(config),10m@491m(reserve1),10m@501m(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: 2059464K/2097152K available (8192K kernel code, 712K rwdata, 2080K rodata, 1024K init, 331K bss, 37688K reserved, 0K cma-reserved, 1310720K 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 - 0xc0db2308   ( 713 kB)
[    0.000000]        .bss : 0xc0db9a84 - 0xc0e0ca58   ( 332 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    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.007881] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019070] Console: colour dummy device 80x30
[    0.023583] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.033975] pid_max: default: 32768 minimum: 301
[    0.038722] Security Framework initialized
[    0.042916] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.049589] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.057036] CPU: Testing write buffer coherency: ok
[    0.062097] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.103885] Setting up static identity map for 0x100000 - 0x100060
[    0.110183] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
[    0.115466] mvebu-pmsu: Initializing Power Management Service Unit
[    0.173865] smp: Bringing up secondary CPUs ...
[    0.233917] Booting CPU 1
[    0.236760] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.236807] smp: Brought up 1 node, 2 CPUs
[    0.246688] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.253008] CPU: All CPU(s) started in SVC mode.
[    0.258226] devtmpfs: initialized
[    0.263179] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.271090] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.280979] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.287250] prandom: seed boundary self test passed
[    0.293888] prandom: 100 self tests passed
[    0.298048] pinctrl core: initialized pinctrl subsystem
[    0.303933] NET: Registered protocol family 16
[    0.308996] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.316875] cpuidle: using governor ladder
[    0.321049] cpuidle: using governor menu
[    0.325162] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.333210] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.339211] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.347359] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.370847] vgaarb: loaded
[    0.373878] SCSI subsystem initialized
[    0.384107] usbcore: registered new interface driver usbfs
[    0.389677] usbcore: registered new interface driver hub
[    0.395315] usbcore: registered new device driver usb
[    0.400695] media: Linux media interface: v0.10
[    0.405391] Linux video capture interface: v2.00
[    0.414046] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.455027] VFS: Disk quotas dquot_6.6.0
[    0.459054] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.472082] NET: Registered protocol family 2
[    0.476907] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.484091] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.490641] TCP: Hash tables configured (established 8192 bind 8192)
[    0.497126] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.503120] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.509682] NET: Registered protocol family 1
[    0.514342] RPC: Registered named UNIX socket transport module.
[    0.520317] RPC: Registered udp transport module.
[    0.525110] RPC: Registered tcp transport module.
[    0.529874] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.536480] Unpacking initramfs...
[    0.772083] Freeing initrd memory: 6908K
[    0.776272] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.783032] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.791888] audit: initializing netlink subsys (disabled)
[    0.797459] audit: type=2000 audit(0.783:1): state=initialized audit_enabled=0 res=1
[    0.797677] Initialise system trusted keyrings
[    0.797698] Key type blacklist registered
[    0.797761] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    0.805326] zbud: loaded
[    0.825889] NFS: Registering the id_resolver key type
[    0.831007] Key type id_resolver registered
[    0.835283] Key type id_legacy registered
[    0.839362] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.846154] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.852668] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.860058] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.866666] orangefs_init: module version upstream loaded
[    0.874322] Key type asymmetric registered
[    0.878484] Asymmetric key parser 'x509' registered
[    0.883445] bounce: pool size: 64 pages
[    0.887409] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.894875] io scheduler noop registered
[    0.898863] io scheduler deadline registered
[    0.903221] io scheduler cfq registered (default)
[    0.908889] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    0.917364] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    0.924315] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.930637] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    0.937587] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.943482] PCI: bus0: Fast back to back transfers disabled
[    0.949142] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.957224] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.965385] PCI: bus1: Fast back to back transfers enabled
[    0.971035] PCI: bus2: Fast back to back transfers enabled
[    0.976639] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.981667] pci 0000:00:02.0: PCI bridge to [bus 02]
[    0.987136] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.044433] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy sg intr )
[    1.052299] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.114433] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy sg intr )
[    1.157767] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.165650] console [ttyS0] disabled
[    1.189467] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
[    1.198730] console [ttyS0] enabled
[    1.198730] console [ttyS0] enabled
[    1.205833] bootconsole [earlycon0] disabled
[    1.205833] bootconsole [earlycon0] disabled
[    1.215242] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.224383] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.233669] scsi host0: ahci-mvebu
[    1.237302] scsi host1: ahci-mvebu
[    1.240836] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.248833] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.256949] ahci-mvebu f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.266060] ahci-mvebu f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.275425] scsi host2: ahci-mvebu
[    1.279036] scsi host3: ahci-mvebu
[    1.282571] ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x100 irq 43
[    1.290693] ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x180 irq 43
[    1.299132] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.306996] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xdc
[    1.313377] nand: Hynix H27U4G8F2DTR-BC
[    1.317243] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.324855] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.332033] Bad block table found at page 262080, version 0x01
[    1.338227] Bad block table found at page 262016, version 0x01
[    1.344260] nand_read_bbt: bad block at 0x000006960000
[    1.349485] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.355612] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.361038] 0x000000000000-0x000000500000 : "U-Boot"
[    1.376708] 0x000000500000-0x000000f00000 : "uImage"
[    1.392335] 0x000000a00000-0x000001900000 : "uRamdisk"
[    1.408094] 0x000000f00000-0x00001d700000 : "image.cfs"
[    1.425526] 0x00001c800000-0x000039f00000 : "rescue_fw"
[    1.430775] mtd: partition "rescue_fw" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x3800000
[    1.452271] 0x00001d700000-0x00003c200000 : "config"
[    1.457272] mtd: partition "config" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x2900000
[    1.478458] 0x00001eb00000-0x00003e000000 : "reserve1"
[    1.483619] mtd: partition "reserve1" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x1500000
[    1.504932] 0x00001f500000-0x00003f400000 : "reserve2"
[    1.510105] mtd: partition "reserve2" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0xb00000
[    1.531918] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.538633] libphy: Fixed MDIO Bus: probed
[    1.543068] libphy: orion_mdio_bus: probed
[    1.552906] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.561881] mvneta f1070000.ethernet eth0: Using random mac address 0a:c8:d3:7d:41:aa
[    1.571241] mvneta f1030000.ethernet eth1: Using random mac address 82:ea:4f:54:77:bc
[    1.579328] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.585331] ata1: SATA link down (SStatus 0 SControl 300)
[    1.591347] ehci-pci: EHCI PCI platform driver
[    1.595860] ehci-orion: EHCI orion driver
[    1.600010] orion-ehci f1058000.usb: EHCI Host Controller
[    1.605454] ata2: SATA link down (SStatus 0 SControl 300)
[    1.610911] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    1.618575] orion-ehci f1058000.usb: irq 38, io mem 0xf1058000
[    1.625389] ata4: SATA link down (SStatus 0 SControl 300)
[    1.630835] ata3: SATA link down (SStatus 0 SControl 300)
[    1.654059] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    1.660116] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.666946] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.674205] usb usb1: Product: EHCI Host Controller
[    1.679103] usb usb1: Manufacturer: Linux 4.12.4-mvebu-tld-1 ehci_hcd
[    1.685578] usb usb1: SerialNumber: f1058000.usb
[    1.690524] hub 1-0:1.0: USB hub found
[    1.694315] hub 1-0:1.0: 1 port detected
[    1.698691] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.704036] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.711631] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.720219] xhci-hcd f10f0000.usb3: irq 46, io mem 0xf10f0000
[    1.726074] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.732892] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.740152] usb usb2: Product: xHCI Host Controller
[    1.745073] usb usb2: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[    1.751541] usb usb2: SerialNumber: f10f0000.usb3
[    1.756560] hub 2-0:1.0: USB hub found
[    1.760343] hub 2-0:1.0: 1 port detected
[    1.764454] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.769793] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    1.777367] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.785560] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[    1.792377] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.799637] usb usb3: Product: xHCI Host Controller
[    1.805461] usb usb3: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[    1.811929] usb usb3: SerialNumber: f10f0000.usb3
[    1.816934] hub 3-0:1.0: USB hub found
[    1.820714] hub 3-0:1.0: 1 port detected
[    1.824891] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.830236] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    1.837826] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.846424] xhci-hcd f10f8000.usb3: irq 47, io mem 0xf10f8000
[    1.852267] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    1.859093] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.866353] usb usb4: Product: xHCI Host Controller
[    1.871250] usb usb4: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[    1.877761] usb usb4: SerialNumber: f10f8000.usb3
[    1.882750] hub 4-0:1.0: USB hub found
[    1.886544] hub 4-0:1.0: 1 port detected
[    1.890614] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.895963] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    1.903518] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.911708] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003
[    1.918536] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.925796] usb usb5: Product: xHCI Host Controller
[    1.930694] usb usb5: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[    1.937212] usb usb5: SerialNumber: f10f8000.usb3
[    1.942166] hub 5-0:1.0: USB hub found
[    1.945956] hub 5-0:1.0: 1 port detected
[    1.950112] usbcore: registered new interface driver usblp
[    1.955698] usbcore: registered new interface driver usb-storage
[    1.961872] mousedev: PS/2 mouse device common for all mice
[    1.968113] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.975879] i2c /dev entries driver
[    1.990511] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    2.003289] orion_wdt: Initial timeout 171 sec
[    2.009044] marvell-cesa f1090000.crypto: CESA device successfully registered
[    2.016404] hidraw: raw HID events driver (C) Jiri Kosina
[    2.022087] usbcore: registered new interface driver usbhid
[    2.027696] usbhid: USB HID core driver
[    2.031727] drop_monitor: Initializing network drop monitor service
[    2.038062] Netfilter messages via NETLINK v0.30.
[    2.042803] ip_set: protocol 6
[    2.046134] NET: Registered protocol family 10
[    2.051177] Segment Routing with IPv6
[    2.055048] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.061824] NET: Registered protocol family 17
[    2.066332] 8021q: 802.1Q VLAN Support v1.8
[    2.070553] Key type dns_resolver registered
[    2.074937] ThumbEE CPU extension supported.
[    2.079228] Registering SWP/SWPB emulation handler
[    2.084503] registered taskstats version 1
[    2.088618] Loading compiled-in X.509 certificates
[    2.093459] zswap: loaded using pool lzo/zbud
[    2.137679] usb 2-1: new high-speed USB device number 2 using xhci-hcd
[    2.147571] Key type big_key registered
[    2.154625] Key type encrypted registered
[    2.159632] armada38x-rtc f10a3800.rtc: setting system clock to 2019-06-18 03:55:44 UTC (1560830144)
[    2.169817] Freeing unused kernel memory: 1024K
Loading, please wait...
starting version 232
[    2.216714] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.224946] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.229051] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.229689] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.229725] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.230079] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.230293] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.230493] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.230706] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.230939] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.314327] usb 2-1: New USB device found, idVendor=045b, idProduct=0209
[    2.321073] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.334773] hub 2-1:1.0: USB hub found
[    2.338717] hub 2-1:1.0: 4 ports detected
[    2.454302] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[    2.485635] usb 3-1: New USB device found, idVendor=045b, idProduct=0210
[    2.492376] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.503564] hub 3-1:1.0: USB hub found
[    2.510054] hub 3-1:1.0: 4 ports detected
[    2.664085] usb 2-1.2: new high-speed USB device number 3 using xhci-hcd
Begin: Loading essential drivers ... done.
[    2.814438] usb 2-1.2: New USB device found, idVendor=ffff, idProduct=5678
[    2.821347] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.828700] usb 2-1.2: Product: Disk 2.0
[    2.832638] usb 2-1.2: Manufacturer: USB
[    2.836584] usb 2-1.2: SerialNumber: 9207266731057219943
[    2.842299] usb-storage 2-1.2:1.0: USB Mass Storage device detected
[    2.848787] scsi host4: usb-storage 2-1.2:1.0
[    2.855369] usbcore: registered new interface driver uas
[    3.926457] scsi 4:0:0:0: Direct-Access     VendorCo ProductCode      2.00 PQ: 0 ANSI: 4
[    3.947118] sd 4:0:0:0: [sda] 30720000 512-byte logical blocks: (15.7 GB/14.6 GiB)
[    3.954924] sd 4:0:0:0: [sda] Write Protect is off
[    3.959870] sd 4:0:0:0: [sda] No Caching mode page found
[    3.965217] sd 4:0:0:0: [sda] Assuming drive cache: write through
[    3.973031]  sda: sda1
[    3.976434] sd 4:0:0:0: [sda] Attached SCSI removable disk
[    4.001604] random: fast init done
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Warning: fsck not present, so sk[   12.756061] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
ipping root file system
[   12.765198] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[   12.772683] EXT4-fs (sda1): write access will be enabled during recovery
[   13.272688] EXT4-fs (sda1): recovery complete
[   13.282932] 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.
[ ok ] Setting hostname to 'debian'...done.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok 
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[   14.939838] sd 4:0:0:0: Attached scsi generic sg0 type 0
done.
[ ok ] Activating swap:.
[   15.483878] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Will now check root file system:fsck from util-linux 2.29.2
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1 
e2fsck 1.43.4 (31-Jan-2017)
rootfs: clean, 22024/960992 files, 295172/3839992 blocks
. ok 
[   15.617092] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Will now activate lvm and md swap:done.
[info] Will now check all file systems.
fsck from util-linux 2.29.2
Checking all file systems.
LABEL=rootfs is mounted
[ ok ] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[ ok ] Initializing random number generator...done.
[   16.864573] m88e1318_get_wol: phy_id = 0x1410dd1 OK
[   16.869594] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/0a:c8:d3:7d:41:aa
Sending on   LPF/eth0/0a:c8:d3:7d:41:aa
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 21
[   78.134652] random: crng init done
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ 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...
2614 (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...
2612 (klogd)
. ok 
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 9 debian ttyS0

debian login: 
Debian GNU/Linux 9 debian ttyS0

debian login: user    
Password: 

Login incorrect
debian login: user
Password: 

Login incorrect
debian login: root
Password: 

Login incorrect
debian login: 
Log
Debian GNU/Linux 9 debian ttyS0

debian login: root
Password: 

Login incorrect
debian login: root
Password: 
Last login: Tue Aug 22 17:09:50 PDT 2017 from 192.168.0.220 on pts/0
Linux debian 4.12.4-mvebu-tld-1 #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 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
WD My Cloud EX4100
Linux version 4.12.4-mvebu-tld-1 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 2017
Debian 9.1
Mon Jun 17 20:59:51 PDT 2019 up 3 minutes
root@debian:~# 
Re: WDmycloudex4100 instructions
June 18, 2019 04:48PM
Ok I got debian up how would I go about making it permanent then so I dont have to set env
Re: WDmycloudex4100 instructions
June 18, 2019 04:50PM
I recall now that sachadd and did not continue to work on the mtd definition and/or flash type. So currently we cannot flash u-boot or save envs in Debian.

However, since you have already kwboot successfully at will. It is quite safe to flash my build (tld-6) image to NAND at u-boot prompt.

Kwboot again,

- enter new envs like you did before.
- get the listing of the envs

mtdparts
printenv

- boot all the way into Debian

And then please post the entire serial log here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: WDmycloudex4100 instructions
June 18, 2019 04:59PM
Johnei,

I saw that you've post the log above. Looks good!

Let's try this.

1. kwboot again. Enter the envs like you did:

Quote

Marvell>> setenv set_bootargs_stock 'setenv bootargs root=/dev/ram console=ttyS0,115200'
Marvell>> setenv bootcmd_stock 'echo Booting from stock ... ; run set_bootargs_stock; printenv bootargs; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000'
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),441m@15m(image.cfs),15m@456m(rescue_fw),20m@471m(config),10m@491m(reserve1),10m@501m(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>> setenv bootcmd_custom 'if run bootcmd_usb; then ; fi; run bootcmd_stock; reset'
Marvell>> setenv bootcmd 'run bootcmd_custom'

But before boot, do saveenv

saveenv
boot

2. After login into Debian, reboot. But don't rerun kwboot. Just use the regular console so we will boot with stock u-boot on NAND.

Interrupt serial console and list the envs to see the envs were saved. And then boot.

printenv
boot

Please post the entire log here (from the kwboot command).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: WDmycloudex4100 instructions
June 18, 2019 05:02PM
pi@raspberrypi:~ $ kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-Yellowstone_2014T30p6_bodhi-tld-6-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 % [......................................................................]
 44 % [......................................................................]
 45 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 48 % [......................................................................]
 49 % [......................................................................]
 50 % [......................................................................]
 51 % [......................................................................]
 52 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 55 % [......................................................................]
 56 % [......................................................................]
 57 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 59 % [......................................................................]
 60 % [......................................................................]
 61 % [......................................................................]
 62 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 65 % [......................................................................]
 66 % [......................................................................]
 67 % [......................................................................]
 68 % [......................................................................]
 69 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 72 % [......................................................................]
 73 % [......................................................................]
 74 % [......................................................................]
 74 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 77 % [......................................................................]
 78 % [......................................................................]
 79 % [......................................................................]
 80 % [......................................................................]
 81 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 84 % [......................................................................]
 85 % [......................................................................]
 86 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 89 % [......................................................................]
 89 % [......................................................................]
 90 % [......................................................................]
 91 % [......................................................................]
 92 % [......................................................................]
 93 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 96 % [......................................................................]
 97 % [......................................................................]
 98 % [......................................................................]
 99 % [..................................................]
[Type Ctrl-\ + c to quit]

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


U-Boot 2013.01_v1.06 (Jun 30 2017 - 16:08:19) Marvell version: 2014_T3.0p6 - bodhi-tld-6

mvBoardSatRRead: Error: Read from S@R failed
mvBoardSatRRead: Error: Read from S@R failed
mvBoardSatRRead: Error: Read from S@R failed
Board: DB-88F6820-BP
SoC:   MV88F6828 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1600 [MHz]
       L2     @ 800 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 800 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  2 GiB

Map:   Code:			0x7fece000:0x7ff960f0
       BSS:			0x7ffef654
       Stack:			0x7f9cdf20
       Heap:			0x7f9ce000:0x7fece000
       U-Boot Environment:	0x00100000:0x00180000 Address: 0x00100000(NAND)

NAND:  ID: dcad ,512 MiB
MMC:   mv_sdh: 0
bootcmd: run bootcmd_custom; setenv bootargs root=/dev/ram console=ttyS0,115200; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00001f500000-0x00001ff00000 : "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/1
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 36 (0x00000024)...
Done
lan mac_addr :  00 90 a9 e4 89 34
Set lan 0 WakeOnLan ok
Set lan 1 WakeOnLan ok
MicroP Enable HD
Enable HD1
Enable HD2
Enable HD3
Enable HD4
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x00     |
| egiga1 |   SGMII   |     0x01     |
egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0 
Marvell>> setenv set_bootargs_stock 'setenv bootargs root=/dev/ram console=ttyS0,115200'
Marvell>> setenv bootcmd_stock 'echo Booting from stock ... ; run set_bootargs_stock; printenv bootargs; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000'
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),441m@15m(image.cfs),15m@456m(rescue_fw),20m@471m(config),10m@491m(reserve1),10m@501m(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>> setenv bootcmd_custom 'if run bootcmd_usb; then ; fi; run bootcmd_stock; reset'
Marvell>> setenv bootcmd 'run bootcmd_custom'
Marvell>> boot
Booting from USB ...
(Re)start USB...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 4 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... 4 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 ...
4037164 bytes read in 391 ms (9.8 MiB/s)
loading uInitrd ...
7070236 bytes read in 475 ms (14.2 MiB/s)
## Booting image at 02000000 ...
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-4.12.4-mvebu-tld-1
   Created:      2019-06-18  21:41:04 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4037100 Bytes = 3.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02900000 ...
   Image Name:   initramfs-4.12.4-mvebu-tld-1
   Created:      2017-08-22  11:10:43 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7070172 Bytes = 6.7 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.12.4-mvebu-tld-1 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 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: WD My Cloud EX4100
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 17 pages/cpu @eefc8000 s40460 r8192 d20980 u69632
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),441m@15m(image.cfs),15m@456m(rescue_fw),20m@471m(config),10m@491m(reserve1),10m@501m(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: 2059460K/2097152K available (8192K kernel code, 712K rwdata, 2080K rodata, 1024K init, 331K bss, 37692K reserved, 0K cma-reserved, 1310720K 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 - 0xc0db2308   ( 713 kB)
[    0.000000]        .bss : 0xc0db9a84 - 0xc0e0ca58   ( 332 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    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.007882] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019076] Console: colour dummy device 80x30
[    0.023590] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.033981] pid_max: default: 32768 minimum: 301
[    0.038730] Security Framework initialized
[    0.042923] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.049596] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.057047] CPU: Testing write buffer coherency: ok
[    0.062109] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.103878] Setting up static identity map for 0x100000 - 0x100060
[    0.110179] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
[    0.115466] mvebu-pmsu: Initializing Power Management Service Unit
[    0.173858] smp: Bringing up secondary CPUs ...
[    0.233908] Booting CPU 1
[    0.236748] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.236795] smp: Brought up 1 node, 2 CPUs
[    0.246676] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.252995] CPU: All CPU(s) started in SVC mode.
[    0.258205] devtmpfs: initialized
[    0.263213] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.271121] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.281009] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.287280] prandom: seed boundary self test passed
[    0.293918] prandom: 100 self tests passed
[    0.298079] pinctrl core: initialized pinctrl subsystem
[    0.303958] NET: Registered protocol family 16
[    0.308994] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.316879] cpuidle: using governor ladder
[    0.321051] cpuidle: using governor menu
[    0.325163] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.333211] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.339217] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.347364] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.384152] vgaarb: loaded
[    0.387082] SCSI subsystem initialized
[    0.394235] usbcore: registered new interface driver usbfs
[    0.399821] usbcore: registered new interface driver hub
[    0.405236] usbcore: registered new device driver usb
[    0.410465] media: Linux media interface: v0.10
[    0.415105] Linux video capture interface: v2.00
[    0.420325] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.461355] VFS: Disk quotas dquot_6.6.0
[    0.465382] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.476769] NET: Registered protocol family 2
[    0.481554] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.488687] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.495303] TCP: Hash tables configured (established 8192 bind 8192)
[    0.501779] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.507774] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.514341] NET: Registered protocol family 1
[    0.518976] RPC: Registered named UNIX socket transport module.
[    0.524970] RPC: Registered udp transport module.
[    0.529734] RPC: Registered tcp transport module.
[    0.534518] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.541117] Unpacking initramfs...
[    0.774570] Freeing initrd memory: 6908K
[    0.778655] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.785464] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.794349] audit: initializing netlink subsys (disabled)
[    0.799974] audit: type=2000 audit(0.779:1): state=initialized audit_enabled=0 res=1
[    0.800102] Initialise system trusted keyrings
[    0.800121] Key type blacklist registered
[    0.800181] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    0.807794] zbud: loaded
[    0.828358] NFS: Registering the id_resolver key type
[    0.833500] Key type id_resolver registered
[    0.837746] Key type id_legacy registered
[    0.841865] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.848617] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.855157] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.862494] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.869086] orangefs_init: module version upstream loaded
[    0.876698] Key type asymmetric registered
[    0.880875] Asymmetric key parser 'x509' registered
[    0.885837] bounce: pool size: 64 pages
[    0.889758] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.897225] io scheduler noop registered
[    0.901230] io scheduler deadline registered
[    0.905591] io scheduler cfq registered (default)
[    0.911046] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    0.919223] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.980715] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy sg intr )
[    0.988536] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.050721] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy sg intr )
[    1.083829] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.091461] console [ttyS0] disabled
[    1.115431] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 12500000) is a 16550A
[    1.124485] console [ttyS0] enabled
[    1.124485] console [ttyS0] enabled
[    1.131614] bootconsole [earlycon0] disabled
[    1.131614] bootconsole [earlycon0] disabled
[    1.160957] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 12500000) is a 16550A
[    1.170700] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.179789] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.189139] scsi host0: ahci-mvebu
[    1.202784] scsi host1: ahci-mvebu
[    1.206318] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 44
[    1.214279] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 44
[    1.222392] ahci-mvebu f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.231507] ahci-mvebu f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.241026] scsi host2: ahci-mvebu
[    1.244684] scsi host3: ahci-mvebu
[    1.248275] ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x100 irq 45
[    1.256239] ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x180 irq 45
[    1.264688] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.272560] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xdc
[    1.278941] nand: Hynix H27U4G8F2DTR-BC
[    1.282814] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.290426] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.297607] Bad block table found at page 262080, version 0x01
[    1.303807] Bad block table found at page 262016, version 0x01
[    1.309831] nand_read_bbt: bad block at 0x000006960000
[    1.315065] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.321202] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.326626] 0x000000000000-0x000000500000 : "U-Boot"
[    1.332266] 0x000000500000-0x000000f00000 : "uImage"
[    1.347870] 0x000000a00000-0x000001900000 : "uRamdisk"
[    1.363625] 0x000000f00000-0x00001d700000 : "image.cfs"
[    1.381014] 0x00001c800000-0x000039f00000 : "rescue_fw"
[    1.386263] mtd: partition "rescue_fw" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x3800000
[    1.407725] 0x00001d700000-0x00003c200000 : "config"
[    1.412723] mtd: partition "config" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x2900000
[    1.423890] 0x00001eb00000-0x00003e000000 : "reserve1"
[    1.429050] mtd: partition "reserve1" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x1500000
[    1.450351] 0x00001f500000-0x00003f400000 : "reserve2"
[    1.455521] mtd: partition "reserve2" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0xb00000
[    1.477325] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.484085] libphy: Fixed MDIO Bus: probed
[    1.488522] libphy: orion_mdio_bus: probed
[    1.498151] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.507111] mvneta f1070000.ethernet eth0: Using random mac address d6:a7:23:d8:ba:52
[    1.516458] mvneta f1030000.ethernet eth1: Using random mac address 2e:2c:2c:18:7b:3f
[    1.524527] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.531117] ehci-pci: EHCI PCI platform driver
[    1.535615] ehci-orion: EHCI orion driver
[    1.539752] orion-ehci f1058000.usb: EHCI Host Controller
[    1.545201] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    1.551660] ata1: SATA link down (SStatus 0 SControl 300)
[    1.558291] orion-ehci f1058000.usb: irq 40, io mem 0xf1058000
[    1.561214] ata2: SATA link down (SStatus 0 SControl 300)
[    1.590343] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    1.596399] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.601663] ata3: SATA link down (SStatus 0 SControl 300)
[    1.601681] ata4: SATA link down (SStatus 0 SControl 300)
[    1.614091] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.621352] usb usb1: Product: EHCI Host Controller
[    1.626249] usb usb1: Manufacturer: Linux 4.12.4-mvebu-tld-1 ehci_hcd
[    1.632732] usb usb1: SerialNumber: f1058000.usb
[    1.637665] hub 1-0:1.0: USB hub found
[    1.641465] hub 1-0:1.0: 1 port detected
[    1.645846] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.651205] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.658788] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.667379] xhci-hcd f10f0000.usb3: irq 48, io mem 0xf10f0000
[    1.673235] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.680053] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.687315] usb usb2: Product: xHCI Host Controller
[    1.692236] usb usb2: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[    1.698705] usb usb2: SerialNumber: f10f0000.usb3
[    1.703716] hub 2-0:1.0: USB hub found
[    1.707496] hub 2-0:1.0: 1 port detected
[    1.711601] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.716942] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    1.724523] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.732711] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[    1.739528] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.746791] usb usb3: Product: xHCI Host Controller
[    1.752175] usb usb3: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[    1.758643] usb usb3: SerialNumber: f10f0000.usb3
[    1.763642] hub 3-0:1.0: USB hub found
[    1.767421] hub 3-0:1.0: 1 port detected
[    1.771592] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.776936] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    1.784525] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.793120] xhci-hcd f10f8000.usb3: irq 49, io mem 0xf10f8000
[    1.798966] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    1.805796] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.813061] usb usb4: Product: xHCI Host Controller
[    1.817959] usb usb4: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[    1.824472] usb usb4: SerialNumber: f10f8000.usb3
[    1.829469] hub 4-0:1.0: USB hub found
[    1.833259] hub 4-0:1.0: 1 port detected
[    1.837347] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.842699] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    1.850252] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.858442] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003
[    1.865270] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.872531] usb usb5: Product: xHCI Host Controller
[    1.877428] usb usb5: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[    1.883948] usb usb5: SerialNumber: f10f8000.usb3
[    1.888895] hub 5-0:1.0: USB hub found
[    1.892686] hub 5-0:1.0: 1 port detected
[    1.896827] usbcore: registered new interface driver usblp
[    1.902417] usbcore: registered new interface driver usb-storage
[    1.908582] mousedev: PS/2 mouse device common for all mice
[    1.914884] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.922708] i2c /dev entries driver
[    1.937344] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    1.950109] orion_wdt: Initial timeout 171 sec
[    1.955868] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.963225] hidraw: raw HID events driver (C) Jiri Kosina
[    1.968896] usbcore: registered new interface driver usbhid
[    1.974505] usbhid: USB HID core driver
[    1.978544] drop_monitor: Initializing network drop monitor service
[    1.984887] Netfilter messages via NETLINK v0.30.
[    1.989630] ip_set: protocol 6
[    1.992986] NET: Registered protocol family 10
[    1.998027] Segment Routing with IPv6
[    2.001849] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.008616] NET: Registered protocol family 17
[    2.013124] 8021q: 802.1Q VLAN Support v1.8
[    2.017346] Key type dns_resolver registered
[    2.021733] ThumbEE CPU extension supported.
[    2.026023] Registering SWP/SWPB emulation handler
[    2.031240] registered taskstats version 1
[    2.035353] Loading compiled-in X.509 certificates
[    2.040195] zswap: loaded using pool lzo/zbud
[    2.083815] usb 2-1: new high-speed USB device number 2 using xhci-hcd
[    2.093697] Key type big_key registered
[    2.100574] Key type encrypted registered
[    2.105562] armada38x-rtc f10a3800.rtc: setting system clock to 2019-06-18 21:59:43 UTC (1560895183)
[    2.115724] Freeing unused kernel memory: 1024K
Loading, please wait...
starting version 232
[    2.161594] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.165248] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.165869] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.165902] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.166245] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.166452] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.166651] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.166859] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.167092] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.167272] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.270621] usb 2-1: New USB device found, idVendor=045b, idProduct=0209
[    2.277370] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.290930] hub 2-1:1.0: USB hub found
[    2.294848] hub 2-1:1.0: 4 ports detected
[    2.410571] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[    2.441914] usb 3-1: New USB device found, idVendor=045b, idProduct=0210
[    2.448666] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.462527] hub 3-1:1.0: USB hub found
[    2.467518] hub 3-1:1.0: 4 ports detected
[    2.610365] usb 2-1.2: new high-speed USB device number 3 using xhci-hcd
Begin: Loading essential drivers ... done.
[    2.760725] usb 2-1.2: New USB device found, idVendor=ffff, idProduct=5678
[    2.767634] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.774985] usb 2-1.2: Product: Disk 2.0
[    2.778924] usb 2-1.2: Manufacturer: USB
[    2.782870] usb 2-1.2: SerialNumber: 9207266731057219943
[    2.788607] usb-storage 2-1.2:1.0: USB Mass Storage device detected
[    2.795080] scsi host4: usb-storage 2-1.2:1.0
[    2.801583] usbcore: registered new interface driver uas
[    3.862745] scsi 4:0:0:0: Direct-Access     VendorCo ProductCode      2.00 PQ: 0 ANSI: 4
[    3.874432] sd 4:0:0:0: [sda] 30720000 512-byte logical blocks: (15.7 GB/14.6 GiB)
[    3.883485] sd 4:0:0:0: [sda] Write Protect is off
[    3.888786] sd 4:0:0:0: [sda] No Caching mode page found
[    3.894139] sd 4:0:0:0: [sda] Assuming drive cache: write through
[    3.903222]  sda: sda1
[    3.906540] sd 4:0:0:0: [sda] Attached SCSI removable disk
[    3.931175] random: fast init done
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Warning: fsck not present, so sk[   12.731783] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
ipping root file system
[   12.740989] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[   12.748483] EXT4-fs (sda1): write access will be enabled during recovery
[   13.405048] EXT4-fs (sda1): recovery complete
[   13.879072] 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.
[ ok ] Setting hostname to 'debian'...done.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok 
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[   15.524710] sd 4:0:0:0: Attached scsi generic sg0 type 0
done.
[ ok ] Activating swap:.
[   15.956762] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Will now check root file system:fsck from util-linux 2.29.2
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1 
e2fsck 1.43.4 (31-Jan-2017)
rootfs: clean, 22028/960992 files, 295184/3839992 blocks
. ok 
[   16.091886] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Will now activate lvm and md swap:done.
[info] Will now check all file systems.
fsck from util-linux 2.29.2
Checking all file systems.
LABEL=rootfs is mounted
[ ok ] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[ ok ] Initializing random number generator...done.
[   17.320845] m88e1318_get_wol: phy_id = 0x1410dd1 OK
[   17.325862] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/d6:a7:23:d8:ba:52
Sending on   LPF/eth0/d6:a7:23:d8:ba:52
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ 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.
[   78.713640] random: crng init done
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
2606 (syslogd)
. ok 
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting system message bus: dbus.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
2605 (klogd)
. ok 
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 9 debian ttyS0

debian login: root
Password: 
Last login: Mon Jun 17 20:59:51 PDT 2019 on ttyS0
Linux debian 4.12.4-mvebu-tld-1 #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 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
WD My Cloud EX4100
Linux version 4.12.4-mvebu-tld-1 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 2017
Debian 9.1
Tue Jun 18 15:01:38 PDT 2019 up 1 minute
root@debian:~# mtdparts
-bash: mtdparts: command not found
root@debian:~# printenv
HUSHLOGIN=FALSE
USER=root
PWD=/root
HOME=/root
MAIL=/var/mail/root
SHELL=/bin/bash
TERM=linux
SHLVL=1
LOGNAME=root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
_=/usr/bin/printenv
root@debian:~# 
Re: WDmycloudex4100 instructions
June 18, 2019 05:02PM
OK ill do that now
Re: WDmycloudex4100 instructions
June 18, 2019 05:04PM
See my new post above.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: WDmycloudex4100 instructions
June 18, 2019 05:38PM
Ok here is is It looks like it wasn't saved but im not sure I just know it rebooted into stock os with the USB attached.

pi@raspberrypi:~ $ kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-Yellowstone_2014T30p6_bodhi-tld-6-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 % [......................................................................]
 44 % [......................................................................]
 45 % [......................................................................]
 46 % [......................................................................]
 47 % [......................................................................]
 48 % [......................................................................]
 49 % [......................................................................]
 50 % [......................................................................]
 51 % [......................................................................]
 52 % [......................................................................]
 53 % [......................................................................]
 54 % [......................................................................]
 55 % [......................................................................]
 56 % [......................................................................]
 57 % [......................................................................]
 58 % [......................................................................]
 59 % [......................................................................]
 59 % [......................................................................]
 60 % [......................................................................]
 61 % [......................................................................]
 62 % [......................................................................]
 63 % [......................................................................]
 64 % [......................................................................]
 65 % [......................................................................]
 66 % [......................................................................]
 67 % [......................................................................]
 68 % [......................................................................]
 69 % [......................................................................]
 70 % [......................................................................]
 71 % [......................................................................]
 72 % [......................................................................]
 73 % [......................................................................]
 74 % [......................................................................]
 74 % [......................................................................]
 75 % [......................................................................]
 76 % [......................................................................]
 77 % [......................................................................]
 78 % [......................................................................]
 79 % [......................................................................]
 80 % [......................................................................]
 81 % [......................................................................]
 82 % [......................................................................]
 83 % [......................................................................]
 84 % [......................................................................]
 85 % [......................................................................]
 86 % [......................................................................]
 87 % [......................................................................]
 88 % [......................................................................]
 89 % [......................................................................]
 89 % [......................................................................]
 90 % [......................................................................]
 91 % [......................................................................]
 92 % [......................................................................]
 93 % [......................................................................]
 94 % [......................................................................]
 95 % [......................................................................]
 96 % [......................................................................]
 97 % [......................................................................]
 98 % [......................................................................]
 99 % [..................................................]
[Type Ctrl-\ + c to quit]

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


U-Boot 2013.01_v1.06 (Jun 30 2017 - 16:08:19) Marvell version: 2014_T3.0p6 - bodhi-tld-6

mvBoardSatRRead: Error: Read from S@R failed
mvBoardSatRRead: Error: Read from S@R failed
mvBoardSatRRead: Error: Read from S@R failed
Board: DB-88F6820-BP
SoC:   MV88F6828 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1600 [MHz]
       L2     @ 800 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 800 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  2 GiB

Map:   Code:			0x7fece000:0x7ff960f0
       BSS:			0x7ffef654
       Stack:			0x7f9cdf20
       Heap:			0x7f9ce000:0x7fece000
       U-Boot Environment:	0x00100000:0x00180000 Address: 0x00100000(NAND)

NAND:  ID: dcad ,512 MiB
MMC:   mv_sdh: 0
bootcmd: run bootcmd_custom; setenv bootargs root=/dev/ram console=ttyS0,115200; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00001f500000-0x00001ff00000 : "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/1
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 36 (0x00000024)...
Done
lan mac_addr :  00 90 a9 e4 89 34
Set lan 0 WakeOnLan ok
Set lan 1 WakeOnLan ok
MicroP Enable HD
Enable HD1
Enable HD2
Enable HD3
Enable HD4
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x00     |
| egiga1 |   SGMII   |     0x01     |
egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0 
Marvell>> setenv set_bootargs_stock 'setenv bootargs root=/dev/ram console=ttyS0,115200'
Marvell>> setenv bootcmd_stock 'echo Booting from stock ... ; run set_bootargs_stock; printenv bootargs; nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000'
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),441m@15m(image.cfs),15m@456m(rescue_fw),20m@471m(config),10m@491m(reserve1),10m@501m(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>> setenv bootcmd_custom 'if run bootcmd_usb; then ; fi; run bootcmd_stock; reset'
Marvell>> setenv bootcmd 'run bootcmd_custom'
Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...
Writing to Nand... done
Marvell>> boot
Booting from USB ...
(Re)start USB...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 4 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... 4 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 ...
4037164 bytes read in 391 ms (9.8 MiB/s)
loading uInitrd ...
7070236 bytes read in 475 ms (14.2 MiB/s)
## Booting image at 02000000 ...
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-4.12.4-mvebu-tld-1
   Created:      2019-06-18  21:41:04 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4037100 Bytes = 3.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02900000 ...
   Image Name:   initramfs-4.12.4-mvebu-tld-1
   Created:      2017-08-22  11:10:43 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7070172 Bytes = 6.7 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.12.4-mvebu-tld-1 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 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: WD My Cloud EX4100
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 17 pages/cpu @eefc8000 s40460 r8192 d20980 u69632
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial mtdparts=armada-nand:5m@0(u-boot),5m@5m(kernel),5m@10m(uRamdisk),441m@15m(image.cfs),15m@456m(rescue_fw),20m@471m(config),10m@491m(reserve1),10m@501m(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: 2059460K/2097152K available (8192K kernel code, 712K rwdata, 2080K rodata, 1024K init, 331K bss, 37692K reserved, 0K cma-reserved, 1310720K 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 - 0xc0db2308   ( 713 kB)
[    0.000000]        .bss : 0xc0db9a84 - 0xc0e0ca58   ( 332 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    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.007881] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019074] Console: colour dummy device 80x30
[    0.023588] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.033979] pid_max: default: 32768 minimum: 301
[    0.038728] Security Framework initialized
[    0.042922] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.049594] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.057041] CPU: Testing write buffer coherency: ok
[    0.062100] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.103878] Setting up static identity map for 0x100000 - 0x100060
[    0.110179] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
[    0.115466] mvebu-pmsu: Initializing Power Management Service Unit
[    0.173858] smp: Bringing up secondary CPUs ...
[    0.233908] Booting CPU 1
[    0.236749] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.236796] smp: Brought up 1 node, 2 CPUs
[    0.246676] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.252996] CPU: All CPU(s) started in SVC mode.
[    0.258212] devtmpfs: initialized
[    0.263210] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.271118] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.281006] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.287276] prandom: seed boundary self test passed
[    0.293913] prandom: 100 self tests passed
[    0.298073] pinctrl core: initialized pinctrl subsystem
[    0.303944] NET: Registered protocol family 16
[    0.308985] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.316868] cpuidle: using governor ladder
[    0.321039] cpuidle: using governor menu
[    0.325150] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.333198] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.339205] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.347353] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.374200] vgaarb: loaded
[    0.377117] SCSI subsystem initialized
[    0.384022] usbcore: registered new interface driver usbfs
[    0.389590] usbcore: registered new interface driver hub
[    0.395254] usbcore: registered new device driver usb
[    0.400598] media: Linux media interface: v0.10
[    0.405300] Linux video capture interface: v2.00
[    0.414042] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.454987] VFS: Disk quotas dquot_6.6.0
[    0.459014] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.471969] NET: Registered protocol family 2
[    0.476886] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.484020] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.490625] TCP: Hash tables configured (established 8192 bind 8192)
[    0.497111] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.503108] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.509674] NET: Registered protocol family 1
[    0.514329] RPC: Registered named UNIX socket transport module.
[    0.520304] RPC: Registered udp transport module.
[    0.525096] RPC: Registered tcp transport module.
[    0.529860] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.536465] Unpacking initramfs...
[    0.770806] Freeing initrd memory: 6908K
[    0.774990] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.781750] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.790862] audit: initializing netlink subsys (disabled)
[    0.796429] audit: type=2000 audit(0.782:1): state=initialized audit_enabled=0 res=1
[    0.796776] Initialise system trusted keyrings
[    0.796795] Key type blacklist registered
[    0.804264] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    0.808817] zbud: loaded
[    0.829323] NFS: Registering the id_resolver key type
[    0.834466] Key type id_resolver registered
[    0.838712] Key type id_legacy registered
[    0.842790] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.849578] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.856113] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.863471] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.870080] orangefs_init: module version upstream loaded
[    0.877708] Key type asymmetric registered
[    0.881870] Asymmetric key parser 'x509' registered
[    0.886847] bounce: pool size: 64 pages
[    0.890797] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.898264] io scheduler noop registered
[    0.902251] io scheduler deadline registered
[    0.906618] io scheduler cfq registered (default)
[    0.912213] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    0.920816] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.984429] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy sg intr )
[    0.992294] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.054427] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy sg intr )
[    1.097094] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.106657] console [ttyS0] disabled
[    1.130706] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 23, base_baud = 12500000) is a 16550A
[    1.139746] console [ttyS0] enabled
[    1.139746] console [ttyS0] enabled
[    1.146854] bootconsole [earlycon0] disabled
[    1.146854] bootconsole [earlycon0] disabled
[    1.176145] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 24, base_baud = 12500000) is a 16550A
[    1.186021] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.195171] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.204645] scsi host0: ahci-mvebu
[    1.208309] scsi host1: ahci-mvebu
[    1.211890] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 44
[    1.219867] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 44
[    1.227992] ahci-mvebu f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.237108] ahci-mvebu f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    1.246578] scsi host2: ahci-mvebu
[    1.250231] scsi host3: ahci-mvebu
[    1.253823] ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x100 irq 45
[    1.261800] ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x180 irq 45
[    1.270245] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.278125] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xdc
[    1.284518] nand: Hynix H27U4G8F2DTR-BC
[    1.288370] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.295992] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.303176] Bad block table found at page 262080, version 0x01
[    1.309362] Bad block table found at page 262016, version 0x01
[    1.315407] nand_read_bbt: bad block at 0x000006960000
[    1.320632] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.326759] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.332182] 0x000000000000-0x000000500000 : "U-Boot"
[    1.347846] 0x000000500000-0x000000f00000 : "uImage"
[    1.353446] 0x000000a00000-0x000001900000 : "uRamdisk"
[    1.369233] 0x000000f00000-0x00001d700000 : "image.cfs"
[    1.386667] 0x00001c800000-0x000039f00000 : "rescue_fw"
[    1.391915] mtd: partition "rescue_fw" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x3800000
[    1.413410] 0x00001d700000-0x00003c200000 : "config"
[    1.418421] mtd: partition "config" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x2900000
[    1.439596] 0x00001eb00000-0x00003e000000 : "reserve1"
[    1.444779] mtd: partition "reserve1" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x1500000
[    1.466076] 0x00001f500000-0x00003f400000 : "reserve2"
[    1.471248] mtd: partition "reserve2" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0xb00000
[    1.493053] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.499803] libphy: Fixed MDIO Bus: probed
[    1.504269] libphy: orion_mdio_bus: probed
[    1.514024] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.523024] mvneta f1070000.ethernet eth0: Using random mac address 66:5a:87:55:5e:98
[    1.532370] mvneta f1030000.ethernet eth1: Using random mac address da:fc:0f:d9:79:2e
[    1.540461] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.547061] ehci-pci: EHCI PCI platform driver
[    1.551562] ehci-orion: EHCI orion driver
[    1.555355] ata1: SATA link down (SStatus 0 SControl 300)
[    1.561170] orion-ehci f1058000.usb: EHCI Host Controller
[    1.566614] ata2: SATA link down (SStatus 0 SControl 300)
[    1.572082] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    1.579757] orion-ehci f1058000.usb: irq 40, io mem 0xf1058000
[    1.605329] ata4: SATA link down (SStatus 0 SControl 300)
[    1.610764] ata3: SATA link down (SStatus 0 SControl 300)
[    1.616208] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    1.616339] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.616343] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.616346] usb usb1: Product: EHCI Host Controller
[    1.616349] usb usb1: Manufacturer: Linux 4.12.4-mvebu-tld-1 ehci_hcd
[    1.616351] usb usb1: SerialNumber: f1058000.usb
[    1.622593] hub 1-0:1.0: USB hub found
[    1.622633] hub 1-0:1.0: 1 port detected
[    1.623084] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.623097] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.623168] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.623187] xhci-hcd f10f0000.usb3: irq 48, io mem 0xf10f0000
[    1.623337] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.623341] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.623343] usb usb2: Product: xHCI Host Controller
[    1.623346] usb usb2: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[    1.623349] usb usb2: SerialNumber: f10f0000.usb3
[    1.630340] hub 2-0:1.0: USB hub found
[    1.630381] hub 2-0:1.0: 1 port detected
[    1.630545] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.630553] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    1.630617] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.630685] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[    1.630688] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.630691] usb usb3: Product: xHCI Host Controller
[    1.630694] usb usb3: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[    1.630696] usb usb3: SerialNumber: f10f0000.usb3
[    1.637628] hub 3-0:1.0: USB hub found
[    1.637666] hub 3-0:1.0: 1 port detected
[    1.637900] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.637911] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    1.637975] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.637995] xhci-hcd f10f8000.usb3: irq 49, io mem 0xf10f8000
[    1.638087] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    1.638091] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.638093] usb usb4: Product: xHCI Host Controller
[    1.638096] usb usb4: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[    1.638098] usb usb4: SerialNumber: f10f8000.usb3
[    1.642559] hub 4-0:1.0: USB hub found
[    1.642598] hub 4-0:1.0: 1 port detected
[    1.642757] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.642765] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    1.642812] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.642882] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003
[    1.642885] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.642888] usb usb5: Product: xHCI Host Controller
[    1.642890] usb usb5: Manufacturer: Linux 4.12.4-mvebu-tld-1 xhci-hcd
[    1.642893] usb usb5: SerialNumber: f10f8000.usb3
[    1.649043] hub 5-0:1.0: USB hub found
[    1.649082] hub 5-0:1.0: 1 port detected
[    1.649294] usbcore: registered new interface driver usblp
[    1.649361] usbcore: registered new interface driver usb-storage
[    1.657368] mousedev: PS/2 mouse device common for all mice
[    1.661329] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.661468] i2c /dev entries driver
[    1.684704] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    1.695435] orion_wdt: Initial timeout 171 sec
[    1.696845] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.696941] hidraw: raw HID events driver (C) Jiri Kosina
[    1.702780] usbcore: registered new interface driver usbhid
[    1.702781] usbhid: USB HID core driver
[    1.702901] drop_monitor: Initializing network drop monitor service
[    1.702932] Netfilter messages via NETLINK v0.30.
[    1.702944] ip_set: protocol 6
[    1.703116] NET: Registered protocol family 10
[    1.713802] Segment Routing with IPv6
[    1.713835] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.714514] NET: Registered protocol family 17
[    1.714544] 8021q: 802.1Q VLAN Support v1.8
[    1.714567] Key type dns_resolver registered
[    1.714656] ThumbEE CPU extension supported.
[    1.714661] Registering SWP/SWPB emulation handler
[    1.731930] registered taskstats version 1
[    1.731932] Loading compiled-in X.509 certificates
[    1.731964] zswap: loaded using pool lzo/zbud
[    1.772539] Key type big_key registered
[    1.775615] Key type encrypted registered
[    1.781545] armada38x-rtc f10a3800.rtc: setting system clock to 2019-06-18 22:30:32 UTC (1560897032)
[    2.014264] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[    2.045605] usb 3-1: New USB device found, idVendor=045b, idProduct=0210
[    2.045609] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.048003] hub 3-1:1.0: USB hub found
[    2.048246] hub 3-1:1.0: 4 ports detected
[    2.085971] Freeing unused kernel memory: 1024K
Loading, please wait...
starting version 232
[    2.132531] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.138691] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.139310] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.139344] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.139692] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.139899] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.140105] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.140362] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.140589] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.140778] random: udevadm: uninitialized urandom read (16 bytes read)
[    2.184087] usb 2-1: new high-speed USB device number 2 using xhci-hcd
[    2.354313] usb 2-1: New USB device found, idVendor=045b, idProduct=0209
[    2.361055] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.368933] hub 2-1:1.0: USB hub found
[    2.372969] hub 2-1:1.0: 4 ports detected
Begin: Loading essential drivers ... done.
[    2.694052] usb 2-1.2: new high-speed USB device number 3 using xhci-hcd
[    2.834424] usb 2-1.2: New USB device found, idVendor=ffff, idProduct=5678
[    2.841330] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.848682] usb 2-1.2: Product: Disk 2.0
[    2.852620] usb 2-1.2: Manufacturer: USB
[    2.856564] usb 2-1.2: SerialNumber: 9207266731057219943
[    2.863649] usb-storage 2-1.2:1.0: USB Mass Storage device detected
[    2.870123] scsi host4: usb-storage 2-1.2:1.0
[    2.876806] usbcore: registered new interface driver uas
[    3.926456] scsi 4:0:0:0: Direct-Access     VendorCo ProductCode      2.00 PQ: 0 ANSI: 4
[    3.945324] sd 4:0:0:0: [sda] 30720000 512-byte logical blocks: (15.7 GB/14.6 GiB)
[    3.953133] sd 4:0:0:0: [sda] Write Protect is off
[    3.958098] sd 4:0:0:0: [sda] No Caching mode page found
[    3.963434] sd 4:0:0:0: [sda] Assuming drive cache: write through
[    3.971215]  sda: sda1
[    3.974605] sd 4:0:0:0: [sda] Attached SCSI removable disk
[    4.035649] random: fast init done
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Warning: fsck not present, so sk[   12.656064] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
ipping root file system
[   12.665211] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[   12.672687] EXT4-fs (sda1): write access will be enabled during recovery
[   14.816199] EXT4-fs (sda1): recovery complete
[   14.826413] 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.
[ ok ] Setting hostname to 'debian'...done.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
. ok 
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[   16.402452] sd 4:0:0:0: Attached scsi generic sg0 type 0
[   16.564110] usb 2-1.2: reset high-speed USB device number 3 using xhci-hcd
done.
[ ok ] Activating swap:.
[   17.172343] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Will now check root file system:fsck from util-linux 2.29.2
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sda1 
e2fsck 1.43.4 (31-Jan-2017)
rootfs: clean, 22029/960992 files, 295191/3839992 blocks
. ok 
[   17.313291] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Will now activate lvm and md swap:done.
[info] Will now check all file systems.
fsck from util-linux 2.29.2
Checking all file systems.
LABEL=rootfs is mounted
[ ok ] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[ ok ] Initializing random number generator...done.
[   18.534562] m88e1318_get_wol: phy_id = 0x1410dd1 OK
[   18.539582] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/66:5a:87:55:5e:98
Sending on   LPF/eth0/66:5a:87:55:5e:98
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ 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...
2612 (syslogd)
. ok 
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting system message bus: dbus.
[   80.879878] random: crng init done
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
2613 (klogd)
. ok 
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 9 debian ttyS0

debian login: root
rootPassword: 

Login incorrect
debian login: root
Password: 
Last login: Tue Jun 18 15:01:38 PDT 2019 on ttyS0
Linux debian 4.12.4-mvebu-tld-1 #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 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
WD My Cloud EX4100
Linux version 4.12.4-mvebu-tld-1 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #1 SMP PREEMPT Sat Jul 29 21:56:37 PDT 2017
Debian 9.1
Tue Jun 18 15:32:20 PDT 2019 up 1 minute
root@debian:~# reboot

Broadcast message from root@debian (ttyS0) (Tue Jun 18 15:32:25 2019):

The system is going down for reboot NOW!
INSwitchin[info] Using makefile-style concurrent boot in runlevel 6.
[ ok ] Saving random seed...done.
[....] Stopping busybox' klogd implementation: klogd2613 (klogd)
Stopped klogd (pid 2613).
. ok 
[ ok ] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Stopping NFS kernel daemon: mountd nfsd.
[ ok ] Unexporting directories for NFS kernel daemon....
[....] Stopping busybox' syslogd implementation: syslogd2612 (syslogd)
. ok 
[ ok ] Asking all remaining processes to terminate...done.
[ ok ] All processes ended within 1 seconds...done.
[ ok ] Stopping RPC port mapper daemon: rpcbind.
[ ok ] Stopping NFS common utilities: idmapd statd.
[  112.730664] m88e1318_get_wol: phy_id = 0x1410dd1 OK
[  112.735581] WOL was set - NOT suspending the ethernet PHY
[....] Deconfiguring network interfaces...Removed stale PID file
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/66:5a:87:55:5e:98
Sending on   LPF/eth0/66:5a:87:55:5e:98
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 192.168.0.1 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
dhclient.c:2733: Failed to send 300 byte long packet over fallback interface.
done.
[info] Saving the system clock.
[info] Hardware Clock updated to Tue Jun 18 15:32:39 PDT 2019.
[....] Will now unmount temporary filesystems:umount: /tmp unmounted
. ok 
[ ok ] Will now deactivate swap:.
[  117.073336] EXT4-fs (sda1): re-mounted. Opts: (null)
[ ok ] Mounting root filesystem read-only...done.
[info] Will now restart.
[  119.159862] reboot: Restarting system

BootROM - 1.73
Booting from NAND flash

mvBoardIdGet: TWSI Read for Marvell Board ID failed (57) 
	Using default board ID



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

Initialize DB-88F6820-BP board topology
board SerDes lanes topology details:
 | Lane #  | Speed |  Type       |
 --------------------------------
 |   0    |  06   |  SATA0	|
 |   1    |  00   |  SGMII1	|
 |   2    |  06   |  SATA1	|
 |   3    |  06   |  SATA3	|
 |   4    |  05   |  USB3 HOST0	|
 |   5    |  06   |  SATA2	|
 --------------------------------
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver TIP-1.26.0
mvSysEnvGetTopologyUpdateInfo: TWSI Read failed
DDR3 1 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.06 (Jan 08 2015 - 10:04:46) Marvell version: 2014_T3.0p6

mvBoardSatRRead: Error: Read from S@R failed
mvBoardSatRRead: Error: Read from S@R failed
mvBoardSatRRead: Error: Read from S@R failed
Board: DB-88F6820-BP
SoC:   MV88F6828 Rev A0
       running 2 CPUs
CPU:   ARM Cortex A9 MPCore (Rev 1) LE
       CPU 0
       CPU    @ 1600 [MHz]
       L2     @ 800 [MHz]
       TClock @ 200 [MHz]
       DDR    @ 800 [MHz]
       DDR 32 Bit Width, FastPath Memory Access, DLB Enabled, ECC Disabled
DRAM:  2 GiB

Map:   Code:			0x7fece000:0x7ff95d44
       BSS:			0x7ffef254
       Stack:			0x7f9cdf20
       Heap:			0x7f9ce000:0x7fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:	0x00000000:0x00080000 (NAND)

NAND:  ID: dcad ,512 MiB
MMC:   mv_sdh: 0
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00001f500000-0x00001ff00000 : "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/1
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 36 (0x00000024)...
Done
lan mac_addr :  00 90 a9 e4 89 34
Set lan 0 WakeOnLan ok
Set lan 1 WakeOnLan ok
MicroP Enable HD
Enable HD1
Enable HD2
Enable HD3
Enable HD4

I had to split up the log
Re: WDmycloudex4100 instructions
June 18, 2019 05:38PM
the rest

Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |     0x00     |
| egiga1 |   SGMII   |     0x01     |
egiga0 [PRIME], egiga1
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:e4:3f:32
eth1mtu=1500
eth2addr=00:50:43:e4:aa:32
eth2mtu=1500
eth3addr=00:50:43:3f:aa:e4
eth3mtu=1500
ethact=egiga0
ethaddr=00:50:43:aa:3f:32
ethmtu=1500
ethprime=egiga0
fdt_addr=2040000
fdt_skip_update=no
fdtaddr=0x1000000
fdtfile=armada-38x-modular.dtb
filesize=24
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=2.66.66.203
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),441m@15m(image.cfs),15m@456m(rescue_fw),20m@471m(config),10m@491m(reserve1),10m@501m(reserve2)
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:32:aa:e4
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=2.66.66.32
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: 3202/524284 bytes
Marvell>> boot

NAND read: device 0 offset 0x500000, size 0x500000
 5242880 bytes read: OK

NAND read: device 0 offset 0xa00000, size 0x500000
 5242880 bytes read: OK
## Booting image at 00a00000 ...
## Booting kernel from Legacy Image at 00a00000 ...
   Image Name:   Linux-388
   Created:      2018-11-16   6:11:50 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4093524 Bytes = 3.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 00f00000 ...
   Image Name:   Ramdisk
   Created:      2019-05-15   2:26:55 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    2220263 Bytes = 2.1 MiB
   Load Address: 00e00000
   Entry Point:  00e00000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
stopping USB..

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Initializing cgroup subsys cpuacct
Linux version 3.10.39 (kman@kmachine) (gcc version 4.6.4 (Linaro GCC branch-4.6.4. Marvell GCC Dev 201310-2126.3d181f66 64K MAXPAGESIZE ALIGN) ) #1 SMP Fri Nov 16 14:11:47 CST 2018 2014T30p5 Build-git0451941
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Marvell Armada 380/381/382/385/388 (Device Tree), model: Marvell Armada 385 Development Board
Memory policy: ECC disabled, Data cache writealloc
PERCPU: Embedded 1 pages/cpu @c0b10000 s8320 r8192 d16256 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65505
Kernel command line: root=/dev/ram console=ttyS0,115200
PID hash table entries: 4096 (order: -1, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 4, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 3, 262144 bytes)
allocated 524288 bytes of page_cgroup
please try 'cgroup_disable=memory' option if you don't want memory cgroups
Memory: 2048MB = 2048MB total
Memory: 2081984k/2081984k available, 15168k reserved, 1303552K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff8000   (  32 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xf0800000 - 0xfff00000   ( 247 MB)
    lowmem  : 0xc0000000 - 0xf0700000   ( 775 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0714270   (7217 kB)
      .init : 0xc0718000 - 0xc075a080   ( 265 kB)
      .data : 0xc075c000 - 0xc07a7e40   ( 304 kB)
       .bss : 0xc07a7e40 - 0xc0871570   ( 806 kB)
Hierarchical RCU implementation.
	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
NR_IRQS:16 nr_irqs:16 16

  LSP version: linux-3.10.39-2014_T3.0p5

sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410054c9, AUX_CTRL 0x16070000, Cache size: 1048576 B
Console: colour dummy device 80x30
Calibrating delay loop... 3188.32 BogoMIPS (lpj=15941632)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 4096
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys blkio
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0xc056c250 - 0xc056c2a8
mvebu-pmsu: Initializing Power Management Service Unit
Initializing CPU Reset module
CPU1: Booted secondary processor
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (6376.65 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
xor: measuring software checksum speed
   arm4regs  :  1705.600 MB/sec
   8regs     :  1129.600 MB/sec
   32regs    :  1104.000 MB/sec
xor: using function: arm4regs (1705.600 MB/sec)
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
irq: Cannot allocate irq_descs @ IRQ195, assuming pre-allocated
irq: Cannot allocate irq_descs @ IRQ227, assuming pre-allocated
bio: create slab <bio-0> at 0
raid6: int32x1    427 MB/s
raid6: int32x2    417 MB/s
raid6: int32x4    537 MB/s
raid6: int32x8    462 MB/s
raid6: using algorithm int32x4 (537 MB/s)
raid6: using intx1 recovery algorithm
mvebu-pcie pcie-controller.3: PCIe0.0: link down
mvebu-pcie pcie-controller.3: PCIe1.0: link down
mvebu-pcie pcie-controller.3: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe8000000]
pci_bus 0000:00: root bus resource [bus 00-ff]
PCI: bus0: Fast back to back transfers disabled
pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
PCI: bus1: Fast back to back transfers enabled
PCI: bus2: Fast back to back transfers enabled
pci 0000:00:01.0: PCI bridge to [bus 01]
pci 0000:00:02.0: PCI bridge to [bus 02]
PCI: enabling device 0000:00:01.0 (0140 -> 0143)
PCI: enabling device 0000:00:02.0 (0140 -> 0143)
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
Switching to clocksource armada_370_xp_clocksource
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 1, 65536 bytes)
TCP bind hash table entries: 8192 (order: 1, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 1024 (order: 0, 32768 bytes)
UDP-Lite hash table entries: 1024 (order: 0, 32768 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 2112K (c0f08000 - c1118000)
bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 8192 (order 0, 32768 bytes)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
fuse init (API version 7.22)
SGI XFS with security attributes, large block/inode numbers, no debug enabled
msgmni has been set to 1524
async_tx: api initialized (async)
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
mv_xor f1060800.xor: Marvell shared XOR driver
mv_xor f1060800.xor: Marvell XOR: ( xor cpy intr )
mv_xor f1060800.xor: freeing 1 in use descriptors!
mv_xor f1060800.xor: Marvell XOR: ( crc32c )
mv_xor f1060900.xor: Marvell shared XOR driver
mv_xor f1060900.xor: Marvell XOR: ( xor cpy intr )
mv_xor f1060900.xor: freeing 1 in use descriptors!
mv_xor f1060900.xor: Marvell XOR: ( crc32c )
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 44) is a 16550A
console [ttyS0] enabled
f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 45) is a 16550A
brd: module loaded
loop: module loaded
ahci_mv f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
ahci_mv f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
scsi0 : ahci_mv_platform
scsi1 : ahci_mv_platform
ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 58
ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 58
ahci_mv f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
ahci_mv f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
scsi2 : ahci_mv_platform
scsi3 : ahci_mv_platform
ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x100 irq 60
ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x180 irq 60
armada-nand f10d0000.nand: Initialize HAL based NFC in 8bit mode with DMA Disabled using BCH 4bit ECC
NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit), 512MiB, page size: 2048, OOB size: 64
Bad block table found at page 262080, version 0x01
Bad block table found at page 262016, version 0x01
nand_read_bbt: bad block at 0x000006960000
8 ofpart partitions found on MTD device armada-nand
Creating 8 MTD partitions on "armada-nand":
0x000000000000-0x000000500000 : "U-Boot"
0x000000500000-0x000000a00000 : "uImage"
0x000000a00000-0x000000f00000 : "uRamdisk"
0x000000f00000-0x00001c800000 : "image.cfs"
0x00001c800000-0x00001d700000 : "rescue fw"
0x00001d700000-0x00001eb00000 : "config"
0x00001eb00000-0x00001f500000 : "reserve1"
0x00001f500000-0x00001ff00000 : "reserve2"
SoC: model = 0x6828, revision = 0x4
mvPncVirtBase = 0xf0e00000, pncTcamSize = 1024
  o 3 Giga ports supported
  o SKB recycle supported (Disabled)
  o NETA acceleration mode 4
  o BM supported for CPU: 4 BM pools
  o PnC supported (Enabled)
  o RX Queue support: 8 Queues * 256 Descriptors
  o TX Queue support: 8 Queues * 532 Descriptors
  o GSO supported
  o GRO supported
  o Receive checksum offload supported
  o Transmit checksum offload supported
  o Driver ERROR statistics enabled
  o Driver INFO statistics enabled
  o Driver DEBUG statistics enabled

port #0: is_sgmii=0, is_rgmii=1, phy_addr=0
  o Loading network interface(s) for port #0: cpu_mask=0x3, tx_csum_limit=9800

  o Port 0 is connected to Linux netdevice
    o egiga0, ifindex = 2, GbE port = 0
	giga p=0: mtu=1500, mac=00:50:43:02:02:01 (platform)

port #1: is_sgmii=1, is_rgmii=0, phy_addr=1
  o Loading network interface(s) for port #1: cpu_mask=0x3, tx_csum_limit=2048

  o Port 1 is connected to Linux netdevice
    o egiga1, ifindex = 3, GbE port = 1
	giga p=1: mtu=1500, mac=00:50:43:02:02:02 (platform)

libphy: orion_mdio_bus: probed
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ehci-orion: EHCI orion driver
orion-ehci f1058000.usb: EHCI Host Controller
orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
orion-ehci f1058000.usb: irq 50, io mem 0xf1058000
orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
xhci-hcd f10f0000.usb3: xHCI Host Controller
xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
xhci-hcd f10f0000.usb3: irq 48, io mem 0xf10f0000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
xhci-hcd f10f0000.usb3: xHCI Host Controller
xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
ata1: SATA link down (SStatus 0 SControl 300)
ata2: SATA link down (SStatus 0 SControl 300)
ata4: SATA link down (SStatus 0 SControl 300)
ata3: SATA link down (SStatus 0 SControl 300)
usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
usb 3-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
hub 3-1:1.0: USB hub found
hub 3-1:1.0: 4 ports detected
mvebu-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
i2c /dev entries driver
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
md: raid6 personality registered for level 6
usb 2-1: new high-speed USB device number 2 using xhci-hcd
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
dm_crypt using the OCF package.
cpuidle: using governor ladder
armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: Total CESA HW channels supported 2
armada-cesa-ocf f109d000.crypto: mv_get_cesa_resources: CESA feature: chain(0)
mvCesaInit: channels=2, session=640, queue=256
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
armada-cesa-ocf f109d000.crypto: cesa_ocf_probe: CESA driver operate in ocf(0) mode
cesadev_init(c0734f0c)
TCP: cubic registered
NET: Registered protocol family 17
8021q: 802.1Q VLAN Support v1.8
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
registered taskstats version 1
mvebu-rtc f10a3800.rtc: setting system clock to 2019-06-18 22:33:30 UTC (1560897210)
md: Waiting for all devices to be available before autodetect
md: If you don't use raid, use raid=noautodetect
md: Autodetecting RAID arrays.
md: Scanned 0 and added 0 devices.
md: autorun ...
md: ... autorun DONE.
RAMDISK: gzip image found at block 0
VFS: Mounted root (ext2 filesystem) readonly on device 1:0.
devtmpfs: mounted
Freeing unused kernel memory: 256K (c0718000 - c0758000)
init started: BusyBox v1.20.2 (2014-10-30 15:28:01 CST)
starting pid 1256, tty '': '/etc/rc.sh'
** Mounting /etc/fstab
umount: can't umount /proc: Invalid argument
umount: can't umount /usr/local/modules: Invalid argument
offset_flag=1,vaule_flag=1,bit_fUBI: attaching mtd5 to ubi0
lag=1
reg f1018140 : 00700000
UBI: scanning is finished
UBI: attached mtd5 (name "config", size 20 MiB) to ubi0
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 160, bad PEBs: 0, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 51/31, WL threshold: 4096, image sequence number: 1237890639
UBI: available PEBs: 12, total reserved PEBs: 148, PEBs reserved for bad PEB handling: 20
UBI: background thread "ubi_bgt0d" started, PID 1271
UBI device number 0, total 160 LEBs (20316160 bytes, 19.4 MiB), available 12 LEBs (1523712 bytes, 1.5 MiB), LEB size 126976 bytes (124.0 KiB)
UBIFS: background thread "ubifs_bgt0_0" started, PID 1276
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "config"
UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS: FS size: 14475264 bytes (13 MiB, 114 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
UBIFS: reserved for root: 683702 bytes (667 KiB)
UBIFS: media format: w4/r0 (latest is w4/r0), UUID 761978AF-C5F8-4E6F-893E-5B2783EE2E98, small LPT model
umount: can't umount /usr/local/tmp/image.cfs: No such file or directory
rm: can't remove '/usr/local/tmp/image.cfs': No such file or directory
umount: can't umount /usr/local/tmp: Invalid argument
first good block is 0
image len = 98234368 , image checksum = 578057a0
umount: can't umount /usr/local/tmp: Invalid argument
usb 2-1.2: new high-speed USB device number 3 using xhci-hcd
usb-storage 2-1.2:1.0: USB Mass Storage device detected
scsi4 : usb-storage 2-1.2:1.0
scsi 4:0:0:0: Direct-Access     VendorCo ProductCode      2.00 PQ: 0 ANSI: 4
sd 4:0:0:0: [sda] 30720000 512-byte logical blocks: (15.7 GB/14.6 GiB)
sd 4:0:0:0: [sda] Write Protect is off
sd 4:0:0:0: [sda] No Caching mode page found
sd 4:0:0:0: [sda] Assuming drive cache: write through
sd 4:0:0:0: Attached scsi generic sg0 type 0
sd 4:0:0:0: [sda] No Caching mode page found
sd 4:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1
sd 4:0:0:0: [sda] No Caching mode page found
sd 4:0:0:0: [sda] Assuming drive cache: write through
sd 4:0:0:0: [sda] Attached SCSI removable disk
dump image checksum=578057a0
mount cmd:busybox mount -t squashfs -o loop /usr/local/tmp/image.cfs /usr/local/modules
cp: can't stat '/tmp1/*': No such file or directory
ln: /lib/./liblber-2.4.so.2.5.6: File exists
ln: /lib/./libminiupnpc.so: File exists
ln: /lib/./libnatpmp.so: File exists
ln: /lib/./libpam.so.0.81.6: File exists
ln: /usr/local/sbin/alert_email_config.sh: File exists
ln: /usr/sbin/language.sh: File exists
ln: /lib/libnss_winbind.so.2: File exists
dev.raid.speed_limit_max = 1000
egiga0    Link encap:Ethernet  HWaddr 00:50:43:02:02:01  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:193 
egiga0: mac address changed

egiga1    Link encap:Ethernet  HWaddr 00:50:43:02:02:02  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:532 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:194 

Do Lan Port Switch
egiga1: mac address changed
not_egiga0: mac address changed
jnl: driver (lke_9.2.0 lke_9.2.0_r256412_b49, LBD=ON) loaded at bf000000
ufsd: module license 'Commercial product' taints kernel.
Disabling lock debugging due to kernel taint
ufsd:: trace mask set to 0000000f
ufsd: driver (lke_9.2.0 lke_9.2.0_r256412_b49, build_host("fsd-linux-bs06b"), acl, ioctl, bdi, sd2(0), fua, bz, tr, rsrc) loaded at bf020000
NTFS support included
exFAT support included
Hfs+/HfsJ support included
optimized: speed
Build_for__WD_Yellowstone_k3.10.39_2015-07-06_lke_9.2.0_r256412_b49

bio: create slab <bio-1> at 1
Btrfs loaded
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
lrwxrwxrwx    1 root     0               17 Jun 18 22:33 /usr/sbin//raid_config -> /usr/sbin/diskmgr
lrwxrwxrwx    1 root     0               17 Jun 18 22:33 /usr/sbin//raid_expand -> /usr/sbin/diskmgr
lrwxrwxrwx    1 root     0               17 Jun 18 22:33 /usr/sbin//raid_expand_disks -> /usr/sbin/diskmgr
lrwxrwxrwx    1 root     0               17 Jun 18 22:33 /usr/sbin//raid_update_info -> /usr/sbin/diskmgr
hardware init
Read PCI register offset 0x18140 = 701000
Read PCI register offset 0x18140 = 701000
Read PCI register offset 0x18140 = 701000
Resetting USB device /dev/bus/usb/003/002
usb 3-1: reset SuperSpeed USB device number 2 using xhci-hcd
usb 3-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
xhci-hcd f10f0000.usb3: xHCI xhci_drop_endpoint called with disabled ep eed07f80
Reset successful
mode nmae: -->WDMyCloudEX4100<--
Set 802.3az
mtd check v1.06.06032015
config mtd type is UBIFS
device = /usr/local/config
Total size     = 12384 Kbytes
Used size     = 300 Kbytes
Free size     = 12084 Kbytes
percentage = 3
/usr/local/config free size is 12374016
** copy config files
*** Copy orion.db from flash ****
cp: can't stat '/usr/local/modules/files/fan_temperature.txt': No such file or directory
*** symlink onbrd.ini from flash ****
/etc/sysinit.d/wdlog: line 13: /etc/system.conf: No such file or directory
** set loopback interface
UBI: attaching mtd6 to ubi1
UBI: scanning is finished
UBI: attached mtd6 (name "reserve1", size 10 MiB) to ubi1
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 4/2, WL threshold: 4096, image sequence number: 2557296595
UBI: available PEBs: 18, total reserved PEBs: 62, PEBs reserved for bad PEB handling: 24
UBI: background thread "ubi_bgt1d" started, PID 3277
UBI device number 1, total 80 LEBs (10158080 bytes, 9.7 MiB), available 18 LEBs (2285568 bytes, 2.2 MiB), LEB size 126976 bytes (124.0 KiB)
UBIFS: background thread "ubifs_bgt1_0" started, PID 3295
UBIFS: mounted UBI device 1, volume 0, name "reserve"
UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS: FS size: 3047424 bytes (2 MiB, 24 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
UBIFS: reserved for root: 143937 bytes (140 KiB)
UBIFS: media format: w4/r0 (latest is w4/r0), UUID 2AF1DBDC-311B-44DB-82D0-0BB16F030BA5, small LPT model
UBIFS: un-mount UBI device 1, volume 0
UBIFS: background thread "ubifs_bgt1_0" stops
UBI: attaching mtd7 to ubi2
UBI: scanning is finished
UBI: attached mtd7 (name "reserve2", size 10 MiB) to ubi2
UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
UBI: good PEBs: 80, bad PEBs: 0, corrupted PEBs: 0
UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
UBI: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 540768837
UBI: available PEBs: 6, total reserved PEBs: 74, PEBs reserved for bad PEB handling: 28
UBI: background thread "ubi_bgt2d" started, PID 3310
UBI device number 2, total 80 LEBs (10158080 bytes, 9.7 MiB), available 6 LEBs (761856 bytes, 744.0 KiB), LEB size 126976 bytes (124.0 KiB)
mknod: /dev/mtd7: File exists
UBIFS: background thread "ubifs_bgt2_0" started, PID 3323
UBIFS: mounted UBI device 2, volume 0, name "reserve2"
UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS: FS size: 4063232 bytes (3 MiB, 32 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
UBIFS: reserved for root: 191915 bytes (187 KiB)
UBIFS: media format: w4/r0 (latest is w4/r0), UUID DA06F613-BDF8-4D03-A522-E6A18E2007CF, small LPT model
/dev/mtd7 mount ok(ubi)
UBIFS: un-mount UBI device 2, volume 0
UBIFS: background thread "ubifs_bgt2_0" stops
mac1 = 00:90:A9:E4:89:34
mac2 =egiga0: mac address changed
 00:90:A9:E4:89:35
lan0:ifconfiegiga1: mac address changed
g egiga0 hw ether 00:90:A9:E4:89:34
lan0:ifconfig egiga1 hw ether 00:90:A9:E4:8pool #1: pkt_size=1536, buf_size=1600 - 2048 of 2048 buffers added
9:35
egiga0: link up
egiga0: link up, full duplex, speed 1 Gbps
egiga0: started
pool #0: pkt_size=1536, buf_size=1600 - 2048 of 2048 buffers added
egiga1: started
set lan0 speed
set lan1 speed
[wd_read_serial.c:621] Read serial number from flash.
[wd_read_serial.c:160] serial number : WNAG29070174
hidden encryption: 0
old firmware ver:2.31.183.0514.2019
new firmware ver:2.31.183.0514.2019
rm: can't remove '/tmp/fix_wd_config': No such file or directory
NET: Registered protocol family 10
IPv6: ADDRCONF(NETDEV_UP): egiga1: link is not ready
sit: Unknown symbol ip_tunnel_get_stats64 (err 0)
insmod: error inserting '/usr/local/modules/driver/sit.ko': -1 Unknown symbol in module
rm: can't remove '/bin/sysctl': No such file or directory
net.ipv6.conf.default.accept_dad = 2
net.ipv6.conf.egiga0.accept_dad = 2
net.ipv6.conf.default.dad_transmits = 1
net.ipv6.conf.egiga0.dad_transmits = 1
net.ipv6.conf.default.forwarding = 0
net.ipv6.conf.default.accept_redirects = 1
mkdir: can't create directory '/usr/local/etc': File exists
*** execute rc.init.sh
ip.sh bonding {1 restart}
bonding starting ...
insmod /usr/local/modules/driver/bonding.ko mode=1 miimon=500 use_carrier=1 downdelay=1000 updelay=1000
bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
bonding: MII link monitoring set to 500 ms
8021q: adding VLAN 0 to HW filter on device bond0
IPv6: ADDRCONF(NETDEV_UP): bond0: link is not ready
egiga0: stopped
egiga0: mac address changed
egiga0: link up
egiga0: started
bonding: bond0: enslaving egiga0 as a backup interface with an up link.
egiga1: stopped
egiga1: mac address changed
egiga1: started
bonding: bond0: enslaving egiga1 as a backup interface with a down link.
udhcpc (v1.20.2) started
cat: can't open '/tmp/setip.0': No such file or directory
Sending discover...
killall: crond: no process killed
crond[3572]: crond: crond (busybox 1.20.2) started, log level 8
--2019-06-18 22:34:01--  http://download.wdc.com/nas/WDMyCloudEX4100_HDD_Blacklist.xml
Resolving download.wdc.com... failed: Name or service not known.
wget: unable to resolve host address 'download.wdc.com'
[upnp_nas_xml.c() 348] Can't get IP of bond0
Initializing UPnP Sdk with
	ipaddress = (null) port = 0
UPnP Initialized
	ipaddress= 0.0.0.0 port = 49152
Specifying the webserver root directory -- /etc/upnp
Registering the RootDevice
	 with desc_doc_url: http://0.0.0.0:49152/nasdevicedesc.xml
RootDevice Registered
Initializing State Table
State Table Initialized
sh: you need to specify whom to kill
Advertisements Sent
bonding: bond0: link status definitely up for interface egiga0, 1000 Mbps full duplex.
bonding: bond0: making interface egiga0 the new active one.
bonding: bond0: first active interface up!
IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
*** Copy CacheVolume data from flash ****
*** set Time Zone ****
$Usage: apache {start|stop|restart} {web/dav}
Tue Jun 18 22:34:02 PDT 2019
*** get Time from rtc and set it into system ****
rtc: RTC time = 2019/6/18 Tue 22:34:3
Tue Jun 18 15:34:03 PDT 2019
Set Date & time : sntp -K /dev/null -S -r time.windows.com
sntp 4.2.8@1.3265 Fri Jan  9 06:42:54 UTC 2015 (8)
time.windows.com lookup error Name or service not known

Module IPC SERVER Version:(1.00.20090706)

ads=0
created mail daemon thread 0
POWER ON DEVICE!!
Sending discover...
Sending select for 10.0.0.8...
Lease of 10.0.0.8 obtained, lease time 604800
deleting routers
route: SIOCDELRT: No such process
RTNETLINK answers: Operation not supported
RTNETLINK answers: Operation not supported
call load_module network
sh: can't create /sys/module/gpio/parameters/hdd_status: nonexistent directory
cp: can't stat '/usr/local/config/user.log.*': No such file or directory
cp: can't stat '/usr/local/config/wdmcserver.log.*': No such file or directory
cp: can't stat '/usr/local/config/orion_cm.log.*': No such file or directory
cp: can't stat '/usr/local/config/mycloud.log.*': No such file or directory
cp: can't stat '/usr/local/config/wdhwlib.log.*': No such file or directory
mount: mount point /proc/bus/usb does not exist
WD hwlib start..............
Starting system message bus
Starting wdtms
wdtms started
Loading x_tables.ko
Loading nf_conntrack.ko
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
Loading xt_conntrack.ko
Loading xt_state.ko
Loading xt_tcpudp.ko
Loading xt_recent.ko
Loading xt_LOG.ko
Loading xt_limit.ko
Loading ip_tables.ko
ip_tables: (C) 2000-2006 Netfilter Core Team
Loading iptable_filter.ko
Loading nf_defrag_ipv4.ko
Loading nf_conntrack_ipv4.ko
Loading ip6_tables.ko
ip6_tables: (C) 2000-2006 Netfilter Core Team
Loading ip6table_filter.ko
Loading nf_defrag_ipv6.ko
Loading nf_conntrack_ipv6.ko
PHY_LAN_NUMBER=2
BOND_ENABLE=1
VLAN0_ENABLE=0
VLAN1_ENABLE=0
--2019-06-18 15:34:06--  http://download.wdc.com/apps/WDMyCloudEX4100/WDMyCloudEX4100.xml
Resolving download.wdc.com... I/O warning : failed to load external entity "/var/www/xml/internal_backup.xml"
34.210.117.62, 35.160.42.211, 35.160.19.99, ...
Connecting to download.wdc.com|34.210.117.62|:80... cat: can't open '/var/run/traceroute_wd.pid': No such file or directory
ash: you need to specify whom to kill
killall: traceroute: no process killed
connected.
HTTP request sent, awaiting response... 
 -------------use hwlib instead of fan_control b c------------- 
200 OK
Length: 62016 (61K) [text/xml]
Saving to: '/var/www/xml/app_info.xml'

100%[======================================>] 62,016       313KB/s   in 0.2s   

2019-06-18 15:34:06 (313 KB/s) - '/var/www/xml/app_info.xml' saved [62016/62016]

I/O warning : failed to load external entity "/var/www/xml/app_update.xml"
Set Date & time : sntp -K /dev/null -S -r pool.ntp.org
sntp 4.2.8@1.3265 Fri Jan  9 06:42:54 UTC 2015 (8)
[ERROR] Unable to open (null)
2019-06-18 15:34:08.126875 (+0800) -43.094317 +/- 28.737952 pool.ntp.org 23.131.160.7 s2
NTP Server connected successfully!!!
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda1): using internal journal
EXT3-fs (sda1): mounted filesystem with ordered data mode
restart sysinfod...
sysinfod: full update begin...
sysinfod: disk connected: previous=0xffffffff, now=0x0
--2019-06-18 15:33:25--  http://download.wdc.com/nas/WDMyCloudEX4100_HDD_Blacklist.xml
Resolving download.wdc.com... 34.210.117.62, 34.211.97.143, 35.160.42.211, ...
Connecting to download.wdc.com|34.210.117.62|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
2019-06-18 15:33:25 ERROR 403: Forbidden.

waiting : [10]
rtc: system time: 2019/6/18 Tue 22:33:29
setRTCTime
country=0
lang_path=/usr/local/modules/language
chk_io v1.04.20141112
I/O warning : failed to load external entity "/var/www/xml/usb_backup.xml"
system daemon v1.04.20141211
I/O warning : failed to load external entity "/var/www/xml/internal_backup.xml"
PIP is disabled, exiting.
Tue Jun 18 15:33:31 PDT 2019 - %I - Communication Manager - Start
dev.raid.speed_limit_max = 200000

Please press Enter to activate this console. sh: operate_auth: not found

killall: chk_hotplug: no process killed
scandisk for power failure now.

*ERROR* main(): scandisk [-a] [(null)]

sacndisk for power failure(fs_error_count=0)
cat: can't open '/var/run/xmldb_sock_scandisk_config.pid': No such file or directory
call load_module
### create systemfile ###
### sata_reload_application start ###
Loading iSCSI transport class v2.0-870.
iscsi: registered transport (tcp)
New interface iface0 added
iface0 updated.
New interface iface1 added
iface1 updated.
New interface ifbond added
ifbond updated.
Initializing UPnP Sdk with
	ipaddress = (null) port = 0
UPnP Initialized
	ipaddress= 10.0.0.8 port = 49152
Specifying the webserver root directory -- /etc/upnp
Registering the RootDevice
	 with desc_doc_url: http://10.0.0.8:49152/nasdevicedesc.xml
RootDevice Registered
Initializing State Table
State Table Initialized
Starting atopacctd
cannot switch on process accounting: Function not implemented
Starting atop system monitor  atop
atop started
Advertisements Sent
*** APKG Daemon is starting ... ***
Rename is FAILE
USE 2nd Rename 
sh: you need to specify whom to kill
sh: you need to specify whom to kill
Rename is FAILE
USE 2nd Rename 
killall: smbd: no process killed
Starting wdnotifier
wdnotifier started
killall: smbd: no process killed
killall: chk_blockip: no process killed
killall: chk_blockip: no process killed
sh: syntax error: unexpected "("
Starting AFP services:
I/O warning : failed to load external entity "/mnt/USB/USB2_a1/.timeMachine.xml"
Document parsed unsuccessfully. 
sysinfod: full update begin...
 3885 root      8640 S    avahi-daemon: running [WDMyCloudEX4100.local]
killall: elephantdriveDaemon: no process killed
Setting up docker
mkdir: can't create directory '/mnt/HD/HD_a2/Nas_Prog/_docker': No such file or directory
Loading drivers
Loading /usr/local/modules/driver/nf_conntrack.ko
insmod: error inserting '/usr/local/modules/driver/nf_conntrack.ko': -1 File exists
failed to load /usr/local/modules/driver/nf_conntrack.ko
Loading /usr/local/modules/driver/nf_nat.ko
Loading /usr/local/modules/driver/nf_defrag_ipv4.ko
insmod: error inserting '/usr/local/modules/driver/nf_defrag_ipv4.ko': -1 File exists
failed to load /usr/local/modules/driver/nf_defrag_ipv4.ko
Loading /usr/local/modules/driver/nf_conntrack_ipv4.ko
insmod: error inserting '/usr/local/modules/driver/nf_conntrack_ipv4.ko': -1 File exists
failed to load /usr/local/modules/driver/nf_conntrack_ipv4.ko
Loading /usr/local/modules/driver/nf_nat_ipv4.ko
Loading /usr/local/modules/driver/x_tables.ko
insmod: error inserting '/usr/local/modules/driver/x_tables.ko': -1 File exists
failed to load /usr/local/modules/driver/x_tables.ko
Loading /usr/local/modules/driver/xt_conntrack.ko
insmod: error inserting '/usr/local/modules/driver/xt_conntrack.ko': -1 File exists
failed to load /usr/local/modules/driver/xt_conntrack.ko
Loading /usr/local/modules/driver/xt_addrtype.ko
Loading /usr/local/modules/driver/xt_tcpudp.ko
insmod: error inserting '/usr/local/modules/driver/xt_tcpudp.ko': -1 File exists
failed to load /usr/local/modules/driver/xt_tcpudp.ko
Loading /usr/local/modules/driver/xt_nat.ko
Loading /usr/local/modules/driver/nf_nat_masquerade_ipv4.ko
insmod: can't read '/usr/local/modules/driver/nf_nat_masquerade_ipv4.ko': No such file or directory
failed to load /usr/local/modules/driver/nf_nat_masquerade_ipv4.ko
Loading /usr/local/modules/driver/ipt_MASQUERADE.ko
Loading /usr/local/modules/driver/ip_tables.ko
insmod: error inserting '/usr/local/modules/driver/ip_tables.ko': -1 File exists
failed to load /usr/local/modules/driver/ip_tables.ko
Loading /usr/local/modules/driver/iptable_filter.ko
insmod: error inserting '/usr/local/modules/driver/iptable_filter.ko': -1 File exists
failed to load /usr/local/modules/driver/iptable_filter.ko
Loading /usr/local/modules/driver/iptable_nat.ko
Loading /usr/local/modules/driver/llc.ko
Loading /usr/local/modules/driver/stp.ko
Loading /usr/local/modules/driver/bridge.ko
Bridge firewalling registered
Loading /usr/local/modules/driver/br_netfilter.ko
insmod: can't read '/usr/local/modules/driver/br_netfilter.ko': No such file or directory
failed to load /usr/local/modules/driver/br_netfilter.ko
Setting up cgroup
Get http:///var/run/docker.sock/v1.19/containers/json: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?
wdappmgr_auto_start finished modifying wd apps exit code
Starting Docker
Docker is not setup! Run docker_daemon.sh setup
umount: /mnt/HD/HD_a2/Nas_Prog/_docker/devicemapper: not found
Total RAM: 2084352 KB
Creating /sys/fs/cgroup/memory/docker
Docker quota: 1042176 KB
Set memory quota for docker: 1067188224
/usr/sbin/docker_daemon.sh: line 198: /var/lib/docker/docker.log: No such file or directory
Docker pid 6062
Stopping wdappmgr
wdappmgr is already stopped
Starting wdappmgr
parent exiting!
wdappmgr started
curl: (7) Couldn't connect to server
curl: (7) Couldn't connect to server
curl: (7) Couldn't connect to server
curl: (7) Couldn't connect to server
curl: (7) Couldn't connect to server
country=0
lang_path=/usr/local/modules/language
### sata_reload_application end ###
Create USB dev node
rm: can't remove '/tmp/disk_uuid': No such file or directory
sysinfod: full update begin...
sysinfod: inform: all drives status=No Drives.
dry_total_size:10900
dry_total_size:0
dry_total_size:93943
dry_total_size:6911
dry_total_size:11748
LED_POWER_ON

starting pid 5098, tty '/dev/ttyS0': '/bin/login'
Password of admin: 


BusyBox v1.20.2 (2014-10-30 15:28:01 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

root@WDMyCloudEX4100 / # 
Re: WDmycloudex4100 instructions
June 18, 2019 07:20PM
I might be getting ahead of myself but when I boot into debian I can not access the internet a ping to google results inping: google.com: Temporary failure in name resolution
. is this expected at this point?
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: