Welcome! Log In Create A New Profile

Advanced

Debian Stretch on Sata disk in WD MyCloud EX2 Ultra

Posted by LinAdmin 
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 07, 2022 06:55AM
Now I am getting

pi@raspi:~ $ ~$  kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-GrandTeton_2014T3_PQ-nand-uart.bin -p
Sending boot message. Please reboot the target.../
Sending boot image...
  0 % [+++++++++++++++++xmodem: Bad message
pi@raspi:~ $

Ok, that is because I changed the rasp2 and I am using another board... the kwboot is different

pi@raspi:~ $ ~$ file /usr/bin/kwboot 
/usr/bin/kwboot: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=9f3bde37cc600a1fdf426d37ec0559eef73617b3, for GNU/Linux 3.7.0, stripped



Edited 2 time(s). Last edit at 12/07/2022 03:49PM by i5Js.
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 07, 2022 08:33AM
"yisus craist" at least!! with a VM, first attempt and booooom! worked:

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

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


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

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

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

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

Let me write a few envs for you to try.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 07, 2022 04:04PM
Cool! Waiting for them
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 07, 2022 04:26PM
Recap.

Stock bootcmd:
bootcmd=nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000

Current envs to boot Debian:
setenv mtdparts 'mtdparts=pxa3xx_nand-0:5m(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)'
setenv bootargs "console=ttyS0,115200 root=/dev/sda2 $mtdparts earlyprintk=serial"
setenv ipaddr 192.168.1.110; setenv serverip 192.168.1.23; tftp 0x00800000 boot.b/uImagek5 ; tftp 0x02100000 boot.b/uRamdiskk5
bootm 0x00800000 0x02100000

=======

So now, we want to try saving the envs, especially the bootcmd. But first, test boot these envs ot make they work first.

setenv mtdparts 'mtdparts=pxa3xx_nand-0:5m(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)'

setenv set_bootargs_debian "setenv bootargs console=ttyS0,115200 root=/dev/sda2 $mtdparts earlyprintk=serial"

setenv boot_debian_tftp "setenv ipaddr 192.168.1.110; setenv serverip 192.168.1.23; tftp 0x00800000 boot.b/uImagek5 ; tftp 0x02100000 boot.b/uRamdiskk5; bootm 0x00800000 0x02100000"

setenv bootcmd_stock "nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000"

setenv bootcmd "run set_bootargs_debian; run boot_debian_tftp; reset"

And then boot. I expect the tftp boot will be working like before.

boot

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 12/07/2022 09:01PM by bodhi.
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 08, 2022 03:06AM
I have had to add usb start, otherwise, it didn't detect the USB during the boot, perhaps the USB is not good enough?:

Begin: Running /scripts/local-premount ... done.
Begin: Waiting for root file system ... [    5.699552][   T23] scsi 2:0:0:0: Direct-Access     GENERIC  USB Mass Storage 1.00 PQ: 0 ANSI: 0 CCS
[    5.712502][  T622] sd 2:0:0:0: [sda] Attached SCSI removable disk
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
[   30.659284][    C0] random: fast init done
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for root file system device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/sda2 does not exist.  Dropping to a shell!

The new attempt with usb start, worked flawless

Marvell>> setenv mtdparts 'mtdparts=pxa3xx_nand-0:5m(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)'
Marvell>> setenv mtdparts 'mtdparts=pxa3xx_nand-0:5m(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)'
Marvell>> setenv set_bootargs_debian "setenv bootargs console=ttyS0,115200 root=/dev/sda2 $mtdparts earlyprintk=serial"
Marvell>> setenv boot_debian_tftp "setenv ipaddr 192.168.1.110; setenv serverip 192.168.1.147;tftp 0x00800000 boot.b/uImageK5 ; tftp 0x02100000 boot.b/uRamdiskK5; bootm 0x00800000 0x02100000"
Marvell>> setenv bootcmd_stock "nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000"
Marvell>> setenv bootcmd "run set_bootargs_debian; run boot_debian_tftp; reset"
Marvell>> usb start
(Re)start USB...
USB0:   Port (usbActive) : 1    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
Marvell>> boot
Using egiga2 device
TFTP from server 192.168.1.147; our IP address is 192.168.1.110
Filename 'boot.b/uImageK5'.
Load address: 0x800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ################################
         6.2 MiB/s
done
Bytes transferred = 5236595 (4fe773 hex)
Using egiga2 device
TFTP from server 192.168.1.147; our IP address is 192.168.1.110
Filename 'boot.b/uRamdiskK5'.
Load address: 0x2100000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ########
         5.8 MiB/s
done
Bytes transferred = 9649885 (933edd hex)
## Booting image at 00800000 ...
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.8-mvebu-tld-1
   Created:      2022-12-04  18:15:34 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5236531 Bytes = 5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02100000 ...
   Image Name:   initramfs-5.13.8-mvebu-tld-1
   Created:      2021-09-24   7:54:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9649821 Bytes = 9.2 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][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.8-mvebu-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 SMP PREEMPT Sat Aug 7 14:58:41 PDT 2021
[    0.000000][    T0] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000][    T0] OF: fdt: Machine model: WD MyCloud Ex2 Ultra
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000][    T0]   HighMem  [mem 0x0000000030000000-0x000000003fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000][    T0] percpu: Embedded 21 pages/cpu s54668 r8192 d23156 u86016
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 260608
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=/dev/sda2 mtdparts=pxa3xx_nand-0:5m(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2) earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 1011704K/1048576K available (11264K kernel code, 1483K rwdata, 3112K rodata, 1024K init, 325K bss, 36872K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x404/0x78c with crng_init=0
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x06070000 -> 0x16070000
[    0.000000][    T0] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000][    T0] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000][    T0] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000][    T0] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000][    T0] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000][    T0] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000001][    T0] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns
[    0.008682][    T0] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns
[    0.020390][    T0] Switching to timer-based delay loop, resolution 1ns
[    0.027191][    T0] Ignoring duplicate/late registration of read_current_timer delay
[    0.034908][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.047018][    T0] Console: colour dummy device 80x30
[    0.052164][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000)
[    0.063436][    T0] pid_max: default: 32768 minimum: 301
[    0.068858][    T0] LSM: Security Framework initializing
[    0.074202][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.082187][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.091190][    T0] CPU: Testing write buffer coherency: ok
[    0.096759][    T0] CPU0: Spectre v2: using BPIALL workaround
[    0.102624][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.109436][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.116382][    T1] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.122331][    T1] mvebu-pmsu: Initializing Power Management Service Unit
[    0.129289][    T1] rcu: Hierarchical SRCU implementation.
[    0.135296][    T1] smp: Bringing up secondary CPUs ...
[    0.140920][    T1] Booting CPU 1
[    0.144377][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.144387][    T0] CPU1: Spectre v2: using BPIALL workaround
[    0.156532][    T1] smp: Brought up 1 node, 2 CPUs
[    0.161333][    T1] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.168367][    T1] CPU: All CPU(s) started in SVC mode.
[    0.174038][    T1] devtmpfs: initialized
[    0.180845][    T1] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.189363][   T24] wait_for_initramfs() called before rootfs_initcalls
[    0.189507][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.206483][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.236304][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.243441][    T1] prandom: seed boundary self test passed
[    0.250560][    T1] prandom: 100 self tests passed
[    0.255345][    T1] pinctrl core: initialized pinctrl subsystem
[    0.262413][    T1] NET: Registered protocol family 16
[    0.268284][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.276415][    T1] audit: initializing netlink subsys (disabled)
[    0.282621][   T36] audit: type=2000 audit(0.250:1): state=initialized audit_enabled=0 res=1
[    0.283811][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.291333][    T1] cpuidle: using governor ladder
[    0.302816][    T1] cpuidle: using governor menu
[    0.307578][    T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.316248][    T1] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.322904][    T1] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.331687][    T1] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.547084][    T1] raid6: int32x8  gen()   243 MB/s
[    0.717040][    T1] raid6: int32x8  xor()   168 MB/s
[    0.887092][    T1] raid6: int32x4  gen()   280 MB/s
[    1.057109][    T1] raid6: int32x4  xor()   176 MB/s
[    1.227080][    T1] raid6: int32x2  gen()   447 MB/s
[    1.397043][    T1] raid6: int32x2  xor()   258 MB/s
[    1.567058][    T1] raid6: int32x1  gen()   498 MB/s
[    1.737073][    T1] raid6: int32x1  xor()   195 MB/s
[    1.742020][    T1] raid6: using algorithm int32x1 gen() 498 MB/s
[    1.748098][    T1] raid6: .... xor() 195 MB/s, rmw enabled
[    1.753649][    T1] raid6: using intx1 recovery algorithm
[    1.759807][    T1] vgaarb: loaded
[    1.763519][    T1] SCSI subsystem initialized
[    1.768290][    T1] usbcore: registered new interface driver usbfs
[    1.774491][    T1] usbcore: registered new interface driver hub
[    1.780527][    T1] usbcore: registered new device driver usb
[    1.786468][    T1] mc: Linux media interface: v0.10
[    1.791467][    T1] videodev: Linux video capture interface: v2.00
[    1.797720][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.803359][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.813174][    T1] PTP clock support registered
[    1.819106][    T1] clocksource: Switched to clocksource arm_global_timer
[    1.853437][    T1] VFS: Disk quotas dquot_6.6.0
[    1.858113][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.873546][    T1] NET: Registered protocol family 2
[    1.878698][    T1] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.892586][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.901749][    T1] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.910247][    T1] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.918123][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    1.925542][    T1] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.933699][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.941018][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.948869][    T1] NET: Registered protocol family 1
[    1.954317][    T1] RPC: Registered named UNIX socket transport module.
[    1.960966][    T1] RPC: Registered udp transport module.
[    1.966346][    T1] RPC: Registered tcp transport module.
[    1.971750][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.978862][    T1] PCI: CLS 0 bytes, default 64
[    1.983736][  T535] Trying to unpack rootfs image as initramfs...
[    1.989873][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    2.009263][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    2.396746][  T535] Freeing initrd memory: 9424K
[    2.625359][    T1] Initialise system trusted keyrings
[    2.630535][    T1] Key type blacklist registered
[    2.635626][    T1] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    2.642858][    T1] zbud: loaded
[    2.647008][    T1] NFS: Registering the id_resolver key type
[    2.652771][    T1] Key type id_resolver registered
[    2.657632][    T1] Key type id_legacy registered
[    2.662349][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.669731][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    2.677791][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.745591][    T1] xor: measuring software checksum speed
[    2.755608][    T1]    arm4regs        :  2172 MB/sec
[    2.766670][    T1]    8regs           :  1637 MB/sec
[    2.777388][    T1]    32regs          :  1733 MB/sec
[    2.782428][    T1] xor: using function: arm4regs (2172 MB/sec)
[    2.788330][    T1] async_tx: api initialized (async)
[    2.793372][    T1] Key type asymmetric registered
[    2.798144][    T1] Asymmetric key parser 'x509' registered
[    2.803786][    T1] bounce: pool size: 64 pages
[    2.808422][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    2.816574][    T1] io scheduler bfq registered
[    2.823149][    T1] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    2.831859][    T1] debugfs: Directory 'f1018100.gpio' with parent 'regmap' already present!
[    2.840989][    T1] debugfs: Directory 'f1018140.gpio' with parent 'regmap' already present!
[    2.850777][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    2.909691][    T1] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    2.919409][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    2.979691][    T1] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.053924][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.063192][    T1] printk: console [ttyS0] disabled
[    3.088259][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 31, base_baud = 12500000) is a 16550A
[    3.097930][    T1] printk: console [ttyS0] enabled
[    3.097930][    T1] printk: console [ttyS0] enabled
[    3.107750][    T1] printk: bootconsole [earlycon0] disabled
[    3.107750][    T1] printk: bootconsole [earlycon0] disabled
[    3.140346][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 32, base_baud = 12500000) is a 16550A
[    3.151497][    T1] ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator
[    3.159995][    T1] ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator
[    3.168274][    T1] ahci-mvebu f10a8000.sata: supply target not found, using dummy regulator
[    3.176922][    T1] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    3.186736][    T1] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    3.197379][    T1] scsi host0: ahci-mvebu
[    3.202087][    T1] scsi host1: ahci-mvebu
[    3.206473][    T1] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 52
[    3.215161][    T1] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 52
[    3.224821][    T1] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[    3.231935][    T1] nand: Macronix MX30LF2G18AC
[    3.236494][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    3.245385][    T1] Bad block table found at page 131008, version 0x01
[    3.252620][    T1] Bad block table found at page 130944, version 0x01
[    3.259528][    T1] nand_read_bbt: bad block at 0x000002020000
[    3.265400][    T1] nand_read_bbt: bad block at 0x0000062e0000
[    3.271278][    T1] nand_read_bbt: bad block at 0x00000bac0000
[    3.277145][    T1] nand_read_bbt: bad block at 0x00000d300000
[    3.283015][    T1] nand_read_bbt: bad block at 0x00000dc60000
[    3.288911][    T1] 8 cmdlinepart partitions found on MTD device pxa3xx_nand-0
[    3.296182][    T1] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    3.302317][    T1] 0x000000000000-0x000000500000 : "u-boot"
[    3.308924][    T1] 0x000000500000-0x000000a00000 : "kernel"
[    3.315446][    T1] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    3.322130][    T1] 0x000000f00000-0x00000c800000 : "image.cfs"
[    3.329315][    T1] 0x00000c800000-0x00000d700000 : "rescue_fw"
[    3.336151][    T1] 0x00000d700000-0x00000eb00000 : "config"
[    3.342694][    T1] 0x00000eb00000-0x00000f500000 : "reserve1"
[    3.349385][    T1] 0x00000f500000-0x00000ff00000 : "reserve2"
[    3.356599][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    3.365200][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    3.376238][    T1] libphy: Fixed MDIO Bus: probed
[    3.382039][    T1] libphy: orion_mdio_bus: probed
[    3.396483][    T1] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    3.408382][    T1] mvneta f1034000.ethernet eth0: Using hardware mac address 00:50:43:36:98:34
[    3.417526][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.424839][    T1] ehci-pci: EHCI PCI platform driver
[    3.430090][    T1] ehci-orion: EHCI orion driver
[    3.434979][    T1] orion-ehci f1058000.usb: EHCI Host Controller
[    3.441189][    T1] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    3.449601][    T1] orion-ehci f1058000.usb: irq 48, io mem 0xf1058000
[    3.489119][    T1] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    3.495924][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    3.504955][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.512928][    T1] usb usb1: Product: EHCI Host Controller
[    3.518533][    T1] usb usb1: Manufacturer: Linux 5.13.8-mvebu-tld-1 ehci_hcd
[    3.525714][    T1] usb usb1: SerialNumber: f1058000.usb
[    3.531466][    T1] hub 1-0:1.0: USB hub found
[    3.535963][    T1] hub 1-0:1.0: 1 port detected
[    3.541707][    T1] usbcore: registered new interface driver usblp
[    3.547979][    T1] usbcore: registered new interface driver usb-storage
[    3.550529][ T1239] ata1: SATA link down (SStatus 0 SControl 300)
[    3.561042][ T1244] ata2: SATA link down (SStatus 0 SControl 300)
[    3.567201][    T1] mousedev: PS/2 mouse device common for all mice
[    3.574646][    T1] armada38x-rtc f10a3800.rtc: registered as rtc0
[    3.580979][    T1] armada38x-rtc f10a3800.rtc: setting system clock to 2022-12-08T09:02:44 UTC (1670490164)
[    3.591119][    T1] i2c /dev entries driver
[    3.595483][    T1] mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recovery not supported
[    3.604294][    T1] mv64xxx_i2c f1011100.i2c: can't get pinctrl, bus recovery not supported
[    3.615347][    T1] orion_wdt: Initial timeout 171 sec
[    3.620890][    T1] device-mapper: uevent: version 1.0.3
[    3.626360][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    3.635748][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    3.643029][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    3.650386][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    3.657764][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    3.664599][    T1] device-mapper: raid: Loading target version 1.15.1
[    3.674161][    T1] marvell-cesa f1090000.crypto: CESA device successfully registered
[    3.682242][    T1] hid: raw HID events driver (C) Jiri Kosina
[    3.688355][    T1] usbcore: registered new interface driver usbhid
[    3.694706][    T1] usbhid: USB HID core driver
[    3.699523][    T1] drop_monitor: Initializing network drop monitor service
[    3.706837][    T1] NET: Registered protocol family 10
[    3.712765][    T1] Segment Routing with IPv6
[    3.717151][    T1] RPL Segment Routing with IPv6
[    3.721958][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.729516][    T1] NET: Registered protocol family 17
[    3.734817][    T1] 8021q: 802.1Q VLAN Support v1.8
[    3.739783][    T1] Key type dns_resolver registered
[    3.744885][    T1] ThumbEE CPU extension supported.
[    3.749904][    T1] Registering SWP/SWPB emulation handler
[    3.755757][    T1] registered taskstats version 1
[    3.760600][    T1] Loading compiled-in X.509 certificates
[    3.766514][    T1] zswap: loaded using pool lzo/zbud
[    3.771880][    T1] Key type ._fscrypt registered
[    3.776616][    T1] Key type .fscrypt registered
[    3.781277][    T1] Key type fscrypt-provisioning registered
[    3.788139][    T1] Key type big_key registered
[    3.806350][    T1] Key type encrypted registered
[    3.813832][    T7] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    3.819935][    T7] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    3.828246][    T7] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    3.838287][    T7] xhci-hcd f10f0000.usb3: irq 54, io mem 0xf10f0000
[    3.845034][    T7] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    3.854067][    T7] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.862043][    T7] usb usb2: Product: xHCI Host Controller
[    3.867649][    T7] usb usb2: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    3.874837][    T7] usb usb2: SerialNumber: f10f0000.usb3
[    3.880674][    T7] hub 2-0:1.0: USB hub found
[    3.885174][    T7] hub 2-0:1.0: 1 port detected
[    3.890100][    T7] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    3.896156][    T7] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    3.904419][    T7] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed
[    3.911570][    T7] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.920578][    T7] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[    3.929612][    T7] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.937575][    T7] usb usb3: Product: xHCI Host Controller
[    3.943188][    T7] usb usb3: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    3.950391][    T7] usb usb3: SerialNumber: f10f0000.usb3
[    3.956161][    T7] hub 3-0:1.0: USB hub found
[    3.960674][    T7] hub 3-0:1.0: 1 port detected
[    3.965829][    T7] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    3.971905][    T7] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    3.980222][    T7] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    3.990346][    T7] xhci-hcd f10f8000.usb3: irq 55, io mem 0xf10f8000
[    3.997043][    T7] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    4.006076][    T7] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.014052][    T7] usb usb4: Product: xHCI Host Controller
[    4.019664][    T7] usb usb4: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.026839][    T7] usb usb4: SerialNumber: f10f8000.usb3
[    4.032622][    T7] hub 4-0:1.0: USB hub found
[    4.037117][    T7] hub 4-0:1.0: 1 port detected
[    4.042023][    T7] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    4.048079][    T7] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    4.056343][    T7] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
[    4.063494][    T7] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.072485][    T7] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[    4.081512][    T7] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.089482][    T7] usb usb5: Product: xHCI Host Controller
[    4.095087][    T7] usb usb5: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.102334][    T7] usb usb5: SerialNumber: f10f8000.usb3
[    4.108115][    T7] hub 5-0:1.0: USB hub found
[    4.112634][    T7] hub 5-0:1.0: 1 port detected
[    4.118156][    T1] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    4.128262][    T1] Freeing unused kernel memory: 1024K
[    4.159671][    T1] Checked W+X mappings: passed, no W+X pages found
[    4.166076][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[    4.329174][   T25] usb 4-1: new high-speed USB device number 2 using xhci-hcd
[    4.521111][   T25] usb 4-1: New USB device found, idVendor=0951, idProduct=1665, bcdDevice= 1.00
[    4.530078][   T25] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.537959][   T25] usb 4-1: Product: DataTraveler 2.0
[    4.543142][   T25] usb 4-1: Manufacturer: Kingston
[    4.548049][   T25] usb 4-1: SerialNumber: 00241D8CE480FE10B97245FE
[    4.560240][   T25] usb-storage 4-1:1.0: USB Mass Storage device detected
[    4.569177][   T25] scsi host2: usb-storage 4-1:1.0
[    4.575343][ T1549] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Waiting for root file system ... [    5.637071][    T7] scsi 2:0:0:0: Direct-Access     Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 4
[    5.648564][  T622] sd 2:0:0:0: [sda] 15131636 512-byte logical blocks: (7.75 GB/7.21 GiB)
[    5.657182][  T622] sd 2:0:0:0: [sda] Write Protect is off
[    5.662944][  T622] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    5.675956][  T622]  sda: sda1 sda2
[    5.703978][  T622] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    5.739191][    C0] random: fast init done
Begin: Running /scripts/local-block ... done.
done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext3 (1) -- /dev/sda2] fsck.ext3 -a -C0 /dev/sda2 
rootfs: clean, 26679/470496 files, 263556/1878398 blocks
done.
[    6.184681][ T1581] EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystem
[    6.260651][ T1581] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[    6.875747][    T1] systemd[1]: systemd 247.3-7+deb11u1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unif)
[    6.899943][    T1] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 11 (bullseye)!

[    6.950174][    T1] systemd[1]: Set hostname to <wdmycloud>.
[    7.525157][    T1] systemd[1]: Queued start job for default target Graphical Interface.
[    7.534187][    T1] random: systemd: uninitialized urandom read (16 bytes read)
[    7.541728][    T1] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    7.554871][    T1] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    7.565232][    T1] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[    7.599278][    T1] random: systemd: uninitialized urandom read (16 bytes read)
[    7.607278][    T1] systemd[1]: Created slice system-modprobe.slice.
[  OK  ] Created slice system-modprobe.slice.
[    7.649233][    T1] random: systemd: uninitialized urandom read (16 bytes read)
[    7.657126][    T1] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    7.699631][    T1] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    7.739435][    T1] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[    7.779418][    T1] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[    7.819833][    T1] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount Arbitrary…s File System Automount Point.
[    7.859374][    T1] systemd[1]: Reached target Local Encrypted Volumes.
[  OK  ] Reached target Local Encrypted Volumes.
[    7.899436][    T1] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[    7.929260][    T1] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    7.969233][    T1] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    7.999315][    T1] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    8.029719][    T1] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    8.069571][    T1] systemd[1]: Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[    8.109424][    T1] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    8.149728][    T1] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[    8.189583][    T1] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    8.229683][    T1] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    8.276666][    T1] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    8.309611][    T1] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    8.349577][    T1] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[    8.360978][    T1] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    8.402201][    T1] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    8.441997][    T1] systemd[1]: Mounting Kernel Trace File System...
         Mounting Kernel Trace File System...
[    8.482317][    T1] systemd[1]: Starting Set the console keyboard layout...
         Starting Set the console keyboard layout...
[    8.519442][    T1] systemd[1]: Condition check resulted in Create list of static device nodes for the current kernel being skipped.
[    8.535148][    T1] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[    8.572242][    T1] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[    8.590053][    T1] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[    8.608974][    T1] systemd[1]: Started Nameserver information manager.
[  OK  ] Started Nameserver information manager.
[    8.649738][    T1] systemd[1]: Reached target Network (Pre).
[  OK  ] Reached target Network (Pre).
[    8.691979][    T1] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    8.702108][    T1] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    8.714935][    T1] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    8.754834][    T1] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    8.792016][    T1] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    8.832043][    T1] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[    8.877457][    T1] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[    8.922377][    T1] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[    8.940621][ T1656] EXT4-fs (sda2): re-mounted. Opts: commit=600,errors=remount-ro. Quota mode: none.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Trace File System.
[  OK  ] Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Modules.
[  OK  ] Finished Remount Root and Kernel File Systems.
         Starting Flush Journal to Persistent Storage...
         Starting Load/Save Random Seed...
[    9.264558][ T1643] systemd-journald[1643]: Received client request to flush runtime journal.
         Starting Apply Kernel Variables...
         Starting Create System Users...
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Create System Users.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Finished Coldplug All udev Devices.
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Finished Create Static Device Nodes in /dev.
         Starting Rule-based Manage…for Device Events and Files...
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Found device /sys/subsystem/net/devices/eth0.
[   11.539651][    C0] random: crng init done
[   11.543783][    C0] random: 7 urandom warning(s) missed due to ratelimiting
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Found device DataTraveler_2.0 1.
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
[  OK  ] Finished Set the console keyboard layout.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /boot...
[   13.814710][ T1730] FAT-fs (sda1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[  OK  ] Mounted /boot.
[  OK  ] Reached target Local File Systems.
         Starting Armbian ZRAM config...
         Starting Set console font and keymap...
[  OK  ] Started ifup for eth0.
         Starting Raise network interfaces...
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[FAILED] Failed to start Armbian ZRAM config.
See 'systemctl status armbian-zram-config.service' for details.
         Starting Armbian memory supported logging...
[  OK  ] Started Network Time Synchronization.
[   14.600270][ T1829] mvneta f1034000.ethernet eth0: PHY [f1072004.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL)
[   14.612686][ T1829] mvneta f1034000.ethernet eth0: configuring for phy/sgmii link mode
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[FAILED] Failed to start Set console font and keymap.
See 'systemctl status console-setup.service' for details.
[   18.819543][ T1840] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   18.828324][ T1840] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  OK  ] Finished Armbian memory supported logging.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Periodic ext4 Onli…ata Check for All Filesystems.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Run system activit…ounting tool every 10 minutes.
[  OK  ] Started Generate summary o…esterday's process accounting.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started D-Bus System Message Bus.
         Starting Remove Stale Onli…t4 Metadata Check Snapshots...
         Starting System Logging Service...
         Starting Resets System Activity Logs...
         Starting User Login Management...
[  OK  ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots.
[  OK  ] Started System Logging Service.
[  OK  ] Finished Resets System Activity Logs.
[  OK  ] Started User Login Management.
         Starting Online ext4 Metad…a Check for All Filesystems...
         Starting Rotate log files...
         Starting Daily man-db regeneration...
[  OK  ] Finished Online ext4 Metadata Check for All Filesystems.
[  OK  ] Finished Rotate log files.
[  OK  ] Finished Daily man-db regeneration.
[  OK  ] Finished Raise network interfaces.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
         Starting LSB: simple distributed compiler server...
         Starting OpenBSD Secure Shell server...
         Starting Permit User Sessions...
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: simple distributed compiler server.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Finished Update UTMP about System Runlevel Changes.
[   26.283050][ T1971] fbcon: Taking over console

Debian GNU/Linux 11 wdmycloud ttyS0

wdmycloud login: 

Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 08, 2022 04:50PM
i5Js,

> I have had to add usb start, otherwise, it didn't
> detect the USB during the boot, perhaps the USB is
> not good enough?:

Good thinking! it is not that the USB drive is not good. As often seen with old stock u-boot for these boxes (WD Mycloud is the worst), we sometime have to start USB and/or SATA drive explicitly so it can be used as a rootfs in Linux.

So now you know it can be booted automatically, repeat the envs like you did before and then save them

Marvell>> setenv mtdparts 'mtdparts=pxa3xx_nand-0:5m(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)'
Marvell>> setenv mtdparts 'mtdparts=pxa3xx_nand-0:5m(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)'
Marvell>> setenv set_bootargs_debian "setenv bootargs console=ttyS0,115200 root=/dev/sda2 $mtdparts earlyprintk=serial"
Marvell>> setenv boot_debian_tftp "setenv ipaddr 192.168.1.110; setenv serverip 192.168.1.147;tftp 0x00800000 boot.b/uImageK5 ; tftp 0x02100000 boot.b/uRamdiskK5; bootm 0x00800000 0x02100000"
Marvell>> setenv bootcmd_stock "nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000"


And add "usb start" to boot command:

setenv bootcmd "usb start; run set_bootargs_debian; run boot_debian_tftp; reset"
And then save the envs, list them,
saveenv
printenv
Examine the bootcmd env to see if it was saved. If it was correct, boot to Debian.

boot

And then once you're in Debian, reboot
shutdown -r now

Observe the boot without interrupting it, see if the bootcmd was really saved, or this u-boot will mess with it and reset to boot from NAND.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 09, 2022 02:36AM
Default env values, just in case

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_enablel
bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=nand read.e 0x02000020 0x0500000 0x0500000; nand read.e 0x2900000 0x0a00000 0x0500000; bootm 0x02000020 0x2900000
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 $;
bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dov;
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:36:2c:34
eth1mtu=1500
eth2addr=00:50:43:36:98:34
eth2mtu=1500
eth3addr=00:50:43:2c:98:36
eth3mtu=1500
ethact=egiga2
ethaddr=00:50:43:98:2c:34
ethmtu=1500
ethprime=egiga2
fdt_addr=2040000
fdt_skip_update=no
fdtaddr=0x1000000
fdtfile=armada-38x-modular.dtb
filesize=12
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=192.168.11.110
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16@60
lcd_panel=0
loadaddr=0x02000000
loads_echo=0
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:34:98:36
nandEcc=nfcConfig=4bitecc
netbsd_en=no
netmask=255.255.255.0
netretry=no
partition=nand0,0
pcieTune=no
pexMode=RC
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rootpath=/srv/nfs/
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
serverip=192.168.11.114
standalone=fsload 0x2000000 $image_name;setenv bootargs $console $nandEcc $mtdparts root=/dev/mtdblock0 rw ip=$ipaddr:$serverip$bootargs_end; bootm 0x2000000;
stderr=serial
stdin=serial
stdout=serial
usb0Mode=host
usbActive=1
usbType=3
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81

Environment size: 3221/524284 bytes
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 09, 2022 02:40AM
env after changes

Marvell>> usb start
(Re)start USB...
USB0:   Port (usbActive) : 1    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
Marvell>> setenv mtdparts 'mtdparts=pxa3xx_nand-0:5m(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)'
Marvell>> setenv mtdparts 'mtdparts=pxa3xx_nand-0:5m(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)'
Marvell>> setenv set_bootargs_debian "setenv bootargs console=ttyS0,115200 root=/dev/sda2 $mtdparts earlyprintk=serial"
Marvell>> setenv boot_debian_tftp "setenv ipaddr 192.168.1.110; setenv serverip 192.168.1.147;tftp 0x00800000 boot.b/uImageK5 ; tftp 0x02100000 boot.b/uRamdiskK5; bootm 0x00800000 0x02100000"
Marvell>> setenv bootcmd_stock "nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000"
Marvell>> setenv bootcmd "usb start; run set_bootargs_debian; run boot_debian_tftp; reset"
Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...
Writing to Nand... done
Marvell>> printenv
CASset=max
MALLOC_len=5
MPmode=SMP
autoload=no
baudrate=115200
boot_debian_tftp=setenv ipaddr 192.168.1.110; setenv serverip 192.168.1.147;tftp 0x00800000 boot.b/uImageK5 ; tftp 0x02100000 boot.b/uRamdiskK5; bootm 0x00800000 0x02100000
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_enablel
bootargs_end=:10.4.50.254:255.255.255.0:Armada38x:eth0:none
bootargs_root=root=/dev/nfs rw
bootcmd=usb start; run set_bootargs_debian; run boot_debian_tftp; reset
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 $;
bootcmd_fdt_boot=tftpboot 0x2000000 $image_name; setenv bootargs $console $nandEcc $mtdparts $bootargs_root nfsroot=$serverip:$rootpath ip=$ipaddr:$serverip$bootargs_end $mvNetConfig video=dov;
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_stock=nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000
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:36:2c:34
eth1mtu=1500
eth2addr=00:50:43:36:98:34
eth2mtu=1500
eth3addr=00:50:43:2c:98:36
eth3mtu=1500
ethact=egiga2
ethaddr=00:50:43:98:2c:34
ethmtu=1500
ethprime=egiga2
fdt_addr=2040000
fdt_skip_update=no
fdtaddr=0x1000000
fdtfile=armada-38x-modular.dtb
filesize=12
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=192.168.11.110
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16@60
lcd_panel=0
loadaddr=0x02000000
loads_echo=0
mtddevname=u-boot
mtddevnum=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=pxa3xx_nand-0:5m(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:34:98:36
nandEcc=nfcConfig=4bitecc
netbsd_en=no
netmask=255.255.255.0
netretry=no
partition=nand0,0
pcieTune=no
pexMode=RC
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rootpath=/srv/nfs/
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
serverip=192.168.11.114
set_bootargs_debian=setenv bootargs console=ttyS0,115200 root=/dev/sda2 mtdparts=pxa3xx_nand-0:5m(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(configl
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=1
usbType=3
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81

Environment size: 3717/524284 bytes
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 09, 2022 02:42AM
first boot
Marvell>> boot        
(Re)start USB...
USB0:   Port (usbActive) : 1    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
Using egiga2 device
TFTP from server 192.168.1.147; our IP address is 192.168.1.110
Filename 'boot.b/uImageK5'.
Load address: 0x800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ################################
         5 MiB/s
done
Bytes transferred = 5236595 (4fe773 hex)
Using egiga2 device
TFTP from server 192.168.1.147; our IP address is 192.168.1.110
Filename 'boot.b/uRamdiskK5'.
Load address: 0x2100000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ########
         5.3 MiB/s
done
Bytes transferred = 9649885 (933edd hex)
## Booting image at 00800000 ...
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.8-mvebu-tld-1
   Created:      2022-12-04  18:15:34 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5236531 Bytes = 5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02100000 ...
   Image Name:   initramfs-5.13.8-mvebu-tld-1
   Created:      2021-09-24   7:54:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9649821 Bytes = 9.2 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][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.8-mvebu-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 SMP PREEMPT Sat Aug 7 14:58:41 PDT 2021
[    0.000000][    T0] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000][    T0] OF: fdt: Machine model: WD MyCloud Ex2 Ultra
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000][    T0]   HighMem  [mem 0x0000000030000000-0x000000003fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000][    T0] percpu: Embedded 21 pages/cpu s54668 r8192 d23156 u86016
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 260608
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=/dev/sda2 mtdparts=pxa3xx_nand-0:5m(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215l
[    0.000000][    T0] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 1011704K/1048576K available (11264K kernel code, 1483K rwdata, 3112K rodata, 1024K init, 325K bss, 36872K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x404/0x78c with crng_init=0
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x06070000 -> 0x16070000
[    0.000000][    T0] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000][    T0] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000][    T0] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000][    T0] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000][    T0] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000][    T0] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000001][    T0] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns
[    0.008682][    T0] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns
[    0.020389][    T0] Switching to timer-based delay loop, resolution 1ns
[    0.027195][    T0] Ignoring duplicate/late registration of read_current_timer delay
[    0.034912][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.047021][    T0] Console: colour dummy device 80x30
[    0.052168][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000)
[    0.063439][    T0] pid_max: default: 32768 minimum: 301
[    0.068861][    T0] LSM: Security Framework initializing
[    0.074205][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.082190][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.091192][    T0] CPU: Testing write buffer coherency: ok
[    0.096762][    T0] CPU0: Spectre v2: using BPIALL workaround
[    0.102626][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.109435][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.116381][    T1] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.122329][    T1] mvebu-pmsu: Initializing Power Management Service Unit
[    0.129284][    T1] rcu: Hierarchical SRCU implementation.
[    0.135289][    T1] smp: Bringing up secondary CPUs ...
[    0.140913][    T1] Booting CPU 1
[    0.144371][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.144380][    T0] CPU1: Spectre v2: using BPIALL workaround
[    0.156527][    T1] smp: Brought up 1 node, 2 CPUs
[    0.161327][    T1] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.168360][    T1] CPU: All CPU(s) started in SVC mode.
[    0.174035][    T1] devtmpfs: initialized
[    0.180847][    T1] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.189368][   T24] wait_for_initramfs() called before rootfs_initcalls
[    0.189512][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.206486][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.236300][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.243436][    T1] prandom: seed boundary self test passed
[    0.250556][    T1] prandom: 100 self tests passed
[    0.255341][    T1] pinctrl core: initialized pinctrl subsystem
[    0.262413][    T1] NET: Registered protocol family 16
[    0.268284][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.276417][    T1] audit: initializing netlink subsys (disabled)
[    0.282625][   T36] audit: type=2000 audit(0.250:1): state=initialized audit_enabled=0 res=1
[    0.283815][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.291319][    T1] cpuidle: using governor ladder
[    0.302810][    T1] cpuidle: using governor menu
[    0.307575][    T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.316244][    T1] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.322898][    T1] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.331681][    T1] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.547158][    T1] raid6: int32x8  gen()   244 MB/s
[    0.717070][    T1] raid6: int32x8  xor()   168 MB/s
[    0.887097][    T1] raid6: int32x4  gen()   280 MB/s
[    1.057112][    T1] raid6: int32x4  xor()   180 MB/s
[    1.227084][    T1] raid6: int32x2  gen()   448 MB/s
[    1.397054][    T1] raid6: int32x2  xor()   251 MB/s
[    1.567080][    T1] raid6: int32x1  gen()   498 MB/s
[    1.737051][    T1] raid6: int32x1  xor()   185 MB/s
[    1.741997][    T1] raid6: using algorithm int32x1 gen() 498 MB/s
[    1.748076][    T1] raid6: .... xor() 185 MB/s, rmw enabled
[    1.753626][    T1] raid6: using intx1 recovery algorithm
[    1.759788][    T1] vgaarb: loaded
[    1.763498][    T1] SCSI subsystem initialized
[    1.768265][    T1] usbcore: registered new interface driver usbfs
[    1.774467][    T1] usbcore: registered new interface driver hub
[    1.780504][    T1] usbcore: registered new device driver usb
[    1.786446][    T1] mc: Linux media interface: v0.10
[    1.791446][    T1] videodev: Linux video capture interface: v2.00
[    1.797699][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.803339][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.813155][    T1] PTP clock support registered
[    1.819089][    T1] clocksource: Switched to clocksource arm_global_timer
[    1.853332][    T1] VFS: Disk quotas dquot_6.6.0
[    1.858000][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.873403][    T1] NET: Registered protocol family 2
[    1.878556][    T1] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.892157][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.901320][    T1] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.909825][    T1] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.917701][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    1.925102][    T1] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.933254][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.940571][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.948420][    T1] NET: Registered protocol family 1
[    1.953856][    T1] RPC: Registered named UNIX socket transport module.
[    1.960503][    T1] RPC: Registered udp transport module.
[    1.965882][    T1] RPC: Registered tcp transport module.
[    1.971287][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.978400][    T1] PCI: CLS 0 bytes, default 64
[    1.983270][  T538] Trying to unpack rootfs image as initramfs...
[    1.989406][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    2.009243][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    2.386523][  T538] Freeing initrd memory: 9424K
[    2.626251][    T1] Initialise system trusted keyrings
[    2.631432][    T1] Key type blacklist registered
[    2.636229][    T1] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    2.643449][    T1] zbud: loaded
[    2.647613][    T1] NFS: Registering the id_resolver key type
[    2.653380][    T1] Key type id_resolver registered
[    2.658241][    T1] Key type id_legacy registered
[    2.662955][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.670338][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    2.678398][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.746223][    T1] xor: measuring software checksum speed
[    2.756241][    T1]    arm4regs        :  2172 MB/sec
[    2.767304][    T1]    8regs           :  1637 MB/sec
[    2.778028][    T1]    32regs          :  1733 MB/sec
[    2.783070][    T1] xor: using function: arm4regs (2172 MB/sec)
[    2.788973][    T1] async_tx: api initialized (async)
[    2.794016][    T1] Key type asymmetric registered
[    2.798788][    T1] Asymmetric key parser 'x509' registered
[    2.804428][    T1] bounce: pool size: 64 pages
[    2.809071][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    2.817224][    T1] io scheduler bfq registered
[    2.823781][    T1] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    2.832481][    T1] debugfs: Directory 'f1018100.gpio' with parent 'regmap' already present!
[    2.841599][    T1] debugfs: Directory 'f1018140.gpio' with parent 'regmap' already present!
[    2.851375][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    2.919656][    T1] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    2.929401][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    2.989653][    T1] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.057525][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.066665][    T1] printk: console [ttyS0] disabled
[    3.091780][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 31, base_baud = 12500000) is a 16550A
[    3.101451][    T1] printk: console [ttyS0] enabled
[    3.101451][    T1] printk: console [ttyS0] enabled
[    3.111276][    T1] printk: bootconsole [earlycon0] disabled
[    3.111276][    T1] printk: bootconsole [earlycon0] disabled
[    3.143708][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 32, base_baud = 12500000) is a 16550A
[    3.154882][    T1] ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator
[    3.163386][    T1] ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator
[    3.171678][    T1] ahci-mvebu f10a8000.sata: supply target not found, using dummy regulator
[    3.180277][    T1] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    3.190089][    T1] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    3.200718][    T1] scsi host0: ahci-mvebu
[    3.205359][    T1] scsi host1: ahci-mvebu
[    3.209790][    T1] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 52
[    3.218458][    T1] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 52
[    3.228312][    T1] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[    3.235427][    T1] nand: Macronix MX30LF2G18AC
[    3.240000][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    3.248899][    T1] Bad block table found at page 131008, version 0x01
[    3.256135][    T1] Bad block table found at page 130944, version 0x01
[    3.263048][    T1] nand_read_bbt: bad block at 0x000002020000
[    3.268919][    T1] nand_read_bbt: bad block at 0x0000062e0000
[    3.274796][    T1] nand_read_bbt: bad block at 0x00000bac0000
[    3.280668][    T1] nand_read_bbt: bad block at 0x00000d300000
[    3.286533][    T1] nand_read_bbt: bad block at 0x00000dc60000
[    3.292434][    T1] 8 cmdlinepart partitions found on MTD device pxa3xx_nand-0
[    3.299709][    T1] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    3.305838][    T1] 0x000000000000-0x000000500000 : "u-boot"
[    3.312433][    T1] 0x000000500000-0x000000a00000 : "kernel"
[    3.318897][    T1] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    3.325549][    T1] 0x000000f00000-0x00000c800000 : "image.cfs"
[    3.332663][    T1] 0x00000c800000-0x00000d700000 : "rescue_fw"
[    3.339482][    T1] 0x00000d700000-0x00000eb00000 : "config"
[    3.345993][    T1] 0x00000eb00000-0x00000f500000 : "reserve1"
[    3.352673][    T1] 0x00000f500000-0x00000ff00000 : "reserve2"
[    3.359877][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    3.368456][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    3.379561][    T1] libphy: Fixed MDIO Bus: probed
[    3.385349][    T1] libphy: orion_mdio_bus: probed
[    3.399797][    T1] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    3.411750][    T1] mvneta f1034000.ethernet eth0: Using hardware mac address 00:50:43:36:98:34
[    3.420875][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.428162][    T1] ehci-pci: EHCI PCI platform driver
[    3.433389][    T1] ehci-orion: EHCI orion driver
[    3.438275][    T1] orion-ehci f1058000.usb: EHCI Host Controller
[    3.444480][    T1] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    3.452910][    T1] orion-ehci f1058000.usb: irq 48, io mem 0xf1058000
[    3.499098][    T1] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    3.505939][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    3.514988][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.522983][    T1] usb usb1: Product: EHCI Host Controller
[    3.528606][    T1] usb usb1: Manufacturer: Linux 5.13.8-mvebu-tld-1 ehci_hcd
[    3.535809][    T1] usb usb1: SerialNumber: f1058000.usb
[    3.541571][    T1] hub 1-0:1.0: USB hub found
[    3.546072][    T1] hub 1-0:1.0: 1 port detected
[    3.550758][ T1240] ata1: SATA link down (SStatus 0 SControl 300)
[    3.556912][ T1245] ata2: SATA link down (SStatus 0 SControl 300)
[    3.557963][    T1] usbcore: registered new interface driver usblp
[    3.569448][    T1] usbcore: registered new interface driver usb-storage
[    3.576419][    T1] mousedev: PS/2 mouse device common for all mice
[    3.583917][    T1] armada38x-rtc f10a3800.rtc: registered as rtc0
[    3.590249][    T1] armada38x-rtc f10a3800.rtc: setting system clock to 2022-12-09T08:41:01 UTC (1670575261)
[    3.600632][    T1] i2c /dev entries driver
[    3.605047][    T1] mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recovery not supported
[    3.614002][    T1] mv64xxx_i2c f1011100.i2c: can't get pinctrl, bus recovery not supported
[    3.625687][    T1] orion_wdt: Initial timeout 171 sec
[    3.631343][    T1] device-mapper: uevent: version 1.0.3
[    3.636865][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    3.646279][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    3.653566][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    3.660926][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    3.668304][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    3.675138][    T1] device-mapper: raid: Loading target version 1.15.1
[    3.684535][    T1] marvell-cesa f1090000.crypto: CESA device successfully registered
[    3.692788][    T1] hid: raw HID events driver (C) Jiri Kosina
[    3.699064][    T1] usbcore: registered new interface driver usbhid
[    3.705391][    T1] usbhid: USB HID core driver
[    3.710349][    T1] drop_monitor: Initializing network drop monitor service
[    3.717660][    T1] NET: Registered protocol family 10
[    3.723574][    T1] Segment Routing with IPv6
[    3.727961][    T1] RPL Segment Routing with IPv6
[    3.732759][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.740589][    T1] NET: Registered protocol family 17
[    3.745886][    T1] 8021q: 802.1Q VLAN Support v1.8
[    3.750851][    T1] Key type dns_resolver registered
[    3.755954][    T1] ThumbEE CPU extension supported.
[    3.760964][    T1] Registering SWP/SWPB emulation handler
[    3.766858][    T1] registered taskstats version 1
[    3.771726][    T1] Loading compiled-in X.509 certificates
[    3.777632][    T1] zswap: loaded using pool lzo/zbud
[    3.782965][    T1] Key type ._fscrypt registered
[    3.787699][    T1] Key type .fscrypt registered
[    3.792360][    T1] Key type fscrypt-provisioning registered
[    3.799321][    T1] Key type big_key registered
[    3.817520][    T1] Key type encrypted registered
[    3.825086][    T7] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    3.831180][    T7] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    3.839504][    T7] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    3.849523][    T7] xhci-hcd f10f0000.usb3: irq 54, io mem 0xf10f0000
[    3.856235][    T7] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    3.865265][    T7] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.873255][    T7] usb usb2: Product: xHCI Host Controller
[    3.878860][    T7] usb usb2: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    3.886044][    T7] usb usb2: SerialNumber: f10f0000.usb3
[    3.891875][    T7] hub 2-0:1.0: USB hub found
[    3.896375][    T7] hub 2-0:1.0: 1 port detected
[    3.901301][    T7] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    3.907352][    T7] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    3.915616][    T7] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed
[    3.922766][    T7] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.931783][    T7] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[    3.940812][    T7] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.948776][    T7] usb usb3: Product: xHCI Host Controller
[    3.954407][    T7] usb usb3: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    3.961595][    T7] usb usb3: SerialNumber: f10f0000.usb3
[    3.967370][    T7] hub 3-0:1.0: USB hub found
[    3.971878][    T7] hub 3-0:1.0: 1 port detected
[    3.977035][    T7] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    3.983117][    T7] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    3.991436][    T7] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    4.001556][    T7] xhci-hcd f10f8000.usb3: irq 55, io mem 0xf10f8000
[    4.008250][    T7] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    4.017280][    T7] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.025253][    T7] usb usb4: Product: xHCI Host Controller
[    4.030865][    T7] usb usb4: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.038041][    T7] usb usb4: SerialNumber: f10f8000.usb3
[    4.043823][    T7] hub 4-0:1.0: USB hub found
[    4.048320][    T7] hub 4-0:1.0: 1 port detected
[    4.053226][    T7] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    4.059290][    T7] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    4.067530][    T7] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
[    4.074679][    T7] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.083660][    T7] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[    4.092684][    T7] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.100699][    T7] usb usb5: Product: xHCI Host Controller
[    4.106305][    T7] usb usb5: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.113498][    T7] usb usb5: SerialNumber: f10f8000.usb3
[    4.119292][    T7] hub 5-0:1.0: USB hub found
[    4.123789][    T7] hub 5-0:1.0: 1 port detected
[    4.129356][    T1] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    4.139414][    T1] Freeing unused kernel memory: 1024K
[    4.189626][    T1] Checked W+X mappings: passed, no W+X pages found
[    4.196030][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[    4.339183][ T1443] usb 4-1: new high-speed USB device number 2 using xhci-hcd
[    4.531102][ T1443] usb 4-1: New USB device found, idVendor=0951, idProduct=1665, bcdDevice= 1.00
[    4.549303][ T1443] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.557187][ T1443] usb 4-1: Product: DataTraveler 2.0
[    4.579113][ T1443] usb 4-1: Manufacturer: Kingston
[    4.584028][ T1443] usb 4-1: SerialNumber: 00241D8CE480FE10B97245FE
[    4.599881][ T1443] usb-storage 4-1:1.0: USB Mass Storage device detected
[    4.620210][ T1443] scsi host2: usb-storage 4-1:1.0
[    4.630409][ T1546] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Waiting for root file system ... [    5.717608][    T7] scsi 2:0:0:0: Direct-Access     Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 4
[    5.729415][  T538] sd 2:0:0:0: [sda] 15131636 512-byte logical blocks: (7.75 GB/7.21 GiB)
[    5.737966][  T538] sd 2:0:0:0: [sda] Write Protect is off
[    5.743727][  T538] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    5.756940][  T538]  sda: sda1 sda2
[    5.781564][  T538] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    5.818974][    C0] random: fast init done
Begin: Running /scripts/local-block ... done.
done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext3 (1) -- /dev/sda2] fsck.ext3 -a -C0 /dev/sda2 
rootfs: clean, 26685/470496 files, 265648/1878398 blocks
done.
[    6.319443][ T1581] EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystem
[    6.395725][ T1581] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[    7.008760][    T1] systemd[1]: systemd 247.3-7+deb11u1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZST)
[    7.033025][    T1] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 11 (bullseye)!

[    7.070161][    T1] systemd[1]: Set hostname to <wdmycloud>.
[    7.644330][    T1] systemd[1]: Queued start job for default target Graphical Interface.
[    7.653426][    T1] random: systemd: uninitialized urandom read (16 bytes read)
[    7.661007][    T1] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    7.674175][    T1] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    7.684473][    T1] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[    7.719228][    T1] random: systemd: uninitialized urandom read (16 bytes read)
[    7.727133][    T1] systemd[1]: Created slice system-modprobe.slice.
[  OK  ] Created slice system-modprobe.slice.
[    7.769202][    T1] random: systemd: uninitialized urandom read (16 bytes read)
[    7.777058][    T1] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    7.819598][    T1] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    7.859408][    T1] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[    7.899374][    T1] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[    7.939753][    T1] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount Arbitrary…s File System Automount Point.
[    7.979344][    T1] systemd[1]: Reached target Local Encrypted Volumes.
[  OK  ] Reached target Local Encrypted Volumes.
[    8.019431][    T1] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[    8.049246][    T1] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    8.089218][    T1] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    8.119284][    T1] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    8.149680][    T1] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    8.189572][    T1] systemd[1]: Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[    8.229392][    T1] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    8.269705][    T1] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[    8.309555][    T1] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    8.349652][    T1] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    8.396679][    T1] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    8.429601][    T1] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    8.469567][    T1] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[    8.481017][    T1] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    8.522178][    T1] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    8.562157][    T1] systemd[1]: Mounting Kernel Trace File System...
         Mounting Kernel Trace File System...
[    8.602323][    T1] systemd[1]: Starting Set the console keyboard layout...
         Starting Set the console keyboard layout...
[    8.639429][    T1] systemd[1]: Condition check resulted in Create list of static device nodes for the current kernel being skipped.
[    8.655226][    T1] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[    8.692442][    T1] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[    8.710059][    T1] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[    8.729359][    T1] systemd[1]: Started Nameserver information manager.
[  OK  ] Started Nameserver information manager.
[    8.769751][    T1] systemd[1]: Reached target Network (Pre).
[  OK  ] Reached target Network (Pre).
[    8.811683][    T1] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    8.821766][    T1] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    8.834641][    T1] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    8.878149][    T1] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    8.932185][    T1] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    8.952068][    T1] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[    9.005051][    T1] systemd[1]: Mounted POSIX Message Queue File System.
[  OK      9.019795][ T1656] EXT4-fs (sda2): re-mounted. Opts: commit=600,errors=remount-ro. Quota mode: none.
0m] Mounted POSIX Message Queue File System.
[    9.062311][    T1] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Trace File System.
[  OK  ] Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Modules.
[  OK  ] Finished Remount Root and Kernel File Systems.
         Starting Flush Journal to Persistent Storage...
         Starting Load/Save Random Seed[    9.346370][ T1645] systemd-journald[1645]: Received client request to flush runtime journal.
...
         Starting Apply Kernel Variables...
         Starting Create System Users...
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Create System Users.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Finished Create Static Device Nodes in /dev.
         Starting Rule-based Manage…for Device Events and Files...
[  OK  ] Finished Coldplug All udev Devices.
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Found device /sys/subsystem/net/devices/eth0.
[  OK  ] Found device DataTraveler_2.0 1.
[   11.619156][    C1] random: crng init done
[   11.623290][    C1] random: 7 urandom warning(s) missed due to ratelimiting
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
[  OK  ] Finished Set the console keyboard layout.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /boot...
[   14.014697][ T1728] FAT-fs (sda1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[  OK  ] Mounted /boot.
[  OK  ] Reached target Local File Systems.
         Starting Armbian ZRAM config...
         Starting Set console font and keymap...
[  OK  ] Started ifup for eth0.
         Starting Raise network interfaces...
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Time Synchronization.
[   14.750009][ T1822] mvneta f1034000.ethernet eth0: PHY [f1072004.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL)
[   14.763243][ T1822] mvneta f1034000.ethernet eth0: configuring for phy/sgmii link mode
[FAILED] Failed to start Armbian ZRAM config.
See 'systemctl status armbian-zram-config.service' for details.
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target System Time Synchronized.
         Starting Armbian memory supported logging...
[FAILED] Failed to start Set console font and keymap.
See 'systemctl status console-setup.service' for details.
[   18.899523][ T1522] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   18.908305][ T1522] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  OK  ] Finished Armbian memory supported logging.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Periodic ext4 Onli…ata Check for All Filesystems.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Run system activit…ounting tool every 10 minutes.
[  OK  ] Started Generate summary o…esterday's process accounting.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started D-Bus System Message Bus.
         Starting Remove Stale Onli…t4 Metadata Check Snapshots...
         Starting System Logging Service...
         Starting Resets System Activity Logs...
         Starting User Login Management...
[  OK  ] Finished Raise network interfaces.
[  OK  ] Started System Logging Service.
[  OK  ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots.
[  OK  ] Finished Resets System Activity Logs.
[  OK  ] Started User Login Management.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
         Starting LSB: simple distributed compiler server...
         Starting OpenBSD Secure Shell server...
         Starting Permit User Sessions...
         Starting Rotate log files...
         Starting Daily man-db regeneration...
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started LSB: simple distributed compiler server.
[  OK  ] Finished Rotate log files.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Finished Update UTMP about System Runlevel Changes.
[  OK  ] Finished Daily man-db regeneration.
[   29.791436][ T1963] fbcon: Taking over console

Debian GNU/Linux 11 wdmycloud ttyS0

wdmycloud login:
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 09, 2022 02:44AM
Second reboot. Perhaps is expected, but I have seen some errors before booting:

Board configuration detected:
invalid mtd device 'pxa3xx_nand-0'
Error initializing mtdparts!
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:reserve2", error -19
UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume 'ubi:reserve2' errno=-19!

ubifsmount - mount UBIFS volume

Usage:
ubifsmount <volume-name>
    - mount 'volume-name' volume
UBIFS not mounted, use ubifs mount to mount volume first!
ubifsload - load file from an UBIFS filesystem

Usage:
ubifsload <addr> <filename> [bytes]
    - load file 'filename' to address 'addr'
Enable HD1
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 09, 2022 02:45AM
Full boot

[  108.328471][    T1] gpio-keys gpio-keys: failed to shutdown
[  108.334170][    T1] reboot: Restarting system

BootROM - 1.73
Booting from NAND flash

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

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

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


U-Boot 2013.01_v1.04 (Apr 19 2020 - 23:10:38) Marvell version: 2014_T3.0p6

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

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

NAND:  ID: dac2 ,256 MiB
MMC:   mv_sdh: 0
PCI-e 0: Detected No Link.
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
invalid mtd device 'pxa3xx_nand-0'
Error initializing mtdparts!
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:reserve2", error -19
UBIFS error (pid 0): ubifs_mount: Error reading superblock on volume 'ubi:reserve2' errno=-19!

ubifsmount - mount UBIFS volume

Usage:
ubifsmount <volume-name>
    - mount 'volume-name' volume
UBIFS not mounted, use ubifs mount to mount volume first!
ubifsload - load file from an UBIFS filesystem

Usage:
ubifsload <addr> <filename> [bytes]
    - load file 'filename' to address 'addr'
Enable HD1
Enable HD2
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |   In-Band    |
| egiga1 |   RGMII   |   In-Band    |
| egiga2 |   SGMII   |     0x00     |
egiga0, egiga1, egiga2 [PRIME]
Hit any key to stop autoboot:  0 
(Re)start USB...
USB0:   Port (usbActive) : 1    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
Using egiga2 device
TFTP from server 192.168.1.147; our IP address is 192.168.1.110
Filename 'boot.b/uImageK5'.
Load address: 0x800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ################################
         908.2 KiB/s
done
Bytes transferred = 5236595 (4fe773 hex)
Using egiga2 device
TFTP from server 192.168.1.147; our IP address is 192.168.1.110
Filename 'boot.b/uRamdiskK5'.
Load address: 0x2100000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ########
         922.9 KiB/s
done
Bytes transferred = 9649885 (933edd hex)
## Booting image at 00800000 ...
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.8-mvebu-tld-1
   Created:      2022-12-04  18:15:34 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5236531 Bytes = 5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02100000 ...
   Image Name:   initramfs-5.13.8-mvebu-tld-1
   Created:      2021-09-24   7:54:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9649821 Bytes = 9.2 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][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.8-mvebu-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 SMP PREEMPT Sat Aug 7 14:58:41 PDT 2021
[    0.000000][    T0] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000][    T0] OF: fdt: Machine model: WD MyCloud Ex2 Ultra
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000][    T0]   HighMem  [mem 0x0000000030000000-0x000000003fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000][    T0] percpu: Embedded 21 pages/cpu s54668 r8192 d23156 u86016
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 260608
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=/dev/sda2 mtdparts=pxa3xx_nand-0:5m(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215l
[    0.000000][    T0] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 1011704K/1048576K available (11264K kernel code, 1483K rwdata, 3112K rodata, 1024K init, 325K bss, 36872K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x404/0x78c with crng_init=0
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x06070000 -> 0x16070000
[    0.000000][    T0] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000][    T0] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000][    T0] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000][    T0] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000][    T0] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000][    T0] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000001][    T0] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns
[    0.008682][    T0] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns
[    0.020389][    T0] Switching to timer-based delay loop, resolution 1ns
[    0.027192][    T0] Ignoring duplicate/late registration of read_current_timer delay
[    0.034909][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.047019][    T0] Console: colour dummy device 80x30
[    0.052165][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000)
[    0.063437][    T0] pid_max: default: 32768 minimum: 301
[    0.068858][    T0] LSM: Security Framework initializing
[    0.074202][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.082186][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.091190][    T0] CPU: Testing write buffer coherency: ok
[    0.096758][    T0] CPU0: Spectre v2: using BPIALL workaround
[    0.102621][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.109430][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.116376][    T1] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.122326][    T1] mvebu-pmsu: Initializing Power Management Service Unit
[    0.129282][    T1] rcu: Hierarchical SRCU implementation.
[    0.135289][    T1] smp: Bringing up secondary CPUs ...
[    0.140913][    T1] Booting CPU 1
[    0.144370][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.144380][    T0] CPU1: Spectre v2: using BPIALL workaround
[    0.156525][    T1] smp: Brought up 1 node, 2 CPUs
[    0.161326][    T1] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.168359][    T1] CPU: All CPU(s) started in SVC mode.
[    0.174031][    T1] devtmpfs: initialized
[    0.180819][    T1] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.189335][   T24] wait_for_initramfs() called before rootfs_initcalls
[    0.189480][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.206452][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.236270][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.243405][    T1] prandom: seed boundary self test passed
[    0.250525][    T1] prandom: 100 self tests passed
[    0.255311][    T1] pinctrl core: initialized pinctrl subsystem
[    0.262375][    T1] NET: Registered protocol family 16
[    0.268247][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.276381][    T1] audit: initializing netlink subsys (disabled)
[    0.282591][   T36] audit: type=2000 audit(0.250:1): state=initialized audit_enabled=0 res=1
[    0.283773][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.291283][    T1] cpuidle: using governor ladder
[    0.302773][    T1] cpuidle: using governor menu
[    0.307538][    T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.316208][    T1] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.322864][    T1] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.331647][    T1] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.547077][    T1] raid6: int32x8  gen()   243 MB/s
[    0.717062][    T1] raid6: int32x8  xor()   167 MB/s
[    0.887099][    T1] raid6: int32x4  gen()   280 MB/s
[    1.057111][    T1] raid6: int32x4  xor()   180 MB/s
[    1.227104][    T1] raid6: int32x2  gen()   447 MB/s
[    1.397036][    T1] raid6: int32x2  xor()   239 MB/s
[    1.567091][    T1] raid6: int32x1  gen()   497 MB/s
[    1.737041][    T1] raid6: int32x1  xor()   208 MB/s
[    1.741987][    T1] raid6: using algorithm int32x1 gen() 497 MB/s
[    1.748065][    T1] raid6: .... xor() 208 MB/s, rmw enabled
[    1.753616][    T1] raid6: using intx1 recovery algorithm
[    1.759777][    T1] vgaarb: loaded
[    1.763482][    T1] SCSI subsystem initialized
[    1.768252][    T1] usbcore: registered new interface driver usbfs
[    1.774452][    T1] usbcore: registered new interface driver hub
[    1.780489][    T1] usbcore: registered new device driver usb
[    1.786428][    T1] mc: Linux media interface: v0.10
[    1.791429][    T1] videodev: Linux video capture interface: v2.00
[    1.797687][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.803326][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.813141][    T1] PTP clock support registered
[    1.819215][    T1] clocksource: Switched to clocksource arm_global_timer
[    1.853377][    T1] VFS: Disk quotas dquot_6.6.0
[    1.858047][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.872677][    T1] NET: Registered protocol family 2
[    1.877835][    T1] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.887965][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.897054][    T1] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.905775][    T1] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.913684][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    1.920869][    T1] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.928970][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.936296][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.944163][    T1] NET: Registered protocol family 1
[    1.949606][    T1] RPC: Registered named UNIX socket transport module.
[    1.956200][    T1] RPC: Registered udp transport module.
[    1.961631][    T1] RPC: Registered tcp transport module.
[    1.967011][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.974156][    T1] PCI: CLS 0 bytes, default 64
[    1.978874][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.978932][    T7] Trying to unpack rootfs image as initramfs...
[    1.992224][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    2.373525][    T7] Freeing initrd memory: 9424K
[    2.646542][    T1] Initialise system trusted keyrings
[    2.651718][    T1] Key type blacklist registered
[    2.656516][    T1] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    2.663744][    T1] zbud: loaded
[    2.667976][    T1] NFS: Registering the id_resolver key type
[    2.673740][    T1] Key type id_resolver registered
[    2.678601][    T1] Key type id_legacy registered
[    2.683314][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.690696][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    2.698756][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.766416][    T1] xor: measuring software checksum speed
[    2.776436][    T1]    arm4regs        :  2172 MB/sec
[    2.787499][    T1]    8regs           :  1637 MB/sec
[    2.798220][    T1]    32regs          :  1733 MB/sec
[    2.803262][    T1] xor: using function: arm4regs (2172 MB/sec)
[    2.809165][    T1] async_tx: api initialized (async)
[    2.814209][    T1] Key type asymmetric registered
[    2.818981][    T1] Asymmetric key parser 'x509' registered
[    2.824628][    T1] bounce: pool size: 64 pages
[    2.829292][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    2.837420][    T1] io scheduler bfq registered
[    2.844001][    T1] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    2.852701][    T1] debugfs: Directory 'f1018100.gpio' with parent 'regmap' already present!
[    2.861834][    T1] debugfs: Directory 'f1018140.gpio' with parent 'regmap' already present!
[    2.871612][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    2.939781][    T1] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    2.949496][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    3.009779][    T1] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.077870][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.086976][    T1] printk: console [ttyS0] disabled
[    3.112096][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 31, base_baud = 12500000) is a 16550A
[    3.121767][    T1] printk: console [ttyS0] enabled
[    3.121767][    T1] printk: console [ttyS0] enabled
[    3.131587][    T1] printk: bootconsole [earlycon0] disabled
[    3.131587][    T1] printk: bootconsole [earlycon0] disabled
[    3.164052][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 32, base_baud = 12500000) is a 16550A
[    3.175203][    T1] ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator
[    3.183710][    T1] ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator
[    3.192006][    T1] ahci-mvebu f10a8000.sata: supply target not found, using dummy regulator
[    3.200609][    T1] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    3.210422][    T1] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    3.221046][    T1] scsi host0: ahci-mvebu
[    3.225697][    T1] scsi host1: ahci-mvebu
[    3.230119][    T1] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 52
[    3.238787][    T1] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 52
[    3.248491][    T1] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[    3.255630][    T1] nand: Macronix MX30LF2G18AC
[    3.260199][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    3.269083][    T1] Bad block table found at page 131008, version 0x01
[    3.276314][    T1] Bad block table found at page 130944, version 0x01
[    3.283218][    T1] nand_read_bbt: bad block at 0x000002020000
[    3.289089][    T1] nand_read_bbt: bad block at 0x0000062e0000
[    3.294972][    T1] nand_read_bbt: bad block at 0x00000bac0000
[    3.300846][    T1] nand_read_bbt: bad block at 0x00000d300000
[    3.306711][    T1] nand_read_bbt: bad block at 0x00000dc60000
[    3.312612][    T1] 8 cmdlinepart partitions found on MTD device pxa3xx_nand-0
[    3.319883][    T1] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    3.326012][    T1] 0x000000000000-0x000000500000 : "u-boot"
[    3.332591][    T1] 0x000000500000-0x000000a00000 : "kernel"
[    3.339061][    T1] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    3.345722][    T1] 0x000000f00000-0x00000c800000 : "image.cfs"
[    3.352841][    T1] 0x00000c800000-0x00000d700000 : "rescue_fw"
[    3.359676][    T1] 0x00000d700000-0x00000eb00000 : "config"
[    3.366192][    T1] 0x00000eb00000-0x00000f500000 : "reserve1"
[    3.372897][    T1] 0x00000f500000-0x00000ff00000 : "reserve2"
[    3.380123][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    3.388704][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    3.399759][    T1] libphy: Fixed MDIO Bus: probed
[    3.405575][    T1] libphy: orion_mdio_bus: probed
[    3.420084][    T1] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    3.432616][    T1] mvneta f1034000.ethernet eth0: Using hardware mac address 00:50:43:36:98:34
[    3.441757][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.449048][    T1] ehci-pci: EHCI PCI platform driver
[    3.454336][    T1] ehci-orion: EHCI orion driver
[    3.459249][    T1] orion-ehci f1058000.usb: EHCI Host Controller
[    3.465395][    T1] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    3.473846][    T1] orion-ehci f1058000.usb: irq 48, io mem 0xf1058000
[    3.509233][    T1] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    3.516066][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    3.525112][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.533111][    T1] usb usb1: Product: EHCI Host Controller
[    3.538735][    T1] usb usb1: Manufacturer: Linux 5.13.8-mvebu-tld-1 ehci_hcd
[    3.545935][    T1] usb usb1: SerialNumber: f1058000.usb
[    3.551697][    T1] hub 1-0:1.0: USB hub found
[    3.556196][    T1] hub 1-0:1.0: 1 port detected
[    3.561947][    T1] usbcore: registered new interface driver usblp
[    3.568255][    T1] usbcore: registered new interface driver usb-storage
[    3.575268][    T1] mousedev: PS/2 mouse device common for all mice
[    3.581606][ T1240] ata1: SATA link down (SStatus 0 SControl 300)
[    3.587771][ T1245] ata2: SATA link down (SStatus 0 SControl 300)
[    3.594161][    T1] armada38x-rtc f10a3800.rtc: registered as rtc0
[    3.600587][    T1] armada38x-rtc f10a3800.rtc: setting system clock to 2022-12-09T08:43:39 UTC (1670575419)
[    3.611069][    T1] i2c /dev entries driver
[    3.615478][    T1] mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recovery not supported
[    3.624486][    T1] mv64xxx_i2c f1011100.i2c: can't get pinctrl, bus recovery not supported
[    3.636158][    T1] orion_wdt: Initial timeout 171 sec
[    3.641828][    T1] device-mapper: uevent: version 1.0.3
[    3.647344][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    3.656759][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    3.664044][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    3.671410][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    3.678788][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    3.685625][    T1] device-mapper: raid: Loading target version 1.15.1
[    3.694980][    T1] marvell-cesa f1090000.crypto: CESA device successfully registered
[    3.703244][    T1] hid: raw HID events driver (C) Jiri Kosina
[    3.709577][    T1] usbcore: registered new interface driver usbhid
[    3.715885][    T1] usbhid: USB HID core driver
[    3.720845][    T1] drop_monitor: Initializing network drop monitor service
[    3.728285][    T1] NET: Registered protocol family 10
[    3.734188][    T1] Segment Routing with IPv6
[    3.738574][    T1] RPL Segment Routing with IPv6
[    3.743377][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.751217][    T1] NET: Registered protocol family 17
[    3.756507][    T1] 8021q: 802.1Q VLAN Support v1.8
[    3.761467][    T1] Key type dns_resolver registered
[    3.766570][    T1] ThumbEE CPU extension supported.
[    3.771591][    T1] Registering SWP/SWPB emulation handler
[    3.777489][    T1] registered taskstats version 1
[    3.782353][    T1] Loading compiled-in X.509 certificates
[    3.788249][    T1] zswap: loaded using pool lzo/zbud
[    3.793589][    T1] Key type ._fscrypt registered
[    3.798325][    T1] Key type .fscrypt registered
[    3.802986][    T1] Key type fscrypt-provisioning registered
[    3.809907][    T1] Key type big_key registered
[    3.828212][    T1] Key type encrypted registered
[    3.835680][  T625] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    3.841780][  T625] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    3.850111][  T625] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    3.860134][  T625] xhci-hcd f10f0000.usb3: irq 54, io mem 0xf10f0000
[    3.866858][  T625] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    3.875888][  T625] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.883878][  T625] usb usb2: Product: xHCI Host Controller
[    3.889491][  T625] usb usb2: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    3.896667][  T625] usb usb2: SerialNumber: f10f0000.usb3
[    3.902506][  T625] hub 2-0:1.0: USB hub found
[    3.907006][  T625] hub 2-0:1.0: 1 port detected
[    3.911925][  T625] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    3.917977][  T625] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    3.926242][  T625] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed
[    3.933393][  T625] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.942406][  T625] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[    3.951455][  T625] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.959428][  T625] usb usb3: Product: xHCI Host Controller
[    3.965033][  T625] usb usb3: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    3.972214][  T625] usb usb3: SerialNumber: f10f0000.usb3
[    3.977994][  T625] hub 3-0:1.0: USB hub found
[    3.982512][  T625] hub 3-0:1.0: 1 port detected
[    3.987675][  T625] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    3.993747][  T625] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    4.002060][  T625] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    4.012175][  T625] xhci-hcd f10f8000.usb3: irq 55, io mem 0xf10f8000
[    4.018872][  T625] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    4.027902][  T625] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.035874][  T625] usb usb4: Product: xHCI Host Controller
[    4.041486][  T625] usb usb4: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.048661][  T625] usb usb4: SerialNumber: f10f8000.usb3
[    4.054454][  T625] hub 4-0:1.0: USB hub found
[    4.058948][  T625] hub 4-0:1.0: 1 port detected
[    4.063860][  T625] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    4.069928][  T625] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    4.078170][  T625] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
[    4.085320][  T625] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.094302][  T625] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[    4.103370][  T625] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.111345][  T625] usb usb5: Product: xHCI Host Controller
[    4.116950][  T625] usb usb5: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.124137][  T625] usb usb5: SerialNumber: f10f8000.usb3
[    4.129922][  T625] hub 5-0:1.0: USB hub found
[    4.134416][  T625] hub 5-0:1.0: 1 port detected
[    4.139927][    T1] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    4.149945][    T1] Freeing unused kernel memory: 1024K
[    4.199777][    T1] Checked W+X mappings: passed, no W+X pages found
[    4.206183][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[    4.359317][ T1443] usb 4-1: new high-speed USB device number 2 using xhci-hcd
[    4.561455][ T1443] usb 4-1: New USB device found, idVendor=0951, idProduct=1665, bcdDevice= 1.00
[    4.579238][ T1443] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.587123][ T1443] usb 4-1: Product: DataTraveler 2.0
[    4.609237][ T1443] usb 4-1: Manufacturer: Kingston
[    4.614153][ T1443] usb 4-1: SerialNumber: 00241D8CE480FE10B97245FE
[    4.621436][ T1443] usb-storage 4-1:1.0: USB Mass Storage device detected
[    4.629305][ T1443] scsi host2: usb-storage 4-1:1.0
[    4.650127][ T1555] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Waiting for root file system ... [    5.717467][   T23] scsi 2:0:0:0: Direct-Access     Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 4
[    5.727866][  T625] sd 2:0:0:0: [sda] 15131636 512-byte logical blocks: (7.75 GB/7.21 GiB)
[    5.736816][  T625] sd 2:0:0:0: [sda] Write Protect is off
[    5.742584][  T625] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    5.755403][  T625]  sda: sda1 sda2
[    5.785883][  T625] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    5.817522][    C0] random: fast init done
Begin: Running /scripts/local-block ... done.
done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext3 (1) -- /dev/sda2] fsck.ext3 -a -C0 /dev/sda2 
rootfs: clean, 26678/470496 files, 265398/1878398 blocks
done.
[    6.500078][ T1582] EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystem
[    6.553100][ T1582] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[    7.185248][    T1] systemd[1]: systemd 247.3-7+deb11u1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZST)
[    7.209522][    T1] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 11 (bullseye)!

[    7.250297][    T1] systemd[1]: Set hostname to <wdmycloud>.
[    7.826433][    T1] systemd[1]: Queued start job for default target Graphical Interface.
[    7.835429][    T1] random: systemd: uninitialized urandom read (16 bytes read)
[    7.842979][    T1] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    7.856152][    T1] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    7.866505][    T1] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[    7.899351][    T1] random: systemd: uninitialized urandom read (16 bytes read)
[    7.907252][    T1] systemd[1]: Created slice system-modprobe.slice.
[  OK  ] Created slice system-modprobe.slice.
[    7.949321][    T1] random: systemd: uninitialized urandom read (16 bytes read)
[    7.957190][    T1] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    7.999732][    T1] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    8.039564][    T1] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[    8.079498][    T1] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[    8.119929][    T1] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount Arbitrary…s File System Automount Point.
[    8.159491][    T1] systemd[1]: Reached target Local Encrypted Volumes.
[  OK  ] Reached target Local Encrypted Volumes.
[    8.199521][    T1] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[    8.229383][    T1] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    8.269345][    T1] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    8.299426][    T1] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    8.329819][    T1] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    8.369693][    T1] systemd[1]: Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[    8.409521][    T1] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    8.449851][    T1] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[    8.489699][    T1] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    8.529768][    T1] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    8.576784][    T1] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    8.609695][    T1] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    8.649685][    T1] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[    8.661139][    T1] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    8.702211][    T1] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    8.742040][    T1] systemd[1]: Mounting Kernel Trace File System...
         Mounting Kernel Trace File System...
[    8.782490][    T1] systemd[1]: Starting Set the console keyboard layout...
         Starting Set the console keyboard layout...
[    8.819560][    T1] systemd[1]: Condition check resulted in Create list of static device nodes for the current kernel being skipped.
[    8.835297][    T1] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[    8.872763][    T1] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[    8.890253][    T1] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[    8.910450][    T1] systemd[1]: Started Nameserver information manager.
[  OK  ] Started Nameserver information manager.
[    8.951586][    T1] systemd[1]: Reached target Network (Pre).
[  OK  ] Reached target Network (Pre).
[    8.993813][    T1] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    9.003869][    T1] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    9.016907][    T1] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    9.044560][    T1] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    9.062965][    T1] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    9.122250][    T1] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[    9.176932][    T1] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[    9.205334][ T1655] EXT4-fs (sda2): re-mounted. Opts: commit=600,errors=remount-ro. Quota mode: none.
[    9.232527][    T1] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Trace File System.
[  OK  ] Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Modules.
[  OK  ] Finished Remount Root and Kernel File Systems.
         Starting Flush Journal to Persistent Storage...
         Starting Load/Save Random Seed...
[    9.550989][ T1641] systemd-journald[1641]: Received client request to flush runtime journal.
         Starting Apply Kernel Variables...
         Starting Create System Users...
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Create System Users.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Finished Create Static Device Nodes in /dev.
         Starting Rule-based Manage…for Device Events and Files...
[  OK  ] Finished Coldplug All udev Devices.
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Found device /dev/ttyS0.
[   12.189260][    C1] random: crng init done
[   12.193398][    C1] random: 7 urandom warning(s) missed due to ratelimiting
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Found device /sys/subsystem/net/devices/eth0.
[  OK  ] Found device DataTraveler_2.0 1.
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
[  OK  ] Finished Set the console keyboard layout.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /boot...
[   14.695571][ T1730] FAT-fs (sda1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[  OK  ] Mounted /boot.
[  OK  ] Reached target Local File Systems.
         Starting Armbian ZRAM config...
         Starting Set console font and keymap...
[  OK  ] Started ifup for eth0.
         Starting Raise network interfaces...
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Time Synchronization.
[   15.440283][ T1808] mvneta f1034000.ethernet eth0: PHY [f1072004.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL)
[FAILED[   15.453691][ T1808] mvneta f1034000.ethernet eth0: configuring for phy/sgmii link mode
] Failed to start Armbian ZRAM config.
See 'systemctl status armbian-zram-config.service' for details.
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target System Time Synchronized.
         Starting Armbian memory supported logging...
[**    ] (1 of 3) A start job is running for…mory supported logging (10s / 37s)
[   18.589646][ T1523] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[FAILED] Failed to start Set console font and keymap.
See 'systemctl status console-setup.service' for details.
[  OK  ] Finished Armbian memory supported logging.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Periodic ext4 Onli…ata Check for All Filesystems.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Run system activit…ounting tool every 10 minutes.
[  OK  ] Started Generate summary o…esterday's process accounting.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started D-Bus System Message Bus.
         Starting Remove Stale Onli…t4 Metadata Check Snapshots...
         Starting System Logging Service...
         Starting Resets System Activity Logs...
         Starting User Login Management...
[  OK  ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots.
[  OK  ] Started System Logging Service.
[  OK  ] Finished Resets System Activity Logs.
[  OK  ] Started User Login Management.
[  OK  ] Finished Raise network interfaces.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
         Starting LSB: simple distributed compiler server...
         Starting OpenBSD Secure Shell server...
         Starting Permit User Sessions...
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: simple distributed compiler server.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Finished Update UTMP about System Runlevel Changes.
[   23.602698][ T1960] fbcon: Taking over console

Debian GNU/Linux 11 wdmycloud ttyS0

wdmycloud login:



Edited 1 time(s). Last edit at 12/09/2022 02:47AM by i5Js.
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 09, 2022 02:46AM
root@wdmycloud:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00500000 00020000 "u-boot"
mtd1: 00500000 00020000 "kernel"
mtd2: 00500000 00020000 "uRamdisk"
mtd3: 0b900000 00020000 "image.cfs"
mtd4: 00f00000 00020000 "rescue_fw"
mtd5: 01400000 00020000 "config"
mtd6: 00a00000 00020000 "reserve1"
mtd7: 00a00000 00020000 "reserve2"
root@wdmycloud:~# cat /proc/cmdline
console=ttyS0,115200 root=/dev/sda2 mtdparts=pxa3xx_nand-0:5m(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reservl
root@wdmycloud:~# 
CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.8 | VT102 | Offline | ttyUSB0                                                                                                
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 09, 2022 03:07PM
> Full boot

> Debian GNU/Linux 11 wdmycloud ttyS0
>
> wdmycloud login:

Cool! so thanks to this patched u-boot, we can save the envs. And most importantly, the bootcmd was saved and used in this boot.

The error messages about the UBIFS are not important. It was because we redefined mtdparts to what the kernel expected to see. However, it's annoying and noisy, so we'll fix it

Since your current set_bootargs_debian env specify the mtdparts explicitly:

set_bootargs_debian=setenv bootargs console=ttyS0,115200 root=/dev/sda2 mtdparts=pxa3xx_nand-0:5m(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(configl

There is no need to define mtdparts for Linux, so we'll restore it to stock:
setenv mtdparts "mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)"
saveenv
And then do a reset at serial console and let it boot automatically:
reset

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 09, 2022 04:03PM
Thanks!! I will next week, I’m in a business trip. :(
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 13, 2022 02:14PM
Hey Bodhi,

I'm back, I have reset the value and the error is gone:

Marvell>> setenv mtdparts "mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)"
Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...
Writing to Nand... done
Marvell>> reset 
resetting ...

BootROM - 1.73
Booting from NAND flash

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

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

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


U-Boot 2013.01_v1.04 (Apr 19 2020 - 23:10:38) Marvell version: 2014_T3.0p6

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

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

NAND:  ID: dac2 ,256 MiB
MMC:   mv_sdh: 0
PCI-e 0: Detected No Link.
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00000f500000-0x00000ff00000 : "mtd=7"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=7"
UBI: MTD device size:            10 MiB
UBI: number of good PEBs:        80
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             32
UBI: total number of reserved PEBs: 48
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 9/4
UBIFS: mounted UBI device 0, volume 0, name "reserve2"
UBIFS: mounted read-only
UBIFS: file system size:   4063232 bytes (3968 KiB, 3 MiB, 32 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  200807 bytes (196 KiB)
Loading file '/mac_addr' to addr 0x02000000 with size 18 (0x00000012)...
Done
Set lan 2 WakeOnLan ok
Enable HD1
Enable HD2
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |   In-Band    |
| egiga1 |   RGMII   |   In-Band    |
| egiga2 |   SGMII   |     0x00     |
egiga0, egiga1, egiga2 [PRIME]
Hit any key to stop autoboot:  0 
(Re)start USB...
USB0:   Port (usbActive) : 1    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found

(The boot is the same as before, and it worked fine)

root@wdmycloud:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00500000 00020000 "u-boot"
mtd1: 00500000 00020000 "kernel"
mtd2: 00500000 00020000 "uRamdisk"
mtd3: 0b900000 00020000 "image.cfs"
mtd4: 00f00000 00020000 "rescue_fw"
mtd5: 01400000 00020000 "config"
mtd6: 00a00000 00020000 "reserve1"
mtd7: 00a00000 00020000 "reserve2"
root@wdmycloud:~# cat /proc/cmdline
console=ttyS0,115200 root=/dev/sda2 mtdparts=pxa3xx_nand-0:5m(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2) earlyprintk=serial
root@wdmycloud:~#



Edited 1 time(s). Last edit at 12/13/2022 02:14PM by i5Js.
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 13, 2022 07:56PM
i5Js,

I read the Ex2 Ultra working thread again. Starting from here, people on this thread can boot with USB.

=== vzhilov

Not sure which USB port:
https://forum.doozan.com/read.php?2,99079,99409#msg-99409

And somehow later, vzhilov could no longer boot with USB.

=== mcmg2

Boot with USB 3.0 port (this is ideal, worth trying)

https://forum.doozan.com/read.php?2,99079,105664#msg-105664
Envs:
https://forum.doozan.com/read.php?2,99079,105674#msg-105674

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 12/13/2022 09:01PM by bodhi.
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 14, 2022 03:50AM
Hi,

I don't understand what I need to do.

I have tried to boot the uImage and the uRamdisk from USB and, as before, I can't:

Marvell>> usb start
(Re)start USB...
USB0:   Port (usbActive) : 1    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
Marvell>> fatload usb 0:1 0x00800000 boot.b/uImageK5
reading boot.b/uImageK5
5236595 bytes read in 234 ms (21.3 MiB/s)
Marvell>> fatload usb 0:1 0x02100000 boot.b/uRamdiskK5
reading boot.b/uRamdiskK5
9649885 bytes read in 401 ms (22.9 MiB/s)
Marvell>> bootm 0x00800000 0x02100000
## Booting image at 00800000 ...
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.8-mvebu-tld-1
   Created:      2022-12-04  18:15:34 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5236531 Bytes = 5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02100000 ...
   Image Name:   initramfs-5.13.8-mvebu-tld-1
   Created:      2021-09-24   7:54:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9649821 Bytes = 9.2 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Silence, after that.
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 14, 2022 03:56AM
Checking the thread I know, I guess, what I need to do, but, remember, I can not work with ext2 partitions

Marvell>> ext2ls usb 0:2

Silence and stuck
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 14, 2022 04:11PM
First, compare u-boot

mcmg2's

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

mvBoardIdIndexGet(boardId) = 1
Board: GrandTeton DB6820
SoC:   MV88F6820 Rev A0
       running 2 CPUs

Yours

U-Boot 2013.01_v1.04 (Apr 19 2020 - 23:10:38) Marvell version: 2014_T3.0p6

mvBoardIdIndexGet(boardId) = 1
Board: GrandTeton DB6820
SoC:   MV88F6820 Rev A0
       running 2 CPUs

Apparently the version that mcmg2 using might be better.

mcmg2's boot log:
Hit any key to stop autoboot:  0
Booting from USB ...
(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found

Your boot log
Marvell>> usb start
(Re)start USB...
USB0:   Port (usbActive) : 1    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found

Note the 2 envs: usbActive and usbType.

mcmg2s:
usbActive=0
usbType=3

Yours:
usbActive=1
usbType=3

==========

- So try settings the envs

setenv usbActive 0
setev usbType 3
Attach with the Ext3 rootfs to 1st USB port, do "usb start" and ext2ls. If that does not work, then try 2nd USB port.

- Also look at the envs. Is there other differences?

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 14, 2022 04:24PM
Hi

It seems his is older than mine jul 2017 vs April 2020

I will check his envs

Thanks
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 15, 2022 03:28AM
.



Edited 1 time(s). Last edit at 12/15/2022 03:32AM by i5Js.
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 15, 2022 03:32AM
Strange, but satisfying :)

USB port two can read ext partitions:

Marvell>> setenv usbActive 0
Marvell>> setenv usbType 3
Marvell>> usb start
(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
Marvell>> ext2ls usb 0:2
<DIR>       4096 .
<DIR>       4096 ..
<DIR>      16384 lost+found
<SYM>          7 lib
<DIR>       4096 proc
<DIR>       4096 usr
<DIR>       4096 dev
<DIR>       4096 tmp
<DIR>       4096 home
<DIR>       4096 srv
<DIR>       4096 root
<DIR>       4096 mnt
<DIR>       4096 opt
<DIR>       4096 var
<SYM>          7 bin
<DIR>       4096 sys
<DIR>       4096 etc
<DIR>       4096 media
<DIR>       4096 boot
<DIR>       4096 run
<SYM>          8 sbin
Marvell>> ext2ls usb 0:2 boot
<DIR>       4096 .
<DIR>       4096 ..
         3257307 uImage-5.18.19
         1622632 uRamdisk.old
         3257307 uImage
         1622387 uRamdisk
<DIR>       4096 boot.b
<DIR>       4096 boot.p
Marvell>> ext2ls usb 0:2 boot/boot.b
<DIR>       4096 .
<DIR>       4096 ..
         5241862 uImage
         5236595 uImageK5
         1622632 uRamdisk
         9649885 uRamdiskK5
So, using the settings before:

Marvell>> setenv bootargs "console=ttyS0,115200 root=/dev/sda2 $(mtdparts) earlyprintk=serial"
Marvell>> setenv initrd_high 0xffffffff
Marvell>> setenv fdt_skip_update yes
Marvell>> ext2load usb 0:2 0x00800000 boot/boot.b/uImageK5
5236595 bytes read in 578 ms (8.6 MiB/s)
Marvell>> ext2load usb 0:2 0x02100000 boot/boot.b/uRamdiskK5
9649885 bytes read in 777 ms (11.8 MiB/s)

It can boot reading everything from /dev/sda2 (USB stick), boot included

Marvell>> bootm 0x00800000 0x02100000
## Booting image at 00800000 ...
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-5.13.8-mvebu-tld-1
   Created:      2022-12-04  18:15:34 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5236531 Bytes = 5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02100000 ...
   Image Name:   initramfs-5.13.8-mvebu-tld-1
   Created:      2021-09-24   7:54:32 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    9649821 Bytes = 9.2 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][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.13.8-mvebu-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 SMP PREEMPT Sat Aug 7 14:58:41 PDT 2021
[    0.000000][    T0] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000][    T0] OF: fdt: Machine model: WD MyCloud Ex2 Ultra
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writealloc
[    0.000000][    T0] Zone ranges:
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000][    T0]   HighMem  [mem 0x0000000030000000-0x000000003fffffff]
[    0.000000][    T0] Movable zone start for each node
[    0.000000][    T0] Early memory node ranges
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000][    T0] percpu: Embedded 21 pages/cpu s54668 r8192 d23156 u86016
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 260608
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=/dev/sda2 $(mtdparts) earlyprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000][    T0] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 1011704K/1048576K available (11264K kernel code, 1483K rwdata, 3112K rodata, 1024K init, 325K bss, 36872K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x404/0x78c with crng_init=0
[    0.000000][    T0] trace event string verifier disabled
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000][    T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x06070000 -> 0x16070000
[    0.000000][    T0] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000][    T0] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000][    T0] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000][    T0] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000][    T0] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000][    T0] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000001][    T0] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns
[    0.008682][    T0] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns
[    0.020390][    T0] Switching to timer-based delay loop, resolution 1ns
[    0.027195][    T0] Ignoring duplicate/late registration of read_current_timer delay
[    0.034912][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.047022][    T0] Console: colour dummy device 80x30
[    0.052169][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000)
[    0.063440][    T0] pid_max: default: 32768 minimum: 301
[    0.068862][    T0] LSM: Security Framework initializing
[    0.074206][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.082191][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.091196][    T0] CPU: Testing write buffer coherency: ok
[    0.096765][    T0] CPU0: Spectre v2: using BPIALL workaround
[    0.102630][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.109443][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.116391][    T1] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.122340][    T1] mvebu-pmsu: Initializing Power Management Service Unit
[    0.129299][    T1] rcu: Hierarchical SRCU implementation.
[    0.135302][    T1] smp: Bringing up secondary CPUs ...
[    0.140929][    T1] Booting CPU 1
[    0.144387][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.144397][    T0] CPU1: Spectre v2: using BPIALL workaround
[    0.156543][    T1] smp: Brought up 1 node, 2 CPUs
[    0.161345][    T1] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.168378][    T1] CPU: All CPU(s) started in SVC mode.
[    0.174046][    T1] devtmpfs: initialized
[    0.180849][    T1] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.189372][   T24] wait_for_initramfs() called before rootfs_initcalls
[    0.189514][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.206490][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.236307][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.243442][    T1] prandom: seed boundary self test passed
[    0.250563][    T1] prandom: 100 self tests passed
[    0.255347][    T1] pinctrl core: initialized pinctrl subsystem
[    0.262427][    T1] NET: Registered protocol family 16
[    0.268300][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.276439][    T1] audit: initializing netlink subsys (disabled)
[    0.282649][   T36] audit: type=2000 audit(0.250:1): state=initialized audit_enabled=0 res=1
[    0.283834][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.291354][    T1] cpuidle: using governor ladder
[    0.302843][    T1] cpuidle: using governor menu
[    0.307609][    T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.316278][    T1] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.322934][    T1] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.331717][    T1] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.547101][    T1] raid6: int32x8  gen()   243 MB/s
[    0.717040][    T1] raid6: int32x8  xor()   168 MB/s
[    0.887113][    T1] raid6: int32x4  gen()   280 MB/s
[    1.057113][    T1] raid6: int32x4  xor()   180 MB/s
[    1.227112][    T1] raid6: int32x2  gen()   448 MB/s
[    1.397072][    T1] raid6: int32x2  xor()   262 MB/s
[    1.567089][    T1] raid6: int32x1  gen()   498 MB/s
[    1.737053][    T1] raid6: int32x1  xor()   185 MB/s
[    1.741998][    T1] raid6: using algorithm int32x1 gen() 498 MB/s
[    1.748077][    T1] raid6: .... xor() 185 MB/s, rmw enabled
[    1.753627][    T1] raid6: using intx1 recovery algorithm
[    1.759791][    T1] vgaarb: loaded
[    1.763505][    T1] SCSI subsystem initialized
[    1.768273][    T1] usbcore: registered new interface driver usbfs
[    1.774472][    T1] usbcore: registered new interface driver hub
[    1.780509][    T1] usbcore: registered new device driver usb
[    1.786450][    T1] mc: Linux media interface: v0.10
[    1.791448][    T1] videodev: Linux video capture interface: v2.00
[    1.797704][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.803343][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.813156][    T1] PTP clock support registered
[    1.819240][    T1] clocksource: Switched to clocksource arm_global_timer
[    1.853599][    T1] VFS: Disk quotas dquot_6.6.0
[    1.858266][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.873679][    T1] NET: Registered protocol family 2
[    1.878836][    T1] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.892391][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.901547][    T1] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.910034][    T1] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.917910][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    1.925365][    T1] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.933518][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.940843][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.948699][    T1] NET: Registered protocol family 1
[    1.954159][    T1] RPC: Registered named UNIX socket transport module.
[    1.960805][    T1] RPC: Registered udp transport module.
[    1.966184][    T1] RPC: Registered tcp transport module.
[    1.971601][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.978713][    T1] PCI: CLS 0 bytes, default 64
[    1.983583][  T538] Trying to unpack rootfs image as initramfs...
[    1.989681][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    2.009391][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    2.386619][  T538] Freeing initrd memory: 9424K
[    2.626384][    T1] Initialise system trusted keyrings
[    2.631561][    T1] Key type blacklist registered
[    2.636359][    T1] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    2.643580][    T1] zbud: loaded
[    2.647737][    T1] NFS: Registering the id_resolver key type
[    2.653502][    T1] Key type id_resolver registered
[    2.658363][    T1] Key type id_legacy registered
[    2.663075][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.670459][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    2.678519][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.745080][    T1] xor: measuring software checksum speed
[    2.755096][    T1]    arm4regs        :  2172 MB/sec
[    2.766142][    T1]    8regs           :  1637 MB/sec
[    2.776861][    T1]    32regs          :  1733 MB/sec
[    2.781902][    T1] xor: using function: arm4regs (2172 MB/sec)
[    2.787806][    T1] async_tx: api initialized (async)
[    2.792848][    T1] Key type asymmetric registered
[    2.797620][    T1] Asymmetric key parser 'x509' registered
[    2.803259][    T1] bounce: pool size: 64 pages
[    2.807900][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    2.816052][    T1] io scheduler bfq registered
[    2.822635][    T1] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    2.831328][    T1] debugfs: Directory 'f1018100.gpio' with parent 'regmap' already present!
[    2.840440][    T1] debugfs: Directory 'f1018140.gpio' with parent 'regmap' already present!
[    2.850239][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    2.909806][    T1] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    2.919535][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    2.979807][    T1] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.047261][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.056265][    T1] printk: console [ttyS0] disabled
[    3.081394][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 31, base_baud = 12500000) is a 16550A
[    3.091096][    T1] printk: console [ttyS0] enabled
[    3.091096][    T1] printk: console [ttyS0] enabled
[    3.100923][    T1] printk: bootconsole [earlycon0] disabled
[    3.100923][    T1] printk: bootconsole [earlycon0] disabled
[    3.133370][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 32, base_baud = 12500000) is a 16550A
[    3.144523][    T1] ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator
[    3.153025][    T1] ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator
[    3.161316][    T1] ahci-mvebu f10a8000.sata: supply target not found, using dummy regulator
[    3.169916][    T1] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    3.179728][    T1] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    3.190364][    T1] scsi host0: ahci-mvebu
[    3.195031][    T1] scsi host1: ahci-mvebu
[    3.199371][    T1] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 52
[    3.208036][    T1] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 52
[    3.217873][    T1] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[    3.224985][    T1] nand: Macronix MX30LF2G18AC
[    3.229555][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    3.238445][    T1] Bad block table found at page 131008, version 0x01
[    3.245681][    T1] Bad block table found at page 130944, version 0x01
[    3.252586][    T1] nand_read_bbt: bad block at 0x000002020000
[    3.258458][    T1] nand_read_bbt: bad block at 0x0000062e0000
[    3.264335][    T1] nand_read_bbt: bad block at 0x00000bac0000
[    3.270206][    T1] nand_read_bbt: bad block at 0x00000d300000
[    3.276071][    T1] nand_read_bbt: bad block at 0x00000dc60000
[    3.281994][    T1] 8 fixed-partitions partitions found on MTD device pxa3xx_nand-0
[    3.289707][    T1] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    3.295836][    T1] 0x000000000000-0x000000500000 : "U-Boot"
[    3.302482][    T1] 0x000000500000-0x000000a00000 : "uImage"
[    3.308983][    T1] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    3.315668][    T1] 0x000000f00000-0x00000c800000 : "image.cfs"
[    3.322846][    T1] 0x00000c800000-0x00000d700000 : "rescue fw"
[    3.329704][    T1] 0x00000d700000-0x00000eb00000 : "config"
[    3.336256][    T1] 0x00000eb00000-0x00000f500000 : "reserve1"
[    3.342977][    T1] 0x00000f500000-0x00000ff00000 : "reserve2"
[    3.350214][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    3.358794][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    3.369856][    T1] libphy: Fixed MDIO Bus: probed
[    3.375620][    T1] libphy: orion_mdio_bus: probed
[    3.390139][    T1] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    3.402101][    T1] mvneta f1034000.ethernet eth0: Using random mac address 52:16:69:5d:d6:b4
[    3.411070][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.418356][    T1] ehci-pci: EHCI PCI platform driver
[    3.423603][    T1] ehci-orion: EHCI orion driver
[    3.428492][    T1] orion-ehci f1058000.usb: EHCI Host Controller
[    3.434669][    T1] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    3.443097][    T1] orion-ehci f1058000.usb: irq 48, io mem 0xf1058000
[    3.479250][    T1] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    3.486077][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    3.495117][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.503099][    T1] usb usb1: Product: EHCI Host Controller
[    3.508717][    T1] usb usb1: Manufacturer: Linux 5.13.8-mvebu-tld-1 ehci_hcd
[    3.515909][    T1] usb usb1: SerialNumber: f1058000.usb
[    3.521657][    T1] hub 1-0:1.0: USB hub found
[    3.526154][    T1] hub 1-0:1.0: 1 port detected
[    3.531920][    T1] usbcore: registered new interface driver usblp
[    3.538218][    T1] usbcore: registered new interface driver usb-storage
[    3.545001][ T1240] ata1: SATA link down (SStatus 0 SControl 300)
[    3.551385][    T1] mousedev: PS/2 mouse device common for all mice
[    3.551695][ T1245] ata2: SATA link down (SStatus 0 SControl 300)
[    3.558669][    T1] armada38x-rtc f10a3800.rtc: registered as rtc0
[    3.570261][    T1] armada38x-rtc f10a3800.rtc: setting system clock to 2022-12-15T09:23:29 UTC (1671096209)
[    3.580436][    T1] i2c /dev entries driver
[    3.584796][    T1] mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recovery not supported
[    3.593619][    T1] mv64xxx_i2c f1011100.i2c: can't get pinctrl, bus recovery not supported
[    3.604636][    T1] orion_wdt: Initial timeout 171 sec
[    3.610318][    T1] device-mapper: uevent: version 1.0.3
[    3.615788][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    3.625187][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    3.632474][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    3.639833][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    3.647209][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    3.654044][    T1] device-mapper: raid: Loading target version 1.15.1
[    3.663304][    T1] marvell-cesa f1090000.crypto: CESA device successfully registered
[    3.671414][    T1] hid: raw HID events driver (C) Jiri Kosina
[    3.677527][    T1] usbcore: registered new interface driver usbhid
[    3.683858][    T1] usbhid: USB HID core driver
[    3.688660][    T1] drop_monitor: Initializing network drop monitor service
[    3.695994][    T1] NET: Registered protocol family 10
[    3.701921][    T1] Segment Routing with IPv6
[    3.706308][    T1] RPL Segment Routing with IPv6
[    3.711114][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.718619][    T1] NET: Registered protocol family 17
[    3.723991][    T1] 8021q: 802.1Q VLAN Support v1.8
[    3.728932][    T1] Key type dns_resolver registered
[    3.734056][    T1] ThumbEE CPU extension supported.
[    3.739055][    T1] Registering SWP/SWPB emulation handler
[    3.744907][    T1] registered taskstats version 1
[    3.749766][    T1] Loading compiled-in X.509 certificates
[    3.755673][    T1] zswap: loaded using pool lzo/zbud
[    3.761016][    T1] Key type ._fscrypt registered
[    3.765752][    T1] Key type .fscrypt registered
[    3.770417][    T1] Key type fscrypt-provisioning registered
[    3.777291][    T1] Key type big_key registered
[    3.795396][    T1] Key type encrypted registered
[    3.802870][   T23] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    3.808931][   T23] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    3.817306][   T23] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    3.827341][   T23] xhci-hcd f10f0000.usb3: irq 54, io mem 0xf10f0000
[    3.834084][   T23] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    3.843114][   T23] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.851093][   T23] usb usb2: Product: xHCI Host Controller
[    3.856698][   T23] usb usb2: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    3.863881][   T23] usb usb2: SerialNumber: f10f0000.usb3
[    3.869825][   T23] hub 2-0:1.0: USB hub found
[    3.874325][   T23] hub 2-0:1.0: 1 port detected
[    3.879346][   T23] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    3.885399][   T23] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    3.893656][   T23] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed
[    3.900872][   T23] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.909813][   T23] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[    3.918827][   T23] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.926800][   T23] usb usb3: Product: xHCI Host Controller
[    3.932411][   T23] usb usb3: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    3.939592][   T23] usb usb3: SerialNumber: f10f0000.usb3
[    3.945462][   T23] hub 3-0:1.0: USB hub found
[    3.949972][   T23] hub 3-0:1.0: 1 port detected
[    3.955275][   T23] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    3.961353][   T23] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    3.969675][   T23] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    3.979792][   T23] xhci-hcd f10f8000.usb3: irq 55, io mem 0xf10f8000
[    3.986488][   T23] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    3.995517][   T23] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.003489][   T23] usb usb4: Product: xHCI Host Controller
[    4.009093][   T23] usb usb4: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.016438][   T23] usb usb4: SerialNumber: f10f8000.usb3
[    4.022351][   T23] hub 4-0:1.0: USB hub found
[    4.026848][   T23] hub 4-0:1.0: 1 port detected
[    4.031908][   T23] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    4.037960][   T23] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    4.046218][   T23] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
[    4.053369][   T23] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.062371][   T23] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[    4.071394][   T23] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.079376][   T23] usb usb5: Product: xHCI Host Controller
[    4.084981][   T23] usb usb5: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.092220][   T23] usb usb5: SerialNumber: f10f8000.usb3
[    4.098098][   T23] hub 5-0:1.0: USB hub found
[    4.102663][   T23] hub 5-0:1.0: 1 port detected
[    4.108326][    T1] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    4.118143][    T1] Freeing unused kernel memory: 1024K
[    4.159270][   T55] usb 2-1: new high-speed USB device number 2 using xhci-hcd
[    4.167091][    T1] Checked W+X mappings: passed, no W+X pages found
[    4.173512][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[    4.341297][   T55] usb 2-1: New USB device found, idVendor=0951, idProduct=1665, bcdDevice= 1.00
[    4.359618][   T55] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.367507][   T55] usb 2-1: Product: DataTraveler 2.0
[    4.372703][   T55] usb 2-1: Manufacturer: Kingston
[    4.377614][   T55] usb 2-1: SerialNumber: 00241D8CE480FE10B97245FE
[    4.384673][   T55] usb-storage 2-1:1.0: USB Mass Storage device detected
[    4.416745][   T55] scsi host2: usb-storage 2-1:1.0
[    4.485089][ T1552] usbcore: registered new interface driver uas
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Waiting for root file system ... [    5.476955][   T23] scsi 2:0:0:0: Direct-Access     Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 4
[    5.488683][  T535] sd 2:0:0:0: [sda] 15131636 512-byte logical blocks: (7.75 GB/7.21 GiB)
[    5.497290][  T535] sd 2:0:0:0: [sda] Write Protect is off
[    5.503049][  T535] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    5.515709][  T535]  sda: sda1 sda2
[    5.521364][  T535] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    5.575411][    C0] random: fast init done
Begin: Running /scripts/local-block ... done.
done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext3 (1) -- /dev/sda2] fsck.ext3 -a -C0 /dev/sda2 
rootfs: clean, 26694/470496 files, 272004/1878398 blocks
done.
[    6.195775][ T1581] EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystem
[    6.247460][ T1581] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[    6.923911][    T1] systemd[1]: systemd 247.3-7+deb11u1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
[    6.948183][    T1] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 11 (bullseye)!

[    6.990280][    T1] systemd[1]: Set hostname to <wdmycloud>.
[    7.558675][    T1] systemd[1]: Queued start job for default target Graphical Interface.
[    7.567766][    T1] random: systemd: uninitialized urandom read (16 bytes read)
[    7.575270][    T1] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[    7.588412][    T1] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[    7.598719][    T1] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[    7.639378][    T1] random: systemd: uninitialized urandom read (16 bytes read)
[    7.647282][    T1] systemd[1]: Created slice system-modprobe.slice.
[  OK  ] Created slice system-modprobe.slice.
[    7.689349][    T1] random: systemd: uninitialized urandom read (16 bytes read)
[    7.697219][    T1] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    7.739757][    T1] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    7.779577][    T1] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[    7.819529][    T1] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[    7.859962][    T1] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount Arbitrary…s File System Automount Point.
[    7.899500][    T1] systemd[1]: Reached target Local Encrypted Volumes.
[  OK  ] Reached target Local Encrypted Volumes.
[    7.939571][    T1] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[    7.969427][    T1] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    8.009371][    T1] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    8.039514][    T1] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    8.069825][    T1] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    8.109727][    T1] systemd[1]: Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[    8.149549][    T1] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[    8.189847][    T1] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[    8.229702][    T1] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    8.269807][    T1] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    8.316853][    T1] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    8.349740][    T1] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    8.389711][    T1] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[    8.401133][    T1] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    8.441874][    T1] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[    8.481918][    T1] systemd[1]: Mounting Kernel Trace File System...
         Mounting Kernel Trace File System...
[    8.522507][    T1] systemd[1]: Starting Set the console keyboard layout...
         Starting Set the console keyboard layout...
[    8.559527][    T1] systemd[1]: Condition check resulted in Create list of static device nodes for the current kernel being skipped.
[    8.575346][    T1] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[    8.612770][    T1] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[    8.630225][    T1] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[    8.649660][    T1] systemd[1]: Started Nameserver information manager.
[  OK  ] Started Nameserver information manager.
[    8.689901][    T1] systemd[1]: Reached target Network (Pre).
[  OK  ] Reached target Network (Pre).
[    8.732848][    T1] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    8.742988][    T1] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[    8.755908][    T1] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    8.795422][    T1] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    8.832278][    T1] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[    8.873198][    T1] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[    8.925630][ T1655] EXT4-fs (sda2): re-mounted. Opts: commit=600,errors=remount-ro. Quota mode: none.
[    8.951578][    T1] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Trace File System.
[  OK  ] Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Modules.
[  OK  ] Finished Remount Root and Kernel File Systems.
         Starting Flush Journal to Persistent Storage...
         Starting Load/Save Random Seed...
[    9.314480][ T1643] systemd-journald[1643]: Received client request to flush runtime journal.
         Starting Apply Kernel Variables...
         Starting Create System Users...
[  OK  ] Finished Coldplug All udev Devices.
         Starting Helper to synchronize boot up for ifupdown...
[   10.246828][ T1643] systemd-journald[1643]: File /var/log/journal/8425379b321b4df9957e2a4ab3974d43/system.journal corrupted or uncleanly shut down, renaming and replacing.
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Create System Users.
         Starting Create Static Device Nodes in /dev...
[   12.219268][    C0] random: crng init done
[   12.223408][    C0] random: 7 urandom warning(s) missed due to ratelimiting
[  OK  ] Finished Set the console keyboard layout.
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Starting Rule-based Manage…for Device Events and Files...
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Found device /sys/subsystem/net/devices/eth0.
[  OK  ] Found device DataTraveler_2.0 1.
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
         Mounting /boot...
[   20.913518][ T1730] FAT-fs (sda1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[   20.938007][ T1730] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[  OK  ] Mounted /boot.
[  OK  ] Reached target Local File Systems.
         Starting Armbian ZRAM config...
         Starting Set console font and keymap...
[  OK  ] Started ifup for eth0.
         Starting Raise network interfaces...
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[FAILED] Failed to start Armbian ZRAM config.
See 'systemctl status armbian-zram-config.service' for details.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Set.
[   21.720176][ T1829] mvneta f1034000.ethernet eth0: PHY [f1072004.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL)
[   21.733368][ T1829] mvneta f1034000.ethernet eth0: configuring for phy/sgmii link mode
[  OK  ] Reached target System Time Synchronized.
         Starting Armbian memory supported logging...
[FAILED] Failed to start Set console font and keymap.
See 'systemctl status console-setup.service' for details.
[   25.939670][ T1664] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   25.948451][ T1664] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  OK  ] Finished Armbian memory supported logging.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Periodic ext4 Onli…ata Check for All Filesystems.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Run system activit…ounting tool every 10 minutes.
[  OK  ] Started Generate summary o…esterday's process accounting.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started D-Bus System Message Bus.
         Starting Remove Stale Onli…t4 Metadata Check Snapshots...
         Starting System Logging Service...
         Starting Resets System Activity Logs...
         Starting User Login Management...
[  OK  ] Started System Logging Service.
[  OK  ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots.
[  OK  ] Finished Resets System Activity Logs.
[  OK  ] Started User Login Management.
         Starting Rotate log files...
         Starting Daily man-db regeneration...
[  OK  ] Finished Rotate log files.
[  OK  ] Finished Daily man-db regeneration.
[  OK  ] Finished Raise network interfaces.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
         Starting LSB: simple distributed compiler server...
         Starting OpenBSD Secure Shell server...
         Starting Permit User Sessions...
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: simple distributed compiler server.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Finished Update UTMP about System Runlevel Changes.
[   33.583032][ T1979] fbcon: Taking over console

Debian GNU/Linux 11 wdmycloud ttyS0

wdmycloud login: root
Password: 
Linux wdmycloud 5.13.8-mvebu-tld-1 #1.0 SMP PREEMPT Sat Aug 7 14:58:41 PDT 2021 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.
Last login: Tue Dec 13 21:12:51 CET 2022 on ttyS0
root@wdmycloud:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00500000 00020000 "U-Boot"
mtd1: 00500000 00020000 "uImage"
mtd2: 00500000 00020000 "uRamdisk"
mtd3: 0b900000 00020000 "image.cfs"
mtd4: 00f00000 00020000 "rescue fw"
mtd5: 01400000 00020000 "config"
mtd6: 00a00000 00020000 "reserve1"
mtd7: 00a00000 00020000 "reserve2"
root@wdmycloud:~# cat /proc/cmdline
console=ttyS0,115200 root=/dev/sda2 $(mtdparts) earlyprintk=serial
root@wdmycloud:~#

Lessons learned:

** USB port one is useless. It can only read fat partitions
** The patched U-BOOT that we can find here works. We only need to enable and work with the USB port two
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 15, 2022 03:47AM
Boot log using a custom K6 kernel:

Marvell>> setenv usbActive 0
Marvell>> setenv usbType 3
Marvell>> usb start
(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
Marvell>> setenv bootargs "console=ttyS0,115200 root=/dev/sda2 $(mtdparts) earlyprintk=serial"
Marvell>> setenv initrd_high 0xffffffff
Marvell>> setenv fdt_skip_es
Marvell>> ext2load usb 0:2 0x00800000 boot/boot.p/uImage
4525593 bytes read in 547 ms (7.9 MiB/s)
Marvell>> ext2load usb 0:2 0x02100000 boot/boot.p/uRamdisk
1622632 bytes read in 441 ms (3.5 MiB/s)
Marvell>> ext2ls usb 0:2 boot/boot.p
<DIR>       4096 .
<DIR>       4096 ..
         4525593 uImage
         1622632 uRamdisk
          120977 linux-6.0.10.config
Marvell>> bootm 0x00800000 0x02100000
## Booting image at 00800000 ...
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   WDMC-EX2-Ultra
   Created:      2022-12-02  11:37:13 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4525529 Bytes = 4.3 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02100000 ...
   Image Name:   Custom initramfs
   Created:      2021-07-28   7:11:31 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    1622568 Bytes = 1.5 MiB
   Load Address: 00e00000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

DTB:0x004540D8 (0x00004D01)
C:0x000080E0-0x00458E80->0x00E7FF00-0x012D0CA0
DTB:0x012CBEF8 (0x00004D9E)
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0x0
Linux version 6.0.10 (root@virtsrv) (arm-none-eabi-gcc (15:8-2019-q3-1+b1) 8.3.1 20190703 (release) [gcc-8-branch revision 273027], GNU ld (2.35.2-2+14+b2) 2.35.2) #1 SMP PREEMPT Fri Dec 2 12:12:59 CET 2022
CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt: Machine model: My Cloud Expert Series EX2 Ultra (BVBZ/Ranger Peak)
Memory policy: Data cache writealloc
Zone ranges:
  Normal   [mem 0x0000000000000000-0x000000002fffffff]
  HighMem  [mem 0x0000000030000000-0x000000003fffffff]
Movable zone start for each node
Early memory node ranges
  node   0: [mem 0x0000000000000000-0x000000003fffffff]
Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff]
percpu: Embedded 11 pages/cpu s16212 r8192 d20652 u45056
Built 1 zonelists, mobility grouping on.  Total pages: 260416
Kernel command line: console=ttyS0,115200 root=/dev/sda2 $(mtdparts) earlyprintk=serial
Unknown kernel command line parameters "$(mtdparts) earlyprintk=serial", will be passed to user space.
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
mem auto-init: stack:off, heap alloc:off, heap free:off
Memory: 1022612K/1048576K available (8980K kernel code, 508K rwdata, 2352K rodata, 1024K init, 351K bss, 25964K reserved, 0K cma-reserved, 262144K highmem)
rcu: Preemptible hierarchical RCU implementation.
rcu:    RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
        Trampoline variant of Tasks RCU enabled.
        Tracing variant of Tasks RCU enabled.
rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
L2C: DT/platform modifies aux control register: 0x06070000 -> 0x16070000
L2C-310 enabling early BRESP for Cortex-A9
L2C-310 full line of zeros enabled for Cortex-A9
L2C-310 D prefetch enabled, offset 1 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
rcu: srcu_init: Setting srcu_struct sizes based on contention.
sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns
clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns
Switching to timer-based delay loop, resolution 1ns
Ignoring duplicate/late registration of read_current_timer delay
clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=666000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
CPU: Testing write buffer coherency: ok
CPU0: Spectre v2: using BPIALL workaround
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
cblist_init_generic: Setting adjustable number of callback queues.
cblist_init_generic: Setting shift to 1 and lim to 1.
cblist_init_generic: Setting shift to 1 and lim to 1.
Setting up static identity map for 0x100000 - 0x100060
mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
mvebu-pmsu: Initializing Power Management Service Unit
rcu: Hierarchical SRCU implementation.
rcu:    Max phase no-delay instances is 400.
smp: Bringing up secondary CPUs ...
Booting CPU 1
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
CPU1: Spectre v2: using BPIALL workaround
smp: Brought up 1 node, 2 CPUs
SMP: Total of 2 processors activated (2664.00 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
futex hash table entries: 512 (order: 3, 32768 bytes, linear)
pinctrl core: initialized pinctrl subsystem
NET: Registered PF_NETLINK/PF_ROUTE protocol family
DMA: preallocated 256 KiB pool for atomic coherent allocations
thermal_sys: Registered thermal governor 'step_wise'
mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
cryptd: max_cpu_qlen set to 1000
raid6: neonx8   gen()   585 MB/s
raid6: neonx4   gen()  1677 MB/s
raid6: neonx2   gen()  2047 MB/s
raid6: neonx1   gen()  1705 MB/s
raid6: int32x8  gen()   243 MB/s
raid6: int32x4  gen()   276 MB/s
raid6: int32x2  gen()   442 MB/s
raid6: int32x1  gen()   525 MB/s
raid6: using algorithm neonx2 gen() 2047 MB/s
raid6: .... xor() 1309 MB/s, rmw enabled
raid6: using neon recovery algorithm
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
clocksource: Switched to clocksource arm_global_timer
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
FS-Cache: Loaded
NET: Registered PF_INET protocol family
IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
TCP: Hash tables configured (established 8192 bind 8192)
MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
NET: Registered PF_UNIX/PF_LOCAL protocol family
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NET: Registered PF_XDP protocol family
PCI: CLS 0 bytes, default 64
Trying to unpack rootfs image as initramfs...
workingset: timestamp_bits=14 max_order=18 bucket_order=4
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
Key type cifs.idmap registered
jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
Freeing initrd memory: 1588K
xor: measuring software checksum speed
   arm4regs        :  2164 MB/sec
   8regs           :  1541 MB/sec
   32regs          :  1724 MB/sec
   neon            :  1589 MB/sec
xor: using function: arm4regs (2164 MB/sec)
async_tx: api initialized (async)
bounce: pool size: 64 pages
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
mv_xor f1060800.xor: Marvell shared XOR driver
mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
mv_xor f1060900.xor: Marvell shared XOR driver
mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
printk: console [ttyS0] disabled
f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 38, base_baud = 12500000) is a 16550A
printk: console [ttyS0] enabled
f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 39, base_baud = 12500000) is a 16550A
brd: module loaded
loop: module loaded
ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator
ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator
nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
nand: Macronix MX30LF2G18AC
nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
Bad block table found at page 131008, version 0x01
Bad block table found at page 130944, version 0x01
nand_read_bbt: bad block at 0x000002020000
nand_read_bbt: bad block at 0x0000062e0000
nand_read_bbt: bad block at 0x00000bac0000
nand_read_bbt: bad block at 0x00000d300000
nand_read_bbt: bad block at 0x00000dc60000
9 fixed-partitions partitions found on MTD device pxa3xx_nand-0
Creating 9 MTD partitions on "pxa3xx_nand-0":
0x000000000000-0x000000500000 : "U-Boot"
0x000000500000-0x000000a00000 : "uImage"
0x000000a00000-0x000000f00000 : "uRamdisk"
0x000000f00000-0x000001400000 : "uImage-old"
0x000001400000-0x000001900000 : "uRamdisk-old"
0x000001900000-0x000001e00000 : "uImage-test"
0x000001e00000-0x000002300000 : "uRamdisk-test"
0x000002300000-0x000002800000 : "reserve2"
0x000002800000-0x00000ff00000 : "storage"
wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
hwmon hwmon0: temp1_input not attached to any thermal zone
mvneta f1034000.ethernet eth0: Using random mac address 46:88:a5:d7:9a:b8
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-orion: EHCI orion driver
orion-ehci f1058000.usb: EHCI Host Controller
orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
orion-ehci f1058000.usb: irq 42, io mem 0xf1058000
orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.00
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 6.0.10 ehci_hcd
usb usb1: SerialNumber: f1058000.usb
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
xhci-hcd f10f0000.usb3: xHCI Host Controller
xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
xhci-hcd f10f0000.usb3: irq 43, io mem 0xf10f0000
xhci-hcd f10f0000.usb3: xHCI Host Controller
xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.00
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: xHCI Host Controller
usb usb2: Manufacturer: Linux 6.0.10 xhci-hcd
usb usb2: SerialNumber: f10f0000.usb3
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.00
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: xHCI Host Controller
usb usb3: Manufacturer: Linux 6.0.10 xhci-hcd
usb usb3: SerialNumber: f10f0000.usb3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 1 port detected
xhci-hcd f10f8000.usb3: xHCI Host Controller
xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
xhci-hcd f10f8000.usb3: irq 44, io mem 0xf10f8000
xhci-hcd f10f8000.usb3: xHCI Host Controller
xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.00
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: xHCI Host Controller
usb usb4: Manufacturer: Linux 6.0.10 xhci-hcd
usb usb4: SerialNumber: f10f8000.usb3
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 1 port detected
usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.00
usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: Product: xHCI Host Controller
usb usb5: Manufacturer: Linux 6.0.10 xhci-hcd
usb usb5: SerialNumber: f10f8000.usb3
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
i2c_dev: i2c /dev entries driver
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
device-mapper: dm-log-userspace: version 1.3.0 loaded
device-mapper: raid: Loading target version 1.15.1
ledtrig-cpu: registered to indicate activity on CPUs
marvell-cesa f1090000.crypto: CESA device successfully registered
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
NET: Registered PF_INET6 protocol family
Segment Routing with IPv6
In-situ OAM (IOAM) with IPv6
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
NET: Registered PF_PACKET protocol family
Bridge firewalling registered
8021q: 802.1Q VLAN Support v1.8
Key type dns_resolver registered
Registering SWP/SWPB emulation handler
Btrfs loaded, crc32c=crc32c-generic, debug=on, assert=on, ref-verify=on, zoned=no, fsverity=no
BTRFS: selftest: sectorsize: 4096  nodesize: 4096
BTRFS: selftest: running btrfs free space cache tests
BTRFS: selftest: running extent only tests
BTRFS: selftest: running bitmap only tests
BTRFS: selftest: running bitmap and extent tests
BTRFS: selftest: running space stealing from bitmap to extent tests
usb 2-1: new high-speed USB device number 2 using xhci-hcd
BTRFS: selftest: running bytes index tests
BTRFS: selftest: running extent buffer operation tests
BTRFS: selftest: running btrfs_split_item tests
BTRFS: selftest: running extent I/O tests
BTRFS: selftest: running find delalloc tests
usb 2-1: New USB device found, idVendor=0951, idProduct=1665, bcdDevice= 1.00
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1: Product: DataTraveler 2.0
usb 2-1: Manufacturer: Kingston
usb 2-1: SerialNumber: 00241D8CE480FE10B97245FE
usb-storage 2-1:1.0: USB Mass Storage device detected
scsi host0: usb-storage 2-1:1.0
BTRFS: selftest: running find_first_clear_extent_bit test
BTRFS: selftest: running extent buffer bitmap tests
BTRFS: selftest: running inode tests
BTRFS: selftest: running btrfs_get_extent tests
BTRFS: selftest: running hole first btrfs_get_extent test
BTRFS: selftest: running outstanding_extents tests
BTRFS: selftest: running qgroup tests
BTRFS: selftest: running qgroup add/remove tests
BTRFS: selftest: running qgroup multiple refs test
BTRFS: selftest: running free space tree tests
BTRFS: selftest: sectorsize: 4096  nodesize: 8192
BTRFS: selftest: running btrfs free space cache tests
BTRFS: selftest: running extent only tests
BTRFS: selftest: running bitmap only tests
BTRFS: selftest: running bitmap and extent tests
BTRFS: selftest: running space stealing from bitmap to extent tests
BTRFS: selftest: running bytes index tests
BTRFS: selftest: running extent buffer operation tests
BTRFS: selftest: running btrfs_split_item tests
BTRFS: selftest: running extent I/O tests
BTRFS: selftest: running find delalloc tests
BTRFS: selftest: running find_first_clear_extent_bit test
BTRFS: selftest: running extent buffer bitmap tests
BTRFS: selftest: running inode tests
BTRFS: selftest: running btrfs_get_extent tests
BTRFS: selftest: running hole first btrfs_get_extent test
BTRFS: selftest: running outstanding_extents tests
BTRFS: selftest: running qgroup tests
BTRFS: selftest: running qgroup add/remove tests
BTRFS: selftest: running qgroup multiple refs test
BTRFS: selftest: running free space tree tests
BTRFS: selftest: sectorsize: 4096  nodesize: 16384
BTRFS: selftest: running btrfs free space cache tests
BTRFS: selftest: running extent only tests
BTRFS: selftest: running bitmap only tests
BTRFS: selftest: running bitmap and extent tests
BTRFS: selftest: running space stealing from bitmap to extent tests
BTRFS: selftest: running bytes index tests
BTRFS: selftest: running extent buffer operation tests
BTRFS: selftest: running btrfs_split_item tests
BTRFS: selftest: running extent I/O tests
BTRFS: selftest: running find delalloc tests
scsi 0:0:0:0: Direct-Access     Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 4
sd 0:0:0:0: [sda] 15131636 512-byte logical blocks: (7.75 GB/7.21 GiB)
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2
sd 0:0:0:0: [sda] Attached SCSI removable disk
BTRFS: selftest: running find_first_clear_extent_bit test
BTRFS: selftest: running extent buffer bitmap tests
BTRFS: selftest: running inode tests
BTRFS: selftest: running btrfs_get_extent tests
BTRFS: selftest: running hole first btrfs_get_extent test
BTRFS: selftest: running outstanding_extents tests
BTRFS: selftest: running qgroup tests
BTRFS: selftest: running qgroup add/remove tests
BTRFS: selftest: running qgroup multiple refs test
BTRFS: selftest: running free space tree tests
BTRFS: selftest: sectorsize: 4096  nodesize: 32768
BTRFS: selftest: running btrfs free space cache tests
BTRFS: selftest: running extent only tests
BTRFS: selftest: running bitmap only tests
BTRFS: selftest: running bitmap and extent tests
BTRFS: selftest: running space stealing from bitmap to extent tests
BTRFS: selftest: running bytes index tests
BTRFS: selftest: running extent buffer operation tests
BTRFS: selftest: running btrfs_split_item tests
BTRFS: selftest: running extent I/O tests
BTRFS: selftest: running find delalloc tests
BTRFS: selftest: running find_first_clear_extent_bit test
BTRFS: selftest: running extent buffer bitmap tests
BTRFS: selftest: running inode tests
BTRFS: selftest: running btrfs_get_extent tests
BTRFS: selftest: running hole first btrfs_get_extent test
BTRFS: selftest: running outstanding_extents tests
BTRFS: selftest: running qgroup tests
BTRFS: selftest: running qgroup add/remove tests
BTRFS: selftest: running qgroup multiple refs test
BTRFS: selftest: running free space tree tests
BTRFS: selftest: sectorsize: 4096  nodesize: 65536
BTRFS: selftest: running btrfs free space cache tests
BTRFS: selftest: running extent only tests
BTRFS: selftest: running bitmap only tests
BTRFS: selftest: running bitmap and extent tests
BTRFS: selftest: running space stealing from bitmap to extent tests
BTRFS: selftest: running bytes index tests
BTRFS: selftest: running extent buffer operation tests
BTRFS: selftest: running btrfs_split_item tests
BTRFS: selftest: running extent I/O tests
BTRFS: selftest: running find delalloc tests
BTRFS: selftest: running find_first_clear_extent_bit test
BTRFS: selftest: running extent buffer bitmap tests
BTRFS: selftest: running inode tests
BTRFS: selftest: running btrfs_get_extent tests
BTRFS: selftest: running hole first btrfs_get_extent test
BTRFS: selftest: running outstanding_extents tests
BTRFS: selftest: running qgroup tests
BTRFS: selftest: running qgroup add/remove tests
BTRFS: selftest: running qgroup multiple refs test
BTRFS: selftest: running free space tree tests
BTRFS: selftest: running extent_map tests
BTRFS: selftest: running rmap tests
ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator
ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator
ahci-mvebu f10a8000.sata: masking port_map 0x3 -> 0x3
ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
scsi host1: ahci-mvebu
scsi host2: ahci-mvebu
ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 47
ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 47
ata2: SATA link down (SStatus 0 SControl 300)
ata1: SATA link down (SStatus 0 SControl 300)
Freeing unused kernel image (initmem) memory: 1024K
Run /init as init process
### Press any key to stop and run shell... (2)EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystem
EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: none.
/init: line 79: can't create /sys/class/leds/system-blue/trigger: nonexistent directory
/init: line 80: can't create /sys/class/leds/system-green/trigger: nonexistent directory
/init: line 81: can't create /sys/class/leds/system-red/trigger: nonexistent directory
ip: "?????????????????" is invalid lladdr
systemd[1]: System time before build time, advancing clock.
ip_tables: version magic '6.0.10 SMP mod_unload ARMv7 p2v8 ' should be '6.0.10 SMP preempt mod_unload ARMv7 p2v8 '
systemd[1]: systemd 247.3-7+deb11u1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified)
systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 11 (bullseye)!

systemd[1]: Set hostname to <wdmycloud>.
systemd[1]: Queued start job for default target Graphical Interface.
random: crng init done
systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
systemd[1]: Created slice system-modprobe.slice.
[  OK  ] Created slice system-modprobe.slice.
systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
systemd[1]: Reached target Local Encrypted Volumes.
[  OK  ] Reached target Local Encrypted Volumes.
systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
systemd[1]: Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
systemd[1]: Condition check resulted in Huge Pages File System being skipped.
systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
systemd[1]: Starting Set the console keyboard layout...
         Starting Set the console keyboard layout...
systemd[1]: Starting Create list of static device nodes for the current kernel...
         Starting Create list of st…odes for the current kernel...
systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
systemd[1]: Started Nameserver information manager.
[  OK  ] Started Nameserver information manager.
fuse: version magic '6.0.10 SMP mod_unload ARMv7 p2v8 ' should be '6.0.10 SMP preempt mod_unload ARMv7 p2v8 '
systemd[1]: Reached target Network (Pre).
[  OK  ] Reached target Network (Pre).
systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
systemd[1]: Starting File System Check on Root Device...
         Starting File System Check on Root Device...
systemd[1]: Starting Journal Service...
         Starting Journal Service...
systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ystemd[1]: Mounted Kernel Debug File System.
0m] Mounted POSIX Messasystemd[1]: Finished Create list of static device nodes for the current kernel.
ge Queue File System.
[ystemd[1]: modprobe@configfs.service: Succeeded.
32m  OK  ] Mounted systemd[1]: Finished Load Kernel Module configfs.
Kernel Debug File System.
[systemd[1]: modprobe@drm.service: Succeeded.
  OK  ystemd[1]: Finished Load Kernel Module drm.
m] Finished Create list of st… nodes systemd[1]: modprobe@fuse.service: Succeeded.
for the current systemd[1]: Finished Load Kernel Module fuse.
kernel.
[  OK  ] Finished ystemd[1]: Finished Load Kernel Modules.
39mLoad Kernel Module configfsystemd[1]: Condition check resulted in FUSE Control File System being skipped.
0m.
[  Osystemd[1]: Condition check resulted in Kernel Configuration File System being skipped.
K  ] Finished Load Kernel Module drm.
[  OK  ] Finisystemd[1]: Started File System Check Daemon to report status.
shed Load Kernel Module fuse.
[  OK  ] systemd[1]: Starting Apply Kernel Variables...
Finished Load Kernel Modules.
[  OK  ] Started File System Check Daemon to report status.
         Starting Apply Kernel Variables...
systemd[1]: Finished File System Check on Root Device.
[  OK  ] Finished File System Check on Root Device.
systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
systemd[1]: Finished Apply Kernel Variables.
[  OK  ] Finished Apply Kernel Variables.
EXT4-fs (sda2): re-mounted. Quota mode: none.
systemd[1]: Finished Remount Root and Kernel File Systems.
[  OK  ] Finished Remount Root and Kernel File Systems.
systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
systemd[1]: Starting Load/Save Random Seed...
         Starting Load/Save Random Seed...
systemd[1]: Starting Create System Users...
         Starting Create System Users...
systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
systemd-journald[1018]: Received client request to flush runtime journal.
[  OK  ] Finished Create System Users.
         Starting Create Static Device Nodes in /dev...
systemd-journald[1018]: File /var/log/journal/8425379b321b4df9957e2a4ab3974d43/system.journal corrupted or uncleanly shut down, renaming and replacing.
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Finished Create Static Device Nodes in /dev.
         Starting Rule-based Manage…for Device Events and Files...
[  OK  ] Finished Coldplug All udev Devices.
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Found device /sys/subsystem/net/devices/eth0.
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Found device DataTraveler_2.0 1.
[  OK  ] Finished Set the console keyboard layout.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /boot...
FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[  OK  ] Mounted /boot.
[  OK  ] Reached target Local File Systems.
         Starting Armbian ZRAM config...
         Starting Set console font and keymap...
[  OK  ] Started ifup for eth0.
         Starting Raise network interfaces...
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
zsmalloc: version magic '6.0.10 SMP mod_unload ARMv7 p2v8 ' should be '6.0.10 SMP preempt mod_unload ARMv7 p2v8 '
mvneta f1034000.ethernet eth0: PHY [f1072004.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL)
mvneta f1034000.ethernet eth0: configuring for phy/sgmii link mode
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target System Time Synchronized.
[FAILED] Failed to start Armbian ZRAM config.
See 'systemctl status armbian-zram-config.service' for details.
         Starting Armbian memory supported logging...
mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  OK  ] Finished Set console font and keymap.
[  OK  ] Finished Armbian memory supported logging.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.
[  OK  ] Started Periodic ext4 Onli…ata Check for All Filesystems.
[  OK  ] Started Discard unused blocks once a week.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Run system activit…ounting tool every 10 minutes.
[  OK  ] Started Generate summary o…esterday's process accounting.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started D-Bus System Message Bus.
         Starting Remove Stale Onli…t4 Metadata Check Snapshots...
         Starting System Logging Service...
         Starting Resets System Activity Logs...
         Starting User Login Management...
[  OK  ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots.
[  OK  ] Finished Resets System Activity Logs.
[  OK  ] Started System Logging Service.
[  OK  ] Started User Login Management.
[  OK  ] Finished Raise network interfaces.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
         Starting LSB: simple distributed compiler server...
         Starting OpenBSD Secure Shell server...
         Starting Permit User Sessions...
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started LSB: simple distributed compiler server.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Finished Update UTMP about System Runlevel Changes.

Debian GNU/Linux 11 wdmycloud ttyS0

wdmycloud login: 
wdmycloud login: root
Password: 
Linux wdmycloud 6.0.10 #1 SMP PREEMPT Fri Dec 2 12:12:59 CET 2022 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.
Last login: Thu Dec 15 10:24:05 CET 2022 on ttyS0
root@wdmycloud:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1024
    link/ether 42:b4:4b:55:fa:56 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.99/24 brd 192.168.1.255 scope global dynamic eth0
       valid_lft 86378sec preferred_lft 86378sec
    inet6 fe80::40b4:4bff:fe55:fa56/64 scope link 
       valid_lft forever preferred_lft forever
3: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/sit 0.0.0.0 brd 0.0.0.0
4: ip6tnl0@NONE: <NOARP> mtu 1452 qdisc noop state DOWN group default qlen 1000
    link/tunnel6 :: brd :: permaddr ae2:13a:49bf::
root@wdmycloud:~# fw_
fw_printenv  fw_setenv    
root@wdmycloud:~# fw_printenv 
CASset=max
MALLOC_len=5
MPmode=SMP
autoload=no
baudrate=115200
boot_debian_tftp=setenv ipaddr 192.168.1.110; setenv serverip 192.168.1.147;tftp 0x00800000 boot.b/uImageK5 ; tftp 0x02100000 boot.b/uRamdiskK5; bootm 0x00800000 0x02100000
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=usb start; run set_bootargs_debian; run boot_debian_tftp; reset
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_stock=nand read.e 0xa00000 0x500000 0x500000;nand read.e 0xf00000 0xa00000 0x500000;bootm 0xa00000 0xf00000
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:36:2c:34
eth1mtu=1500
eth2addr=00:50:43:36:98:34
eth2mtu=1500
eth3addr=00:50:43:2c:98:36
eth3mtu=1500
ethact=egiga2
ethaddr=00:50:43:98:2c:34
ethmtu=1500
ethprime=egiga2
fdt_addr=2040000
fdt_skip_update=no
fdtaddr=0x1000000
fdtfile=armada-38x-modular.dtb
filesize=12
ide_path=/
image_name=uImage
initrd_name=uInitrd
ipaddr=192.168.11.110
kernel_addr_r=2080000
lcd0_enable=0
lcd0_params=640x480-16@60
lcd_panel=0
loadaddr=0x02000000
loads_echo=0
mtdids=nand0=armada-nand
mtdparts=mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2)
mvNetConfig=mv_net_config=4,(00:50:43:11:11:11,0:1:2:3),mtu=1500
mv_pon_addr=00:50:43:34:98:36
nandEcc=nfcConfig=4bitecc
netbsd_en=no
netmask=255.255.255.0
netretry=no
pcieTune=no
pexMode=RC
pxe_files_load=:default.arm-armadaxp-db:default.arm-armadaxp:default.arm
pxefile_addr_r=3100000
ramdisk_addr_r=2880000
rootpath=/srv/nfs/
sata_delay_reset=0
sata_dma_mode=yes
script_addr_r=3000000
script_name=boot.scr
serverip=192.168.11.114
set_bootargs_debian=setenv bootargs console=ttyS0,115200 root=/dev/sda2 mtdparts=pxa3xx_nand-0:5m(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2) earlyprintk=serial
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=1
usbType=3
vxworks_en=no
yuk_ethaddr=00:00:00:EE:51:81
root@wdmycloud:~#

I don't know yours, but this one doesn't use the original mac address, but that is another story :)
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 15, 2022 04:19PM
i5Js,

Awesome :)

Now you can get rid of that hardcoded bootargs root=/dev/sda2.

set_bootargs_debian=setenv bootargs console=ttyS0,115200 root=/dev/sda2 mtdparts=pxa3xx_nand-0:5m(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2) earlyprintk=serial

Modify to:

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

Test it with the current USB rootfs. And later on, if you ever moved the rootfs to a different partition (eg. sda1), it will work without changing bootargs.

The reason why my instruction said to create only 1 Ext3 partition: so that the rootfs will always be the the 1st partition, so the kernel files are also on 1st partition. That makes the u-boot envs consistent.
Marvell>> ext2load usb 0:1 0x00800000 boot/boot.b/uImageK5
Marvell>> ext2load usb 0:1 0x02100000 boot/boot.b/uRamdiskK5

> I don't know yours, but this one doesn't use the
> original mac address, but that is another story :)

That customed kernel probably lacks of some kernel configs.

======

Since you are going to run this box with USB rootfs, I would recommend having a single Ext3 partition. With a swap file on it. Later you can have a swap file somewhere on your HDDs. Don't tie yourself to a swap partition, it is too restricted (i.e. you cannot move it easily).

And move all your logging to /tmp. See here for ideas:

http://forum.doozan.com/read.php?2,13702,13704#msg-13704

======

After you got it perfect booting with USB rootfs, I think you should perhaps write a short tutorial on the working thread. Summarize the steps you did, which u-boot you are using .... I will add it to the list of posts in the credits, so people can find it easily.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 16, 2022 08:09AM
I am starting from scratch with a new installation, using all your resources: filesystem, kernel and ramdisk.

I have used the Linux Kernel 6.0.7 MVEBU package and Debian armhf rootfs

I have prepared a USB key (64Gb) with only one partition as follow:

parted --script /dev/sda "mklabel msdos \
mkpart primary 0% 100%"
mkfs.ext3 -L rootfs /dev/sda1

Remember, we can not use gpt because the u-boot won't recognize the USB.

Then I followed your steps to create everything:

mount /dev/sda1 /mnt/root/
cd /mnt/root/
tar xvf /home/i5Js/bodhi/Debian-5.13.8-mvebu-tld-1-rootfs-bodhi.tar.bz2 
cd boot/
cp -a zImage-5.13.8-mvebu-tld-1 zImage.fdt
cat dts/armada-385-wd-ex2-ultra.dtb >> zImage.fdt
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.13.8-mvebu-tld-1 -d zImage.fdt uImage
cp uInitrd uRamdisk



Edited 1 time(s). Last edit at 12/17/2022 01:15AM by i5Js.
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 16, 2022 08:11AM
but...
Marvell>> setenv usbActive 0                                                                                                                                                                                                                                                                                                                                                                                                                
Marvell>> setenv usbType 3                                                                                                                                                                                                                                                                                                                                                                                                                  
(Re)start USB...art                                                                                                                                                                                                                                                                                                                                                                                                                         
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00                                                                                                                                                                                                                                                                                                                                                                     
scanning bus 0 for devices... 2 USB Device(s) found                                                                                                                                                                                                                                                                                                                                                                                         
       scanning usb for storage devices... 1 Storage Device(s) found                                                                                                                                                                                                                                                                                                                                                                        
       scanning usb for ethernet devices... 0 Ethernet Device(s) found                                                                                                                                                                                                                                                                                                                                                                      
Marvell>> setenv set_bootargs_debian "setenv bootargs console=ttyS0,115200 root=LABEL=rootfs mtdparts=pxa3xx_nand-0:5m(u-boot),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2) earlyprintk=serial"                                                                                                                                                            
Marvell>> ext2load usb 0:1 0x00800000 boot/uImage                                                                                                                                                                                                                                                                                                                                                                                           
5236595 bytes read in 576 ms (8.7 MiB/s)                                                                                                                                                                                                                                                                                                                                                                                                    
Marvell>> ext2load usb 0:1 0x02100000 boot/uRamdisk                                                                                                                                                                                                                                                                                                                                                                                         
9649885 bytes read in 736 ms (12.5 MiB/s)                                                                                                                                                                                                                                                                                                                                                                                                   
Marvell>> bootm 0x00800000 0x02100000                                                                                                                                                                                                                                                                                                                                                                                                       
## Booting image at 00800000 ...                                                                                                                                                                                                                                                                                                                                                                                                            
## Booting kernel from Legacy Image at 00800000 ...                                                                                                                                                                                                                                                                                                                                                                                         
   Image Name:   Linux-5.13.8-mvebu-tld-1                                                                                                                                                                                                                                                                                                                                                                                                   
   Created:      2022-12-16  13:41:58 UTC                                                                                                                                                                                                                                                                                                                                                                                                   
   Image Type:   ARM Linux Kernel Image (uncompressed)                                                                                                                                                                                                                                                                                                                                                                                      
   Data Size:    5236531 Bytes = 5 MiB                                                                                                                                                                                                                                                                                                                                                                                                      
   Load Address: 00008000                                                                                                                                                                                                                                                                                                                                                                                                                   
   Entry Point:  00008000                                                                                                                                                                                                                                                                                                                                                                                                                   
   Verifying Checksum ... OK                                                                                                                                                                                                                                                                                                                                                                                                                
## Loading init Ramdisk from Legacy Image at 02100000 ...                                                                                                                                                                                                                                                                                                                                                                                   
   Image Name:   initramfs-5.13.8-mvebu-tld-1                                                                                                                                                                                                                                                                                                                                                                                               
   Created:      2021-09-24   7:54:32 UTC                                                                                                                                                                                                                                                                                                                                                                                                   
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)                                                                                                                                                                                                                                                                                                                                                                                  
   Data Size:    9649821 Bytes = 9.2 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][    T0] Booting Linux on physical CPU 0x0                                                                                                                                                                                                                                                                                                                                                                                    
[    0.000000][    T0] Linux version 5.13.8-mvebu-tld-1 (root@tldDebian) (gcc (Debian 8.3.0-6) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #1.0 SMP PREEMPT Sat Aug 7 14:58:41 PDT 2021                                                                                                                                                                                                                                                 
[    0.000000][    T0] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d                                                                                                                                                                                                                                                                                                                                                      
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache                                                                                                                                                                                                                                                                                                                                             
[    0.000000][    T0] OF: fdt: Machine model: WD MyCloud Ex2 Ultra                                                                                                                                                                                                                                                                                                                                                                         
[    0.000000][    T0] Memory policy: Data cache writealloc                                                                                                                                                                                                                                                                                                                                                                                 
[    0.000000][    T0] Zone ranges:                                                                                                                                                                                                                                                                                                                                                                                                         
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000002fffffff]                                                                                                                                                                                                                                                                                                                                                               
[    0.000000][    T0]   HighMem  [mem 0x0000000030000000-0x000000003fffffff]                                                                                                                                                                                                                                                                                                                                                               
[    0.000000][    T0] Movable zone start for each node                                                                                                                                                                                                                                                                                                                                                                                     
[    0.000000][    T0] Early memory node ranges                                                                                                                                                                                                                                                                                                                                                                                             
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000003fffffff]                                                                                                                                                                                                                                                                                                                                                              
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff]                                                                                                                                                                                                                                                                                                                                                     
[    0.000000][    T0] percpu: Embedded 21 pages/cpu s54668 r8192 d23156 u86016                                                                                                                                                                                                                                                                                                                                                             
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 260608                                                                                                                                                                                                                                                                                                                                                        
[    0.000000][    T0] Kernel command line: root=/dev/ram console=ttyS0,115200                                                                                                                                                                                                                                                                                                                                                              
[    0.000000][    T0] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)                                                                                                                                                                                                                                                                                                                                             
[    0.000000][    T0] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)                                                                                                                                                                                                                                                                                                                                               
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off                                                                                                                                                                                                                                                                                                                                                               
[    0.000000][    T0] Memory: 1011704K/1048576K available (11264K kernel code, 1483K rwdata, 3112K rodata, 1024K init, 325K bss, 36872K reserved, 0K cma-reserved, 262144K highmem)                                                                                                                                                                                                                                                        
[    0.000000][    T0] random: get_random_u32 called from ____cache_alloc+0x404/0x78c with crng_init=0                                                                                                                                                                                                                                                                                                                                      
[    0.000000][    T0] trace event string verifier disabled                                                                                                                                                                                                                                                                                                                                                                                 
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.                                                                                                                                                                                                                                                                                                                                                                    
[    0.000000][    T0] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.                                                                                                                                                                                                                                                                                                                                                        
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.                                                                                                                                                                                                                                                                                                                                                                            
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.                                                                                                                                                                                                                                                                                                                                                                               
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.                                                                                                                                                                                                                                                                                                                                               
[    0.000000][    T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2                                                                                                                                                                                                                                                                                                                                                         
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16                                                                                                                                                                                                                                                                                                                                                                      
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x06070000 -> 0x16070000                                                                                                                                                                                                                                                                                                                                             
[    0.000000][    T0] L2C-310 enabling early BRESP for Cortex-A9                                                                                                                                                                                                                                                                                                                                                                           
[    0.000000][    T0] L2C-310 full line of zeros enabled for Cortex-A9                                                                                                                                                                                                                                                                                                                                                                     
[    0.000000][    T0] L2C-310 D prefetch enabled, offset 1 lines                                                                                                                                                                                                                                                                                                                                                                           
[    0.000000][    T0] L2C-310 dynamic clock gating enabled, standby mode enabled                                                                                                                                                                                                                                                                                                                                                           
[    0.000000][    T0] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB                                                                                                                                                                                                                                                                                                                                                          
[    0.000000][    T0] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001                                                                                                                                                                                                                                                                                                                                                           
[    0.000001][    T0] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns                                                                                                                                                                                                                                                                                                                                          
[    0.000024][    T0] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns                                                                                                                                                                                                                                                                                                       
[    0.000048][    T0] Switching to timer-based delay loop, resolution 1ns                                                                                                                                                                                                                                                                                                                                                                  
[    0.000270][    T0] Ignoring duplicate/late registration of read_current_timer delay                                                                                                                                                                                                                                                                                                                                                     
[    0.000282][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns                                                                                                                                                                                                                                                                                                         
[    0.000859][    T0] Console: colour dummy device 80x30                                                                                                                                                                                                                                                                                                                                                                                   
[    0.000888][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000)                                                                                                                                                                                                                                                                                                            
[    0.000902][    T0] pid_max: default: 32768 minimum: 301                                                                                                                                                                                                                                                                                                                                                                                 
[    0.001033][    T0] LSM: Security Framework initializing                                                                                                                                                                                                                                                                                                                                                                                 
[    0.001092][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)                                                                                                                                                                                                                                                                                                                                                  
[    0.001105][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)                                                                                                                                                                                                                                                                                                                                             
[    0.001707][    T0] CPU: Testing write buffer coherency: ok                                                                                                                                                                                                                                                                                                                                                                              
[    0.001732][    T0] CPU0: Spectre v2: using BPIALL workaround                                                                                                                                                                                                                                                                                                                                                                            
[    0.001867][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000                                                                                                                                                                                                                                                                                                                                                                     
[    0.002346][    T1] Setting up static identity map for 0x100000 - 0x100060                                                                                                                                                                                                                                                                                                                                                               
[    0.002452][    T1] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4                                                                                                                                                                                                                                                                                                                                                                           
[    0.002569][    T1] mvebu-pmsu: Initializing Power Management Service Unit                                                                                                                                                                                                                                                                                                                                                               
[    0.002678][    T1] rcu: Hierarchical SRCU implementation.                                                                                                                                                                                                                                                                                                                                                                               
[    0.003211][    T1] smp: Bringing up secondary CPUs ...                                                                                                                                                                                                                                                                                                                                                                                  
[    0.003598][    T1] Booting CPU 1                                                                                                                                                                                                                                                                                                                                                                                                        
[    0.003762][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001                                                                                                                                                                                                                                                                                                                                                                     
[    0.003771][    T0] CPU1: Spectre v2: using BPIALL workaround                                                                                                                                                                                                                                                                                                                                                                            
[    0.003865][    T1] smp: Brought up 1 node, 2 CPUs                                                                                                                                                                                                                                                                                                                                                                                       
[    0.003877][    T1] SMP: Total of 2 processors activated (2664.00 BogoMIPS).                                                                                                                                                                                                                                                                                                                                                             
[    0.003886][    T1] CPU: All CPU(s) started in SVC mode.                                                                                                                                                                                                                                                                                                                                                                                 
[    0.004269][    T1] devtmpfs: initialized                                                                                                                                                                                                                                                                                                                                                                                                
[    0.006967][    T1] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4                                                                                                                                                                                                                                                                                                                                              
[    0.007154][   T24] wait_for_initramfs() called before rootfs_initcalls                                                                                                                                                                                                                                                                                                                                                                  
[    0.007311][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns                                                                                                                                                                                                                                                                                                                     
[    0.007344][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, linear)                                                                                                                                                                                                                                                                                                                                                        
[    0.029668][    T1] prandom32: self test passed (less than 6 bits correlated)                                                                                                                                                                                                                                                                                                                                                            
[    0.029683][    T1] prandom: seed boundary self test passed                                                                                                                                                                                                                                                                                                                                                                              
[    0.031283][    T1] prandom: 100 self tests passed                                                                                                                                                                                                                                                                                                                                                                                       
[    0.031292][    T1] pinctrl core: initialized pinctrl subsystem                                                                                                                                                                                                                                                                                                                                                                          
[    0.032476][    T1] NET: Registered protocol family 16                                                                                                                                                                                                                                                                                                                                                                                   
[    0.033152][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations                                                                                                                                                                                                                                                                                                                                                       
[    0.033765][    T1] audit: initializing netlink subsys (disabled)                                                                                                                                                                                                                                                                                                                                                                        
[    0.034283][    T1] thermal_sys: Registered thermal governor 'step_wise'                                                                                                                                                                                                                                                                                                                                                                 
[    0.034811][   T36] audit: type=2000 audit(0.030:1): state=initialized audit_enabled=0 res=1                                                                                                                                                                                                                                                                                                                                             
[    0.036443][    T1] cpuidle: using governor ladder                                                                                                                                                                                                                                                                                                                                                                                       
[    0.036474][    T1] cpuidle: using governor menu                                                                                                                                                                                                                                                                                                                                                                                         
[    0.036577][    T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.                                                                                                                                                                                                                                                                                                                                          
[    0.036588][    T1] hw-breakpoint: maximum watchpoint size is 4 bytes.                                                                                                                                                                                                                                                                                                                                                                   
[    0.036734][    T1] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling                                                                                                                                                                                                                                                                                                                                         
[    0.036746][    T1] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling                                                                                                                                                                                                                                                                                                                                                    
[    0.240229][    T1] raid6: int32x8  gen()   243 MB/s                                                                                                                                                                                                                                                                                                                                                                                     
[    0.410161][    T1] raid6: int32x8  xor()   169 MB/s                                                                                                                                                                                                                                                                                                                                                                                     
[    0.580200][    T1] raid6: int32x4  gen()   280 MB/s                                                                                                                                                                                                                                                                                                                                                                                     
[    0.750155][    T1] raid6: int32x4  xor()   172 MB/s                                                                                                                                                                                                                                                                                                                                                                                     
[    0.920114][    T1] raid6: int32x2  gen()   448 MB/s                                                                                                                                                                                                                                                                                                                                                                                     
[    1.090129][    T1] raid6: int32x2  xor()   258 MB/s                                                                                                                                                                                                                                                                                                                                                                                     
[    1.260163][    T1] raid6: int32x1  gen()   498 MB/s                                                                                                                                                                                                                                                                                                                                                                                     
[    1.430139][    T1] raid6: int32x1  xor()   208 MB/s                                                                                                                                                                                                                                                                                                                                                                                     
[    1.430147][    T1] raid6: using algorithm int32x1 gen() 498 MB/s                                                                                                                                                                                                                                                                                                                                                                        
[    1.430154][    T1] raid6: .... xor() 208 MB/s, rmw enabled                                                                                                                                                                                                                                                                                                                                                                              
[    1.430160][    T1] raid6: using intx1 recovery algorithm                                                                                                                                                                                                                                                                                                                                                                                
[    1.430976][    T1] vgaarb: loaded                                                                                                                                                                                                                                                                                                                                                                                                       
[    1.431515][    T1] SCSI subsystem initialized                                                                                                                                                                                                                                                                                                                                                                                           
[    1.432207][    T1] usbcore: registered new interface driver usbfs                                                                                                                                                                                                                                                                                                                                                                       
[    1.432308][    T1] usbcore: registered new interface driver hub                                                                                                                                                                                                                                                                                                                                                                         
[    1.432391][    T1] usbcore: registered new device driver usb                                                                                                                                                                                                                                                                                                                                                                            
[    1.432948][    T1] mc: Linux media interface: v0.10                                                                                                                                                                                                                                                                                                                                                                                     
[    1.433024][    T1] videodev: Linux video capture interface: v2.00                                                                                                                                                                                                                                                                                                                                                                       
[    1.433318][    T1] pps_core: LinuxPPS API ver. 1 registered                                                                                                                                                                                                                                                                                                                                                                             
[    1.433328][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>                                                                                                                                                                                                                                                                                                                             
[    1.433389][    T1] PTP clock support registered                                                                                                                                                                                                                                                                                                                                                                                         
[    1.435439][    T1] clocksource: Switched to clocksource arm_global_timer                                                                                                                                                                                                                                                                                                                                                                
[    1.476055][    T1] VFS: Disk quotas dquot_6.6.0                                                                                                                                                                                                                                                                                                                                                                                         
[    1.476134][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)                                                                                                                                                                                                                                                                                                                                                      
[    1.481799][    T1] NET: Registered protocol family 2                                                                                                                                                                                                                                                                                                                                                                                    
[    1.481922][    T1] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)                                                                                                                                                                                                                                                                                                                                                 
[    1.482831][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)                                                                                                                                                                                                                                                                                                                                      
[    1.482866][    T1] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)                                                                                                                                                                                                                                                                                                                                             
[    1.482932][    T1] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)                                                                                                                                                                                                                                                                                                                                                    
[    1.483014][    T1] TCP: Hash tables configured (established 8192 bind 8192)                                                                                                                                                                                                                                                                                                                                                             
[    1.483161][    T1] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)                                                                                                                                                                                                                                                                                                                                                 
[    1.483211][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)                                                                                                                                                                                                                                                                                                                                                          

Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 16, 2022 08:12AM
[    1.483242][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)                                                                                                                                                                                                                                                                                                                                                     
[    1.483380][    T1] NET: Registered protocol family 1                                                                                                                                                                                                                                                                                                                                                                                    
[    1.489477][    T1] RPC: Registered named UNIX socket transport module.                                                                                                                                                                                                                                                                                                                                                                  
[    1.489493][    T1] RPC: Registered udp transport module.                                                                                                                                                                                                                                                                                                                                                                                
[    1.489500][    T1] RPC: Registered tcp transport module.                                                                                                                                                                                                                                                                                                                                                                                
[    1.489506][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.                                                                                                                                                                                                                                                                                                                                                            
[    1.489516][    T1] PCI: CLS 0 bytes, default 64                                                                                                                                                                                                                                                                                                                                                                                         
[    1.489592][    T1] NetWinder Floating Point Emulator V0.97 (double precision)                                                                                                                                                                                                                                                                                                                                                           
[    1.489694][   T23] Trying to unpack rootfs image as initramfs...                                                                                                                                                                                                                                                                                                                                                                        
[    1.505558][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available                                                                                                                                                                                                                                                                                                                                         
[    1.870769][   T23] Freeing initrd memory: 9424K                                                                                                                                                                                                                                                                                                                                                                                         
[    2.236924][    T1] Initialise system trusted keyrings                                                                                                                                                                                                                                                                                                                                                                                   
[    2.236971][    T1] Key type blacklist registered                                                                                                                                                                                                                                                                                                                                                                                        
[    2.237222][    T1] workingset: timestamp_bits=30 max_order=18 bucket_order=0                                                                                                                                                                                                                                                                                                                                                            
[    2.237332][    T1] zbud: loaded                                                                                                                                                                                                                                                                                                                                                                                                         
[    2.238242][    T1] NFS: Registering the id_resolver key type                                                                                                                                                                                                                                                                                                                                                                            
[    2.238266][    T1] Key type id_resolver registered                                                                                                                                                                                                                                                                                                                                                                                      
[    2.238273][    T1] Key type id_legacy registered                                                                                                                                                                                                                                                                                                                                                                                        
[    2.238297][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...                                                                                                                                                                                                                                                                                                                                                         
[    2.238309][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...                                                                                                                                                                                                                                                                                                                                                 
[    2.238317][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).                                                                                                                                                                                                                                                                                                                                                             
[    2.298582][    T1] xor: measuring software checksum speed                                                                                                                                                                                                                                                                                                                                                                               
[    2.303122][    T1]    arm4regs        :  2172 MB/sec                                                                                                                                                                                                                                                                                                                                                                                    
[    2.309173][    T1]    8regs           :  1637 MB/sec                                                                                                                                                                                                                                                                                                                                                                                    
[    2.314856][    T1]    32regs          :  1733 MB/sec                                                                                                                                                                                                                                                                                                                                                                                    
[    2.314862][    T1] xor: using function: arm4regs (2172 MB/sec)                                                                                                                                                                                                                                                                                                                                                                          
[    2.314874][    T1] async_tx: api initialized (async)                                                                                                                                                                                                                                                                                                                                                                                    
[    2.314883][    T1] Key type asymmetric registered                                                                                                                                                                                                                                                                                                                                                                                       
[    2.314889][    T1] Asymmetric key parser 'x509' registered                                                                                                                                                                                                                                                                                                                                                                              
[    2.314977][    T1] bounce: pool size: 64 pages                                                                                                                                                                                                                                                                                                                                                                                          
[    2.315111][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)                                                                                                                                                                                                                                                                                                                                                 
[    2.315200][    T1] io scheduler bfq registered                                                                                                                                                                                                                                                                                                                                                                                          
[    2.317300][    T1] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver                                                                                                                                                                                                                                                                                                                                                       
[    2.318419][    T1] debugfs: Directory 'f1018100.gpio' with parent 'regmap' already present!                                                                                                                                                                                                                                                                                                                                             
[    2.319121][    T1] debugfs: Directory 'f1018140.gpio' with parent 'regmap' already present!                                                                                                                                                                                                                                                                                                                                             
[    2.320484][    T1] mv_xor f1060800.xor: Marvell shared XOR driver                                                                                                                                                                                                                                                                                                                                                                       
[    2.376018][    T1] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )                                                                                                                                                                                                                                                                                                                                                 
[    2.377670][    T1] mv_xor f1060900.xor: Marvell shared XOR driver                                                                                                                                                                                                                                                                                                                                                                       
[    2.435996][    T1] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )                                                                                                                                                                                                                                                                                                                                                 
[    2.495862][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled                                                                                                                                                                                                                                                                                                                                                             
[    2.497921][    T1] printk: console [ttyS0] disabled                                                                                                                                                                                                                                                                                                                                                                                     
[    2.518051][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 31, base_baud = 12500000) is a 16550A                                                                                                                                                                                                                                                                                                                               
[    3.544308][    T1] printk: console [ttyS0] enabled                                                                                                                                                                                                                                                                                                                                                                                      
[    3.570289][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 32, base_baud = 12500000) is a 16550A                                                                                                                                                                                                                                                                                                                               
[    3.581425][    T1] ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator                                                                                                                                                                                                                                                                                                                                               
[    3.589929][    T1] ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator                                                                                                                                                                                                                                                                                                                                                
[    3.598223][    T1] ahci-mvebu f10a8000.sata: supply target not found, using dummy regulator                                                                                                                                                                                                                                                                                                                                             
[    3.606823][    T1] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode                                                                                                                                                                                                                                                                                                                              
[    3.616638][    T1] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs                                                                                                                                                                                                                                                                                                                                   
[    3.627264][    T1] scsi host0: ahci-mvebu                                                                                                                                                                                                                                                                                                                                                                                               
[    3.631906][    T1] scsi host1: ahci-mvebu                                                                                                                                                                                                                                                                                                                                                                                               
[    3.636326][    T1] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 52                                                                                                                                                                                                                                                                                                                                           
[    3.644994][    T1] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 52                                                                                                                                                                                                                                                                                                                                           
[    3.654703][    T1] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda                                                                                                                                                                                                                                                                                                                                                             
[    3.661861][    T1] nand: Macronix MX30LF2G18AC                                                                                                                                                                                                                                                                                                                                                                                          
[    3.666433][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64                                                                                                                                                                                                                                                                                                                                               
[    3.675321][    T1] Bad block table found at page 131008, version 0x01                                                                                                                                                                                                                                                                                                                                                                   
[    3.682559][    T1] Bad block table found at page 130944, version 0x01                                                                                                                                                                                                                                                                                                                                                                   
[    3.689467][    T1] nand_read_bbt: bad block at 0x000002020000                                                                                                                                                                                                                                                                                                                                                                           
[    3.695338][    T1] nand_read_bbt: bad block at 0x0000062e0000                                                                                                                                                                                                                                                                                                                                                                           
[    3.701222][    T1] nand_read_bbt: bad block at 0x00000bac0000                                                                                                                                                                                                                                                                                                                                                                           
[    3.707097][    T1] nand_read_bbt: bad block at 0x00000d300000                                                                                                                                                                                                                                                                                                                                                                           
[    3.712962][    T1] nand_read_bbt: bad block at 0x00000dc60000                                                                                                                                                                                                                                                                                                                                                                           
[    3.718887][    T1] 8 fixed-partitions partitions found on MTD device pxa3xx_nand-0                                                                                                                                                                                                                                                                                                                                                      
[    3.726597][    T1] Creating 8 MTD partitions on "pxa3xx_nand-0":                                                                                                                                                                                                                                                                                                                                                                        
[    3.732726][    T1] 0x000000000000-0x000000500000 : "U-Boot"                                                                                                                                                                                                                                                                                                                                                                             
[    3.739350][    T1] 0x000000500000-0x000000a00000 : "uImage"                                                                                                                                                                                                                                                                                                                                                                             
[    3.745901][    T1] 0x000000a00000-0x000000f00000 : "uRamdisk"                                                                                                                                                                                                                                                                                                                                                                           
[    3.752594][    T1] 0x000000f00000-0x00000c800000 : "image.cfs"                                                                                                                                                                                                                                                                                                                                                                          
[    3.759781][    T1] 0x00000c800000-0x00000d700000 : "rescue fw"                                                                                                                                                                                                                                                                                                                                                                          
[    3.766617][    T1] 0x00000d700000-0x00000eb00000 : "config"                                                                                                                                                                                                                                                                                                                                                                             
[    3.773161][    T1] 0x00000eb00000-0x00000f500000 : "reserve1"                                                                                                                                                                                                                                                                                                                                                                           
[    3.779886][    T1] 0x00000f500000-0x00000ff00000 : "reserve2"                                                                                                                                                                                                                                                                                                                                                                           
[    3.787135][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.                                                                                                                                                                                                                                                                                                                                            
[    3.795738][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.                                                                                                                                                                                                                                                                                                                        
[    3.806776][    T1] libphy: Fixed MDIO Bus: probed                                                                                                                                                                                                                                                                                                                                                                                       
[    3.812549][    T1] libphy: orion_mdio_bus: probed                                                                                                                                                                                                                                                                                                                                                                                       
[    3.827152][    T1] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled                                                                                                                                                                                                                                                                                                                                                 
[    3.839084][    T1] mvneta f1034000.ethernet eth0: Using random mac address 52:0f:7f:a6:04:72                                                                                                                                                                                                                                                                                                                                            
[    3.848028][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver                                                                                                                                                                                                                                                                                                                                                           
[    3.855313][    T1] ehci-pci: EHCI PCI platform driver                                                                                                                                                                                                                                                                                                                                                                                   
[    3.860536][    T1] ehci-orion: EHCI orion driver                                                                                                                                                                                                                                                                                                                                                                                        
[    3.865427][    T1] orion-ehci f1058000.usb: EHCI Host Controller                                                                                                                                                                                                                                                                                                                                                                        
[    3.871620][    T1] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1                                                                                                                                                                                                                                                                                                                                               
[    3.880075][    T1] orion-ehci f1058000.usb: irq 48, io mem 0xf1058000                                                                                                                                                                                                                                                                                                                                                                   
[    3.925450][    T1] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00                                                                                                                                                                                                                                                                                                                                                                  
[    3.932259][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13                                                                                                                                                                                                                                                                                                                                       
[    3.941289][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1                                                                                                                                                                                                                                                                                                                                                   
[    3.949260][    T1] usb usb1: Product: EHCI Host Controller                                                                                                                                                                                                                                                                                                                                                                              
[    3.954865][    T1] usb usb1: Manufacturer: Linux 5.13.8-mvebu-tld-1 ehci_hcd                                                                                                                                                                                                                                                                                                                                                            
[    3.962047][    T1] usb usb1: SerialNumber: f1058000.usb                                                                                                                                                                                                                                                                                                                                                                                 
[    3.967791][    T1] hub 1-0:1.0: USB hub found                                                                                                                                                                                                                                                                                                                                                                                           
[    3.972289][    T1] hub 1-0:1.0: 1 port detected                                                                                                                                                                                                                                                                                                                                                                                         
[    3.978036][    T1] usbcore: registered new interface driver usblp                                                                                                                                                                                                                                                                                                                                                                       
[    3.984308][    T1] usbcore: registered new interface driver usb-storage                                                                                                                                                                                                                                                                                                                                                                 
[    3.991314][    T1] mousedev: PS/2 mouse device common for all mice                                                                                                                                                                                                                                                                                                                                                                      
[    3.991923][ T1239] ata1: SATA link down (SStatus 0 SControl 300)                                                                                                                                                                                                                                                                                                                                                                        
[    3.998606][    T1] armada38x-rtc f10a3800.rtc: registered as rtc0                                                                                                                                                                                                                                                                                                                                                                       
[    4.004649][ T1244] ata2: SATA link down (SStatus 0 SControl 300)                                                                                                                                                                                                                                                                                                                                                                        
[    4.016154][    T1] armada38x-rtc f10a3800.rtc: setting system clock to 2022-12-16T13:52:00 UTC (1671198720)                                                                                                                                                                                                                                                                                                                             
[    4.016405][    T1] i2c /dev entries driver                                                                                                                                                                                                                                                                                                                                                                                              
[    4.030512][    T1] mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recovery not supported                                                                                                                                                                                                                                                                                                                                              
[    4.039431][    T1] mv64xxx_i2c f1011100.i2c: can't get pinctrl, bus recovery not supported                                                                                                                                                                                                                                                                                                                                              
[    4.051112][    T1] orion_wdt: Initial timeout 171 sec                                                                                                                                                                                                                                                                                                                                                                                   
[    4.056805][    T1] device-mapper: uevent: version 1.0.3                                                                                                                                                                                                                                                                                                                                                                                 
[    4.062319][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com                                                                                                                                                                                                                                                                                                                                     
[    4.071706][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded                                                                                                                                                                                                                                                                                                                                                           
[    4.079016][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded                                                                                                                                                                                                                                                                                                                                                          
[    4.086405][    T1] device-mapper: multipath service-time: version 0.3.0 loaded                                                                                                                                                                                                                                                                                                                                                          
[    4.093787][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded                                                                                                                                                                                                                                                                                                                                                                
[    4.100630][    T1] device-mapper: raid: Loading target version 1.15.1                                                                                                                                                                                                                                                                                                                                                                   
[    4.110050][    T1] marvell-cesa f1090000.crypto: CESA device successfully registered                                                                                                                                                                                                                                                                                                                                                    
[    4.118313][    T1] hid: raw HID events driver (C) Jiri Kosina                                                                                                                                                                                                                                                                                                                                                                           
[    4.124581][    T1] usbcore: registered new interface driver usbhid                                                                                                                                                                                                                                                                                                                                                                      
[    4.130910][    T1] usbhid: USB HID core driver                                                                                                                                                                                                                                                                                                                                                                                          
[    4.135846][    T1] drop_monitor: Initializing network drop monitor service                                                                                                                                                                                                                                                                                                                                                              
[    4.143160][    T1] NET: Registered protocol family 10                                                                                                                                                                                                                                                                                                                                                                                   
[    4.149100][    T1] Segment Routing with IPv6                                                                                                                                                                                                                                                                                                                                                                                            
[    4.153487][    T1] RPL Segment Routing with IPv6                                                                                                                                                                                                                                                                                                                                                                                        
[    4.158282][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver                                                                                                                                                                                                                                                                                                                                                                  
[    4.166132][    T1] NET: Registered protocol family 17                                                                                                                                                                                                                                                                                                                                                                                   
[    4.171419][    T1] 8021q: 802.1Q VLAN Support v1.8                                                                                                                                                                                                                                                                                                                                                                                      
[    4.176384][    T1] Key type dns_resolver registered                                                                                                                                                                                                                                                                                                                                                                                     
[    4.181443][    T1] ThumbEE CPU extension supported.                                                                                                                                                                                                                                                                                                                                                                                     
[    4.186453][    T1] Registering SWP/SWPB emulation handler                                                                                                                                                                                                                                                                                                                                                                               
[    4.192353][    T1] registered taskstats version 1                                                                                                                                                                                                                                                                                                                                                                                       
[    4.197223][    T1] Loading compiled-in X.509 certificates                                                                                                                                                                                                                                                                                                                                                                               
[    4.203125][    T1] zswap: loaded using pool lzo/zbud                                                                                                                                                                                                                                                                                                                                                                                    
[    4.208463][    T1] Key type ._fscrypt registered                                                                                                                                                                                                                                                                                                                                                                                        
[    4.213198][    T1] Key type .fscrypt registered                                                                                                                                                                                                                                                                                                                                                                                         
[    4.217862][    T1] Key type fscrypt-provisioning registered                                                                                                                                                                                                                                                                                                                                                                             
[    4.224713][    T1] Key type big_key registered                                                                                                                                                                                                                                                                                                                                                                                          
[    4.242954][    T1] Key type encrypted registered                                                                                                                                                                                                                                                                                                                                                                                        
 
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 16, 2022 08:12AM
[    4.250507][    T7] xhci-hcd f10f0000.usb3: xHCI Host Controller                                                                                                                                                                                                                                                                                                                                                                         
[    4.256601][    T7] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2                                                                                                                                                                                                                                                                                                                                                
[    4.264914][    T7] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010                                                                                                                                                                                                                                                                                                                            
[    4.274949][    T7] xhci-hcd f10f0000.usb3: irq 54, io mem 0xf10f0000                                                                                                                                                                                                                                                                                                                                                                    
[    4.281679][    T7] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13                                                                                                                                                                                                                                                                                                                                       
[    4.290712][    T7] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1                                                                                                                                                                                                                                                                                                                                                   
[    4.298702][    T7] usb usb2: Product: xHCI Host Controller                                                                                                                                                                                                                                                                                                                                                                              
[    4.304307][    T7] usb usb2: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd                                                                                                                                                                                                                                                                                                                                                            
[    4.311492][    T7] usb usb2: SerialNumber: f10f0000.usb3                                                                                                                                                                                                                                                                                                                                                                                
[    4.317318][    T7] hub 2-0:1.0: USB hub found                                                                                                                                                                                                                                                                                                                                                                                           
[    4.321818][    T7] hub 2-0:1.0: 1 port detected                                                                                                                                                                                                                                                                                                                                                                                         
[    4.326740][    T7] xhci-hcd f10f0000.usb3: xHCI Host Controller                                                                                                                                                                                                                                                                                                                                                                         
[    4.332789][    T7] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3                                                                                                                                                                                                                                                                                                                                                
[    4.341048][    T7] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed                                                                                                                                                                                                                                                                                                                                                             
[    4.348211][    T7] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.                                                                                                                                                                                                                                                                                                                                         
[    4.357208][    T7] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13                                                                                                                                                                                                                                                                                                                                       
[    4.366239][    T7] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1                                                                                                                                                                                                                                                                                                                                                   
[    4.374203][    T7] usb usb3: Product: xHCI Host Controller                                                                                                                                                                                                                                                                                                                                                                              
[    4.379816][    T7] usb usb3: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd                                                                                                                                                                                                                                                                                                                                                            
[    4.386999][    T7] usb usb3: SerialNumber: f10f0000.usb3                                                                                                                                                                                                                                                                                                                                                                                
[    4.392767][    T7] hub 3-0:1.0: USB hub found                                                                                                                                                                                                                                                                                                                                                                                           
[    4.397280][    T7] hub 3-0:1.0: 1 port detected                                                                                                                                                                                                                                                                                                                                                                                         
[    4.402445][    T7] xhci-hcd f10f8000.usb3: xHCI Host Controller                                                                                                                                                                                                                                                                                                                                                                         
[    4.408521][    T7] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4                                                                                                                                                                                                                                                                                                                                                
[    4.416837][    T7] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010                                                                                                                                                                                                                                                                                                                            
[    4.426958][    T7] xhci-hcd f10f8000.usb3: irq 55, io mem 0xf10f8000                                                                                                                                                                                                                                                                                                                                                                    
[    4.433655][    T7] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13                                                                                                                                                                                                                                                                                                                                       
[    4.442688][    T7] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1                                                                                                                                                                                                                                                                                                                                                   
[    4.450663][    T7] usb usb4: Product: xHCI Host Controller                                                                                                                                                                                                                                                                                                                                                                              
[    4.456277][    T7] usb usb4: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd                                                                                                                                                                                                                                                                                                                                                            
[    4.463453][    T7] usb usb4: SerialNumber: f10f8000.usb3                                                                                                                                                                                                                                                                                                                                                                                
[    4.469424][    T7] hub 4-0:1.0: USB hub found                                                                                                                                                                                                                                                                                                                                                                                           
[    4.473923][    T7] hub 4-0:1.0: 1 port detected                                                                                                                                                                                                                                                                                                                                                                                         
[    4.478844][    T7] xhci-hcd f10f8000.usb3: xHCI Host Controller                                                                                                                                                                                                                                                                                                                                                                         
[    4.484895][    T7] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5                                                                                                                                                                                                                                                                                                                                                
[    4.493152][    T7] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed                                                                                                                                                                                                                                                                                                                                                             
[    4.500300][    T7] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.                                                                                                                                                                                                                                                                                                                                         
[    4.509303][    T7] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13                                                                                                                                                                                                                                                                                                                                       
[    4.518330][    T7] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1                                                                                                                                                                                                                                                                                                                                                   
[    4.526312][    T7] usb usb5: Product: xHCI Host Controller                                                                                                                                                                                                                                                                                                                                                                              
[    4.531917][    T7] usb usb5: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd                                                                                                                                                                                                                                                                                                                                                            
[    4.539105][    T7] usb usb5: SerialNumber: f10f8000.usb3                                                                                                                                                                                                                                                                                                                                                                                
[    4.544875][    T7] hub 5-0:1.0: USB hub found                                                                                                                                                                                                                                                                                                                                                                                           
[    4.549435][    T7] hub 5-0:1.0: 1 port detected                                                                                                                                                                                                                                                                                                                                                                                         
[    4.555017][    T1] input: gpio-keys as /devices/platform/gpio-keys/input/input0                                                                                                                                                                                                                                                                                                                                                         
[    4.564975][    T1] Freeing unused kernel memory: 1024K                                                                                                                                                                                                                                                                                                                                                                                  
[    4.605953][    T1] Checked W+X mappings: passed, no W+X pages found                                                                                                                                                                                                                                                                                                                                                                     
[    4.612355][    T1] Run /init as init process                                                                                                                                                                                                                                                                                                                                                                                            
[    4.615464][ T1442] usb 2-1: new high-speed USB device number 2 using xhci-hcd                                                                                                                                                                                                                                                                                                                                                           
Loading, please wait...                                                                                                                                                                                                                                                                                                                                                                                                                     
Starting version 247.3-6                                                                                                                                                                                                                                                                                                                                                                                                                    
[    4.795972][ T1442] usb 2-1: New USB device found, idVendor=0781, idProduct=5567, bcdDevice= 1.00                                                                                                                                                                                                                                                                                                                                        
[    4.804912][ T1442] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3                                                                                                                                                                                                                                                                                                                                                    
[    4.829431][ T1442] usb 2-1: Product: Cruzer Blade                                                                                                                                                                                                                                                                                                                                                                                       
[    4.834276][ T1442] usb 2-1: Manufacturer: SanDisk                                                                                                                                                                                                                                                                                                                                                                                       
[    4.855993][ T1442] usb 2-1: SerialNumber: 02002829090522215920                                                                                                                                                                                                                                                                                                                                                                          
[    4.862931][ T1442] usb-storage 2-1:1.0: USB Mass Storage device detected                                                                                                                                                                                                                                                                                                                                                                
[    4.886365][ T1442] scsi host2: usb-storage 2-1:1.0                                                                                                                                                                                                                                                                                                                                                                                      
[    4.895911][ T1547] usbcore: registered new interface driver uas                                                                                                                                                                                                                                                                                                                                                                         
Begin: Loading essential drivers ... done.                                                                                                                                                                                                                                                                                                                                                                                                  
Begin: Running /scripts/init-premount ... done.                                                                                                                                                                                                                                                                                                                                                                                             
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.                                                                                                                                                                                                                                                                                                                                                            
Begin: Running /scripts/local-premount ... done.                                                                                                                                                                                                                                                                                                                                                                                            
Begin: Waiting for root file system ... [    5.926360][   T38] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer Blade     1.00 PQ: 0 ANSI: 6                                                                                                                                                                                                                                                                                                 
[    5.940363][    T7] sd 2:0:0:0: [sda] 120176640 512-byte logical blocks: (61.5 GB/57.3 GiB)                                                                                                                                                                                                                                                                                                                                              
[    5.949517][    T7] sd 2:0:0:0: [sda] Write Protect is off                                                                                                                                                                                                                                                                                                                                                                               
[    5.955309][    T7] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA                                                                                                                                                                                                                                                                                                                             
[    5.970168][    T7]  sda: sda1                                                                                                                                                                                                                                                                                                                                                                                                           
[    5.977239][    T7] sd 2:0:0:0: [sda] Attached SCSI removable disk                                                                                                                                                                                                                                                                                                                                                                       
[    5.992066][    C0] random: fast init done                                                                                                                                                                                                                                                                                                                                                                                               
Begin: Running /scripts/local-block ... done.                                                                                                                                                                                                                                                                                                                                                                                               
.
.                                                                                                                                                                                                                                                                                                                                                                                             
done.                                                                                                                                                                                                                                                                                                                                                                                                                                       
Gave up waiting for root file system device.  Common problems:                                                                                                                                                                                                                                                                                                                                                                              
 - Boot args (cat /proc/cmdline)                                                                                                                                                                                                                                                                                                                                                                                                            
   - Check rootdelay= (did the system wait long enough?)                                                                                                                                                                                                                                                                                                                                                                                    
 - Missing modules (cat /proc/modules; ls /dev)                                                                                                                                                                                                                                                                                                                                                                                             
ALERT!  /dev/ram does not exist.  Dropping to a shell!      
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 16, 2022 08:27AM
(initramfs) cat /proc/cmdline                                                                                                                                                                                                                                                                                                                                                                                                              
root=/dev/ram console=ttyS0,115200

It seems it is not taking the good one, perhaps I have missed something,
Author:

Your Email:


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: