Welcome! Log In Create A New Profile

Advanced

Debian on WD MyCloud EX 4100

Posted by saschadd 
Re: Debian on WD MyCloud EX 4100
June 21, 2017 01:02AM
Quote
bodhi
2. Does stock u-boot use only internal envs? the GPL code should say so if it is true.

/* Boot from NAND settings */
        #if defined(MV_NAND_BOOT)
                #define CONFIG_ENV_IS_IN_NAND

                #define CONFIG_ENV_SIZE                 0x80000                 /* environment takes one erase block */
                #define CONFIG_ENV_OFFSET               nand_get_env_offs()     /* environment starts here  */
                #define CONFIG_ENV_ADDR                 CONFIG_ENV_OFFSET
                #define MONITOR_HEADER_LEN              0x200
                #define CONFIG_SYS_MONITOR_BASE         0
                #define CONFIG_SYS_MONITOR_LEN          0x80000           /* Reserve 512 kB for Monitor */
                #define CONFIG_ENV_RANGE                CONFIG_ENV_SIZE * 8

                #define MV_NBOOT_BASE                   0
                #define MV_NBOOT_LEN                    (4 << 10)       /* Reserved 4KB for boot strap */
        #endif /* MV_NAND_BOOT */
#endif /* MV_NAND */

int nand_get_env_offs(void)
{
        size_t offset = 0;

#if defined(CONFIG_SKIP_BAD_BLOCK)
        int i = 0;
        int sum = 0;
        size_t blocksize;
        blocksize = nand_info[0].erasesize;

        offset = CONFIG_UBOOT_SIZE + CONFIG_SPARE_AREA;

        /* Start searching for bad blocks from the offset */
        i = offset/blocksize;
        /* Find Env start */
        while(i * blocksize < nand_info[0].size) {
                if (!nand_block_isbad(&nand_info[0], (i * blocksize)))
                        sum += blocksize;
                else {
                        sum = 0;
                        offset = (i + 1) * blocksize;
                }
                i++;
                if (sum >= CONFIG_ENV_RANGE)
                        break;

        }
#else
        offset = CONFIG_UBOOT_SIZE + CONFIG_SPARE_AREA;
#endif

        /* Align U-Boot size to currently used blocksize */
        offset = ( (offset + (blocksize - 1)) & (~(blocksize-1)) );
        return offset;
}

include/configs/armada_38x.h:611:#define CONFIG_UBOOT_SIZE                       0x100000
include/configs/armada_38x.h:612:#define CONFIG_SPARE_AREA			0x400000


So according to the above, the environment should start at 0x500000 and be 0x80000 large.
Re: Debian on WD MyCloud EX 4100
June 21, 2017 03:30AM
hmartin Wrote:
-------------------------------------------------------
>
Quote
bodhi
> 2. Does stock u-boot use only internal envs? the G
> PL code should say so if it is true.
>
>
>
> /* Boot from NAND settings */
> #if defined(MV_NAND_BOOT)
> #define CONFIG_ENV_IS_IN_NAND
> 
> #define CONFIG_ENV_SIZE
> 0x80000                 /* environment takes one e
> rase block */
> #define CONFIG_ENV_OFFSET
> nand_get_env_offs()     /* environment starts here
> */
> #define CONFIG_ENV_ADDR
> CONFIG_ENV_OFFSET
> #define MONITOR_HEADER_LEN
> 0x200
> #define CONFIG_SYS_MONITOR_BASE
> 0
> #define CONFIG_SYS_MONITOR_LEN
> 0x80000           /* Reserve 512 kB for Monitor */
> #define CONFIG_ENV_RANGE
> CONFIG_ENV_SIZE * 8
> 
> #define MV_NBOOT_BASE
> 0
> #define MV_NBOOT_LEN
> (4 << 10)       /* Reserved 4KB for boot strap */
> #endif /* MV_NAND_BOOT */
> #endif /* MV_NAND */
>
>
>
> int nand_get_env_offs(void)
> {
> size_t offset = 0;
> 
> #if defined(CONFIG_SKIP_BAD_BLOCK)
> int i = 0;
> int sum = 0;
> size_t blocksize;
> blocksize = nand_info[0].erasesize;
> 
> offset = CONFIG_UBOOT_SIZE + CONFIG_SPARE_
> AREA;
> 
> /* Start searching for bad blocks from the
> offset */
> i = offset/blocksize;
> /* Find Env start */
> while(i * blocksize < nand_info[0].size) {
> if (!nand_block_isbad(&nand_info[0
> ], (i * blocksize)))
> sum += blocksize;
> else {
> sum = 0;
> offset = (i + 1) * blocksi
> ze;
> }
> i++;
> if (sum >= CONFIG_ENV_RANGE)
> break;
> 
> }
> #else
> offset = CONFIG_UBOOT_SIZE + CONFIG_SPARE_
> AREA;
> #endif
> 
> /* Align U-Boot size to currently used blo
> cksize */
> offset = ( (offset + (blocksize - 1)) & (~
> (blocksize-1)) );
> return offset;
> }
>
>
>
> include/configs/armada_38x.h:611:#define CONFIG_UB
> OOT_SIZE                       0x100000
> include/configs/armada_38x.h:612:#define CONFIG_SP
> ARE_AREA			0x400000
>
>
>
> So according to the above, the environment should
> start at 0x500000 and be 0x80000 large.

That's what I saw too. Therefore it did not make sense with the uImage in mtd1, which is at 5MB :) so there something weird we have not found.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX 4100
June 21, 2017 03:37AM
hmartin Wrote:
-------------------------------------------------------
> Hey bodhi, if the desire is just to change env var
> iables to boot into Debian, then I found a way.
>
> Add #define CONFIG_CMD_SAVEENV to includ
> e/configs/armada_38x.h
in the WD u-boot source
> . Build, kwboot. You will have a working saveenv c
> ommand.
>
> I just tested it on my EX2100 to change serveri
> p=192.168.11.114
to serverip=192.168.11.110
>

>
>
> $ kwboot -f -t -B 115200 /dev/ttyUSB0 -b /tmp/u-bo
> ot-a38x-Yosemite_2014T3_PQ-nand-uart.bin -s 0 -q 1
> 
> (waiting)
> 
> Marvell>> printenv
> ...
> serverip=192.168.11.114
> ...
> 
> Environment size: 3209/524284 bytes
> Marvell>> setenv serverip 192.168.11.110
> Marvell>> saveenv
> Saving Environment to NAND...
> Erasing Nand...
> Writing to Nand... done
> Marvell>> reset
> resetting ...
> Marvell>> printenv
> ...
> serverip=192.168.11.110
> ...
> 
> Environment size: 3209/524284 bytes
> Marvell>>
>
>
> So even if we cannot figure it out in Linux yet, u
> -boot will be able to modify them so saschadd can
> boot Debian. Although the EX4100 has an issue with
> USB power, so maybe he needs to write your usb pow
> er modified u-boot to NAND.

You've got it! That's a plan B, if we cannot set it in Debian. Since we can kwboot the box, saving envs this way is quite safe. Just inconvenient and require serial console to kwboot a patched stock u-boot.

The user's installation is harder if we do it this way. That's why I kept going back to find the correct location. Once we can update it in Debian with fw_setenv, the installation is simpler.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX 4100
June 21, 2017 03:51AM
It could be that the mtd defition for EX4100 is wrong in stock u-boot. But scanning and grepping the 1st MB in mtd1, saschadd did not find the envs (I expected nothing there but the kernel code).

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



Edited 1 time(s). Last edit at 06/21/2017 05:23PM by bodhi.
Re: Debian on WD MyCloud EX 4100
June 21, 2017 05:41PM
saschadd,


In case you are eager to try to save envs like hmartin did above. Attach here is version tld-2 that you can use saveenv command in u-boot:

u-boot-a38x-Yellowstone_2014T30p6_bodhi-tld-2-nand-uart.bin

This version has both USB power and saveenv patches.

Please post serial console log as usual.



Edited 1 time(s). Last edit at 06/21/2017 05:46PM by bodhi.
Attachments:
open | download - u-boot-a38x-Yellowstone_2014T30p6_bodhi-tld-2-nand-uart.bin (933.7 KB)
Re: Debian on WD MyCloud EX 4100
June 21, 2017 07:31PM
Hold on. Let me upload another version (tld-3)!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX 4100
June 21, 2017 07:48PM
@saschadd,

Please kwboot this new version and post serial console log here!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Attachments:
open | download - u-boot-a38x-Yellowstone_2014T30p6_bodhi-tld-3-nand-uart.bin (933.7 KB)
Re: Debian on WD MyCloud EX 4100
June 22, 2017 01:43AM
bodhi,

just tested the tld3 version you posted.
following the console output.
havent saved any envs yet.

pi@raspberrypi:~ $ sudo ./kwboot -f -t -B 115200 /dev/ttyAMA0 -b u-boot-a38x-Ylowstone_2014T30p6_bodhi-tld-3-nand-uart.bin -s 0 -q 1
Sending boot message. Please reboot the target...-▒"▒&T▒▒▒"3DUfw▒"3DUfw▒"3DUfw▒"3DUfw▒"3DUf\
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 21 2017 - 17:42:37) Marvell version: 2014_T3.0p6 - bodhi-tld-3

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:0x7ff960b0
       BSS:                     0x7ffef654
       Stack:                   0x7f9cdf20
       Heap:                    0x7f9ce000:0x7fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:      0x00000000:0x00080000 Address: 0x00000000(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/0
UBIFS: mounted UBI device 0, volume 0, name "reserve2"
UBIFS: mounted read-only
UBIFS: file system size:   4063232 bytes (3968 KiB, 3 MiB, 32 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  200807 bytes (196 KiB)
Loading file '/mac_addr' to addr 0x02000000 with size 36 (0x00000024)...
Done
lan mac_addr :  00 90 a9 e5 19 1e
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 bootdev usb
Marvell>> setenv device '0:1'
Marvell>> setenv load_initrd_addr 0x2900000
Marvell>> setenv load_image_addr 0x02000000
Marvell>> setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
Marvell>> setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage'
Marvell>> setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial'
Marvell>> setenv mtdparts 'mtdparts=armada-nand-0: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)'
Marvell>> setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr'
Marvell>> setenv bootcmd_usb 'usb start; run usb_set_bootargs; run usb_bootcmd; reset'
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;
bootcmd_usb=usb start; run usb_set_bootargs; run usb_bootcmd; reset
bootdelay=1
bootdev=usb
cacheShare=no
console=console=ttyS0,115200
device=0:1
device_partition=0:1
disaMvPnp=no
eeeEnable=no
enaClockGating=no
enaCpuStream=no
enaFPU=yes
enaMonExt=no
enaWrAllo=no
eth1addr=00:50:43:ea:3d:32
eth1mtu=1500
eth2addr=00:50:43:ea:4c:32
eth2mtu=1500
eth3addr=00:50:43:3d:4c:ea
eth3mtu=1500
ethact=egiga0
ethaddr=00:50:43:4c:3d:32
ethmtu=1500
ethprime=egiga0
fdt_addr=2040000
fdt_skip_update=yes
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
load_image=echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage
load_image_addr=0x02000000
load_initading=uInitrd ...
load_initr=0x2900000
load_initrd=echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x2900000
loadaddr=0x02000000
loads_echo=0
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand-0: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:4c:ea
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
usb_bootcmd=echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr
usb_bootcng=from USB ...
usb_set_b,115200=root=/dev/sda1 rootdelay=10 earlyprintk=serial\
setenv mtdparts dparts=armada-nand-0: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)
usb_set_bootargs=setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81

Environment size: 4154/524284 bytes
Marvell>> run bootcmd_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
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
loading Image ...
3919689 bytes read in 283 ms (13.2 MiB/s)
loading uInitrd ...
6210503 bytes read in 368 ms (16.1 MiB/s)
## Booting image at 02000000 ...
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-4.9.0-mvebu-tld-12
   Created:      2017-06-12   5:14:22 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3919625 Bytes = 3.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02900000 ...
   Image Name:   initramfs-4.9.0-mvebu-tld-12
   Created:      2017-02-03  23:57:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6210439 Bytes = 5.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: WD My Cloud EX4100
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 15 pages/cpu @eefcd000 s30796 r8192 d22452 u61440
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line:  console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial
[    0.000000]
[    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: 2060316K/2097152K available (8192K kernel code, 690K rwdata, 2052K rodata, 1024K init, 386K bss, 36836K 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 - 0xc0daca28   ( 691 kB)
[    0.000000]        .bss : 0xc0daca28 - 0xc0e0d4f8   ( 387 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000003] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.007881] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019060] Console: colour dummy device 80x30
[    0.023574] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.033979] pid_max: default: 32768 minimum: 301
[    0.038732] Security Framework initialized
[    0.042925] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.049598] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.057101] CPU: Testing write buffer coherency: ok
[    0.062173] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.067911] Setting up static identity map for 0x100000 - 0x100058
[    0.074215] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
[    0.079475] mvebu-pmsu: Initializing Power Management Service Unit
[    0.283911] Booting CPU 1
[    0.286757] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.286806] Brought up 2 CPUs
[    0.295564] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.301883] CPU: All CPU(s) started in SVC mode.
[    0.307111] devtmpfs: initialized
[    0.312407] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.320350] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.330277] prandom: seed boundary self test passed
[    0.336901] prandom: 100 self tests passed
[    0.341061] pinctrl core: initialized pinctrl subsystem
[    0.346976] NET: Registered protocol family 16
[    0.352010] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.393868] cpuidle: using governor ladder
[    0.423866] cpuidle: using governor menu
[    0.427919] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.435987] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.441966] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.450121] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.504841] vgaarb: loaded
[    0.507853] SCSI subsystem initialized
[    0.512076] usbcore: registered new interface driver usbfs
[    0.517708] usbcore: registered new interface driver hub
[    0.523140] usbcore: registered new device driver usb
[    0.528463] media: Linux media interface: v0.10
[    0.533100] Linux video capture interface: v2.00
[    0.538588] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.570158] VFS: Disk quotas dquot_6.6.0
[    0.574186] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.588036] NET: Registered protocol family 2
[    0.592856] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.600004] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.606554] TCP: Hash tables configured (established 8192 bind 8192)
[    0.613024] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.619032] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.625538] NET: Registered protocol family 1
[    0.630221] RPC: Registered named UNIX socket transport module.
[    0.636197] RPC: Registered udp transport module.
[    0.640977] RPC: Registered tcp transport module.
[    0.645742] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.652369] Unpacking initramfs...
[    0.860057] Freeing initrd memory: 6068K (c2900000 - c2eed000)
[    0.866019] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.872784] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.881938] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.888142] audit: initializing netlink subsys (disabled)
[    0.893655] audit: type=2000 audit(0.880:1): initialized
[    0.899445] Initialise system trusted keyrings
[    0.904088] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    0.910666] zbud: loaded
[    0.913731] NFS: Registering the id_resolver key type
[    0.918866] Key type id_resolver registered
[    0.923112] Key type id_legacy registered
[    0.927191] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.933954] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.940501] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.947888] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.954494] orangefs_init: module version upstream loaded
[    0.961734] Key type asymmetric registered
[    0.965896] Asymmetric key parser 'x509' registered
[    0.970871] bounce: pool size: 64 pages
[    0.974844] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.982298] io scheduler noop registered
[    0.986286] io scheduler deadline registered
[    0.990639] io scheduler cfq registered (default)
[    0.996205] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.004633] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    1.011578] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.017901] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.024835] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.030770] PCI: bus0: Fast back to back transfers disabled
[    1.036406] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.044473] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.052637] PCI: bus1: Fast back to back transfers enabled
[    1.058287] PCI: bus2: Fast back to back transfers enabled
[    1.063879] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.068916] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.074354] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.138997] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.146596] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.208988] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.259125] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.266782] console [ttyS0] disabled
[    1.290525] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
[    1.299575] console [ttyS0] enabled
[    1.299575] console [ttyS0] enabled
[    1.306664] bootconsole [earlycon0] disabled
[    1.306664] bootconsole [earlycon0] disabled
[    1.316238] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.325344] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.334890] scsi host0: ahci-mvebu
[    1.338579] scsi host1: ahci-mvebu
[    1.342217] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.350180] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.358258] ahci-mvebu f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.367356] ahci-mvebu f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.386736] scsi host2: ahci-mvebu
[    1.390383] scsi host3: ahci-mvebu
[    1.393940] ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x100 irq 43
[    1.401901] ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x180 irq 43
[    1.410323] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.418177] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xdc
[    1.424586] nand: Hynix H27U4G8F2DTR-BC
[    1.428439] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.436054] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.443244] Bad block table found at page 262080, version 0x01
[    1.449431] Bad block table found at page 262016, version 0x01
[    1.455460] nand_read_bbt: bad block at 0x00000dcc0000
[    1.460630] nand_read_bbt: bad block at 0x00000fb00000
[    1.465790] nand_read_bbt: bad block at 0x000012180000
[    1.470956] nand_read_bbt: bad block at 0x0000139a0000
[    1.476117] nand_read_bbt: bad block at 0x000017880000
[    1.481282] nand_read_bbt: bad block at 0x0000178a0000
[    1.486441] nand_read_bbt: bad block at 0x00001a640000
[    1.491609] nand_read_bbt: bad block at 0x00001e9c0000
[    1.496805] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.502931] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.508352] 0x000000000000-0x000000500000 : "U-Boot"
[    1.524023] 0x000000500000-0x000000f00000 : "uImage"
[    1.539659] 0x000000a00000-0x000001900000 : "uRamdisk"
[    1.555453] 0x000000f00000-0x00001d700000 : "image.cfs"
[    1.572974] 0x00001c800000-0x000039f00000 : "rescue_fw"
[    1.578221] mtd: partition "rescue_fw" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x3800000
[    1.599769] 0x00001d700000-0x00003c200000 : "config"
[    1.604755] mtd: partition "config" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x2900000
[    1.625989] 0x00001eb00000-0x00003e000000 : "reserve1"
[    1.631162] mtd: partition "reserve1" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x1500000
[    1.652496] 0x00001f500000-0x00003f400000 : "reserve2"
[    1.657657] mtd: partition "reserve2" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0xb00000
[    1.679450] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.686098] libphy: Fixed MDIO Bus: probed
[    1.689847] ata1: SATA link down (SStatus 0 SControl 300)
[    1.696265] libphy: mdio_driver_register: mv88e6085
[    1.699853] ata2: SATA link down (SStatus 0 SControl 300)
[    1.706733] libphy: orion_mdio_bus: probed
[    1.716490] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.725865] mvneta f1070000.ethernet eth0: Using random mac address 86:8d:25:63:f9:37
[    1.735663] mvneta f1030000.ethernet eth1: Using random mac address c6:33:5c:92:54:a5
[    1.739865] ata3: SATA link down (SStatus 0 SControl 300)
[    1.749147] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.749912] ata4: SATA link down (SStatus 0 SControl 300)
[    1.761142] ehci-pci: EHCI PCI platform driver
[    1.765643] ehci-orion: EHCI orion driver
[    1.769774] orion-ehci f1058000.usb: EHCI Host Controller
[    1.775208] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    1.782873] orion-ehci f1058000.usb: irq 38, io mem 0xf1058000
[    1.818604] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    1.824655] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.831486] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.838745] usb usb1: Product: EHCI Host Controller
[    1.843643] usb usb1: Manufacturer: Linux 4.9.0-mvebu-tld-12 ehci_hcd
[    1.850117] usb usb1: SerialNumber: f1058000.usb
[    1.855086] hub 1-0:1.0: USB hub found
[    1.858878] hub 1-0:1.0: 1 port detected
[    1.863251] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.868609] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.876193] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.884786] xhci-hcd f10f0000.usb3: irq 46, io mem 0xf10f0000
[    1.890658] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.897476] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.904738] usb usb2: Product: xHCI Host Controller
[    1.909644] usb usb2: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.916111] usb usb2: SerialNumber: f10f0000.usb3
[    1.921133] hub 2-0:1.0: USB hub found
[    1.924913] hub 2-0:1.0: 1 port detected
[    1.929020] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.934361] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    1.941934] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.950132] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[    1.956950] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.964211] usb usb3: Product: xHCI Host Controller
[    1.969758] usb usb3: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.976226] usb usb3: SerialNumber: f10f0000.usb3
[    1.981237] hub 3-0:1.0: USB hub found
[    1.985017] hub 3-0:1.0: 1 port detected
[    1.989183] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.994528] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    2.002111] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    2.010709] xhci-hcd f10f8000.usb3: irq 47, io mem 0xf10f8000
[    2.016554] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    2.023381] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.030642] usb usb4: Product: xHCI Host Controller
[    2.035539] usb usb4: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    2.042049] usb usb4: SerialNumber: f10f8000.usb3
[    2.047046] hub 4-0:1.0: USB hub found
[    2.050837] hub 4-0:1.0: 1 port detected
[    2.054935] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    2.060288] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    2.067844] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.076034] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003
[    2.082862] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.090164] usb usb5: Product: xHCI Host Controller
[    2.095063] usb usb5: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    2.101586] usb usb5: SerialNumber: f10f8000.usb3
[    2.106588] hub 5-0:1.0: USB hub found
[    2.110379] hub 5-0:1.0: 1 port detected
[    2.114573] usbcore: registered new interface driver usblp
[    2.120162] usbcore: registered new interface driver usb-storage
[    2.126366] mousedev: PS/2 mouse device common for all mice
[    2.132325] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    2.140001] i2c /dev entries driver
[    2.154789] orion_wdt: Initial timeout 171 sec
[    2.160466] marvell-cesa f1090000.crypto: CESA device successfully registered
[    2.167733] hidraw: raw HID events driver (C) Jiri Kosina
[    2.173359] usbcore: registered new interface driver usbhid
[    2.178967] usbhid: USB HID core driver
[    2.182934] drop_monitor: Initializing network drop monitor service
[    2.189269] Netfilter messages via NETLINK v0.30.
[    2.194003] ip_set: protocol 6
[    2.197238] NET: Registered protocol family 10
[    2.202287] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.209067] NET: Registered protocol family 17
[    2.213646] 8021q: 802.1Q VLAN Support v1.8
[    2.217867] Key type dns_resolver registered
[    2.222399] ThumbEE CPU extension supported.
[    2.226691] Registering SWP/SWPB emulation handler
[    2.231864] registered taskstats version 1
[    2.235978] Loading compiled-in X.509 certificates
[    2.240833] zswap: loaded using pool lzo/zbud
[    2.287485] Key type big_key registered
[    2.291373] usb 2-1: new high-speed USB device number 2 using xhci-hcd
[    2.301388] Key type encrypted registered
[    2.306345] armada38x-rtc f10a3800.rtc: setting system clock to 2017-06-22 06:32:29 UTC (1498113149)
[    2.316530] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000)
Loading, please wait...
[    2.354671] systemd-udevd[1348]: starting version 215
[    2.360720] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.458847] usb 2-1: New USB device found, idVendor=045b, idProduct=0209
[    2.465590] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.482090] hub 2-1:1.0: USB hub found
[    2.488687] hub 2-1:1.0: 4 ports detected
[    2.598873] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[    2.630187] usb 3-1: New USB device found, idVendor=045b, idProduct=0210
[    2.636924] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.649098] hub 3-1:1.0: USB hub found
[    2.653188] hub 3-1:1.0: 4 ports detected
[    2.818603] usb 2-1.3: new high-speed USB device number 3 using xhci-hcd
[    2.949240] usb 2-1.3: New USB device found, idVendor=0781, idProduct=5571
[    2.956145] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.963498] usb 2-1.3: Product: Cruzer Fit
[    2.967612] usb 2-1.3: Manufacturer: SanDisk
[    2.971907] usb 2-1.3: SerialNumber: 4C530302071223122304
[    2.977840] usb-storage 2-1.3:1.0: USB Mass Storage device detected
[    2.984380] scsi host4: usb-storage 2-1.3:1.0
[    2.990593] usbcore: registered new interface driver uas
[    4.009120] scsi 4:0:0:0: Direct-Access     SanDisk  Cruzer Fit       1.00 PQ: 0 ANSI: 6
[    4.019109] sd 4:0:0:0: [sda] 61489152 512-byte logical blocks: (31.5 GB/29.3 GiB)
[    4.027622] sd 4:0:0:0: Attached scsi generic sg0 type 0
[    4.032992] sd 4:0:0:0: [sda] Write Protect is off
[    4.038624] sd 4:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    4.051026]  sda: sda1
[    4.059848] sd 4:0:0:0: [sda] Attached SCSI removable disk
[    4.075257] random: fast init done
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
modprobe: module ext3 not found in modules.dep
Begin: Will now check root file system ... fsck from util-linux 2.25.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   17.773652] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   17.782723] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[   17.789642] EXT4-fs (sda1): write access will be enabled during recovery
[   19.778151] EXT4-fs (sda1): recovery complete
[   19.785075] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd[   20.494573] systemd-udevd[1555]: starting version 215
. ok
[ ok ] Synthesizing the initial hotplug events...done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Activating swap...done.
[   21.896417] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.25.2
rootfs: clean, 34217/1925120 files, 631625/7685888 blocks
done.
[   22.010599] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.25.2
done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[   23.048994] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/86:8d:25:63:f9:37
Sending on   LPF/eth0/86:8d:25:63:f9:37
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
[   67.688652] random: crng init done
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 2
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.
[ ok ] Starting rpcbind daemon....
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
2494 (syslogd)
. ok
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting system message bus: dbus.
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
2492 (klogd)
. ok

Debian GNU/Linux 8 debian ttyS0

debian login: root
Password:
Last login: Tue Jun 20 10:11:24 PDT 2017 on ttyS0
Linux debian 4.9.0-mvebu-tld-12 #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017 armv7l

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

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian

WD My Cloud EX4100
Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
 23:34:46 up 2 min,  1 user,  load average: 0.11, 0.05, 0.01
root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00500000 00020000 "U-Boot"
mtd1: 00a00000 00020000 "uImage"
mtd2: 00f00000 00020000 "uRamdisk"
mtd3: 1c800000 00020000 "image.cfs"
mtd4: 03800000 00020000 "rescue_fw"
mtd5: 02900000 00020000 "config"
mtd6: 01500000 00020000 "reserve1"
mtd7: 00b00000 00020000 "reserve2"
Re: Debian on WD MyCloud EX 4100
June 22, 2017 01:55AM
saschadd,

Thanks! it is a strange u-boot :) It told us the envs is located at 0x0.

U-Boot Environment:      0x00000000:0x00080000 Address: 0x00000000(NAND)

Just base on this info. Try this to see what you get:

Edit the content of /etc/fw_env.config

# MTD device name	Device offset	Env. size	Flash sector size	Number of sectors
/dev/mtd0 0x00000 0x00080000 0x20000
and
fw_printenv


And if the above did not work. Try
# MTD device name	Device offset	Env. size	Flash sector size	Number of sectors
/dev/mtd1 0x00000 0x00080000 0x20000

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX 4100
June 22, 2017 02:04AM
bodhi,

just tried it with space and tab as separator. unfortunately with no luck. :(

root@debian:~# nano /etc/fw_env.config
GNU nano 2.2.6 File: /etc/fw_env.config

# MTD device name Device offset Env. size Flash sector size $
/dev/mtd0 0x00000 0x00080000 0x20000

root@debian:~# fw_printenv
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd

root@debian:~# nano /etc/fw_env.config
GNU nano 2.2.6 File: /etc/fw_env.config

# MTD device name Device offset Env. size Flash sector size $
/dev/mtd0 0x00000 0x00080000 0x20000

root@debian:~# fw_printenv
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd

root@debian:~# nano /etc/fw_env.config
GNU nano 2.2.6 File: /etc/fw_env.config

# MTD device name Device offset Env. size Flash sector size $
/dev/mtd1 0x00000 0x00080000 0x20000

root@debian:~# fw_printenv
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd

root@debian:~# nano /etc/fw_env.config
GNU nano 2.2.6 File: /etc/fw_env.config

# MTD device name Device offset Env. size Flash sector size $
/dev/mtd1 0x00000 0x00080000 0x20000

root@debian:~# fw_printenv
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
root@debian:~#
Re: Debian on WD MyCloud EX 4100
June 22, 2017 02:18AM
Ok let's give this revised script a try.

cd /tmp
chmod +x find_uboot_env_location.sh
./find_uboot_env_location.sh

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Attachments:
open | download - find_uboot_env_location.sh (1.5 KB)
Re: Debian on WD MyCloud EX 4100
June 22, 2017 02:23AM
No luck again. :(
I have the feeling that i am doing something wrong. ;)
Or the envs are always one step forward. :D

root@debian:~# ./find_uboot_env_location20170622.sh
/dev/mtd0               0x1e0000                0x80000         0x20000
stuff found at mtd0 1e0000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
/dev/mtd0               0x1c0000                0x80000         0x20000
stuff found at mtd0 1c0000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
/dev/mtd0               0x1a0000                0x80000         0x20000
stuff found at mtd0 1a0000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
/dev/mtd0               0x180000                0x80000         0x20000
stuff found at mtd0 180000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
/dev/mtd0               0x160000                0x80000         0x20000
stuff found at mtd0 160000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
/dev/mtd0               0x140000                0x80000         0x20000
stuff found at mtd0 140000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
/dev/mtd0               0x120000                0x80000         0x20000
stuff found at mtd0 120000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
/dev/mtd0               0x100000                0x80000         0x20000
stuff found at mtd0 100000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
/dev/mtd0               0xe0000         0x80000         0x20000
stuff found at mtd0 e0000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
/dev/mtd0               0xc0000         0x80000         0x20000
stuff found at mtd0 c0000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
/dev/mtd0               0xa0000         0x80000         0x20000
stuff found at mtd0 a0000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
/dev/mtd0               0x80000         0x80000         0x20000
stuff found at mtd0 80000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
/dev/mtd0               0x60000         0x80000         0x20000
stuff found at mtd0 60000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
/dev/mtd0               0x40000         0x80000         0x20000
stuff found at mtd0 40000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
/dev/mtd0               0x20000         0x80000         0x20000
stuff found at mtd0 20000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
/dev/mtd0               0x0             0x80000         0x20000
stuff found at mtd0 0
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
stuff found at mtd1 1e0000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
stuff found at mtd1 1c0000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
stuff found at mtd1 1a0000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
stuff found at mtd1 180000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
stuff found at mtd1 160000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
stuff found at mtd1 140000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
stuff found at mtd1 120000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
stuff found at mtd1 100000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
stuff found at mtd1 e0000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
stuff found at mtd1 c0000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
stuff found at mtd1 a0000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
stuff found at mtd1 80000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
stuff found at mtd1 60000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
stuff found at mtd1 40000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
stuff found at mtd1 20000
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
stuff found at mtd1 0
Warning: Bad CRC, using default environment
bootargs=
bootcmd=bootp; setenv bootargs root=/dev/nfs nfsroot=${serverip}:${rootpath} ip=                                                                                                                                                             ${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=3
baudrate=115200
stdin=serial,cros-ec-keyb
stdout=serial,lcd
stderr=serial,lcd
-----------------------------
root@debian:~#



Edited 1 time(s). Last edit at 06/22/2017 02:25AM by saschadd.
Re: Debian on WD MyCloud EX 4100
June 22, 2017 02:37AM
> Or the envs are always one step forward. :D

That's more likely :))

OK. I think we spent too much time on this. Would you like to try saveenv to see if it will stick?

kwboot again with tld-3, interrupt serial console and

setenv test 1
saveenv
and then setup to boot with USB like before, all the way into Debian. Shutdown, power up and check serial console to see if it was saved.

Note: I only recommend this test because you can kwboot the box, and can recover if anything goes wrong :)

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



Edited 1 time(s). Last edit at 06/22/2017 02:41AM by bodhi.
Re: Debian on WD MyCloud EX 4100
June 22, 2017 03:30AM
bodhi,

looks good.

setting and saving gives

Marvell>> setenv test 1
Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...
Writing to Nand... done
Marvell>> setenv bootdev usb
Marvell>> setenv device '0:1'
Marvell>> setenv load_initrd_addr 0x2900000
Marvell>> setenv load_image_addr 0x02000000
Marvell>> setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
Marvell>> setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage'
Marvell>> setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial'
Marvell>> setenv mtdparts 'mtdparts=armada-nand-0: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)'
Marvell>> setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr'
Marvell>> setenv bootcmd_usb 'usb start; run usb_set_bootargs; run usb_bootcmd; reset'
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;
bootcmd_usb=usb start; run usb_set_bootargs; run usb_bootcmd; reset
bootdelay=1
bootdev=usb
cacheShare=no
console=console=ttyS0,115200
device=0:1
device_partition=0:1
disaMvPnp=no
eeeEnable=no
enaClockGating=no
enaCpuStream=no
enaFPU=yes
enaMonExt=no
enaWrAllo=no
eth1addr=00:50:43:40:1e:21
eth1mtu=1500
eth2addr=00:50:43:40:58:21
eth2mtu=1500
eth3addr=00:50:43:1e:58:40
eth3mtu=1500
ethact=egiga0
ethaddr=00:50:43:58:1e:21
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
load_image=echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage
load_image_addr=0x02000000
load_initrd=echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x2900000
loadaddr=0x02000000
loads_echo=0
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand-0: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:21:58:40
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
test=1
usb0Mode=host
usbActive=0
usbType=3
usb_bootcmd=echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr
usb_set_bootargs=setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81

Environment size: 3840/524284 bytes
Marvell>> run bootcmd_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
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
loading Image ...
3919689 bytes read in 283 ms (13.2 MiB/s)
loading uInitrd ...
6210503 bytes read in 368 ms (16.1 MiB/s)
## Booting image at 02000000 ...
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-4.9.0-mvebu-tld-12
   Created:      2017-06-12   5:14:22 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3919625 Bytes = 3.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02900000 ...
   Image Name:   initramfs-4.9.0-mvebu-tld-12
   Created:      2017-02-03  23:57:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6210439 Bytes = 5.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: WD My Cloud EX4100
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 15 pages/cpu @eefcd000 s30796 r8192 d22452 u61440
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line:  console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial
[    0.000000]
[    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: 2060316K/2097152K available (8192K kernel code, 690K rwdata, 2052K rodata, 1024K init, 386K bss, 36836K 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 - 0xc0daca28   ( 691 kB)
[    0.000000]        .bss : 0xc0daca28 - 0xc0e0d4f8   ( 387 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000003] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.007881] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019060] Console: colour dummy device 80x30
[    0.023574] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.033978] pid_max: default: 32768 minimum: 301
[    0.038733] Security Framework initialized
[    0.042927] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.049600] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.057102] CPU: Testing write buffer coherency: ok
[    0.062165] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.067903] Setting up static identity map for 0x100000 - 0x100058
[    0.074207] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
[    0.079467] mvebu-pmsu: Initializing Power Management Service Unit
[    0.283911] Booting CPU 1
[    0.286756] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.286805] Brought up 2 CPUs
[    0.295564] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.301884] CPU: All CPU(s) started in SVC mode.
[    0.307117] devtmpfs: initialized
[    0.312417] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.320362] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.330288] prandom: seed boundary self test passed
[    0.336911] prandom: 100 self tests passed
[    0.341071] pinctrl core: initialized pinctrl subsystem
[    0.346987] NET: Registered protocol family 16
[    0.352013] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.393867] cpuidle: using governor ladder
[    0.423865] cpuidle: using governor menu
[    0.427916] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.435985] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.441965] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.450119] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.514848] vgaarb: loaded
[    0.517837] SCSI subsystem initialized
[    0.522052] usbcore: registered new interface driver usbfs
[    0.527671] usbcore: registered new interface driver hub
[    0.533104] usbcore: registered new device driver usb
[    0.538422] media: Linux media interface: v0.10
[    0.543058] Linux video capture interface: v2.00
[    0.548535] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.580025] VFS: Disk quotas dquot_6.6.0
[    0.584053] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.598077] NET: Registered protocol family 2
[    0.602878] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.610023] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.616573] TCP: Hash tables configured (established 8192 bind 8192)
[    0.623027] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.629031] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.635540] NET: Registered protocol family 1
[    0.640204] RPC: Registered named UNIX socket transport module.
[    0.646179] RPC: Registered udp transport module.
[    0.650953] RPC: Registered tcp transport module.
[    0.655717] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.662328] Unpacking initramfs...
[    0.869383] Freeing initrd memory: 6068K (c2900000 - c2eed000)
[    0.875344] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.882113] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.891261] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.897465] audit: initializing netlink subsys (disabled)
[    0.902968] audit: type=2000 audit(0.890:1): initialized
[    0.908751] Initialise system trusted keyrings
[    0.913393] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    0.919964] zbud: loaded
[    0.923026] NFS: Registering the id_resolver key type
[    0.928146] Key type id_resolver registered
[    0.932411] Key type id_legacy registered
[    0.936491] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.943254] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.949803] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.957195] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.963797] orangefs_init: module version upstream loaded
[    0.971057] Key type asymmetric registered
[    0.975218] Asymmetric key parser 'x509' registered
[    0.980195] bounce: pool size: 64 pages
[    0.984166] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.991620] io scheduler noop registered
[    0.995607] io scheduler deadline registered
[    0.999960] io scheduler cfq registered (default)
[    1.005524] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.013955] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    1.020902] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.027224] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.034158] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.040089] PCI: bus0: Fast back to back transfers disabled
[    1.045725] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.053794] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.061959] PCI: bus1: Fast back to back transfers enabled
[    1.067609] PCI: bus2: Fast back to back transfers enabled
[    1.073202] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.078230] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.083674] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.148940] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.156539] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.218936] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.269634] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.277278] console [ttyS0] disabled
[    1.301003] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
[    1.310041] console [ttyS0] enabled
[    1.310041] console [ttyS0] enabled
[    1.317130] bootconsole [earlycon0] disabled
[    1.317130] bootconsole [earlycon0] disabled
[    1.326690] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.335800] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.345360] scsi host0: ahci-mvebu
[    1.349070] scsi host1: ahci-mvebu
[    1.352675] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.360640] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.368735] ahci-mvebu f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.377823] ahci-mvebu f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.387206] scsi host2: ahci-mvebu
[    1.390854] scsi host3: ahci-mvebu
[    1.394410] ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x100 irq 43
[    1.402375] ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x180 irq 43
[    1.410793] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.418649] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xdc
[    1.425029] nand: Hynix H27U4G8F2DTR-BC
[    1.428893] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.436498] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.443690] Bad block table found at page 262080, version 0x01
[    1.449880] Bad block table found at page 262016, version 0x01
[    1.455910] nand_read_bbt: bad block at 0x00000dcc0000
[    1.461080] nand_read_bbt: bad block at 0x00000fb00000
[    1.466240] nand_read_bbt: bad block at 0x000012180000
[    1.471405] nand_read_bbt: bad block at 0x0000139a0000
[    1.476566] nand_read_bbt: bad block at 0x000017880000
[    1.481734] nand_read_bbt: bad block at 0x0000178a0000
[    1.486895] nand_read_bbt: bad block at 0x00001a640000
[    1.492062] nand_read_bbt: bad block at 0x00001e9c0000
[    1.497259] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.503386] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.508814] 0x000000000000-0x000000500000 : "U-Boot"
[    1.524472] 0x000000500000-0x000000f00000 : "uImage"
[    1.540098] 0x000000a00000-0x000001900000 : "uRamdisk"
[    1.555887] 0x000000f00000-0x00001d700000 : "image.cfs"
[    1.573351] 0x00001c800000-0x000039f00000 : "rescue_fw"
[    1.578611] mtd: partition "rescue_fw" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x3800000
[    1.600157] 0x00001d700000-0x00003c200000 : "config"
[    1.605144] mtd: partition "config" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x2900000
[    1.626370] 0x00001eb00000-0x00003e000000 : "reserve1"
[    1.631542] mtd: partition "reserve1" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x1500000
[    1.652883] 0x00001f500000-0x00003f400000 : "reserve2"
[    1.658044] mtd: partition "reserve2" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0xb00000
[    1.679851] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.686512] libphy: Fixed MDIO Bus: probed
[    1.690913] libphy: mdio_driver_register: mv88e6085
[    1.695947] libphy: orion_mdio_bus: probed
[    1.699790] ata1: SATA link down (SStatus 0 SControl 300)
[    1.709816] ata2: SATA link down (SStatus 0 SControl 300)
[    1.711221] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.715860] mvneta f1070000.ethernet eth0: Using random mac address 9a:e5:2f:df:81:70
[    1.731415] mvneta f1030000.ethernet eth1: Using random mac address 62:46:5d:06:68:b2
[    1.731591] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.731604] ehci-pci: EHCI PCI platform driver
[    1.731646] ehci-orion: EHCI orion driver
[    1.731748] orion-ehci f1058000.usb: EHCI Host Controller
[    1.731764] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    1.731820] orion-ehci f1058000.usb: irq 38, io mem 0xf1058000
[    1.739806] ata3: SATA link down (SStatus 0 SControl 300)
[    1.754908] ata4: SATA link down (SStatus 0 SControl 300)
[    1.768621] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    1.768728] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.768732] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.768735] usb usb1: Product: EHCI Host Controller
[    1.768738] usb usb1: Manufacturer: Linux 4.9.0-mvebu-tld-12 ehci_hcd
[    1.768740] usb usb1: SerialNumber: f1058000.usb
[    1.774036] hub 1-0:1.0: USB hub found
[    1.774054] hub 1-0:1.0: 1 port detected
[    1.774498] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.774510] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.774582] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.774606] xhci-hcd f10f0000.usb3: irq 46, io mem 0xf10f0000
[    1.774691] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.774695] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.774698] usb usb2: Product: xHCI Host Controller
[    1.774700] usb usb2: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.774703] usb usb2: SerialNumber: f10f0000.usb3
[    1.779611] hub 2-0:1.0: USB hub found
[    1.779629] hub 2-0:1.0: 1 port detected
[    1.779787] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.779795] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    1.779848] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.779908] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[    1.779912] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.779915] usb usb3: Product: xHCI Host Controller
[    1.779917] usb usb3: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.779920] usb usb3: SerialNumber: f10f0000.usb3
[    1.785142] hub 3-0:1.0: USB hub found
[    1.785162] hub 3-0:1.0: 1 port detected
[    1.785384] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.785396] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    1.785461] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.785484] xhci-hcd f10f8000.usb3: irq 47, io mem 0xf10f8000
[    1.785579] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    1.785583] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.785586] usb usb4: Product: xHCI Host Controller
[    1.785589] usb usb4: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.785591] usb usb4: SerialNumber: f10f8000.usb3
[    1.791155] hub 4-0:1.0: USB hub found
[    1.791176] hub 4-0:1.0: 1 port detected
[    1.791343] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.791351] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    1.791401] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.791470] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003
[    1.791474] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.791477] usb usb5: Product: xHCI Host Controller
[    1.791479] usb usb5: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.791482] usb usb5: SerialNumber: f10f8000.usb3
[    1.798048] hub 5-0:1.0: USB hub found
[    1.798066] hub 5-0:1.0: 1 port detected
[    1.798317] usbcore: registered new interface driver usblp
[    1.798385] usbcore: registered new interface driver usb-storage
[    1.805368] mousedev: PS/2 mouse device common for all mice
[    1.810312] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.810464] i2c /dev entries driver
[    1.835048] orion_wdt: Initial timeout 171 sec
[    1.836316] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.836420] hidraw: raw HID events driver (C) Jiri Kosina
[    1.842703] usbcore: registered new interface driver usbhid
[    1.842704] usbhid: USB HID core driver
[    1.842813] drop_monitor: Initializing network drop monitor service
[    1.842846] Netfilter messages via NETLINK v0.30.
[    1.842856] ip_set: protocol 6
[    1.851534] NET: Registered protocol family 10
[    1.864207] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.864890] NET: Registered protocol family 17
[    1.865002] 8021q: 802.1Q VLAN Support v1.8
[    1.865025] Key type dns_resolver registered
[    1.865095] ThumbEE CPU extension supported.
[    1.865101] Registering SWP/SWPB emulation handler
[    1.883111] registered taskstats version 1
[    1.883115] Loading compiled-in X.509 certificates
[    1.883145] zswap: loaded using pool lzo/zbud
[    1.960232] Key type big_key registered
[    1.989042] Key type encrypted registered
[    2.001179] armada38x-rtc f10a3800.rtc: setting system clock to 2017-06-22 08:15:01 UTC (1498119301)
[    2.038730] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[    2.070064] usb 3-1: New USB device found, idVendor=045b, idProduct=0210
[    2.070068] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.071746] hub 3-1:1.0: USB hub found
[    2.071988] hub 3-1:1.0: 4 ports detected
[    2.198551] usb 2-1: new high-speed USB device number 2 using xhci-hcd
[    2.256367] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000)
Loading, please wait...
[    2.294854] systemd-udevd[1350]: starting version 215
[    2.300834] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.368828] usb 2-1: New USB device found, idVendor=045b, idProduct=0209
[    2.375565] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.387981] hub 2-1:1.0: USB hub found
[    2.393811] hub 2-1:1.0: 4 ports detected
[    2.718552] usb 2-1.3: new high-speed USB device number 3 using xhci-hcd
[    2.849182] usb 2-1.3: New USB device found, idVendor=0781, idProduct=5571
[    2.856088] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.863441] usb 2-1.3: Product: Cruzer Fit
[    2.867555] usb 2-1.3: Manufacturer: SanDisk
[    2.871850] usb 2-1.3: SerialNumber: 4C530302071223122304
[    2.877778] usb-storage 2-1.3:1.0: USB Mass Storage device detected
[    2.884315] scsi host4: usb-storage 2-1.3:1.0
[    2.890835] usbcore: registered new interface driver uas
[    3.929067] scsi 4:0:0:0: Direct-Access     SanDisk  Cruzer Fit       1.00 PQ: 0 ANSI: 6
[    3.939043] sd 4:0:0:0: [sda] 61489152 512-byte logical blocks: (31.5 GB/29.3 GiB)
[    3.940101] sd 4:0:0:0: Attached scsi generic sg0 type 0
[    3.954324] sd 4:0:0:0: [sda] Write Protect is off
[    3.959454] sd 4:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    3.971788]  sda: sda1
[    3.980570] sd 4:0:0:0: [sda] Attached SCSI removable disk
[    4.015595] random: fast init done
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
modprobe: module ext3 not found in modules.dep
Begin: Will now check root file system ... fsck from util-linux 2.25.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   17.673497] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   17.682588] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[   17.689507] EXT4-fs (sda1): write access will be enabled during recovery
[   17.742682] EXT4-fs (sda1): recovery complete
[   17.749565] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd[   18.510477] systemd-udevd[1557]: starting version 215
. ok
[ ok ] Synthesizing the initial hotplug events...done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Activating swap...done.
[   19.946908] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.25.2
rootfs: clean, 34218/1925120 files, 631626/7685888 blocks
done.
[   20.063519] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.25.2
done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[   21.128944] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/9a:e5:2f:df:81:70
Sending on   LPF/eth0/9a:e5:2f:df:81:70
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 19
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.
[ ok ] Starting rpcbind daemon....
[   82.494272] random: crng init done
[ 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.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
2489 (syslogd)
. ok
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting periodic command scheduler: cron.
[ 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...
2490 (klogd)
. ok

Debian GNU/Linux 8 debian ttyS0

debian login: root
Password:
Last login: Wed Jun 21 23:34:46 PDT 2017 on ttyS0
Linux debian 4.9.0-mvebu-tld-12 #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017 armv7l

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

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian

WD My Cloud EX4100
Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
 01:17:14 up 2 min,  1 user,  load average: 0.00, 0.00, 0.00
root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00500000 00020000 "U-Boot"
mtd1: 00a00000 00020000 "uImage"
mtd2: 00f00000 00020000 "uRamdisk"
mtd3: 1c800000 00020000 "image.cfs"
mtd4: 03800000 00020000 "rescue_fw"
mtd5: 02900000 00020000 "config"
mtd6: 01500000 00020000 "reserve1"
mtd7: 00b00000 00020000 "reserve2"

then after shutdown and kwbooting again and stopping

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:40:1e:21
eth1mtu=1500
eth2addr=00:50:43:40:58:21
eth2mtu=1500
eth3addr=00:50:43:1e:58:40
eth3mtu=1500
ethact=egiga0
ethaddr=00:50:43:58:1e:21
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:21:58:40
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
test=1
usb0Mode=host
usbActive=0
usbType=3
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81

Environment size: 3211/524284 bytes
Marvell>>

So saveenv works.
Re: Debian on WD MyCloud EX 4100
June 22, 2017 04:35AM
Cool!

Now the next step.

1. I can't really guarantee that you will be successful booting after flashing a NAND version to mtd0, because we have not found the location of the envs :) So I could upload NAND version and you flash it in Debian. If it does not work, then you need to kwboot and boot back to Debian and restore the mtd0 with the backup.

2. We continue to kwboot new versions with debug printf to see why the code said it should be at 5MB in NAND, but the boot log showed that it is at 0x0 . IOW, there are other path in u-boot code that might have not been obvious. We can do this after flashing the tld-3 u-boot. Or we can do this without flashing tld-3 u-boot.

In order for me to write the installation procedure in the kernel release thread, we would need to find the location of the envs. Without it, I will not write that procedure.

What would you prefer to do next?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX 4100
June 22, 2017 05:51AM
bodhi,

well, i would try everything where we can go back to current status IOW which is reversible.
With only one year linux knowledge my wisdom is far away from fully understanding the whole thing. ;)
Therefore i don't really know which way would be better and i would trust your suggestion.
I think you know much more of what is possible what we should do and not do at this state.

-
happy hacking,

saschadd
Re: Debian on WD MyCloud EX 4100
June 22, 2017 06:12AM
Hold on. I think I might have overlooked something.

Could you post this after you've booted into Debian with tld-3 version. I want to make sure I look at the latest boot log and the mtds.

dmesg
cat /proc/mtd

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX 4100
June 22, 2017 12:20PM
bodhi Wrote:
-------------------------------------------------------
> Hold on. I think I might have overlooked something
> .
>
> Could you post this after you've booted into Debia
> n with tld-3 version. I want to make sure I look a
> t the latest boot log and the mtds.
>
>
> dmesg
> cat /proc/mtd
>

Here we go

WD My Cloud EX4100
Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
 10:16:19 up 3 min,  1 user,  load average: 0.01, 0.03, 0.00
root@debian:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: WD My Cloud EX4100
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 524288
[    0.000000] free_area_init_node: node 0, pgdat c0d97f80, node_mem_map eeff8000
[    0.000000]   Normal zone: 1536 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 327680 pages, LIFO batch:31
[    0.000000] percpu: Embedded 15 pages/cpu @eefcd000 s30796 r8192 d22452 u61440
[    0.000000] pcpu-alloc: s30796 r8192 d22452 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line:  console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial

[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 2060316K/2097152K available (8192K kernel code, 690K rwdata, 2052K rodata, 1024K init, 386K bss, 36836K reserved, 0K cma-reserved, 1310720K highmem)
[    0.000000] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0900000   (9184 kB)
      .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
      .data : 0xc0d00000 - 0xc0daca28   ( 691 kB)
       .bss : 0xc0daca28 - 0xc0e0d4f8   ( 387 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000003] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.007881] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019060] Console: colour dummy device 80x30
[    0.023574] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.033978] pid_max: default: 32768 minimum: 301
[    0.038732] Security Framework initialized
[    0.042926] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.049599] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.057104] CPU: Testing write buffer coherency: ok
[    0.062175] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.067913] Setting up static identity map for 0x100000 - 0x100058
[    0.074216] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
[    0.079476] mvebu-pmsu: Initializing Power Management Service Unit
[    0.283912] Booting CPU 1
[    0.286758] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.286807] Brought up 2 CPUs
[    0.295565] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.301884] CPU: All CPU(s) started in SVC mode.
[    0.307115] devtmpfs: initialized
[    0.312417] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.320367] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.330293] prandom: seed boundary self test passed
[    0.336917] prandom: 100 self tests passed
[    0.341077] pinctrl core: initialized pinctrl subsystem
[    0.346999] NET: Registered protocol family 16
[    0.352035] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.393868] cpuidle: using governor ladder
[    0.423866] cpuidle: using governor menu
[    0.427919] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.435988] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.441968] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.450122] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.504843] vgaarb: loaded
[    0.507854] SCSI subsystem initialized
[    0.511806] libata version 3.00 loaded.
[    0.512076] usbcore: registered new interface driver usbfs
[    0.517708] usbcore: registered new interface driver hub
[    0.523142] usbcore: registered new device driver usb
[    0.528465] media: Linux media interface: v0.10
[    0.533100] Linux video capture interface: v2.00
[    0.538593] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.570033] VFS: Disk quotas dquot_6.6.0
[    0.574062] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.587927] NET: Registered protocol family 2
[    0.592742] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.599891] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.606441] TCP: Hash tables configured (established 8192 bind 8192)
[    0.612914] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.618921] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.625427] NET: Registered protocol family 1
[    0.630108] RPC: Registered named UNIX socket transport module.
[    0.636084] RPC: Registered udp transport module.
[    0.640865] RPC: Registered tcp transport module.
[    0.645629] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.652143] PCI: CLS 0 bytes, default 64
[    0.652252] Unpacking initramfs...
[    0.859563] Freeing initrd memory: 6068K (c2900000 - c2eed000)
[    0.865525] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.872323] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.881474] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.887677] audit: initializing netlink subsys (disabled)
[    0.893190] audit: type=2000 audit(0.880:1): initialized
[    0.898980] Initialise system trusted keyrings
[    0.903617] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    0.910200] zbud: loaded
[    0.913266] NFS: Registering the id_resolver key type
[    0.918385] Key type id_resolver registered
[    0.922647] Key type id_legacy registered
[    0.926727] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.933495] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.940044] jffs2: version 2.2. (NAND) (SUMMARY)  \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
[    0.947437] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.954041] orangefs_init: module version upstream loaded
[    0.961304] Key type asymmetric registered
[    0.965466] Asymmetric key parser 'x509' registered
[    0.970442] bounce: pool size: 64 pages
[    0.974413] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.981868] io scheduler noop registered
[    0.985855] io scheduler deadline registered
[    0.990209] io scheduler cfq registered (default)
[    0.995774] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.004201] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    1.011147] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.017469] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.024403] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.029958] pci_bus 0000:00: scanning bus
[    1.029979] pci 0000:00:01.0: [11ab:6828] type 01 class 0x060400
[    1.030006] pci 0000:00:01.0: calling pci_fixup_ide_bases+0x0/0x3c
[    1.030167] pci 0000:00:02.0: [11ab:6828] type 01 class 0x060400
[    1.030186] pci 0000:00:02.0: calling pci_fixup_ide_bases+0x0/0x3c
[    1.030328] pci_bus 0000:00: fixups for bus
[    1.030335] PCI: bus0: Fast back to back transfers disabled
[    1.035967] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 0
[    1.035971] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.044035] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 0
[    1.044039] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.052099] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 1
[    1.052194] pci_bus 0000:01: scanning bus
[    1.052199] pci_bus 0000:01: fixups for bus
[    1.052202] PCI: bus1: Fast back to back transfers enabled
[    1.057745] pci_bus 0000:01: bus scan returning with max=01
[    1.057750] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.057757] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 1
[    1.057844] pci_bus 0000:02: scanning bus
[    1.057850] pci_bus 0000:02: fixups for bus
[    1.057853] PCI: bus2: Fast back to back transfers enabled
[    1.063405] pci_bus 0000:02: bus scan returning with max=02
[    1.063410] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.063415] pci_bus 0000:00: bus scan returning with max=02
[    1.063421] pci 0000:00:01.0: fixup irq: got 0
[    1.063425] pci 0000:00:01.0: assigning IRQ 00
[    1.063430] pci 0000:00:02.0: fixup irq: got 0
[    1.063433] pci 0000:00:02.0: assigning IRQ 00
[    1.063445] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.068473] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.073542] pcieport 0000:00:01.0: enabling bus mastering
[    1.073576] pcieport 0000:00:02.0: enabling bus mastering
[    1.073921] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.138999] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.146596] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.208992] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.259459] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.267118] console [ttyS0] disabled
[    1.290849] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
[    1.299884] console [ttyS0] enabled
[    1.306971] bootconsole [earlycon0] disabled
[    1.316563] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.325669] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.335216] scsi host0: ahci-mvebu
[    1.338932] scsi host1: ahci-mvebu
[    1.342540] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.350505] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.358603] ahci-mvebu f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.367690] ahci-mvebu f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.377065] scsi host2: ahci-mvebu
[    1.380709] scsi host3: ahci-mvebu
[    1.384265] ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x100 irq 43
[    1.392229] ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x180 irq 43
[    1.400648] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.408509] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xdc
[    1.414901] nand: Hynix H27U4G8F2DTR-BC
[    1.418762] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.426366] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.433559] Bad block table found at page 262080, version 0x01
[    1.439751] Bad block table found at page 262016, version 0x01
[    1.445781] nand_read_bbt: bad block at 0x00000dcc0000
[    1.450950] nand_read_bbt: bad block at 0x00000fb00000
[    1.456111] nand_read_bbt: bad block at 0x000012180000
[    1.461278] nand_read_bbt: bad block at 0x0000139a0000
[    1.466439] nand_read_bbt: bad block at 0x000017880000
[    1.471605] nand_read_bbt: bad block at 0x0000178a0000
[    1.476766] nand_read_bbt: bad block at 0x00001a640000
[    1.481934] nand_read_bbt: bad block at 0x00001e9c0000
[    1.487133] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.493258] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.498687] 0x000000000000-0x000000500000 : "U-Boot"
[    1.504344] 0x000000500000-0x000000f00000 : "uImage"
[    1.509965] 0x000000a00000-0x000001900000 : "uRamdisk"
[    1.525752] 0x000000f00000-0x00001d700000 : "image.cfs"
[    1.543246] 0x00001c800000-0x000039f00000 : "rescue_fw"
[    1.548494] mtd: partition "rescue_fw" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x3800000
[    1.570044] 0x00001d700000-0x00003c200000 : "config"
[    1.575031] mtd: partition "config" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x2900000
[    1.596260] 0x00001eb00000-0x00003e000000 : "reserve1"
[    1.601434] mtd: partition "reserve1" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x1500000
[    1.622765] 0x00001f500000-0x00003f400000 : "reserve2"
[    1.627926] mtd: partition "reserve2" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0xb00000
[    1.649731] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.656396] libphy: Fixed MDIO Bus: probed
[    1.660801] libphy: mdio_driver_register: mv88e6085
[    1.665830] libphy: orion_mdio_bus: probed
[    1.675538] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.684561] mvneta f1070000.ethernet eth0: Using random mac address 0a:d1:26:8d:03:3b
[    1.689870] ata1: SATA link down (SStatus 0 SControl 300)
[    1.699828] mvneta f1030000.ethernet eth1: Using random mac address 96:e7:0b:b3:dd:1d
[    1.699881] ata2: SATA link down (SStatus 0 SControl 300)
[    1.713301] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.719880] ehci-pci: EHCI PCI platform driver
[    1.724383] ehci-orion: EHCI orion driver
[    1.728503] orion-ehci f1058000.usb: EHCI Host Controller
[    1.729886] ata3: SATA link down (SStatus 0 SControl 300)
[    1.739379] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    1.739941] ata4: SATA link down (SStatus 0 SControl 300)
[    1.752458] orion-ehci f1058000.usb: irq 38, io mem 0xf1058000
[    1.778609] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    1.784660] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.791491] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.798751] usb usb1: Product: EHCI Host Controller
[    1.803650] usb usb1: Manufacturer: Linux 4.9.0-mvebu-tld-12 ehci_hcd
[    1.810124] usb usb1: SerialNumber: f1058000.usb
[    1.815089] hub 1-0:1.0: USB hub found
[    1.818883] hub 1-0:1.0: 1 port detected
[    1.823263] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.828626] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.836211] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.844805] xhci-hcd f10f0000.usb3: irq 46, io mem 0xf10f0000
[    1.850666] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.857484] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.864761] usb usb2: Product: xHCI Host Controller
[    1.869671] usb usb2: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.876137] usb usb2: SerialNumber: f10f0000.usb3
[    1.881153] hub 2-0:1.0: USB hub found
[    1.884934] hub 2-0:1.0: 1 port detected
[    1.889040] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.894380] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    1.901955] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.910155] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[    1.916973] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.924236] usb usb3: Product: xHCI Host Controller
[    1.929341] usb usb3: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.935810] usb usb3: SerialNumber: f10f0000.usb3
[    1.940812] hub 3-0:1.0: USB hub found
[    1.944592] hub 3-0:1.0: 1 port detected
[    1.948758] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.954102] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    1.961688] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.970287] xhci-hcd f10f8000.usb3: irq 47, io mem 0xf10f8000
[    1.976133] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    1.982962] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.990224] usb usb4: Product: xHCI Host Controller
[    1.995122] usb usb4: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    2.001634] usb usb4: SerialNumber: f10f8000.usb3
[    2.006637] hub 4-0:1.0: USB hub found
[    2.010431] hub 4-0:1.0: 1 port detected
[    2.014528] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    2.019880] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    2.027435] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.035626] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003
[    2.042457] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.049718] usb usb5: Product: xHCI Host Controller
[    2.054616] usb usb5: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    2.061138] usb usb5: SerialNumber: f10f8000.usb3
[    2.066127] hub 5-0:1.0: USB hub found
[    2.069917] hub 5-0:1.0: 1 port detected
[    2.074104] usbcore: registered new interface driver usblp
[    2.079695] usbcore: registered new interface driver usb-storage
[    2.085881] mousedev: PS/2 mouse device common for all mice
[    2.091880] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    2.099559] i2c /dev entries driver
[    2.114346] orion_wdt: Initial timeout 171 sec
[    2.120038] marvell-cesa f1090000.crypto: CESA device successfully registered
[    2.127310] hidraw: raw HID events driver (C) Jiri Kosina
[    2.132936] usbcore: registered new interface driver usbhid
[    2.138532] usbhid: USB HID core driver
[    2.142510] drop_monitor: Initializing network drop monitor service
[    2.148845] Netfilter messages via NETLINK v0.30.
[    2.153579] ip_set: protocol 6
[    2.156813] NET: Registered protocol family 10
[    2.161861] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.168530] NET: Registered protocol family 17
[    2.173217] 8021q: 802.1Q VLAN Support v1.8
[    2.177439] Key type dns_resolver registered
[    2.181965] ThumbEE CPU extension supported.
[    2.186258] Registering SWP/SWPB emulation handler
[    2.191407] registered taskstats version 1
[    2.195523] Loading compiled-in X.509 certificates
[    2.200379] zswap: loaded using pool lzo/zbud
[    2.247436] Key type big_key registered
[    2.251323] usb 2-1: new high-speed USB device number 2 using xhci-hcd
[    2.261351] Key type encrypted registered
[    2.266290] armada38x-rtc f10a3800.rtc: setting system clock to 2017-06-22 17:12:59 UTC (1498151579)
[    2.275553] PM: Hibernation image not present or could not be loaded.
[    2.276462] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000)
[    2.315024] systemd-udevd[1348]: starting version 215
[    2.321035] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.418885] usb 2-1: New USB device found, idVendor=045b, idProduct=0209
[    2.425627] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.438110] hub 2-1:1.0: USB hub found
[    2.444779] hub 2-1:1.0: 4 ports detected
[    2.558813] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[    2.590216] usb 3-1: New USB device found, idVendor=045b, idProduct=0210
[    2.596953] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.610741] hub 3-1:1.0: USB hub found
[    2.616934] hub 3-1:1.0: 4 ports detected
[    2.788609] usb 2-1.3: new high-speed USB device number 3 using xhci-hcd
[    2.919257] usb 2-1.3: New USB device found, idVendor=0781, idProduct=5571
[    2.926162] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.933515] usb 2-1.3: Product: Cruzer Fit
[    2.937628] usb 2-1.3: Manufacturer: SanDisk
[    2.941923] usb 2-1.3: SerialNumber: 4C530302071223122304
[    2.947845] usb-storage 2-1.3:1.0: USB Mass Storage device detected
[    2.954385] scsi host4: usb-storage 2-1.3:1.0
[    2.960786] usbcore: registered new interface driver uas
[    4.009133] scsi 4:0:0:0: Direct-Access     SanDisk  Cruzer Fit       1.00 PQ: 0 ANSI: 6
[    4.019094] sd 4:0:0:0: [sda] 61489152 512-byte logical blocks: (31.5 GB/29.3 GiB)
[    4.027566] sd 4:0:0:0: [sda] Write Protect is off
[    4.032425] sd 4:0:0:0: [sda] Mode Sense: 43 00 00 00
[    4.032528] sd 4:0:0:0: Attached scsi generic sg0 type 0
[    4.032714] sd 4:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    4.035512]  sda: sda1
[    4.036737] sd 4:0:0:0: [sda] Attached SCSI removable disk
[    4.071650] random: fast init done
[   17.733561] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   17.749526] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   18.531115] systemd-udevd[1555]: starting version 215
[   19.183004] EXT4-fs (sda1): re-mounted. Opts: (null)
[   19.301782] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[   20.359008] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   81.602627] random: crng init done
root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00500000 00020000 "U-Boot"
mtd1: 00a00000 00020000 "uImage"
mtd2: 00f00000 00020000 "uRamdisk"
mtd3: 1c800000 00020000 "image.cfs"
mtd4: 03800000 00020000 "rescue_fw"
mtd5: 02900000 00020000 "config"
mtd6: 01500000 00020000 "reserve1"
mtd7: 00b00000 00020000 "reserve2"
root@debian:~#
Re: Debian on WD MyCloud EX 4100
June 22, 2017 03:52PM
That does not look right!

root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00500000 00020000 "U-Boot"
mtd1: 00a00000 00020000 "uImage"
mtd2: 00f00000 00020000 "uRamdisk"
mtd3: 1c800000 00020000 "image.cfs"
mtd4: 03800000 00020000 "rescue_fw"
mtd5: 02900000 00020000 "config"
mtd6: 01500000 00020000 "reserve1"
mtd7: 00b00000 00020000 "reserve2"

Check your envs, it does not look like the correct envs were set up in bootargs. Pls post the serial console log.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX 4100
June 22, 2017 04:05PM
saschadd,

One more thing. I think we need to double check the FW version.The GPL that I am using is the latest:

WDMyCloud_EX4100_GPL_v2.30.165_20170321.tar.gz

Can you find out which FW version your box is on? if it is different, then for sanity check, we should download the GPL version for that and verify that the code is stil the same or if it has been changed too much.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX 4100
June 23, 2017 01:35AM
bodhi,

just trying to boot to stock but it says it is corrupted.
I think it is because of the test=1 env we saved.
How can i delete this env or do i have to import the backup?

EDIT: i am pretty sure that i am on the latest Firmware Version 2.30.165 because i update regularly. but need to boot to stock to verify.



Edited 2 time(s). Last edit at 06/23/2017 01:44AM by saschadd.
Re: Debian on WD MyCloud EX 4100
June 23, 2017 01:48AM
bodhi,

following complete boot log from kwboot to debian via usb

pi@raspberrypi:~ $ sudo ./kwboot -f -t -B 115200 /dev/ttyAMA0 -b u-boot-a38x-Ylowstone_2014T30p6_bodhi-tld-3-nand-uart.bin -s 0 -q 1
Sending boot message. Please reboot the target...-▒"3DUfw▒"3DUfw▒"3DUf\▒"3DUfw▒"3DUfw▒"3DUfw
Sending boot image...
  0 % [......................................................................]
  0 % [......................................................................]
  1 % [......................................................................]
 ...
 98 % [......................................................................]
 99 % [..................................................]
[Type Ctrl-\ + c to quit]

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


U-Boot 2013.01_v1.06 (Jun 21 2017 - 17:42:37) Marvell version: 2014_T3.0p6 - bodhi-tld-3

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:0x7ff960b0
       BSS:                     0x7ffef654
       Stack:                   0x7f9cdf20
       Heap:                    0x7f9ce000:0x7fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:      0x00000000:0x00080000 Address: 0x00000000(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/0
UBIFS: mounted UBI device 0, volume 0, name "reserve2"
UBIFS: mounted read-only
UBIFS: file system size:   4063232 bytes (3968 KiB, 3 MiB, 32 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  200807 bytes (196 KiB)
Loading file '/mac_addr' to addr 0x02000000 with size 36 (0x00000024)...
Done
lan mac_addr :  00 90 a9 e5 19 1e
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 bootdev usb
Marvell>> setenv device '0:1'
Marvell>> setenv load_initrd_addr 0x2900000
Marvell>> setenv load_image_addr 0x02000000
Marvell>> setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
Marvell>> setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage'
Marvell>> setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial'
Marvell>> setenv mtdparts 'mtdparts=armada-nand-0: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)'
Marvell>> setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr'
Marvell>> setenv bootcmd_usb 'usb start; run usb_set_bootargs; run usb_bootcmd; reset'
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;
bootcmd_usb=usb start; run usb_set_bootargs; run usb_bootcmd; reset
bootdelay=1
bootdev=usb
cacheShare=no
console=console=ttyS0,115200
device=0:1
device_partition=0:1
disaMvPnp=no
eeeEnable=no
enaClockGating=no
enaCpuStream=no
enaFPU=yes
enaMonExt=no
enaWrAllo=no
eth1addr=00:50:43:40:1e:21
eth1mtu=1500
eth2addr=00:50:43:40:58:21
eth2mtu=1500
eth3addr=00:50:43:1e:58:40
eth3mtu=1500
ethact=egiga0
ethaddr=00:50:43:58:1e:21
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
load_image=echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage
load_image_addr=0x02000000
load_initrd=echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x2900000
loadaddr=0x02000000
loads_echo=0
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand-0: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:21:58:40
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
test=1
usb0Mode=host
usbActive=0
usbType=3
usb_bootcmd=echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr
usb_set_bootargs=setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81

Environment size: 3840/524284 bytes
Marvell>> run bootcmd_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
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
loading Image ...
3919689 bytes read in 282 ms (13.3 MiB/s)
loading uInitrd ...
6210503 bytes read in 368 ms (16.1 MiB/s)
## Booting image at 02000000 ...
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-4.9.0-mvebu-tld-12
   Created:      2017-06-12   5:14:22 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3919625 Bytes = 3.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02900000 ...
   Image Name:   initramfs-4.9.0-mvebu-tld-12
   Created:      2017-02-03  23:57:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6210439 Bytes = 5.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: WD My Cloud EX4100
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 15 pages/cpu @eefcd000 s30796 r8192 d22452 u61440
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line:  console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial
[    0.000000]
[    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: 2060316K/2097152K available (8192K kernel code, 690K rwdata, 2052K rodata, 1024K init, 386K bss, 36836K 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 - 0xc0daca28   ( 691 kB)
[    0.000000]        .bss : 0xc0daca28 - 0xc0e0d4f8   ( 387 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000003] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.007881] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019060] Console: colour dummy device 80x30
[    0.023574] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.033978] pid_max: default: 32768 minimum: 301
[    0.038731] Security Framework initialized
[    0.042925] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.049598] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.057100] CPU: Testing write buffer coherency: ok
[    0.062170] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.067908] Setting up static identity map for 0x100000 - 0x100058
[    0.074211] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
[    0.079471] mvebu-pmsu: Initializing Power Management Service Unit
[    0.283908] Booting CPU 1
[    0.286755] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.286803] Brought up 2 CPUs
[    0.295560] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.301880] CPU: All CPU(s) started in SVC mode.
[    0.307114] devtmpfs: initialized
[    0.312415] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.320361] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.330287] prandom: seed boundary self test passed
[    0.336911] prandom: 100 self tests passed
[    0.341071] pinctrl core: initialized pinctrl subsystem
[    0.346987] NET: Registered protocol family 16
[    0.352022] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.393866] cpuidle: using governor ladder
[    0.423864] cpuidle: using governor menu
[    0.427916] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.435984] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.441963] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.450118] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.504823] vgaarb: loaded
[    0.507833] SCSI subsystem initialized
[    0.512056] usbcore: registered new interface driver usbfs
[    0.517688] usbcore: registered new interface driver hub
[    0.523121] usbcore: registered new device driver usb
[    0.528444] media: Linux media interface: v0.10
[    0.533081] Linux video capture interface: v2.00
[    0.538573] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.570024] VFS: Disk quotas dquot_6.6.0
[    0.574052] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.587912] NET: Registered protocol family 2
[    0.592730] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.599878] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.606428] TCP: Hash tables configured (established 8192 bind 8192)
[    0.612899] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.618907] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.625412] NET: Registered protocol family 1
[    0.630094] RPC: Registered named UNIX socket transport module.
[    0.636069] RPC: Registered udp transport module.
[    0.640849] RPC: Registered tcp transport module.
[    0.645613] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.652238] Unpacking initramfs...
[    0.859835] Freeing initrd memory: 6068K (c2900000 - c2eed000)
[    0.865797] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.872600] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.881746] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.887952] audit: initializing netlink subsys (disabled)
[    0.893464] audit: type=2000 audit(0.880:1): initialized
[    0.899247] Initialise system trusted keyrings
[    0.903887] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    0.910467] zbud: loaded
[    0.913532] NFS: Registering the id_resolver key type
[    0.918666] Key type id_resolver registered
[    0.922913] Key type id_legacy registered
[    0.926992] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.933755] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.940303] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.947689] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.954295] orangefs_init: module version upstream loaded
[    0.961596] Key type asymmetric registered
[    0.965758] Asymmetric key parser 'x509' registered
[    0.970733] bounce: pool size: 64 pages
[    0.974704] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.982159] io scheduler noop registered
[    0.986146] io scheduler deadline registered
[    0.990499] io scheduler cfq registered (default)
[    0.996060] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.004487] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    1.011434] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.017756] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.024690] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.030623] PCI: bus0: Fast back to back transfers disabled
[    1.036259] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.044327] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.052491] PCI: bus1: Fast back to back transfers enabled
[    1.058142] PCI: bus2: Fast back to back transfers enabled
[    1.063735] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.068773] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.074210] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.138980] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.146577] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.208972] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.259360] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.267024] console [ttyS0] disabled
[    1.290765] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
[    1.299805] console [ttyS0] enabled
[    1.299805] console [ttyS0] enabled
[    1.306893] bootconsole [earlycon0] disabled
[    1.306893] bootconsole [earlycon0] disabled
[    1.316469] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.325575] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.335119] scsi host0: ahci-mvebu
[    1.338834] scsi host1: ahci-mvebu
[    1.342440] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.350402] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.358480] ahci-mvebu f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.367580] ahci-mvebu f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.376950] scsi host2: ahci-mvebu
[    1.380596] scsi host3: ahci-mvebu
[    1.384153] ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x100 irq 43
[    1.392118] ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x180 irq 43
[    1.400541] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.408396] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xdc
[    1.414789] nand: Hynix H27U4G8F2DTR-BC
[    1.418650] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.426254] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.433449] Bad block table found at page 262080, version 0x01
[    1.439640] Bad block table found at page 262016, version 0x01
[    1.445662] nand_read_bbt: bad block at 0x00000dcc0000
[    1.450830] nand_read_bbt: bad block at 0x00000fb00000
[    1.455991] nand_read_bbt: bad block at 0x000012180000
[    1.461157] nand_read_bbt: bad block at 0x0000139a0000
[    1.466318] nand_read_bbt: bad block at 0x000017880000
[    1.471485] nand_read_bbt: bad block at 0x0000178a0000
[    1.476645] nand_read_bbt: bad block at 0x00001a640000
[    1.481812] nand_read_bbt: bad block at 0x00001e9c0000
[    1.487010] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.493134] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.498558] 0x000000000000-0x000000500000 : "U-Boot"
[    1.514226] 0x000000500000-0x000000f00000 : "uImage"
[    1.529857] 0x000000a00000-0x000001900000 : "uRamdisk"
[    1.545650] 0x000000f00000-0x00001d700000 : "image.cfs"
[    1.563168] 0x00001c800000-0x000039f00000 : "rescue_fw"
[    1.568417] mtd: partition "rescue_fw" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x3800000
[    1.589954] 0x00001d700000-0x00003c200000 : "config"
[    1.594942] mtd: partition "config" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x2900000
[    1.616167] 0x00001eb00000-0x00003e000000 : "reserve1"
[    1.621341] mtd: partition "reserve1" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x1500000
[    1.642679] 0x00001f500000-0x00003f400000 : "reserve2"
[    1.647840] mtd: partition "reserve2" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0xb00000
[    1.669680] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.676333] libphy: Fixed MDIO Bus: probed
[    1.680732] libphy: mdio_driver_register: mv88e6085
[    1.685766] libphy: orion_mdio_bus: probed
[    1.689826] ata1: SATA link down (SStatus 0 SControl 300)
[    1.699850] ata2: SATA link down (SStatus 0 SControl 300)
[    1.701093] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.705883] mvneta f1070000.ethernet eth0: Using random mac address ba:cf:32:42:47:57
[    1.721452] mvneta f1030000.ethernet eth1: Using random mac address 9e:af:b8:81:24:e5
[    1.721633] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.721648] ehci-pci: EHCI PCI platform driver
[    1.721691] ehci-orion: EHCI orion driver
[    1.721795] orion-ehci f1058000.usb: EHCI Host Controller
[    1.721811] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    1.721870] orion-ehci f1058000.usb: irq 38, io mem 0xf1058000
[    1.729861] ata3: SATA link down (SStatus 0 SControl 300)
[    1.744961] ata4: SATA link down (SStatus 0 SControl 300)
[    1.758658] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    1.758767] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.758771] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.758774] usb usb1: Product: EHCI Host Controller
[    1.758776] usb usb1: Manufacturer: Linux 4.9.0-mvebu-tld-12 ehci_hcd
[    1.758779] usb usb1: SerialNumber: f1058000.usb
[    1.764087] hub 1-0:1.0: USB hub found
[    1.764106] hub 1-0:1.0: 1 port detected
[    1.764545] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.764557] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.764630] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.764654] xhci-hcd f10f0000.usb3: irq 46, io mem 0xf10f0000
[    1.764738] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.764742] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.764745] usb usb2: Product: xHCI Host Controller
[    1.764747] usb usb2: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.764750] usb usb2: SerialNumber: f10f0000.usb3
[    1.769675] hub 2-0:1.0: USB hub found
[    1.769692] hub 2-0:1.0: 1 port detected
[    1.769851] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.769859] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    1.769911] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.769970] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[    1.769974] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.769976] usb usb3: Product: xHCI Host Controller
[    1.769979] usb usb3: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.769981] usb usb3: SerialNumber: f10f0000.usb3
[    1.775201] hub 3-0:1.0: USB hub found
[    1.775220] hub 3-0:1.0: 1 port detected
[    1.775442] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.775453] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    1.775519] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.775542] xhci-hcd f10f8000.usb3: irq 47, io mem 0xf10f8000
[    1.775638] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    1.775642] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.775645] usb usb4: Product: xHCI Host Controller
[    1.775647] usb usb4: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.775650] usb usb4: SerialNumber: f10f8000.usb3
[    1.781217] hub 4-0:1.0: USB hub found
[    1.781237] hub 4-0:1.0: 1 port detected
[    1.781402] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.781411] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    1.781461] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.781531] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003
[    1.781534] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.781537] usb usb5: Product: xHCI Host Controller
[    1.781540] usb usb5: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.781542] usb usb5: SerialNumber: f10f8000.usb3
[    1.788111] hub 5-0:1.0: USB hub found
[    1.788131] hub 5-0:1.0: 1 port detected
[    1.788383] usbcore: registered new interface driver usblp
[    1.788452] usbcore: registered new interface driver usb-storage
[    1.795431] mousedev: PS/2 mouse device common for all mice
[    1.800377] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.800525] i2c /dev entries driver
[    1.825091] orion_wdt: Initial timeout 171 sec
[    1.826375] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.826475] hidraw: raw HID events driver (C) Jiri Kosina
[    1.832741] usbcore: registered new interface driver usbhid
[    1.832742] usbhid: USB HID core driver
[    1.832852] drop_monitor: Initializing network drop monitor service
[    1.832884] Netfilter messages via NETLINK v0.30.
[    1.832894] ip_set: protocol 6
[    1.841574] NET: Registered protocol family 10
[    1.854249] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.854934] NET: Registered protocol family 17
[    1.855044] 8021q: 802.1Q VLAN Support v1.8
[    1.855066] Key type dns_resolver registered
[    1.855137] ThumbEE CPU extension supported.
[    1.855143] Registering SWP/SWPB emulation handler
[    1.873141] registered taskstats version 1
[    1.873144] Loading compiled-in X.509 certificates
[    1.873175] zswap: loaded using pool lzo/zbud
[    1.950265] Key type big_key registered
[    1.979075] Key type encrypted registered
[    1.991213] armada38x-rtc f10a3800.rtc: setting system clock to 2017-06-23 06:38:31 UTC (1498199911)
[    2.028752] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[    2.060159] usb 3-1: New USB device found, idVendor=045b, idProduct=0210
[    2.060163] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.061763] hub 3-1:1.0: USB hub found
[    2.062003] hub 3-1:1.0: 4 ports detected
[    2.188587] usb 2-1: new high-speed USB device number 2 using xhci-hcd
[    2.246356] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000)
Loading, please wait...
[    2.284574] systemd-udevd[1350]: starting version 215
[    2.290609] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.358860] usb 2-1: New USB device found, idVendor=045b, idProduct=0209
[    2.365604] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.381843] hub 2-1:1.0: USB hub found
[    2.389154] hub 2-1:1.0: 4 ports detected
[    2.708590] usb 2-1.3: new high-speed USB device number 3 using xhci-hcd
[    2.839219] usb 2-1.3: New USB device found, idVendor=0781, idProduct=5571
[    2.846125] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.853477] usb 2-1.3: Product: Cruzer Fit
[    2.857591] usb 2-1.3: Manufacturer: SanDisk
[    2.861886] usb 2-1.3: SerialNumber: 4C530302071223122304
[    2.868118] usb-storage 2-1.3:1.0: USB Mass Storage device detected
[    2.874560] scsi host4: usb-storage 2-1.3:1.0
[    2.880475] usbcore: registered new interface driver uas
[    3.929128] scsi 4:0:0:0: Direct-Access     SanDisk  Cruzer Fit       1.00 PQ: 0 ANSI: 6
[    3.939402] sd 4:0:0:0: Attached scsi generic sg0 type 0
[    3.945579] sd 4:0:0:0: [sda] 61489152 512-byte logical blocks: (31.5 GB/29.3 GiB)
[    3.954063] sd 4:0:0:0: [sda] Write Protect is off
[    3.959179] sd 4:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    3.971403]  sda: sda1
[    3.975328] sd 4:0:0:0: [sda] Attached SCSI removable disk
[    4.009334] random: fast init done
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
modprobe: module ext3 not found in modules.dep
Begin: Will now check root file system ... fsck from util-linux 2.25.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   17.663504] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   17.672558] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[   17.679478] EXT4-fs (sda1): write access will be enabled during recovery
[   17.703202] EXT4-fs (sda1): recovery complete
[   17.710089] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd[   18.483463] systemd-udevd[1557]: starting version 215
. ok
[ ok ] Synthesizing the initial hotplug events...done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Activating swap...done.
[   19.363694] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.25.2
rootfs: clean, 34218/1925120 files, 631628/7685888 blocks
done.
[   19.480753] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.25.2
done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[   20.538995] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/ba:cf:32:42:47:57
Sending on   LPF/eth0/ba:cf:32:42:47:57
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20
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 rpcbind daemon....
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
[   82.208895] random: crng init done
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...
2502 (syslogd)
. ok
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting system message bus: dbus.
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
2501 (klogd)
. ok

Debian GNU/Linux 8 debian ttyS0

debian login: root
Password:
Last login: Thu Jun 22 10:16:19 PDT 2017 on ttyS0
Linux debian 4.9.0-mvebu-tld-12 #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017 armv7l

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

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian

WD My Cloud EX4100
Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
 23:41:06 up 2 min,  1 user,  load average: 0.02, 0.03, 0.00
root@debian:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: WD My Cloud EX4100
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 524288
[    0.000000] free_area_init_node: node 0, pgdat c0d97f80, node_mem_map eeff8000
[    0.000000]   Normal zone: 1536 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 327680 pages, LIFO batch:31
[    0.000000] percpu: Embedded 15 pages/cpu @eefcd000 s30796 r8192 d22452 u61440
[    0.000000] pcpu-alloc: s30796 r8192 d22452 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line:  console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial

[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 2060316K/2097152K available (8192K kernel code, 690K rwdata, 2052K rodata, 1024K init, 386K bss, 36836K reserved, 0K cma-reserved, 1310720K highmem)
[    0.000000] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0900000   (9184 kB)
      .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
      .data : 0xc0d00000 - 0xc0daca28   ( 691 kB)
       .bss : 0xc0daca28 - 0xc0e0d4f8   ( 387 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000003] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.007881] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019060] Console: colour dummy device 80x30
[    0.023574] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.033978] pid_max: default: 32768 minimum: 301
[    0.038731] Security Framework initialized
[    0.042925] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.049598] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.057100] CPU: Testing write buffer coherency: ok
[    0.062170] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.067908] Setting up static identity map for 0x100000 - 0x100058
[    0.074211] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
[    0.079471] mvebu-pmsu: Initializing Power Management Service Unit
[    0.283908] Booting CPU 1
[    0.286755] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.286803] Brought up 2 CPUs
[    0.295560] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.301880] CPU: All CPU(s) started in SVC mode.
[    0.307114] devtmpfs: initialized
[    0.312415] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.320361] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.330287] prandom: seed boundary self test passed
[    0.336911] prandom: 100 self tests passed
[    0.341071] pinctrl core: initialized pinctrl subsystem
[    0.346987] NET: Registered protocol family 16
[    0.352022] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.393866] cpuidle: using governor ladder
[    0.423864] cpuidle: using governor menu
[    0.427916] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.435984] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.441963] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.450118] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.504823] vgaarb: loaded
[    0.507833] SCSI subsystem initialized
[    0.511786] libata version 3.00 loaded.
[    0.512056] usbcore: registered new interface driver usbfs
[    0.517688] usbcore: registered new interface driver hub
[    0.523121] usbcore: registered new device driver usb
[    0.528444] media: Linux media interface: v0.10
[    0.533081] Linux video capture interface: v2.00
[    0.538573] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.570024] VFS: Disk quotas dquot_6.6.0
[    0.574052] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.587912] NET: Registered protocol family 2
[    0.592730] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.599878] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.606428] TCP: Hash tables configured (established 8192 bind 8192)
[    0.612899] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.618907] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.625412] NET: Registered protocol family 1
[    0.630094] RPC: Registered named UNIX socket transport module.
[    0.636069] RPC: Registered udp transport module.
[    0.640849] RPC: Registered tcp transport module.
[    0.645613] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.652129] PCI: CLS 0 bytes, default 64
[    0.652238] Unpacking initramfs...
[    0.859835] Freeing initrd memory: 6068K (c2900000 - c2eed000)
[    0.865797] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.872600] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.881746] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.887952] audit: initializing netlink subsys (disabled)
[    0.893464] audit: type=2000 audit(0.880:1): initialized
[    0.899247] Initialise system trusted keyrings
[    0.903887] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    0.910467] zbud: loaded
[    0.913532] NFS: Registering the id_resolver key type
[    0.918666] Key type id_resolver registered
[    0.922913] Key type id_legacy registered
[    0.926992] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.933755] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.940303] jffs2: version 2.2. (NAND) (SUMMARY)  \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
[    0.947689] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.954295] orangefs_init: module version upstream loaded
[    0.961596] Key type asymmetric registered
[    0.965758] Asymmetric key parser 'x509' registered
[    0.970733] bounce: pool size: 64 pages
[    0.974704] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.982159] io scheduler noop registered
[    0.986146] io scheduler deadline registered
[    0.990499] io scheduler cfq registered (default)
[    0.996060] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.004487] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    1.011434] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.017756] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.024690] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.030245] pci_bus 0000:00: scanning bus
[    1.030266] pci 0000:00:01.0: [11ab:6828] type 01 class 0x060400
[    1.030293] pci 0000:00:01.0: calling pci_fixup_ide_bases+0x0/0x3c
[    1.030454] pci 0000:00:02.0: [11ab:6828] type 01 class 0x060400
[    1.030473] pci 0000:00:02.0: calling pci_fixup_ide_bases+0x0/0x3c
[    1.030616] pci_bus 0000:00: fixups for bus
[    1.030623] PCI: bus0: Fast back to back transfers disabled
[    1.036255] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 0
[    1.036259] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.044323] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 0
[    1.044327] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.052387] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 1
[    1.052483] pci_bus 0000:01: scanning bus
[    1.052488] pci_bus 0000:01: fixups for bus
[    1.052491] PCI: bus1: Fast back to back transfers enabled
[    1.058035] pci_bus 0000:01: bus scan returning with max=01
[    1.058040] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.058047] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 1
[    1.058134] pci_bus 0000:02: scanning bus
[    1.058139] pci_bus 0000:02: fixups for bus
[    1.058142] PCI: bus2: Fast back to back transfers enabled
[    1.063695] pci_bus 0000:02: bus scan returning with max=02
[    1.063700] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.063705] pci_bus 0000:00: bus scan returning with max=02
[    1.063711] pci 0000:00:01.0: fixup irq: got 0
[    1.063715] pci 0000:00:01.0: assigning IRQ 00
[    1.063720] pci 0000:00:02.0: fixup irq: got 0
[    1.063723] pci 0000:00:02.0: assigning IRQ 00
[    1.063735] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.068773] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.073834] pcieport 0000:00:01.0: enabling bus mastering
[    1.073867] pcieport 0000:00:02.0: enabling bus mastering
[    1.074210] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.138980] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.146577] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.208972] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.259360] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.267024] console [ttyS0] disabled
[    1.290765] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
[    1.299805] console [ttyS0] enabled
[    1.306893] bootconsole [earlycon0] disabled
[    1.316469] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.325575] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.335119] scsi host0: ahci-mvebu
[    1.338834] scsi host1: ahci-mvebu
[    1.342440] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.350402] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.358480] ahci-mvebu f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.367580] ahci-mvebu f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.376950] scsi host2: ahci-mvebu
[    1.380596] scsi host3: ahci-mvebu
[    1.384153] ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x100 irq 43
[    1.392118] ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x180 irq 43
[    1.400541] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.408396] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xdc
[    1.414789] nand: Hynix H27U4G8F2DTR-BC
[    1.418650] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.426254] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.433449] Bad block table found at page 262080, version 0x01
[    1.439640] Bad block table found at page 262016, version 0x01
[    1.445662] nand_read_bbt: bad block at 0x00000dcc0000
[    1.450830] nand_read_bbt: bad block at 0x00000fb00000
[    1.455991] nand_read_bbt: bad block at 0x000012180000
[    1.461157] nand_read_bbt: bad block at 0x0000139a0000
[    1.466318] nand_read_bbt: bad block at 0x000017880000
[    1.471485] nand_read_bbt: bad block at 0x0000178a0000
[    1.476645] nand_read_bbt: bad block at 0x00001a640000
[    1.481812] nand_read_bbt: bad block at 0x00001e9c0000
[    1.487010] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.493134] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.498558] 0x000000000000-0x000000500000 : "U-Boot"
[    1.514226] 0x000000500000-0x000000f00000 : "uImage"
[    1.529857] 0x000000a00000-0x000001900000 : "uRamdisk"
[    1.545650] 0x000000f00000-0x00001d700000 : "image.cfs"
[    1.563168] 0x00001c800000-0x000039f00000 : "rescue_fw"
[    1.568417] mtd: partition "rescue_fw" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x3800000
[    1.589954] 0x00001d700000-0x00003c200000 : "config"
[    1.594942] mtd: partition "config" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x2900000
[    1.616167] 0x00001eb00000-0x00003e000000 : "reserve1"
[    1.621341] mtd: partition "reserve1" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x1500000
[    1.642679] 0x00001f500000-0x00003f400000 : "reserve2"
[    1.647840] mtd: partition "reserve2" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0xb00000
[    1.669680] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.676333] libphy: Fixed MDIO Bus: probed
[    1.680732] libphy: mdio_driver_register: mv88e6085
[    1.685766] libphy: orion_mdio_bus: probed
[    1.689826] ata1: SATA link down (SStatus 0 SControl 300)
[    1.699850] ata2: SATA link down (SStatus 0 SControl 300)
[    1.701093] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.705883] mvneta f1070000.ethernet eth0: Using random mac address ba:cf:32:42:47:57
[    1.721452] mvneta f1030000.ethernet eth1: Using random mac address 9e:af:b8:81:24:e5
[    1.721633] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.721648] ehci-pci: EHCI PCI platform driver
[    1.721691] ehci-orion: EHCI orion driver
[    1.721795] orion-ehci f1058000.usb: EHCI Host Controller
[    1.721811] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    1.721870] orion-ehci f1058000.usb: irq 38, io mem 0xf1058000
[    1.729861] ata3: SATA link down (SStatus 0 SControl 300)
[    1.744961] ata4: SATA link down (SStatus 0 SControl 300)
[    1.758658] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    1.758767] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.758771] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.758774] usb usb1: Product: EHCI Host Controller
[    1.758776] usb usb1: Manufacturer: Linux 4.9.0-mvebu-tld-12 ehci_hcd
[    1.758779] usb usb1: SerialNumber: f1058000.usb
[    1.764087] hub 1-0:1.0: USB hub found
[    1.764106] hub 1-0:1.0: 1 port detected
[    1.764545] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.764557] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.764630] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.764654] xhci-hcd f10f0000.usb3: irq 46, io mem 0xf10f0000
[    1.764738] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.764742] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.764745] usb usb2: Product: xHCI Host Controller
[    1.764747] usb usb2: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.764750] usb usb2: SerialNumber: f10f0000.usb3
[    1.769675] hub 2-0:1.0: USB hub found
[    1.769692] hub 2-0:1.0: 1 port detected
[    1.769851] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.769859] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    1.769911] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.769970] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[    1.769974] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.769976] usb usb3: Product: xHCI Host Controller
[    1.769979] usb usb3: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.769981] usb usb3: SerialNumber: f10f0000.usb3
[    1.775201] hub 3-0:1.0: USB hub found
[    1.775220] hub 3-0:1.0: 1 port detected
[    1.775442] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.775453] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    1.775519] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.775542] xhci-hcd f10f8000.usb3: irq 47, io mem 0xf10f8000
[    1.775638] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    1.775642] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.775645] usb usb4: Product: xHCI Host Controller
[    1.775647] usb usb4: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.775650] usb usb4: SerialNumber: f10f8000.usb3
[    1.781217] hub 4-0:1.0: USB hub found
[    1.781237] hub 4-0:1.0: 1 port detected
[    1.781402] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.781411] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    1.781461] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.781531] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003
[    1.781534] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.781537] usb usb5: Product: xHCI Host Controller
[    1.781540] usb usb5: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.781542] usb usb5: SerialNumber: f10f8000.usb3
[    1.788111] hub 5-0:1.0: USB hub found
[    1.788131] hub 5-0:1.0: 1 port detected
[    1.788383] usbcore: registered new interface driver usblp
[    1.788452] usbcore: registered new interface driver usb-storage
[    1.795431] mousedev: PS/2 mouse device common for all mice
[    1.800377] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.800525] i2c /dev entries driver
[    1.825091] orion_wdt: Initial timeout 171 sec
[    1.826375] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.826475] hidraw: raw HID events driver (C) Jiri Kosina
[    1.832741] usbcore: registered new interface driver usbhid
[    1.832742] usbhid: USB HID core driver
[    1.832852] drop_monitor: Initializing network drop monitor service
[    1.832884] Netfilter messages via NETLINK v0.30.
[    1.832894] ip_set: protocol 6
[    1.841574] NET: Registered protocol family 10
[    1.854249] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.854934] NET: Registered protocol family 17
[    1.855044] 8021q: 802.1Q VLAN Support v1.8
[    1.855066] Key type dns_resolver registered
[    1.855137] ThumbEE CPU extension supported.
[    1.855143] Registering SWP/SWPB emulation handler
[    1.873141] registered taskstats version 1
[    1.873144] Loading compiled-in X.509 certificates
[    1.873175] zswap: loaded using pool lzo/zbud
[    1.950265] Key type big_key registered
[    1.979075] Key type encrypted registered
[    1.991213] armada38x-rtc f10a3800.rtc: setting system clock to 2017-06-23 06:38:31 UTC (1498199911)
[    1.991291] PM: Hibernation image not present or could not be loaded.
[    2.028752] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[    2.060159] usb 3-1: New USB device found, idVendor=045b, idProduct=0210
[    2.060163] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.061763] hub 3-1:1.0: USB hub found
[    2.062003] hub 3-1:1.0: 4 ports detected
[    2.188587] usb 2-1: new high-speed USB device number 2 using xhci-hcd
[    2.246356] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000)
[    2.284574] systemd-udevd[1350]: starting version 215
[    2.290609] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.358860] usb 2-1: New USB device found, idVendor=045b, idProduct=0209
[    2.365604] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.381843] hub 2-1:1.0: USB hub found
[    2.389154] hub 2-1:1.0: 4 ports detected
[    2.708590] usb 2-1.3: new high-speed USB device number 3 using xhci-hcd
[    2.839219] usb 2-1.3: New USB device found, idVendor=0781, idProduct=5571
[    2.846125] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.853477] usb 2-1.3: Product: Cruzer Fit
[    2.857591] usb 2-1.3: Manufacturer: SanDisk
[    2.861886] usb 2-1.3: SerialNumber: 4C530302071223122304
[    2.868118] usb-storage 2-1.3:1.0: USB Mass Storage device detected
[    2.874560] scsi host4: usb-storage 2-1.3:1.0
[    2.880475] usbcore: registered new interface driver uas
[    3.929128] scsi 4:0:0:0: Direct-Access     SanDisk  Cruzer Fit       1.00 PQ: 0 ANSI: 6
[    3.939402] sd 4:0:0:0: Attached scsi generic sg0 type 0
[    3.945579] sd 4:0:0:0: [sda] 61489152 512-byte logical blocks: (31.5 GB/29.3 GiB)
[    3.954063] sd 4:0:0:0: [sda] Write Protect is off
[    3.958903] sd 4:0:0:0: [sda] Mode Sense: 43 00 00 00
[    3.959179] sd 4:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    3.971403]  sda: sda1
[    3.975328] sd 4:0:0:0: [sda] Attached SCSI removable disk
[    4.009334] random: fast init done
[   17.663504] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   17.672558] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[   17.679478] EXT4-fs (sda1): write access will be enabled during recovery
[   17.703202] EXT4-fs (sda1): recovery complete
[   17.710089] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   18.483463] systemd-udevd[1557]: starting version 215
[   19.363694] EXT4-fs (sda1): re-mounted. Opts: (null)
[   19.480753] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[   20.538995] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   82.208895] random: crng init done
root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00500000 00020000 "U-Boot"
mtd1: 00a00000 00020000 "uImage"
mtd2: 00f00000 00020000 "uRamdisk"
mtd3: 1c800000 00020000 "image.cfs"
mtd4: 03800000 00020000 "rescue_fw"
mtd5: 02900000 00020000 "config"
mtd6: 01500000 00020000 "reserve1"
mtd7: 00b00000 00020000 "reserve2"
root@debian:~#
Re: Debian on WD MyCloud EX 4100
June 23, 2017 02:19AM
saschadd,

Quote

just trying to boot to stock but it says it is corrupted.
I think it is because of the test=1 env we saved.
How can i delete this env or do i have to import the backup?

Could you post this serial boot log with this error?

Quote

Marvell>> setenv bootdev usb
Marvell>> setenv device '0:1'
Marvell>> setenv load_initrd_addr 0x2900000
Marvell>> setenv load_image_addr 0x02000000
Marvell>> setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
Marvell>> setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage'
Marvell>> setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial'
Marvell>> setenv mtdparts 'mtdparts=armada-nand-0: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)'
Marvell>> setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr'
Marvell>> setenv bootcmd_usb 'usb start; run usb_set_bootargs; run usb_bootcmd; reset'
Marvell>> printenv

You were missing the mtdparts env in the bootargs.

Either do this
setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial $mtdparts'
or
setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial mtdparts=armada-nand-0: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)'

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX 4100
June 23, 2017 02:28AM
> Could you post this serial boot log with this error?

I just reinstalled the latest firmware to Version 2.30.165. It is now booting to stock and we are sure we use the same version.

Let me try the boot with mtdparts you posted.
Will update soon.
Re: Debian on WD MyCloud EX 4100
June 23, 2017 02:43AM
Okay, new kwboot from usb with

setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial mtdparts=armada-nand-0: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)'


pi@raspberrypi:~ $ sudo ./kwboot -f -t -B 115200 /dev/ttyAMA0 -b u-boot-a38x-Ylowstone_2014T30p6_bodhi-tld-3-nand-uart.bin -s 0 -q 1
Sending boot message. Please reboot the target...-▒"▒&T▒▒▒"3DUfw▒"3DUfw▒"3DUfw▒"3DUf\▒"3DUfw
Sending boot image...
  0 % [......................................................................]
  0 % [......................................................................]
  1 % [......................................................................]
  
 98 % [......................................................................]
 99 % [..................................................]
[Type Ctrl-\ + c to quit]

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


U-Boot 2013.01_v1.06 (Jun 21 2017 - 17:42:37) Marvell version: 2014_T3.0p6 - bodhi-tld-3

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:0x7ff960b0
       BSS:                     0x7ffef654
       Stack:                   0x7f9cdf20
       Heap:                    0x7f9ce000:0x7fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:      0x00000000:0x00080000 Address: 0x00000000(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/0
UBIFS: mounted UBI device 0, volume 0, name "reserve2"
UBIFS: mounted read-only
UBIFS: file system size:   4063232 bytes (3968 KiB, 3 MiB, 32 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  200807 bytes (196 KiB)
Loading file '/mac_addr' to addr 0x02000000 with size 36 (0x00000024)...
Done
lan mac_addr :  00 90 a9 e5 19 1e
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 bootdev usb
Marvell>> setenv device '0:1'
Marvell>> setenv load_initrd_addr 0x2900000
Marvell>> setenv load_image_addr 0x02000000
Marvell>> setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
Marvell>> setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage'
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial mtdparts=armada-nand-0: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)'
Marvell>> setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr'
Marvell>> setenv bootcmd_usb 'usb start; run usb_set_bootargs; run usb_bootcmd; reset'
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;
bootcmd_usb=usb start; run usb_set_bootargs; run usb_bootcmd; reset
bootdelay=1
bootdev=usb
cacheShare=no
console=console=ttyS0,115200
device=0:1
device_partition=0:1
disaMvPnp=no
eeeEnable=no
enaClockGating=no
enaCpuStream=no
enaFPU=yes
enaMonExt=no
enaWrAllo=no
eth1addr=00:50:43:d9:36:3a
eth1mtu=1500
eth2addr=00:50:43:d9:45:3a
eth2mtu=1500
eth3addr=00:50:43:36:45:d9
eth3mtu=1500
ethact=egiga0
ethaddr=00:50:43:45:36:3a
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
load_image=echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage
load_image_addr=0x02000000
load_initrd=echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x2900000
loadaddr=0x02000000
loads_echo=0
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),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:3a:45:d9
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
usb_bootcmd=echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial mtdparts=armada-nand-0: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)
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81

Environment size: 3990/524284 bytes
Marvell>> run bootcmd_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
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
loading Image ...
3919689 bytes read in 282 ms (13.3 MiB/s)
loading uInitrd ...
6210503 bytes read in 367 ms (16.1 MiB/s)
## Booting image at 02000000 ...
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-4.9.0-mvebu-tld-12
   Created:      2017-06-12   5:14:22 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3919625 Bytes = 3.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02900000 ...
   Image Name:   initramfs-4.9.0-mvebu-tld-12
   Created:      2017-02-03  23:57:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6210439 Bytes = 5.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: WD My Cloud EX4100
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 15 pages/cpu @eefcd000 s30796 r8192 d22452 u61440
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line:  console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial mtdparts=armada-nand-0: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)
[    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: 2060316K/2097152K available (8192K kernel code, 690K rwdata, 2052K rodata, 1024K init, 386K bss, 36836K 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 - 0xc0daca28   ( 691 kB)
[    0.000000]        .bss : 0xc0daca28 - 0xc0e0d4f8   ( 387 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000003] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.007881] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019059] Console: colour dummy device 80x30
[    0.023573] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.033976] pid_max: default: 32768 minimum: 301
[    0.038730] Security Framework initialized
[    0.042924] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.049598] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.057099] CPU: Testing write buffer coherency: ok
[    0.062169] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.067908] Setting up static identity map for 0x100000 - 0x100058
[    0.074211] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
[    0.079470] mvebu-pmsu: Initializing Power Management Service Unit
[    0.283910] Booting CPU 1
[    0.286755] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.286803] Brought up 2 CPUs
[    0.295561] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.301881] CPU: All CPU(s) started in SVC mode.
[    0.307111] devtmpfs: initialized
[    0.312433] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.320378] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.330304] prandom: seed boundary self test passed
[    0.336929] prandom: 100 self tests passed
[    0.341089] pinctrl core: initialized pinctrl subsystem
[    0.347007] NET: Registered protocol family 16
[    0.352054] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.393867] cpuidle: using governor ladder
[    0.423864] cpuidle: using governor menu
[    0.427931] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.435999] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.441978] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.450133] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.504817] vgaarb: loaded
[    0.507826] SCSI subsystem initialized
[    0.512043] usbcore: registered new interface driver usbfs
[    0.517676] usbcore: registered new interface driver hub
[    0.523108] usbcore: registered new device driver usb
[    0.528431] media: Linux media interface: v0.10
[    0.533067] Linux video capture interface: v2.00
[    0.538570] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.570006] VFS: Disk quotas dquot_6.6.0
[    0.574032] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.587895] NET: Registered protocol family 2
[    0.592711] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.599859] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.606410] TCP: Hash tables configured (established 8192 bind 8192)
[    0.612881] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.618888] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.625397] NET: Registered protocol family 1
[    0.630078] RPC: Registered named UNIX socket transport module.
[    0.636054] RPC: Registered udp transport module.
[    0.640833] RPC: Registered tcp transport module.
[    0.645598] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.652222] Unpacking initramfs...
[    0.859694] Freeing initrd memory: 6068K (c2900000 - c2eed000)
[    0.865669] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.872470] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.881618] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.887823] audit: initializing netlink subsys (disabled)
[    0.893334] audit: type=2000 audit(0.880:1): initialized
[    0.899121] Initialise system trusted keyrings
[    0.903765] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    0.910344] zbud: loaded
[    0.913409] NFS: Registering the id_resolver key type
[    0.918533] Key type id_resolver registered
[    0.922794] Key type id_legacy registered
[    0.926874] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.933637] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.940184] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.947573] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.954180] orangefs_init: module version upstream loaded
[    0.961456] Key type asymmetric registered
[    0.965618] Asymmetric key parser 'x509' registered
[    0.970594] bounce: pool size: 64 pages
[    0.974566] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.982021] io scheduler noop registered
[    0.986008] io scheduler deadline registered
[    0.990361] io scheduler cfq registered (default)
[    0.995931] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.004357] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    1.011303] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.017625] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.024560] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.030492] PCI: bus0: Fast back to back transfers disabled
[    1.036128] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.044196] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.052359] PCI: bus1: Fast back to back transfers enabled
[    1.058009] PCI: bus2: Fast back to back transfers enabled
[    1.063601] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.068640] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.074080] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.138974] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.146574] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.208970] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.259243] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.266906] console [ttyS0] disabled
[    1.290639] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
[    1.299675] console [ttyS0] enabled
[    1.299675] console [ttyS0] enabled
[    1.306761] bootconsole [earlycon0] disabled
[    1.306761] bootconsole [earlycon0] disabled
[    1.316362] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.325469] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.335043] scsi host0: ahci-mvebu
[    1.338766] scsi host1: ahci-mvebu
[    1.342373] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.350341] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.358425] ahci-mvebu f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.367525] ahci-mvebu f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.376901] scsi host2: ahci-mvebu
[    1.380545] scsi host3: ahci-mvebu
[    1.384103] ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x100 irq 43
[    1.392067] ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x180 irq 43
[    1.400495] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.408344] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xdc
[    1.414736] nand: Hynix H27U4G8F2DTR-BC
[    1.418597] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.426202] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.433396] Bad block table found at page 262080, version 0x01
[    1.439588] Bad block table found at page 262016, version 0x01
[    1.445618] nand_read_bbt: bad block at 0x00000dcc0000
[    1.450787] nand_read_bbt: bad block at 0x00000fb00000
[    1.455947] nand_read_bbt: bad block at 0x000012180000
[    1.461114] nand_read_bbt: bad block at 0x0000139a0000
[    1.466274] nand_read_bbt: bad block at 0x000017880000
[    1.471441] nand_read_bbt: bad block at 0x0000178a0000
[    1.476601] nand_read_bbt: bad block at 0x00001a640000
[    1.481768] nand_read_bbt: bad block at 0x00001e9c0000
[    1.486973] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.493100] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.498523] 0x000000000000-0x000000500000 : "U-Boot"
[    1.514192] 0x000000500000-0x000000f00000 : "uImage"
[    1.529820] 0x000000a00000-0x000001900000 : "uRamdisk"
[    1.545611] 0x000000f00000-0x00001d700000 : "image.cfs"
[    1.563079] 0x00001c800000-0x000039f00000 : "rescue_fw"
[    1.568328] mtd: partition "rescue_fw" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x3800000
[    1.589870] 0x00001d700000-0x00003c200000 : "config"
[    1.594857] mtd: partition "config" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x2900000
[    1.616089] 0x00001eb00000-0x00003e000000 : "reserve1"
[    1.621263] mtd: partition "reserve1" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x1500000
[    1.642603] 0x00001f500000-0x00003f400000 : "reserve2"
[    1.647765] mtd: partition "reserve2" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0xb00000
[    1.669565] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.676227] libphy: Fixed MDIO Bus: probed
[    1.680627] libphy: mdio_driver_register: mv88e6085
[    1.685655] libphy: orion_mdio_bus: probed
[    1.689824] ata1: SATA link down (SStatus 0 SControl 300)
[    1.700373] ata2: SATA link down (SStatus 0 SControl 300)
[    1.700513] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.706454] mvneta f1070000.ethernet eth0: Using random mac address b6:07:de:26:91:60
[    1.714320] mvneta f1030000.ethernet eth1: Using random mac address ee:bf:0d:e9:03:86
[    1.714489] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.714502] ehci-pci: EHCI PCI platform driver
[    1.714541] ehci-orion: EHCI orion driver
[    1.714634] orion-ehci f1058000.usb: EHCI Host Controller
[    1.714649] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    1.714704] orion-ehci f1058000.usb: irq 38, io mem 0xf1058000
[    1.730359] ata3: SATA link down (SStatus 0 SControl 300)
[    1.745483] ata4: SATA link down (SStatus 0 SControl 300)
[    1.748581] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    1.748706] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.748710] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.748713] usb usb1: Product: EHCI Host Controller
[    1.748716] usb usb1: Manufacturer: Linux 4.9.0-mvebu-tld-12 ehci_hcd
[    1.748718] usb usb1: SerialNumber: f1058000.usb
[    1.751169] hub 1-0:1.0: USB hub found
[    1.751210] hub 1-0:1.0: 1 port detected
[    1.751664] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.751676] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.751749] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.751773] xhci-hcd f10f0000.usb3: irq 46, io mem 0xf10f0000
[    1.751921] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.751925] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.751927] usb usb2: Product: xHCI Host Controller
[    1.751930] usb usb2: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.751932] usb usb2: SerialNumber: f10f0000.usb3
[    1.758808] hub 2-0:1.0: USB hub found
[    1.758829] hub 2-0:1.0: 1 port detected
[    1.758996] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.759004] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    1.759066] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.759140] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[    1.759144] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.759147] usb usb3: Product: xHCI Host Controller
[    1.759150] usb usb3: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.759152] usb usb3: SerialNumber: f10f0000.usb3
[    1.764803] hub 3-0:1.0: USB hub found
[    1.764821] hub 3-0:1.0: 1 port detected
[    1.765043] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.765054] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    1.765120] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.765143] xhci-hcd f10f8000.usb3: irq 47, io mem 0xf10f8000
[    1.765241] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    1.765245] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.765248] usb usb4: Product: xHCI Host Controller
[    1.765250] usb usb4: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.765253] usb usb4: SerialNumber: f10f8000.usb3
[    1.770302] hub 4-0:1.0: USB hub found
[    1.770350] hub 4-0:1.0: 1 port detected
[    1.770516] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.770524] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    1.770579] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.770648] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003
[    1.770652] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.770655] usb usb5: Product: xHCI Host Controller
[    1.770657] usb usb5: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.770660] usb usb5: SerialNumber: f10f8000.usb3
[    1.775821] hub 5-0:1.0: USB hub found
[    1.775859] hub 5-0:1.0: 1 port detected
[    1.776117] usbcore: registered new interface driver usblp
[    1.776185] usbcore: registered new interface driver usb-storage
[    1.788506] mousedev: PS/2 mouse device common for all mice
[    1.795835] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.795981] i2c /dev entries driver
[    1.825154] orion_wdt: Initial timeout 171 sec
[    1.826568] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.826672] hidraw: raw HID events driver (C) Jiri Kosina
[    1.832838] usbcore: registered new interface driver usbhid
[    1.832840] usbhid: USB HID core driver
[    1.832942] drop_monitor: Initializing network drop monitor service
[    1.832972] Netfilter messages via NETLINK v0.30.
[    1.832982] ip_set: protocol 6
[    1.847145] NET: Registered protocol family 10
[    1.861277] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.862244] NET: Registered protocol family 17
[    1.862383] 8021q: 802.1Q VLAN Support v1.8
[    1.862406] Key type dns_resolver registered
[    1.862490] ThumbEE CPU extension supported.
[    1.862497] Registering SWP/SWPB emulation handler
[    1.881227] registered taskstats version 1
[    1.881230] Loading compiled-in X.509 certificates
[    1.881261] zswap: loaded using pool lzo/zbud
[    1.940353] Key type big_key registered
[    1.957264] Key type encrypted registered
[    1.971589] armada38x-rtc f10a3800.rtc: setting system clock to 2017-06-23 07:37:30 UTC (1498203450)
[    2.018776] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[    2.050106] usb 3-1: New USB device found, idVendor=045b, idProduct=0210
[    2.050111] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.056403] hub 3-1:1.0: USB hub found
[    2.056641] hub 3-1:1.0: 4 ports detected
[    2.188584] usb 2-1: new high-speed USB device number 2 using xhci-hcd
[    2.245621] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000)
Loading, please wait...
[    2.283542] systemd-udevd[1350]: starting version 215
[    2.289532] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.358857] usb 2-1: New USB device found, idVendor=045b, idProduct=0209
[    2.365605] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.380224] hub 2-1:1.0: USB hub found
[    2.387014] hub 2-1:1.0: 4 ports detected
[    2.708586] usb 2-1.3: new high-speed USB device number 3 using xhci-hcd
[    2.839216] usb 2-1.3: New USB device found, idVendor=0781, idProduct=5571
[    2.846123] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.853475] usb 2-1.3: Product: Cruzer Fit
[    2.857589] usb 2-1.3: Manufacturer: SanDisk
[    2.861884] usb 2-1.3: SerialNumber: 4C530302071223122304
[    2.868108] usb-storage 2-1.3:1.0: USB Mass Storage device detected
[    2.874550] scsi host4: usb-storage 2-1.3:1.0
[    2.880471] usbcore: registered new interface driver uas
[    3.939115] scsi 4:0:0:0: Direct-Access     SanDisk  Cruzer Fit       1.00 PQ: 0 ANSI: 6
[    3.958520] sd 4:0:0:0: [sda] 61489152 512-byte logical blocks: (31.5 GB/29.3 GiB)
[    3.966230] sd 4:0:0:0: Attached scsi generic sg0 type 0
[    3.973301] sd 4:0:0:0: [sda] Write Protect is off
[    3.978408] sd 4:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    3.990599]  sda: sda1
[    3.994519] sd 4:0:0:0: [sda] Attached SCSI removable disk
[    4.028838] random: fast init done
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
modprobe: module ext3 not found in modules.dep
Begin: Will now check root file system ... fsck from util-linux 2.25.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   17.633597] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   17.659525] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd[   18.430402] systemd-udevd[1557]: starting version 215
. ok
[ ok ] Synthesizing the initial hotplug events...done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Activating swap...done.
[   19.116546] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.25.2
rootfs: clean, 34218/1925120 files, 631630/7685888 blocks
done.
[   19.234472] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.25.2
done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[   20.298972] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/b6:07:de:26:91:60
Sending on   LPF/eth0/b6:07:de:26:91:60
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 17
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.
[ ok ] Starting rpcbind daemon....
[   82.010572] random: crng init done
[ 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...
2492 (syslogd)
. ok
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting periodic command scheduler: cron.
[ 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...
2493 (klogd)
. ok

Debian GNU/Linux 8 debian ttyS0

debian login: root
Password:
Last login: Thu Jun 22 23:41:06 PDT 2017 on ttyS0
Linux debian 4.9.0-mvebu-tld-12 #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017 armv7l

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

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian

WD My Cloud EX4100
Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
 00:39:07 up 1 min,  1 user,  load average: 0.00, 0.00, 0.00
root@debian:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: WD My Cloud EX4100
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 524288
[    0.000000] free_area_init_node: node 0, pgdat c0d97f80, node_mem_map eeff8000
[    0.000000]   Normal zone: 1536 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 327680 pages, LIFO batch:31
[    0.000000] percpu: Embedded 15 pages/cpu @eefcd000 s30796 r8192 d22452 u61440
[    0.000000] pcpu-alloc: s30796 r8192 d22452 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line:  console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial mtdparts=armada-nand-0: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)
[    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: 2060316K/2097152K available (8192K kernel code, 690K rwdata, 2052K rodata, 1024K init, 386K bss, 36836K reserved, 0K cma-reserved, 1310720K highmem)
[    0.000000] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0900000   (9184 kB)
      .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
      .data : 0xc0d00000 - 0xc0daca28   ( 691 kB)
       .bss : 0xc0daca28 - 0xc0e0d4f8   ( 387 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000003] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.007881] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019059] Console: colour dummy device 80x30
[    0.023573] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.033976] pid_max: default: 32768 minimum: 301
[    0.038730] Security Framework initialized
[    0.042924] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.049598] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.057099] CPU: Testing write buffer coherency: ok
[    0.062169] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.067908] Setting up static identity map for 0x100000 - 0x100058
[    0.074211] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
[    0.079470] mvebu-pmsu: Initializing Power Management Service Unit
[    0.283910] Booting CPU 1
[    0.286755] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.286803] Brought up 2 CPUs
[    0.295561] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.301881] CPU: All CPU(s) started in SVC mode.
[    0.307111] devtmpfs: initialized
[    0.312433] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.320378] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.330304] prandom: seed boundary self test passed
[    0.336929] prandom: 100 self tests passed
[    0.341089] pinctrl core: initialized pinctrl subsystem
[    0.347007] NET: Registered protocol family 16
[    0.352054] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.393867] cpuidle: using governor ladder
[    0.423864] cpuidle: using governor menu
[    0.427931] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.435999] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.441978] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.450133] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.504817] vgaarb: loaded
[    0.507826] SCSI subsystem initialized
[    0.511778] libata version 3.00 loaded.
[    0.512043] usbcore: registered new interface driver usbfs
[    0.517676] usbcore: registered new interface driver hub
[    0.523108] usbcore: registered new device driver usb
[    0.528431] media: Linux media interface: v0.10
[    0.533067] Linux video capture interface: v2.00
[    0.538570] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.570006] VFS: Disk quotas dquot_6.6.0
[    0.574032] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.587895] NET: Registered protocol family 2
[    0.592711] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.599859] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.606410] TCP: Hash tables configured (established 8192 bind 8192)
[    0.612881] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.618888] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.625397] NET: Registered protocol family 1
[    0.630078] RPC: Registered named UNIX socket transport module.
[    0.636054] RPC: Registered udp transport module.
[    0.640833] RPC: Registered tcp transport module.
[    0.645598] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.652113] PCI: CLS 0 bytes, default 64
[    0.652222] Unpacking initramfs...
[    0.859694] Freeing initrd memory: 6068K (c2900000 - c2eed000)
[    0.865669] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.872470] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.881618] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.887823] audit: initializing netlink subsys (disabled)
[    0.893334] audit: type=2000 audit(0.880:1): initialized
[    0.899121] Initialise system trusted keyrings
[    0.903765] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    0.910344] zbud: loaded
[    0.913409] NFS: Registering the id_resolver key type
[    0.918533] Key type id_resolver registered
[    0.922794] Key type id_legacy registered
[    0.926874] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.933637] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.940184] jffs2: version 2.2. (NAND) (SUMMARY)  \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
[    0.947573] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.954180] orangefs_init: module version upstream loaded
[    0.961456] Key type asymmetric registered
[    0.965618] Asymmetric key parser 'x509' registered
[    0.970594] bounce: pool size: 64 pages
[    0.974566] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.982021] io scheduler noop registered
[    0.986008] io scheduler deadline registered
[    0.990361] io scheduler cfq registered (default)
[    0.995931] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.004357] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    1.011303] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.017625] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.024560] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.030114] pci_bus 0000:00: scanning bus
[    1.030136] pci 0000:00:01.0: [11ab:6828] type 01 class 0x060400
[    1.030163] pci 0000:00:01.0: calling pci_fixup_ide_bases+0x0/0x3c
[    1.030324] pci 0000:00:02.0: [11ab:6828] type 01 class 0x060400
[    1.030343] pci 0000:00:02.0: calling pci_fixup_ide_bases+0x0/0x3c
[    1.030485] pci_bus 0000:00: fixups for bus
[    1.030492] PCI: bus0: Fast back to back transfers disabled
[    1.036124] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 0
[    1.036128] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.044192] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 0
[    1.044196] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.052256] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 1
[    1.052351] pci_bus 0000:01: scanning bus
[    1.052356] pci_bus 0000:01: fixups for bus
[    1.052359] PCI: bus1: Fast back to back transfers enabled
[    1.057902] pci_bus 0000:01: bus scan returning with max=01
[    1.057907] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.057914] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 1
[    1.058002] pci_bus 0000:02: scanning bus
[    1.058007] pci_bus 0000:02: fixups for bus
[    1.058009] PCI: bus2: Fast back to back transfers enabled
[    1.063562] pci_bus 0000:02: bus scan returning with max=02
[    1.063567] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.063572] pci_bus 0000:00: bus scan returning with max=02
[    1.063578] pci 0000:00:01.0: fixup irq: got 0
[    1.063582] pci 0000:00:01.0: assigning IRQ 00
[    1.063586] pci 0000:00:02.0: fixup irq: got 0
[    1.063590] pci 0000:00:02.0: assigning IRQ 00
[    1.063601] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.068640] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.073700] pcieport 0000:00:01.0: enabling bus mastering
[    1.073733] pcieport 0000:00:02.0: enabling bus mastering
[    1.074080] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.138974] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.146574] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.208970] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.259243] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.266906] console [ttyS0] disabled
[    1.290639] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
[    1.299675] console [ttyS0] enabled
[    1.306761] bootconsole [earlycon0] disabled
[    1.316362] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.325469] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.335043] scsi host0: ahci-mvebu
[    1.338766] scsi host1: ahci-mvebu
[    1.342373] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.350341] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.358425] ahci-mvebu f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.367525] ahci-mvebu f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.376901] scsi host2: ahci-mvebu
[    1.380545] scsi host3: ahci-mvebu
[    1.384103] ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x100 irq 43
[    1.392067] ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x180 irq 43
[    1.400495] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.408344] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xdc
[    1.414736] nand: Hynix H27U4G8F2DTR-BC
[    1.418597] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.426202] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.433396] Bad block table found at page 262080, version 0x01
[    1.439588] Bad block table found at page 262016, version 0x01
[    1.445618] nand_read_bbt: bad block at 0x00000dcc0000
[    1.450787] nand_read_bbt: bad block at 0x00000fb00000
[    1.455947] nand_read_bbt: bad block at 0x000012180000
[    1.461114] nand_read_bbt: bad block at 0x0000139a0000
[    1.466274] nand_read_bbt: bad block at 0x000017880000
[    1.471441] nand_read_bbt: bad block at 0x0000178a0000
[    1.476601] nand_read_bbt: bad block at 0x00001a640000
[    1.481768] nand_read_bbt: bad block at 0x00001e9c0000
[    1.486973] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.493100] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.498523] 0x000000000000-0x000000500000 : "U-Boot"
[    1.514192] 0x000000500000-0x000000f00000 : "uImage"
[    1.529820] 0x000000a00000-0x000001900000 : "uRamdisk"
[    1.545611] 0x000000f00000-0x00001d700000 : "image.cfs"
[    1.563079] 0x00001c800000-0x000039f00000 : "rescue_fw"
[    1.568328] mtd: partition "rescue_fw" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x3800000
[    1.589870] 0x00001d700000-0x00003c200000 : "config"
[    1.594857] mtd: partition "config" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x2900000
[    1.616089] 0x00001eb00000-0x00003e000000 : "reserve1"
[    1.621263] mtd: partition "reserve1" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x1500000
[    1.642603] 0x00001f500000-0x00003f400000 : "reserve2"
[    1.647765] mtd: partition "reserve2" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0xb00000
[    1.669565] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.676227] libphy: Fixed MDIO Bus: probed
[    1.680627] libphy: mdio_driver_register: mv88e6085
[    1.685655] libphy: orion_mdio_bus: probed
[    1.689824] ata1: SATA link down (SStatus 0 SControl 300)
[    1.700373] ata2: SATA link down (SStatus 0 SControl 300)
[    1.700513] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.706454] mvneta f1070000.ethernet eth0: Using random mac address b6:07:de:26:91:60
[    1.714320] mvneta f1030000.ethernet eth1: Using random mac address ee:bf:0d:e9:03:86
[    1.714489] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.714502] ehci-pci: EHCI PCI platform driver
[    1.714541] ehci-orion: EHCI orion driver
[    1.714634] orion-ehci f1058000.usb: EHCI Host Controller
[    1.714649] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    1.714704] orion-ehci f1058000.usb: irq 38, io mem 0xf1058000
[    1.730359] ata3: SATA link down (SStatus 0 SControl 300)
[    1.745483] ata4: SATA link down (SStatus 0 SControl 300)
[    1.748581] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    1.748706] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.748710] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.748713] usb usb1: Product: EHCI Host Controller
[    1.748716] usb usb1: Manufacturer: Linux 4.9.0-mvebu-tld-12 ehci_hcd
[    1.748718] usb usb1: SerialNumber: f1058000.usb
[    1.751169] hub 1-0:1.0: USB hub found
[    1.751210] hub 1-0:1.0: 1 port detected
[    1.751664] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.751676] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.751749] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.751773] xhci-hcd f10f0000.usb3: irq 46, io mem 0xf10f0000
[    1.751921] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.751925] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.751927] usb usb2: Product: xHCI Host Controller
[    1.751930] usb usb2: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.751932] usb usb2: SerialNumber: f10f0000.usb3
[    1.758808] hub 2-0:1.0: USB hub found
[    1.758829] hub 2-0:1.0: 1 port detected
[    1.758996] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.759004] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    1.759066] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.759140] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[    1.759144] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.759147] usb usb3: Product: xHCI Host Controller
[    1.759150] usb usb3: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.759152] usb usb3: SerialNumber: f10f0000.usb3
[    1.764803] hub 3-0:1.0: USB hub found
[    1.764821] hub 3-0:1.0: 1 port detected
[    1.765043] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.765054] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    1.765120] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.765143] xhci-hcd f10f8000.usb3: irq 47, io mem 0xf10f8000
[    1.765241] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    1.765245] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.765248] usb usb4: Product: xHCI Host Controller
[    1.765250] usb usb4: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.765253] usb usb4: SerialNumber: f10f8000.usb3
[    1.770302] hub 4-0:1.0: USB hub found
[    1.770350] hub 4-0:1.0: 1 port detected
[    1.770516] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.770524] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    1.770579] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.770648] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003
[    1.770652] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.770655] usb usb5: Product: xHCI Host Controller
[    1.770657] usb usb5: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.770660] usb usb5: SerialNumber: f10f8000.usb3
[    1.775821] hub 5-0:1.0: USB hub found
[    1.775859] hub 5-0:1.0: 1 port detected
[    1.776117] usbcore: registered new interface driver usblp
[    1.776185] usbcore: registered new interface driver usb-storage
[    1.788506] mousedev: PS/2 mouse device common for all mice
[    1.795835] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    1.795981] i2c /dev entries driver
[    1.825154] orion_wdt: Initial timeout 171 sec
[    1.826568] marvell-cesa f1090000.crypto: CESA device successfully registered
[    1.826672] hidraw: raw HID events driver (C) Jiri Kosina
[    1.832838] usbcore: registered new interface driver usbhid
[    1.832840] usbhid: USB HID core driver
[    1.832942] drop_monitor: Initializing network drop monitor service
[    1.832972] Netfilter messages via NETLINK v0.30.
[    1.832982] ip_set: protocol 6
[    1.847145] NET: Registered protocol family 10
[    1.861277] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.862244] NET: Registered protocol family 17
[    1.862383] 8021q: 802.1Q VLAN Support v1.8
[    1.862406] Key type dns_resolver registered
[    1.862490] ThumbEE CPU extension supported.
[    1.862497] Registering SWP/SWPB emulation handler
[    1.881227] registered taskstats version 1
[    1.881230] Loading compiled-in X.509 certificates
[    1.881261] zswap: loaded using pool lzo/zbud
[    1.940353] Key type big_key registered
[    1.957264] Key type encrypted registered
[    1.971589] armada38x-rtc f10a3800.rtc: setting system clock to 2017-06-23 07:37:30 UTC (1498203450)
[    1.971667] PM: Hibernation image not present or could not be loaded.
[    2.018776] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[    2.050106] usb 3-1: New USB device found, idVendor=045b, idProduct=0210
[    2.050111] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.056403] hub 3-1:1.0: USB hub found
[    2.056641] hub 3-1:1.0: 4 ports detected
[    2.188584] usb 2-1: new high-speed USB device number 2 using xhci-hcd
[    2.245621] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000)
[    2.283542] systemd-udevd[1350]: starting version 215
[    2.289532] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.358857] usb 2-1: New USB device found, idVendor=045b, idProduct=0209
[    2.365605] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.380224] hub 2-1:1.0: USB hub found
[    2.387014] hub 2-1:1.0: 4 ports detected
[    2.708586] usb 2-1.3: new high-speed USB device number 3 using xhci-hcd
[    2.839216] usb 2-1.3: New USB device found, idVendor=0781, idProduct=5571
[    2.846123] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.853475] usb 2-1.3: Product: Cruzer Fit
[    2.857589] usb 2-1.3: Manufacturer: SanDisk
[    2.861884] usb 2-1.3: SerialNumber: 4C530302071223122304
[    2.868108] usb-storage 2-1.3:1.0: USB Mass Storage device detected
[    2.874550] scsi host4: usb-storage 2-1.3:1.0
[    2.880471] usbcore: registered new interface driver uas
[    3.939115] scsi 4:0:0:0: Direct-Access     SanDisk  Cruzer Fit       1.00 PQ: 0 ANSI: 6
[    3.958520] sd 4:0:0:0: [sda] 61489152 512-byte logical blocks: (31.5 GB/29.3 GiB)
[    3.966230] sd 4:0:0:0: Attached scsi generic sg0 type 0
[    3.973301] sd 4:0:0:0: [sda] Write Protect is off
[    3.978118] sd 4:0:0:0: [sda] Mode Sense: 43 00 00 00
[    3.978408] sd 4:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    3.990599]  sda: sda1
[    3.994519] sd 4:0:0:0: [sda] Attached SCSI removable disk
[    4.028838] random: fast init done
[   17.633597] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   17.659525] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   18.430402] systemd-udevd[1557]: starting version 215
[   19.116546] EXT4-fs (sda1): re-mounted. Opts: (null)
[   19.234472] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[   20.298972] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   82.010572] random: crng init done
root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00500000 00020000 "U-Boot"
mtd1: 00a00000 00020000 "uImage"
mtd2: 00f00000 00020000 "uRamdisk"
mtd3: 1c800000 00020000 "image.cfs"
mtd4: 03800000 00020000 "rescue_fw"
mtd5: 02900000 00020000 "config"
mtd6: 01500000 00020000 "reserve1"
mtd7: 00b00000 00020000 "reserve2"
root@debian:~#



Edited 1 time(s). Last edit at 06/23/2017 02:44AM by saschadd.
Re: Debian on WD MyCloud EX 4100
June 23, 2017 02:53AM
I saw you had a typo in the bootargs.

This is stock
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)

So
setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial 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)'

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX 4100
June 23, 2017 03:20AM
Okay, another try with
setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial 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)'

pi@raspberrypi:~ $ sudo ./kwboot -f -t -B 115200 /dev/ttyAMA0 -b u-boot-a38x-Yellowstone_2014T30p6_bodhi-tld-3-nand-uart.bin -s 0 -q 1
Sending boot message. Please reboot the target...\▒"▒&T▒▒▒"3DUfw▒"3DUfw▒"3DUf|▒"3DUfw▒"3DUfw
Sending boot image...
  0 % [......................................................................]
  0 % [......................................................................]
  1 % [......................................................................]
 ..
 98 % [......................................................................]
 99 % [..................................................]
[Type Ctrl-\ + c to quit]

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


U-Boot 2013.01_v1.06 (Jun 21 2017 - 17:42:37) Marvell version: 2014_T3.0p6 - bodhi-tld-3

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:0x7ff960b0
       BSS:                     0x7ffef654
       Stack:                   0x7f9cdf20
       Heap:                    0x7f9ce000:0x7fece000
raise: Signal # 8 caught
raise: Signal # 8 caught
raise: Signal # 8 caught
       U-Boot Environment:      0x00000000:0x00080000 Address: 0x00000000(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/0
UBIFS: mounted UBI device 0, volume 0, name "reserve2"
UBIFS: mounted read-only
UBIFS: file system size:   4063232 bytes (3968 KiB, 3 MiB, 32 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  200807 bytes (196 KiB)
Loading file '/mac_addr' to addr 0x02000000 with size 36 (0x00000024)...
Done
lan mac_addr :  00 90 a9 e5 19 1e
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 bootdev usb
Marvell>> setenv device '0:1'
Marvell>> setenv load_initrd_addr 0x2900000
Marvell>> setenv load_image_addr 0x02000000
Marvell>> setenv load_initrd 'echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd'
Marvell>> setenv load_image 'echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage'
Marvell>> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial 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)'
Marvell>> setenv usb_bootcmd 'echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr'
Marvell>> setenv bootcmd_usb 'usb start; run usb_set_bootargs; run usb_bootcmd; reset'
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;
bootcmd_usb=usb start; run usb_set_bootargs; run usb_bootcmd; reset
bootdelay=1
bootdev=usb
cacheShare=no
console=console=ttyS0,115200
device=0:1
device_partition=0:1
disaMvPnp=no
eeeEnable=no
enaClockGating=no
enaCpuStream=no
enaFPU=yes
enaMonExt=no
enaWrAllo=no
eth1addr=00:50:43:7a:46:23
eth1mtu=1500
eth2addr=00:50:43:7a:38:23
eth2mtu=1500
eth3addr=00:50:43:46:38:7a
eth3mtu=1500
ethact=egiga0
ethaddr=00:50:43:38:46:23
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
load_image=echo loading Image ...; ext2load $bootdev $device $load_image_addr /boot/uImage
load_image_addr=0x02000000
load_initrd=echo loading uInitrd ...; ext2load $bootdev $device $load_initrd_addr /boot/uInitrd
load_initrd_addr=0x2900000
loadaddr=0x02000000
loads_echo=0
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),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:23:38:7a
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
usb_bootcmd=echo Booting from USB ...; setenv fdt_skip_update yes; usb start; run load_image; run load_initrd ; run usb_set_bootargs; bootm $load_image_addr $load_initrd_addr
usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial 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)
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81

Environment size: 3988/524284 bytes
Marvell>> run bootcmd_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
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
loading Image ...
3919689 bytes read in 282 ms (13.3 MiB/s)
loading uInitrd ...
6210503 bytes read in 367 ms (16.1 MiB/s)
## Booting image at 02000000 ...
## Booting kernel from Legacy Image at 02000000 ...
   Image Name:   Linux-4.9.0-mvebu-tld-12
   Created:      2017-06-12   5:14:22 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3919625 Bytes = 3.7 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02900000 ...
   Image Name:   initramfs-4.9.0-mvebu-tld-12
   Created:      2017-02-03  23:57:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6210439 Bytes = 5.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: WD My Cloud EX4100
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 15 pages/cpu @eefcd000 s30796 r8192 d22452 u61440
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line:  console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial 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)
[    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: 2060316K/2097152K available (8192K kernel code, 690K rwdata, 2052K rodata, 1024K init, 386K bss, 36836K 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 - 0xc0daca28   ( 691 kB)
[    0.000000]        .bss : 0xc0daca28 - 0xc0e0d4f8   ( 387 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000003] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.007882] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019061] Console: colour dummy device 80x30
[    0.023575] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.033979] pid_max: default: 32768 minimum: 301
[    0.038733] Security Framework initialized
[    0.042927] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.049599] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.057099] CPU: Testing write buffer coherency: ok
[    0.062169] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.067907] Setting up static identity map for 0x100000 - 0x100058
[    0.074211] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
[    0.079470] mvebu-pmsu: Initializing Power Management Service Unit
[    0.283913] Booting CPU 1
[    0.286759] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.286808] Brought up 2 CPUs
[    0.295566] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.301886] CPU: All CPU(s) started in SVC mode.
[    0.307117] devtmpfs: initialized
[    0.312426] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.320375] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.330302] prandom: seed boundary self test passed
[    0.336927] prandom: 100 self tests passed
[    0.341087] pinctrl core: initialized pinctrl subsystem
[    0.347002] NET: Registered protocol family 16
[    0.352051] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.393869] cpuidle: using governor ladder
[    0.423868] cpuidle: using governor menu
[    0.427933] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.436001] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.441981] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.450135] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.504838] vgaarb: loaded
[    0.507848] SCSI subsystem initialized
[    0.512063] usbcore: registered new interface driver usbfs
[    0.517695] usbcore: registered new interface driver hub
[    0.523128] usbcore: registered new device driver usb
[    0.528453] media: Linux media interface: v0.10
[    0.533089] Linux video capture interface: v2.00
[    0.538590] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.570042] VFS: Disk quotas dquot_6.6.0
[    0.574070] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.587908] NET: Registered protocol family 2
[    0.592727] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.599875] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.606426] TCP: Hash tables configured (established 8192 bind 8192)
[    0.612896] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.618905] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.625410] NET: Registered protocol family 1
[    0.630095] RPC: Registered named UNIX socket transport module.
[    0.636071] RPC: Registered udp transport module.
[    0.640852] RPC: Registered tcp transport module.
[    0.645616] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.652243] Unpacking initramfs...
[    0.859407] Freeing initrd memory: 6068K (c2900000 - c2eed000)
[    0.865382] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.872170] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.881315] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.887520] audit: initializing netlink subsys (disabled)
[    0.893032] audit: type=2000 audit(0.880:1): initialized
[    0.898829] Initialise system trusted keyrings
[    0.903461] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    0.910043] zbud: loaded
[    0.913109] NFS: Registering the id_resolver key type
[    0.918226] Key type id_resolver registered
[    0.922489] Key type id_legacy registered
[    0.926568] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.933338] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.939889] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.947281] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.953885] orangefs_init: module version upstream loaded
[    0.961152] Key type asymmetric registered
[    0.965314] Asymmetric key parser 'x509' registered
[    0.970290] bounce: pool size: 64 pages
[    0.974262] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.981717] io scheduler noop registered
[    0.985704] io scheduler deadline registered
[    0.990057] io scheduler cfq registered (default)
[    0.995628] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.004061] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    1.011008] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.017330] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.024265] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.030196] PCI: bus0: Fast back to back transfers disabled
[    1.035832] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.043900] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.052065] PCI: bus1: Fast back to back transfers enabled
[    1.057714] PCI: bus2: Fast back to back transfers enabled
[    1.063307] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.068336] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.073783] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.138997] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.146595] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.208991] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.259696] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.267339] console [ttyS0] disabled
[    1.291067] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
[    1.300098] console [ttyS0] enabled
[    1.300098] console [ttyS0] enabled
[    1.307185] bootconsole [earlycon0] disabled
[    1.307185] bootconsole [earlycon0] disabled
[    1.316773] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.325879] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.335443] scsi host0: ahci-mvebu
[    1.339160] scsi host1: ahci-mvebu
[    1.342763] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.350728] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.358815] ahci-mvebu f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.367903] ahci-mvebu f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.387282] scsi host2: ahci-mvebu
[    1.390937] scsi host3: ahci-mvebu
[    1.394494] ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x100 irq 43
[    1.402459] ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x180 irq 43
[    1.410904] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.418778] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xdc
[    1.425159] nand: Hynix H27U4G8F2DTR-BC
[    1.429036] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.436640] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.443832] Bad block table found at page 262080, version 0x01
[    1.450019] Bad block table found at page 262016, version 0x01
[    1.456047] nand_read_bbt: bad block at 0x00000dcc0000
[    1.461217] nand_read_bbt: bad block at 0x00000fb00000
[    1.466378] nand_read_bbt: bad block at 0x000012180000
[    1.471544] nand_read_bbt: bad block at 0x0000139a0000
[    1.476705] nand_read_bbt: bad block at 0x000017880000
[    1.481869] nand_read_bbt: bad block at 0x0000178a0000
[    1.487030] nand_read_bbt: bad block at 0x00001a640000
[    1.492196] nand_read_bbt: bad block at 0x00001e9c0000
[    1.497401] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.503528] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.508957] 0x000000000000-0x000000500000 : "U-Boot"
[    1.524622] 0x000000500000-0x000000f00000 : "uImage"
[    1.540256] 0x000000a00000-0x000001900000 : "uRamdisk"
[    1.556053] 0x000000f00000-0x00001d700000 : "image.cfs"
[    1.573497] 0x00001c800000-0x000039f00000 : "rescue_fw"
[    1.578758] mtd: partition "rescue_fw" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x3800000
[    1.600296] 0x00001d700000-0x00003c200000 : "config"
[    1.605284] mtd: partition "config" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x2900000
[    1.626519] 0x00001eb00000-0x00003e000000 : "reserve1"
[    1.631703] mtd: partition "reserve1" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x1500000
[    1.653057] 0x00001f500000-0x00003f400000 : "reserve2"
[    1.658231] mtd: partition "reserve2" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0xb00000
[    1.680015] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.686676] libphy: Fixed MDIO Bus: probed
[    1.689850] ata1: SATA link down (SStatus 0 SControl 300)
[    1.696856] libphy: mdio_driver_register: mv88e6085
[    1.699865] ata2: SATA link down (SStatus 0 SControl 300)
[    1.707345] libphy: orion_mdio_bus: probed
[    1.716901] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.726294] mvneta f1070000.ethernet eth0: Using random mac address 22:b4:e2:87:4a:14
[    1.736097] mvneta f1030000.ethernet eth1: Using random mac address 1a:5f:1f:ca:9d:58
[    1.743992] ata3: SATA link down (SStatus 0 SControl 300)
[    1.749626] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.749924] ata4: SATA link down (SStatus 0 SControl 300)
[    1.761624] ehci-pci: EHCI PCI platform driver
[    1.766125] ehci-orion: EHCI orion driver
[    1.770258] orion-ehci f1058000.usb: EHCI Host Controller
[    1.775692] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    1.783356] orion-ehci f1058000.usb: irq 38, io mem 0xf1058000
[    1.818607] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    1.824655] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.831486] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.838746] usb usb1: Product: EHCI Host Controller
[    1.843644] usb usb1: Manufacturer: Linux 4.9.0-mvebu-tld-12 ehci_hcd
[    1.850118] usb usb1: SerialNumber: f1058000.usb
[    1.855087] hub 1-0:1.0: USB hub found
[    1.858879] hub 1-0:1.0: 1 port detected
[    1.863253] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.868610] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.876196] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.884788] xhci-hcd f10f0000.usb3: irq 46, io mem 0xf10f0000
[    1.890661] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.897480] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.904741] usb usb2: Product: xHCI Host Controller
[    1.909646] usb usb2: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.916114] usb usb2: SerialNumber: f10f0000.usb3
[    1.921136] hub 2-0:1.0: USB hub found
[    1.924917] hub 2-0:1.0: 1 port detected
[    1.929024] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.934364] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    1.941937] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.950133] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[    1.956951] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.964211] usb usb3: Product: xHCI Host Controller
[    1.969241] usb usb3: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.975709] usb usb3: SerialNumber: f10f0000.usb3
[    1.980719] hub 3-0:1.0: USB hub found
[    1.984499] hub 3-0:1.0: 1 port detected
[    1.988666] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.994011] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    2.001592] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    2.010190] xhci-hcd f10f8000.usb3: irq 47, io mem 0xf10f8000
[    2.016036] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    2.022862] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.030123] usb usb4: Product: xHCI Host Controller
[    2.035020] usb usb4: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    2.041532] usb usb4: SerialNumber: f10f8000.usb3
[    2.046532] hub 4-0:1.0: USB hub found
[    2.050326] hub 4-0:1.0: 1 port detected
[    2.054422] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    2.059773] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    2.067331] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.075520] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003
[    2.082349] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.089719] usb usb5: Product: xHCI Host Controller
[    2.094618] usb usb5: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    2.101101] usb usb5: SerialNumber: f10f8000.usb3
[    2.106108] hub 5-0:1.0: USB hub found
[    2.109900] hub 5-0:1.0: 1 port detected
[    2.114094] usbcore: registered new interface driver usblp
[    2.119683] usbcore: registered new interface driver usb-storage
[    2.125888] mousedev: PS/2 mouse device common for all mice
[    2.131846] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    2.139522] i2c /dev entries driver
[    2.154315] orion_wdt: Initial timeout 171 sec
[    2.159955] marvell-cesa f1090000.crypto: CESA device successfully registered
[    2.167225] hidraw: raw HID events driver (C) Jiri Kosina
[    2.172853] usbcore: registered new interface driver usbhid
[    2.178449] usbhid: USB HID core driver
[    2.182429] drop_monitor: Initializing network drop monitor service
[    2.188763] Netfilter messages via NETLINK v0.30.
[    2.193497] ip_set: protocol 6
[    2.196730] NET: Registered protocol family 10
[    2.201919] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.208577] NET: Registered protocol family 17
[    2.213176] 8021q: 802.1Q VLAN Support v1.8
[    2.217398] Key type dns_resolver registered
[    2.221893] ThumbEE CPU extension supported.
[    2.226186] Registering SWP/SWPB emulation handler
[    2.231353] registered taskstats version 1
[    2.235467] Loading compiled-in X.509 certificates
[    2.240321] zswap: loaded using pool lzo/zbud
[    2.286546] Key type big_key registered
[    2.290434] usb 2-1: new high-speed USB device number 2 using xhci-hcd
[    2.300421] Key type encrypted registered
[    2.305376] armada38x-rtc f10a3800.rtc: setting system clock to 2017-06-23 08:14:30 UTC (1498205670)
[    2.315556] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000)
Loading, please wait...
[    2.354084] systemd-udevd[1348]: starting version 215
[    2.360136] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.458873] usb 2-1: New USB device found, idVendor=045b, idProduct=0209
[    2.465616] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.480684] hub 2-1:1.0: USB hub found
[    2.487347] hub 2-1:1.0: 4 ports detected
[    2.599061] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[    2.630135] usb 3-1: New USB device found, idVendor=045b, idProduct=0210
[    2.636868] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.644616] hub 3-1:1.0: USB hub found
[    2.648633] hub 3-1:1.0: 4 ports detected
[    2.818607] usb 2-1.3: new high-speed USB device number 3 using xhci-hcd
[    2.949243] usb 2-1.3: New USB device found, idVendor=0781, idProduct=5571
[    2.956149] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.963502] usb 2-1.3: Product: Cruzer Fit
[    2.967616] usb 2-1.3: Manufacturer: SanDisk
[    2.971911] usb 2-1.3: SerialNumber: 4C530302071223122304
[    2.978132] usb-storage 2-1.3:1.0: USB Mass Storage device detected
[    2.984576] scsi host4: usb-storage 2-1.3:1.0
[    2.990501] usbcore: registered new interface driver uas
[    4.009126] scsi 4:0:0:0: Direct-Access     SanDisk  Cruzer Fit       1.00 PQ: 0 ANSI: 6
[    4.019488] sd 4:0:0:0: Attached scsi generic sg0 type 0
[    4.026439] sd 4:0:0:0: [sda] 61489152 512-byte logical blocks: (31.5 GB/29.3 GiB)
[    4.034866] sd 4:0:0:0: [sda] Write Protect is off
[    4.039990] sd 4:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    4.052169]  sda: sda1
[    4.056093] sd 4:0:0:0: [sda] Attached SCSI removable disk
[    4.070792] random: fast init done
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
modprobe: module ext3 not found in modules.dep
Begin: Will now check root file system ... fsck from util-linux 2.25.2
fsck: error 2 (No such file or directory) while executing fsck.ext3 for /dev/sda1
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[   17.763664] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   17.772725] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[   17.779645] EXT4-fs (sda1): write access will be enabled during recovery
[   17.818436] EXT4-fs (sda1): recovery complete
[   17.828576] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd[   18.583785] systemd-udevd[1555]: starting version 215
. ok
[ ok ] Synthesizing the initial hotplug events...done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Activating swap...done.
[   19.325883] EXT4-fs (sda1): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.25.2
rootfs: clean, 34218/1925120 files, 631630/7685888 blocks
done.
[   19.442393] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.25.2
done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[   20.508999] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/22:b4:e2:87:4a:14
Sending on   LPF/eth0/22:b4:e2:87:4a:14
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 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 17
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 18
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.
[ ok ] Starting rpcbind daemon....
[   82.271118] random: crng init done
[ 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...
2500 (syslogd)
. ok
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting periodic command scheduler: cron.
[ 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...
2501 (klogd)
. ok

Debian GNU/Linux 8 debian ttyS0

debian login: root
Password:
Last login: Fri Jun 23 00:39:07 PDT 2017 on ttyS0
Linux debian 4.9.0-mvebu-tld-12 #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017 armv7l

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

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian

WD My Cloud EX4100
Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
 01:15:57 up 1 min,  1 user,  load average: 0.02, 0.01, 0.00
root@debian:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.0-mvebu-tld-12 (root@tldDebianVM) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.4) ) #2 SMP PREEMPT Wed Feb 1 02:31:29 PST 2017
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: WD My Cloud EX4100
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 524288
[    0.000000] free_area_init_node: node 0, pgdat c0d97f80, node_mem_map eeff8000
[    0.000000]   Normal zone: 1536 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 327680 pages, LIFO batch:31
[    0.000000] percpu: Embedded 15 pages/cpu @eefcd000 s30796 r8192 d22452 u61440
[    0.000000] pcpu-alloc: s30796 r8192 d22452 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522752
[    0.000000] Kernel command line:  console=ttyS0,115200 root=/dev/sda1 rootdelay=10 earlyprintk=serial 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)
[    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: 2060316K/2097152K available (8192K kernel code, 690K rwdata, 2052K rodata, 1024K init, 386K bss, 36836K reserved, 0K cma-reserved, 1310720K highmem)
[    0.000000] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0900000   (9184 kB)
      .init : 0xc0c00000 - 0xc0d00000   (1024 kB)
      .data : 0xc0d00000 - 0xc0daca28   ( 691 kB)
       .bss : 0xc0daca28 - 0xc0e0d4f8   ( 387 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] mvebu_mbus: [Firmware Warn]: deprecated mbus-mvebu Device Tree, suspend/resume will not work
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] Switching to timer-based delay loop, resolution 40ns
[    0.000003] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 85899345900ns
[    0.007882] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.019061] Console: colour dummy device 80x30
[    0.023575] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[    0.033979] pid_max: default: 32768 minimum: 301
[    0.038733] Security Framework initialized
[    0.042927] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.049599] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.057099] CPU: Testing write buffer coherency: ok
[    0.062169] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.067907] Setting up static identity map for 0x100000 - 0x100058
[    0.074211] mvebu-soc-id: MVEBU SoC ID=0x6828, Rev=0x4
[    0.079470] mvebu-pmsu: Initializing Power Management Service Unit
[    0.283913] Booting CPU 1
[    0.286759] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.286808] Brought up 2 CPUs
[    0.295566] SMP: Total of 2 processors activated (100.00 BogoMIPS).
[    0.301886] CPU: All CPU(s) started in SVC mode.
[    0.307117] devtmpfs: initialized
[    0.312426] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.320375] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.330302] prandom: seed boundary self test passed
[    0.336927] prandom: 100 self tests passed
[    0.341087] pinctrl core: initialized pinctrl subsystem
[    0.347002] NET: Registered protocol family 16
[    0.352051] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.393869] cpuidle: using governor ladder
[    0.423868] cpuidle: using governor menu
[    0.427933] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.436001] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.441981] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.450135] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.504838] vgaarb: loaded
[    0.507848] SCSI subsystem initialized
[    0.511798] libata version 3.00 loaded.
[    0.512063] usbcore: registered new interface driver usbfs
[    0.517695] usbcore: registered new interface driver hub
[    0.523128] usbcore: registered new device driver usb
[    0.528453] media: Linux media interface: v0.10
[    0.533089] Linux video capture interface: v2.00
[    0.538590] clocksource: Switched to clocksource armada_370_xp_clocksource
[    0.570042] VFS: Disk quotas dquot_6.6.0
[    0.574070] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.587908] NET: Registered protocol family 2
[    0.592727] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.599875] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.606426] TCP: Hash tables configured (established 8192 bind 8192)
[    0.612896] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.618905] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.625410] NET: Registered protocol family 1
[    0.630095] RPC: Registered named UNIX socket transport module.
[    0.636071] RPC: Registered udp transport module.
[    0.640852] RPC: Registered tcp transport module.
[    0.645616] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.652133] PCI: CLS 0 bytes, default 64
[    0.652243] Unpacking initramfs...
[    0.859407] Freeing initrd memory: 6068K (c2900000 - c2eed000)
[    0.865382] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.872170] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.881315] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.887520] audit: initializing netlink subsys (disabled)
[    0.893032] audit: type=2000 audit(0.880:1): initialized
[    0.898829] Initialise system trusted keyrings
[    0.903461] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    0.910043] zbud: loaded
[    0.913109] NFS: Registering the id_resolver key type
[    0.918226] Key type id_resolver registered
[    0.922489] Key type id_legacy registered
[    0.926568] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.933338] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.939889] jffs2: version 2.2. (NAND) (SUMMARY)  \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
[    0.947281] orangefs_debugfs_init: called with debug mask: :none: :0:
[    0.953885] orangefs_init: module version upstream loaded
[    0.961152] Key type asymmetric registered
[    0.965314] Asymmetric key parser 'x509' registered
[    0.970290] bounce: pool size: 64 pages
[    0.974262] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.981717] io scheduler noop registered
[    0.985704] io scheduler deadline registered
[    0.990057] io scheduler cfq registered (default)
[    0.995628] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.004061] mvebu-pcie soc:pcie-controller: PCI host bridge to bus 0000:00
[    1.011008] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    1.017330] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xe7ffffff]
[    1.024265] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.029819] pci_bus 0000:00: scanning bus
[    1.029840] pci 0000:00:01.0: [11ab:6828] type 01 class 0x060400
[    1.029867] pci 0000:00:01.0: calling pci_fixup_ide_bases+0x0/0x3c
[    1.030028] pci 0000:00:02.0: [11ab:6828] type 01 class 0x060400
[    1.030047] pci 0000:00:02.0: calling pci_fixup_ide_bases+0x0/0x3c
[    1.030189] pci_bus 0000:00: fixups for bus
[    1.030196] PCI: bus0: Fast back to back transfers disabled
[    1.035828] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 0
[    1.035832] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.043896] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 0
[    1.043900] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.051960] pci 0000:00:01.0: scanning [bus 00-00] behind bridge, pass 1
[    1.052057] pci_bus 0000:01: scanning bus
[    1.052062] pci_bus 0000:01: fixups for bus
[    1.052065] PCI: bus1: Fast back to back transfers enabled
[    1.057608] pci_bus 0000:01: bus scan returning with max=01
[    1.057613] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.057619] pci 0000:00:02.0: scanning [bus 00-00] behind bridge, pass 1
[    1.057707] pci_bus 0000:02: scanning bus
[    1.057712] pci_bus 0000:02: fixups for bus
[    1.057714] PCI: bus2: Fast back to back transfers enabled
[    1.063267] pci_bus 0000:02: bus scan returning with max=02
[    1.063272] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.063277] pci_bus 0000:00: bus scan returning with max=02
[    1.063283] pci 0000:00:01.0: fixup irq: got 0
[    1.063287] pci 0000:00:01.0: assigning IRQ 00
[    1.063292] pci 0000:00:02.0: fixup irq: got 0
[    1.063295] pci 0000:00:02.0: assigning IRQ 00
[    1.063307] pci 0000:00:01.0: PCI bridge to [bus 01]
[    1.068336] pci 0000:00:02.0: PCI bridge to [bus 02]
[    1.073405] pcieport 0000:00:01.0: enabling bus mastering
[    1.073439] pcieport 0000:00:02.0: enabling bus mastering
[    1.073783] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.138997] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.146595] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.208991] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.259696] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.267339] console [ttyS0] disabled
[    1.291067] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 22, base_baud = 12500000) is a 16550A
[    1.300098] console [ttyS0] enabled
[    1.307185] bootconsole [earlycon0] disabled
[    1.316773] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.325879] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.335443] scsi host0: ahci-mvebu
[    1.339160] scsi host1: ahci-mvebu
[    1.342763] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 42
[    1.350728] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 42
[    1.358815] ahci-mvebu f10e0000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    1.367903] ahci-mvebu f10e0000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs
[    1.387282] scsi host2: ahci-mvebu
[    1.390937] scsi host3: ahci-mvebu
[    1.394494] ata3: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x100 irq 43
[    1.402459] ata4: SATA max UDMA/133 mmio [mem 0xf10e0000-0xf10e1fff] port 0x180 irq 43
[    1.410904] pxa3xx-nand f10d0000.flash: This platform can't do DMA on this device
[    1.418778] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xdc
[    1.425159] nand: Hynix H27U4G8F2DTR-BC
[    1.429036] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.436640] pxa3xx-nand f10d0000.flash: ECC strength 16, ECC step size 2048
[    1.443832] Bad block table found at page 262080, version 0x01
[    1.450019] Bad block table found at page 262016, version 0x01
[    1.456047] nand_read_bbt: bad block at 0x00000dcc0000
[    1.461217] nand_read_bbt: bad block at 0x00000fb00000
[    1.466378] nand_read_bbt: bad block at 0x000012180000
[    1.471544] nand_read_bbt: bad block at 0x0000139a0000
[    1.476705] nand_read_bbt: bad block at 0x000017880000
[    1.481869] nand_read_bbt: bad block at 0x0000178a0000
[    1.487030] nand_read_bbt: bad block at 0x00001a640000
[    1.492196] nand_read_bbt: bad block at 0x00001e9c0000
[    1.497401] 8 ofpart partitions found on MTD device pxa3xx_nand-0
[    1.503528] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    1.508957] 0x000000000000-0x000000500000 : "U-Boot"
[    1.524622] 0x000000500000-0x000000f00000 : "uImage"
[    1.540256] 0x000000a00000-0x000001900000 : "uRamdisk"
[    1.556053] 0x000000f00000-0x00001d700000 : "image.cfs"
[    1.573497] 0x00001c800000-0x000039f00000 : "rescue_fw"
[    1.578758] mtd: partition "rescue_fw" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x3800000
[    1.600296] 0x00001d700000-0x00003c200000 : "config"
[    1.605284] mtd: partition "config" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x2900000
[    1.626519] 0x00001eb00000-0x00003e000000 : "reserve1"
[    1.631703] mtd: partition "reserve1" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0x1500000
[    1.653057] 0x00001f500000-0x00003f400000 : "reserve2"
[    1.658231] mtd: partition "reserve2" extends beyond the end of device "pxa3xx_nand-0" -- size truncated to 0xb00000
[    1.680015] m25p80 spi0.0: unrecognized JEDEC id bytes: ff, ff, ff
[    1.686676] libphy: Fixed MDIO Bus: probed
[    1.689850] ata1: SATA link down (SStatus 0 SControl 300)
[    1.696856] libphy: mdio_driver_register: mv88e6085
[    1.699865] ata2: SATA link down (SStatus 0 SControl 300)
[    1.707345] libphy: orion_mdio_bus: probed
[    1.716901] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    1.726294] mvneta f1070000.ethernet eth0: Using random mac address 22:b4:e2:87:4a:14
[    1.736097] mvneta f1030000.ethernet eth1: Using random mac address 1a:5f:1f:ca:9d:58
[    1.743992] ata3: SATA link down (SStatus 0 SControl 300)
[    1.749626] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.749924] ata4: SATA link down (SStatus 0 SControl 300)
[    1.761624] ehci-pci: EHCI PCI platform driver
[    1.766125] ehci-orion: EHCI orion driver
[    1.770258] orion-ehci f1058000.usb: EHCI Host Controller
[    1.775692] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    1.783356] orion-ehci f1058000.usb: irq 38, io mem 0xf1058000
[    1.818607] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    1.824655] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.831486] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.838746] usb usb1: Product: EHCI Host Controller
[    1.843644] usb usb1: Manufacturer: Linux 4.9.0-mvebu-tld-12 ehci_hcd
[    1.850118] usb usb1: SerialNumber: f1058000.usb
[    1.855087] hub 1-0:1.0: USB hub found
[    1.858879] hub 1-0:1.0: 1 port detected
[    1.863253] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.868610] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    1.876196] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    1.884788] xhci-hcd f10f0000.usb3: irq 46, io mem 0xf10f0000
[    1.890661] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.897480] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.904741] usb usb2: Product: xHCI Host Controller
[    1.909646] usb usb2: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.916114] usb usb2: SerialNumber: f10f0000.usb3
[    1.921136] hub 2-0:1.0: USB hub found
[    1.924917] hub 2-0:1.0: 1 port detected
[    1.929024] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    1.934364] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    1.941937] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    1.950133] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[    1.956951] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.964211] usb usb3: Product: xHCI Host Controller
[    1.969241] usb usb3: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    1.975709] usb usb3: SerialNumber: f10f0000.usb3
[    1.980719] hub 3-0:1.0: USB hub found
[    1.984499] hub 3-0:1.0: 1 port detected
[    1.988666] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    1.994011] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    2.001592] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x00010010
[    2.010190] xhci-hcd f10f8000.usb3: irq 47, io mem 0xf10f8000
[    2.016036] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    2.022862] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.030123] usb usb4: Product: xHCI Host Controller
[    2.035020] usb usb4: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    2.041532] usb usb4: SerialNumber: f10f8000.usb3
[    2.046532] hub 4-0:1.0: USB hub found
[    2.050326] hub 4-0:1.0: 1 port detected
[    2.054422] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    2.059773] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    2.067331] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.075520] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003
[    2.082349] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.089719] usb usb5: Product: xHCI Host Controller
[    2.094618] usb usb5: Manufacturer: Linux 4.9.0-mvebu-tld-12 xhci-hcd
[    2.101101] usb usb5: SerialNumber: f10f8000.usb3
[    2.106108] hub 5-0:1.0: USB hub found
[    2.109900] hub 5-0:1.0: 1 port detected
[    2.114094] usbcore: registered new interface driver usblp
[    2.119683] usbcore: registered new interface driver usb-storage
[    2.125888] mousedev: PS/2 mouse device common for all mice
[    2.131846] armada38x-rtc f10a3800.rtc: rtc core: registered f10a3800.rtc as rtc0
[    2.139522] i2c /dev entries driver
[    2.154315] orion_wdt: Initial timeout 171 sec
[    2.159955] marvell-cesa f1090000.crypto: CESA device successfully registered
[    2.167225] hidraw: raw HID events driver (C) Jiri Kosina
[    2.172853] usbcore: registered new interface driver usbhid
[    2.178449] usbhid: USB HID core driver
[    2.182429] drop_monitor: Initializing network drop monitor service
[    2.188763] Netfilter messages via NETLINK v0.30.
[    2.193497] ip_set: protocol 6
[    2.196730] NET: Registered protocol family 10
[    2.201919] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.208577] NET: Registered protocol family 17
[    2.213176] 8021q: 802.1Q VLAN Support v1.8
[    2.217398] Key type dns_resolver registered
[    2.221893] ThumbEE CPU extension supported.
[    2.226186] Registering SWP/SWPB emulation handler
[    2.231353] registered taskstats version 1
[    2.235467] Loading compiled-in X.509 certificates
[    2.240321] zswap: loaded using pool lzo/zbud
[    2.286546] Key type big_key registered
[    2.290434] usb 2-1: new high-speed USB device number 2 using xhci-hcd
[    2.300421] Key type encrypted registered
[    2.305376] armada38x-rtc f10a3800.rtc: setting system clock to 2017-06-23 08:14:30 UTC (1498205670)
[    2.314641] PM: Hibernation image not present or could not be loaded.
[    2.315556] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000)
[    2.354084] systemd-udevd[1348]: starting version 215
[    2.360136] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[    2.458873] usb 2-1: New USB device found, idVendor=045b, idProduct=0209
[    2.465616] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.480684] hub 2-1:1.0: USB hub found
[    2.487347] hub 2-1:1.0: 4 ports detected
[    2.599061] usb 3-1: new SuperSpeed USB device number 2 using xhci-hcd
[    2.630135] usb 3-1: New USB device found, idVendor=045b, idProduct=0210
[    2.636868] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.644616] hub 3-1:1.0: USB hub found
[    2.648633] hub 3-1:1.0: 4 ports detected
[    2.818607] usb 2-1.3: new high-speed USB device number 3 using xhci-hcd
[    2.949243] usb 2-1.3: New USB device found, idVendor=0781, idProduct=5571
[    2.956149] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.963502] usb 2-1.3: Product: Cruzer Fit
[    2.967616] usb 2-1.3: Manufacturer: SanDisk
[    2.971911] usb 2-1.3: SerialNumber: 4C530302071223122304
[    2.978132] usb-storage 2-1.3:1.0: USB Mass Storage device detected
[    2.984576] scsi host4: usb-storage 2-1.3:1.0
[    2.990501] usbcore: registered new interface driver uas
[    4.009126] scsi 4:0:0:0: Direct-Access     SanDisk  Cruzer Fit       1.00 PQ: 0 ANSI: 6
[    4.019488] sd 4:0:0:0: Attached scsi generic sg0 type 0
[    4.026439] sd 4:0:0:0: [sda] 61489152 512-byte logical blocks: (31.5 GB/29.3 GiB)
[    4.034866] sd 4:0:0:0: [sda] Write Protect is off
[    4.039708] sd 4:0:0:0: [sda] Mode Sense: 43 00 00 00
[    4.039990] sd 4:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    4.052169]  sda: sda1
[    4.056093] sd 4:0:0:0: [sda] Attached SCSI removable disk
[    4.070792] random: fast init done
[   17.763664] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem
[   17.772725] EXT4-fs (sda1): INFO: recovery required on readonly filesystem
[   17.779645] EXT4-fs (sda1): write access will be enabled during recovery
[   17.818436] EXT4-fs (sda1): recovery complete
[   17.828576] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[   18.583785] systemd-udevd[1555]: starting version 215
[   19.325883] EXT4-fs (sda1): re-mounted. Opts: (null)
[   19.442393] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[   20.508999] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   82.271118] random: crng init done
root@debian:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00500000 00020000 "U-Boot"
mtd1: 00a00000 00020000 "uImage"
mtd2: 00f00000 00020000 "uRamdisk"
mtd3: 1c800000 00020000 "image.cfs"
mtd4: 03800000 00020000 "rescue_fw"
mtd5: 02900000 00020000 "config"
mtd6: 01500000 00020000 "reserve1"
mtd7: 00b00000 00020000 "reserve2"
root@debian:~#
Re: Debian on WD MyCloud EX 4100
June 23, 2017 04:08AM
I think I know the reason. Very possible that the envs were never flashed to NAND! That's why we found nothing.

So the mtdparts definition is just wrong. Very likely the one from hmartin EX2100 mtdparts is the correct one. So if we look at the EX2100 GPL it might show that the env address is 0x100000.

We can just build a patch u-boot that uses 0x100000 location and use that.

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



Edited 3 time(s). Last edit at 06/23/2017 04:25AM by bodhi.
Re: Debian on WD MyCloud EX 4100
June 23, 2017 04:34AM
saschadd,

Did you see this corruption occur while the uImage was loaded? could you post that snipet of log?

bodhi, 

just trying to boot to stock but it says it is corrupted. 
I think it is because of the test=1 env we saved. 
How can i delete this env or do i have to import the backup? 

EDIT: i am pretty sure that i am on the latest Firmware Version 2.30.165 because i update regularly. but need to boot to stock to verify.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on WD MyCloud EX 4100
June 23, 2017 08:37AM
Quote
bodhi
I think I know the reason. Very possible that the envs were never flashed to NAND! That's why we found nothing.

Interesting. It's possible, but that would limit WD pretty severely in being able to update the bootcmd if they ever needed to do that for a firmware update.

Another thought occurred to me: The EX2100 is different in some ways to the EX4100, but at least it seems on the EX2100 that u-boot envs are saved to NAND. Is it possible the EX4100 has extra NOR flash and it's saving u-boot envs to SPI flash?
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: