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 02, 2022 03:38PM
i5Js,

It is not because of your built kernel. It is because of this stock u-boot lacks of parsing capability.

> It has some improvements, and it seems he plays
> with the nand creating more partitions, I guess
> for stock kernel and Debian. Anyway, apart of
> that, this time, it boots successfully, and it
> detects the mtd partitions.

Yes, usually you would see the MTD partitions if the DTS specifies them. But you can not write to them yet. Let's try again

======

We'll enable the mtd partitions in Linux so that they are accessible for flashing kernel files.

Again, in reference to the successful tftp boot:

https://forum.doozan.com/read.php?2,67249,133459#msg-133459

This time change the envs a bit:

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'

And boot.

Log into Debian,

cat /proc/mtd
cat /proc/cmdline

And then post the entire serial console log here.

=====

Note: the bold part above is a different way to specify a variable in u-boot. Hope this old notation will be accepted by u-boot.

If the cat /proc/cmdline does not show the mtdparts being expanded in bootargs, then we will have to specify them explicitly. But since this u-boot is primitive in hush parsing, we might not be able to include completely that long string.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 02, 2022 04:00PM
Ok, today I can’t, but I will tomorrow.

One question about the u-boot: is there any way to troubleshoot the ext2 driver? Perhaps a new version ?

Thanks
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 03, 2022 02:55PM
Hello,

Logs below:

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 bootargs 'console=ttyS0,115200 root=/dev/sda2 $(mtdparts) earlyprintk=serial'
Marvell>> setenv initrd_high 0xffffffff
Marvell>> setenv fdt_skip_update yes
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>> sleep 5
Marvell>> setenv ipaddr 192.168.1.110; setenv serverip 192.168.1.23; tftp 0xa00000 boot/uimage-6.0.10;tftp 0x1200000 boot/uramdiskk6
Using egiga2 device
TFTP from server 192.168.1.23; our IP address is 192.168.1.110
Filename 'boot/uimage-6.0.10'.
Load address: 0xa00000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         415 KiB/s
done
Bytes transferred = 3804547 (3a0d83 hex)
Using egiga2 device
TFTP from server 192.168.1.23; our IP address is 192.168.1.110
Filename 'boot/uramdiskk6'.
Load address: 0x1200000
Loading: #################################################################
         ##############################################
         373 KiB/s
done
Bytes transferred = 1622632 (18c268 hex)
Marvell>>  bootm 0xa00000 0x1200000
## Booting image at 00a00000 ...
## Booting kernel from Legacy Image at 00a00000 ...
   Image Name:   WDMC-Gen2
   Created:      2022-11-29  14:24:14 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3804483 Bytes = 3.6 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01200000 ...
   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:0x003A42B0 (0x00004A93)
C:0x000080E0-0x003A8DE0->0x00C7C500-0x0101D200
DTB:0x010186D0 (0x00004B30)
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 Tue Nov 29 14:49:09 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: WD MyCloud Ex2 Ultra
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 s14164 r8192 d22700 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: 1024692K/1048576K available (7389K kernel code, 494K rwdata, 1928K rodata, 1024K init, 338K bss, 23884K reserved, 0K cma-reserved, 262144K highmem)
rcu: Hierarchical RCU implementation.
rcu:    RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
rcu: RCU calculated value of scheduler-enlistment delay is 10 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=6660000)
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
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 1000.
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: 19112604462750000 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'
cpuidle: using governor ladder
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()   592 MB/s
raid6: neonx4   gen()  1694 MB/s
raid6: neonx2   gen()  2070 MB/s
raid6: neonx1   gen()  1749 MB/s
raid6: int32x8  gen()   244 MB/s
raid6: int32x4  gen()   280 MB/s
raid6: int32x2  gen()   448 MB/s
raid6: int32x1  gen()   515 MB/s
raid6: using algorithm neonx2 gen() 2070 MB/s
raid6: .... xor() 1328 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
CacheFiles: 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)
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.
PCI: CLS 0 bytes, default 64
Trying to unpack rootfs image as initramfs...
Initialise system trusted keyrings
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
Freeing initrd memory: 1588K
xor: measuring software checksum speed
   arm4regs        :  2172 MB/sec
   8regs           :  1549 MB/sec
   32regs          :  1733 MB/sec
   neon            :  1634 MB/sec
xor: using function: arm4regs (2172 MB/sec)
async_tx: api initialized (async)
Key type asymmetric registered
Asymmetric key parser 'x509' registered
bounce: pool size: 64 pages
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
io scheduler kyber registered
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
ahci-mvebu f10a8000.sata: supply target not found, using dummy regulator
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 host0: ahci-mvebu
scsi host1: ahci-mvebu
ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 40
ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 40
hwmon hwmon0: temp1_input not attached to any thermal zone
mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
mvneta f1034000.ethernet eth0: Using hardware mac address 00:50:43:36:98:34
usbcore: registered new interface driver lan78xx
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ehci-orion: EHCI orion driver
orion-ehci f1058000.usb: EHCI Host Controller
orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
orion-ehci f1058000.usb: irq 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
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-pci: OHCI PCI platform driver
ohci-platform: OHCI generic platform driver
uhci_hcd: USB Universal Host Controller Interface driver
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
ata2: SATA link down (SStatus 0 SControl 300)
usb usb5: Product: xHCI Host Controller
ata1: SATA link down (SStatus 0 SControl 300)
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
fotg210_hcd: FOTG210 Host Controller (EHCI) Driver
Warning! fotg210_hcd should always be loaded before uhci_hcd and ohci_hcd, not after
SPI driver max3421-hcd has no spi_device_id for maxim,max3421
usbcore: registered new interface driver usb-storage
i2c_dev: i2c /dev entries driver
mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recovery not supported
mv64xxx_i2c f1011100.i2c: can't get pinctrl, bus recovery not supported
device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
ledtrig-cpu: registered to indicate activity on CPUs
marvell-cesa f1090000.crypto: CESA device successfully registered
hid: raw HID events driver (C) Jiri Kosina
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
Loading compiled-in X.509 certificates
input: gpio-keys as /devices/platform/gpio-keys/input/input0
Freeing unused kernel image (initmem) memory: 1024K
Run /init as init process
### Press any key to stop and run shell... (2)usb 4-1: new high-speed USB device number 2 using xhci-hcd
usb 4-1: New USB device found, idVendor=0951, idProduct=1665, bcdDevice= 1.00
usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 4-1: Product: DataTraveler 2.0
usb 4-1: Manufacturer: Kingston
usb 4-1: SerialNumber: 00241D8CE480FE10B97245FE
usb-storage 4-1:1.0: USB Mass Storage device detected
scsi host2: usb-storage 4-1:1.0
scsi 2:0:0:0: Direct-Access     Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 4
sd 2:0:0:0: [sda] 15131636 512-byte logical blocks: (7.75 GB/7.21 GiB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2
sd 2:0:0:0: [sda] Attached SCSI removable disk
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: command line is not complete, try "help"
systemd[1]: System time before build time, advancing clock.
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)
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]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
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]: Condition check resulted in POSIX Message Queue File System being skipped.
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...
fuse: init (API version 7.36)
systemd[1]: Started Nameserver information manager.
[  OK  ] Started Nameserver information manager.
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 Modulesystemd[1]: Starting Coldplug All udev Devices...
0m...
         Starting Coldplug All udev Devices...
systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debusystemd[1]: Finished Create list of static device nodes for the current kernel.
g File System.
[  OK  ] Finished ystemd[1]: modprobe@configfs.service: Succeeded.
;1;39mCreate list of st… nodes for the currentsystemd[1]: Finished Load Kernel Module configfs.
 kernel.
[  OK  ystemd[1]: modprobe@drm.service: Succeeded.
0m] Finished ystemd[1]: Finished Load Kernel Module drm.
;1;39mLoad Kernel Module configfsystemd[1]: modprobe@fuse.service: Succeeded.
s.
[  OK  ] Finished Load Kernel Module drm.
systemd[1]: Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Module fuseystemd[1]: Finished Load Kernel Modules.
m.
[  OK  ] Finished Load Kernel Modules.
systemd[1]: Mounting FUSE Control File System...
         Mounting FUSE Control File System...
systemd[1]: Condition check resulted in Kernel Configuration File System being skipped.
systemd[1]: Started File System Check Daemon to report status.
[  OK  ] Started File System Check Daemon to report status.
systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Finished File System Check on Root Device.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Finished Apply Kernel Variables.
         Starting Remount Root and Kernel File Systems...
EXT4-fs (sda2): re-mounted. Quota mode: none.
[  OK  ] Finished Remount Root and Kernel File Systems.
         Starting Flush Journal to Persistent Storage...
         Starting Load/Save Random Seed...
systemd-journald[1056]: Received client request to flush runtime journal.
         Starting Create System Users...
[  OK  ] Finished Coldplug All udev Devices.
systemd-journald[1056]: File /var/log/journal/8425379b321b4df9957e2a4ab3974d43/system.journal corrupted or uncleanly shut down, renaming and replacing.
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Finished Load/Save Random Seed.
[  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 Set the console keyboard layout.
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Started Rule-based Manager for Device Events and Files.
[  OK  ] Found device /dev/ttyS0.
sd 2:0:0:0: Attached scsi generic sg0 type 0
[  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...
[  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...
zram: Added device: zram0
zram: Added device: zram1
zram: Added device: zram2
[  OK  ] Finished Create Volatile Files and Directories.
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
zram1: detected capacity change from 0 to 1027304
Adding 513648k swap on /dev/zram1.  Priority:5 extents:1 across:513648k SS
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
mvneta f1034000.ethernet eth0: PHY [f1072004.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL)
[  OK  ] Started Network Time Synchronizatiomvneta f1034000.ethernet eth0: configuring for phy/sgmii link mode
n.
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target System Time Synchronized.
zram0: detected capacity change from 0 to 102400
zram2: detected capacity change from 0 to 1027304
EXT4-fs (zram2): mounted filesystem without journal. Quota mode: none.
ext4 filesystem being mounted at /tmp supports timestamps until 2038 (0x7fffffff)
[  OK  ] Finished Armbian ZRAM config.
         Starting Armbian memory supported logging...
EXT4-fs (zram0): mounted filesystem without journal. Quota mode: none.
ext4 filesystem being mounted at /var/log supports timestamps until 2038 (0x7fffffff)
[FAILED] Failed to start Set console font and keymap.
See 'systemctl status console-setup.service' for details.
mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  OK  ] Finished Raise network interfaces.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
[  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 LSB: simple distributed compiler server...
         Starting Remove Stale Onli…t4 Metadata Check Snapshots...
         Starting System Logging Service...
         Starting OpenBSD Secure Shell server...
         Starting Resets System Activity Logs...
         Starting User Login Management...
         Starting Permit User Sessions...
[  OK  ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots.
[  OK  ] Finished Resets System Activity Logs.
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started System Logging Service.
[  OK  ] Started User Login Management.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started LSB: simple distributed compiler server.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Reached target Login Prompts.
[  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: root
Password: 

Login incorrect
wdmycloud login: root
Password: 
Linux wdmycloud 6.0.10+ #1 SMP Tue Nov 29 14:49:09 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: Fri Dec  2 13:25:00 CET 2022 on ttyS0
root@wdmycloud:~# 
root@wdmycloud:~# cat /proc/mtd                                                                                                                                                                                  
dev:    size   erasesize  name
root@wdmycloud:~# cat /proc/cmdline 
console=ttyS0,115200 root=/dev/sda2 $(mtdparts) earlyprintk=serial
root@wdmycloud:~# mtdinfo 
Count of MTD devices:           0
root@wdmycloud:~#



Edited 1 time(s). Last edit at 12/03/2022 02:55PM by i5Js.
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 03, 2022 03:00PM
with your kernel and Ramdisk

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 bootargs 'console=ttyS0,115200 root=/dev/sda2 $(mtdparts) earlyprintk=serial'
Marvell>> 
Marvell>> setenv initrd_high 0xffffffff
Marvell>> setenv fdt_skip_update yes
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 ipaddr 192.168.1.110; setenv serverip 192.168.1.23; tftp 0xa00000 boot.b/uimage; tftp 0x1200000 boot.b/uramdisk
Using egiga2 device
TFTP from server 192.168.1.23; our IP address is 192.168.1.110
Filename 'boot.b/uimage'.
Load address: 0xa00000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################
         234.4 KiB/s
done
Bytes transferred = 5241862 (4ffc06 hex)
Using egiga2 device
TFTP from server 192.168.1.23; our IP address is 192.168.1.110
Filename 'boot.b/uramdisk'.
Load address: 0x1200000
Loading: T T T #################################################################
         ##############################################
         67.4 KiB/s
done
Bytes transferred = 1622632 (18c268 hex)
Marvell>> bootm 0xa00000 0x1200000
## Booting image at 00a00000 ...
## Booting kernel from Legacy Image at 00a00000 ...
   Image Name:   Linux-6.0.7-mvebu-tld-1
   Created:      2022-11-27  18:04:37 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5241798 Bytes = 5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01200000 ...
   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 ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.0.7-mvebu-tld-1 (root@tldDebian) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1.0 SMP PREEMPT Tue Nov 8 16:49:35 PST 2022
[    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 17 pages/cpu s38996 r8192 d22444 u69632
[    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] Unknown kernel command line parameters "$(mtdparts)", will be passed to user space.
[    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: 1018376K/1048576K available (10240K kernel code, 1513K rwdata, 3472K rodata, 1024K init, 470K bss, 30200K reserved, 0K cma-reserved, 262144K highmem)
[    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.000000][    T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000][    T0] kfence: initialized - using 2097152 bytes for 255 objects at 0x(ptrval)-0x(ptrval)
[    0.000001][    T0] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns
[    0.008677][    T0] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns
[    0.020385][    T0] Switching to timer-based delay loop, resolution 1ns
[    0.027195][    T0] Ignoring duplicate/late registration of read_current_timer delay
[    0.034913][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.047247][    T0] Console: colour dummy device 80x30
[    0.052392][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000)
[    0.063665][    T0] pid_max: default: 32768 minimum: 301
[    0.069174][    T0] LSM: Security Framework initializing
[    0.074616][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.082603][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.091678][    T0] CPU: Testing write buffer coherency: ok
[    0.097264][    T0] CPU0: Spectre v2: using BPIALL workaround
[    0.103197][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.110253][    T1] cblist_init_generic: Setting adjustable number of callback queues.
[    0.118168][    T1] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.125014][    T1] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.131881][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.138855][    T1] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.144780][    T1] mvebu-pmsu: Initializing Power Management Service Unit
[    0.151780][    T1] rcu: Hierarchical SRCU implementation.
[    0.157263][    T1] rcu:     Max phase no-delay instances is 1000.
[    0.163855][    T1] smp: Bringing up secondary CPUs ...
[    0.169631][    T1] Booting CPU 1
[    0.173097][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.173108][    T0] CPU1: Spectre v2: using BPIALL workaround
[    0.185250][    T1] smp: Brought up 1 node, 2 CPUs
[    0.190053][    T1] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.197086][    T1] CPU: All CPU(s) started in SVC mode.
[    0.202829][    T1] devtmpfs: initialized
[    0.210176][    T1] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.218826][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.229349][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.236900][    T1] prandom: seed boundary self test passed
[    0.244055][    T1] prandom: 100 self tests passed
[    0.248835][    T1] pinctrl core: initialized pinctrl subsystem
[    0.255641][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.262961][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.271183][    T1] audit: initializing netlink subsys (disabled)
[    0.277444][   T24] audit: type=2000 audit(0.250:1): state=initialized audit_enabled=0 res=1
[    0.277795][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.286060][    T1] cpuidle: using governor ladder
[    0.297549][    T1] cpuidle: using governor menu
[    0.302269][    T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.310949][    T1] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.317605][    T1] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.326361][    T1] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.537216][    T1] raid6: int32x8  gen()   244 MB/s
[    0.707048][    T1] raid6: int32x4  gen()   263 MB/s
[    0.877092][    T1] raid6: int32x2  gen()   459 MB/s
[    1.047049][    T1] raid6: int32x1  gen()   532 MB/s
[    1.051996][    T1] raid6: using algorithm int32x1 gen() 532 MB/s
[    1.227078][    T1] raid6: .... xor() 205 MB/s, rmw enabled
[    1.232636][    T1] raid6: using intx1 recovery algorithm
[    1.238714][    T1] SCSI subsystem initialized
[    1.243483][    T1] usbcore: registered new interface driver usbfs
[    1.249707][    T1] usbcore: registered new interface driver hub
[    1.255716][    T1] usbcore: registered new device driver usb
[    1.261729][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.267379][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.277187][    T1] PTP clock support registered
[    1.282736][    T1] vgaarb: loaded
[    1.286535][    T1] clocksource: Switched to clocksource arm_global_timer
[    1.293830][    T1] VFS: Disk quotas dquot_6.6.0
[    1.298560][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.313452][    T1] NET: Registered PF_INET protocol family
[    1.319245][    T1] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.328869][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    1.338061][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.346490][    T1] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.355021][    T1] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.362930][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    1.370146][    T1] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.378281][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.385585][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.393476][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.400345][    T1] RPC: Registered named UNIX socket transport module.
[    1.406987][    T1] RPC: Registered udp transport module.
[    1.412367][    T1] RPC: Registered tcp transport module.
[    1.417753][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.424865][    T1] PCI: CLS 0 bytes, default 64
[    1.429581][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.429648][   T10] Trying to unpack rootfs image as initramfs...
[    1.442899][   T10] Initramfs unpacking failed: invalid magic at start of compressed archive
[    1.442913][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    1.453693][   T10] Freeing initrd memory: 1588K
[    1.461166][    T1] Initialise system trusted keyrings
[    1.469923][    T1] Key type blacklist registered
[    1.474745][    T1] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    1.481969][    T1] zbud: loaded
[    1.486508][    T1] NFS: Registering the id_resolver key type
[    1.492306][    T1] Key type id_resolver registered
[    1.497179][    T1] Key type id_legacy registered
[    1.501906][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.509305][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.573678][    T1] xor: measuring software checksum speed
[    1.583688][    T1]    arm4regs        :  2172 MB/sec
[    1.594617][    T1]    8regs           :  1669 MB/sec
[    1.605328][    T1]    32regs          :  1733 MB/sec
[    1.610369][    T1] xor: using function: arm4regs (2172 MB/sec)
[    1.616273][    T1] async_tx: api initialized (async)
[    1.621313][    T1] Key type asymmetric registered
[    1.626087][    T1] Asymmetric key parser 'x509' registered
[    1.632434][    T1] alg: self-tests for CTR-KDF (hmac(sha256)) passed
[    1.639038][    T1] bounce: pool size: 64 pages
[    1.643659][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    1.651859][    T1] io scheduler bfq registered
[    1.659039][    T1] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.667698][    T1] debugfs: Directory 'f1018100.gpio' with parent 'regmap' already present!
[    1.676866][    T1] debugfs: Directory 'f1018140.gpio' with parent 'regmap' already present!
[    1.686201][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.757179][    T1] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.767264][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.827247][    T1] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.912787][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.921520][    T1] printk: console [ttyS0] disabled
[    1.947670][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 39, base_baud = 12500000) is a 16550A
[    1.957362][    T1] printk: console [ttyS0] enabled
[    1.957362][    T1] printk: console [ttyS0] enabled
[    1.967188][    T1] printk: bootconsole [earlycon0] disabled
[    1.967188][    T1] printk: bootconsole [earlycon0] disabled
[    1.999505][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 40, base_baud = 12500000) is a 16550A
[    2.010519][    T1] ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator
[    2.018974][    T1] ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator
[    2.027274][    T1] ahci-mvebu f10a8000.sata: supply target not found, using dummy regulator
[    2.035897][    T1] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    2.045711][    T1] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    2.056360][    T1] scsi host0: ahci-mvebu
[    2.061005][    T1] scsi host1: ahci-mvebu
[    2.065318][    T1] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 41
[    2.074002][    T1] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 41
[    2.083737][    T1] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[    2.090873][    T1] nand: Macronix MX30LF2G18AC
[    2.095432][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.104032][    T1] Bad block table found at page 131008, version 0x01
[    2.110951][    T1] Bad block table found at page 130944, version 0x01
[    2.117691][    T1] nand_read_bbt: bad block at 0x000002020000
[    2.123563][    T1] nand_read_bbt: bad block at 0x0000062e0000
[    2.129445][    T1] nand_read_bbt: bad block at 0x00000bac0000
[    2.135313][    T1] nand_read_bbt: bad block at 0x00000d300000
[    2.141187][    T1] nand_read_bbt: bad block at 0x00000dc60000
[    2.147178][    T1] 8 fixed-partitions partitions found on MTD device pxa3xx_nand-0
[    2.154887][    T1] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    2.161024][    T1] 0x000000000000-0x000000500000 : "U-Boot"
[    2.167804][    T1] 0x000000500000-0x000000a00000 : "uImage"
[    2.174454][    T1] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    2.181445][    T1] 0x000000f00000-0x00000c800000 : "image.cfs"
[    2.188780][    T1] 0x00000c800000-0x00000d700000 : "rescue fw"
[    2.195670][    T1] 0x00000d700000-0x00000eb00000 : "config"
[    2.202388][    T1] 0x00000eb00000-0x00000f500000 : "reserve1"
[    2.209334][    T1] 0x00000f500000-0x00000ff00000 : "reserve2"
[    2.216894][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    2.225475][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    2.238895][    T1] hwmon hwmon0: temp1_input not attached to any thermal zone
[    2.246714][    T1] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    2.259048][    T1] mvneta f1034000.ethernet eth0: Using hardware mac address 00:50:43:36:98:34
[    2.268325][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.275610][    T1] ehci-pci: EHCI PCI platform driver
[    2.280870][    T1] ehci-orion: EHCI orion driver
[    2.285834][    T1] orion-ehci f1058000.usb: EHCI Host Controller
[    2.291998][    T1] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    2.300445][    T1] orion-ehci f1058000.usb: irq 44, io mem 0xf1058000
[    2.336542][    T1] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    2.343445][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.00
[    2.352488][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.360473][    T1] usb usb1: Product: EHCI Host Controller
[    2.366091][    T1] usb usb1: Manufacturer: Linux 6.0.7-mvebu-tld-1 ehci_hcd
[    2.373201][    T1] usb usb1: SerialNumber: f1058000.usb
[    2.379000][    T1] hub 1-0:1.0: USB hub found
[    2.383498][    T1] hub 1-0:1.0: 1 port detected
[    2.389357][    T1] usbcore: registered new interface driver usblp
[    2.395668][    T1] usbcore: registered new interface driver usb-storage
[    2.402700][    T1] mousedev: PS/2 mouse device common for all mice
[    2.407964][  T668] ata2: SATA link down (SStatus 0 SControl 300)
[    2.416307][    T1] armada38x-rtc f10a3800.rtc: registered as rtc0
[    2.422573][  T663] ata1: SATA link down (SStatus 0 SControl 300)
[    2.429525][    T1] armada38x-rtc f10a3800.rtc: setting system clock to 2022-12-03T20:59:17 UTC (1670101157)
[    2.439684][    T1] i2c_dev: i2c /dev entries driver
[    2.444866][    T1] mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recovery not supported
[    2.453764][    T1] mv64xxx_i2c f1011100.i2c: can't get pinctrl, bus recovery not supported
[    2.464944][    T1] orion_wdt: Initial timeout 171 sec
[    2.470509][    T1] device-mapper: uevent: version 1.0.3
[    2.476032][    T1] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[    2.485496][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    2.492779][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    2.500139][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    2.507531][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    2.514358][    T1] device-mapper: raid: Loading target version 1.15.1
[    2.523063][    T1] marvell-cesa f1090000.crypto: CESA device successfully registered
[    2.531171][    T1] hid: raw HID events driver (C) Jiri Kosina
[    2.537377][    T1] usbcore: registered new interface driver usbhid
[    2.543684][    T1] usbhid: USB HID core driver
[    2.548555][    T1] drop_monitor: Initializing network drop monitor service
[    2.555962][    T1] NET: Registered PF_INET6 protocol family
[    2.562699][    T1] Segment Routing with IPv6
[    2.567108][    T1] RPL Segment Routing with IPv6
[    2.571871][    T1] In-situ OAM (IOAM) with IPv6
[    2.576603][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.584347][    T1] NET: Registered PF_PACKET protocol family
[    2.590327][    T1] 8021q: 802.1Q VLAN Support v1.8
[    2.595274][    T1] Key type dns_resolver registered
[    2.600392][    T1] ThumbEE CPU extension supported.
[    2.605391][    T1] Registering SWP/SWPB emulation handler
[    2.611370][    T1] registered taskstats version 1
[    2.616202][    T1] Loading compiled-in X.509 certificates
[    2.622232][    T1] zswap: loaded using pool lzo/zbud
[    2.627739][    T1] Key type ._fscrypt registered
[    2.632477][    T1] Key type .fscrypt registered
[    2.637138][    T1] Key type fscrypt-provisioning registered
[    2.644417][    T1] Key type big_key registered
[    2.649856][    T1] Key type encrypted registered
[    2.661376][   T10] usb_phy_generic usb3_0_phy: dummy supplies not allowed for exclusive requests
[    2.670780][   T10] usb_phy_generic usb3_1_phy: dummy supplies not allowed for exclusive requests
[    2.680308][   T10] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    2.686369][   T10] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    2.694891][   T10] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    2.704952][   T10] xhci-hcd f10f0000.usb3: irq 45, io mem 0xf10f0000
[    2.711581][   T10] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    2.717643][   T10] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    2.725885][   T10] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed
[    2.733106][   T10] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.00
[    2.742141][   T10] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.750122][   T10] usb usb2: Product: xHCI Host Controller
[    2.755727][   T10] usb usb2: Manufacturer: Linux 6.0.7-mvebu-tld-1 xhci-hcd
[    2.762822][   T10] usb usb2: SerialNumber: f10f0000.usb3
[    2.768822][   T10] hub 2-0:1.0: USB hub found
[    2.773325][   T10] hub 2-0:1.0: 1 port detected
[    2.778476][   T10] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.787500][   T10] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.00
[    2.796516][   T10] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.804498][   T10] usb usb3: Product: xHCI Host Controller
[    2.810191][   T10] usb usb3: Manufacturer: Linux 6.0.7-mvebu-tld-1 xhci-hcd
[    2.817296][   T10] usb usb3: SerialNumber: f10f0000.usb3
[    2.823110][   T10] hub 3-0:1.0: USB hub found
[    2.827624][   T10] hub 3-0:1.0: 1 port detected
[    2.832851][   T10] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    2.839019][   T10] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    2.847344][   T10] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    2.857371][   T10] xhci-hcd f10f8000.usb3: irq 46, io mem 0xf10f8000
[    2.863993][   T10] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    2.870136][   T10] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    2.878394][   T10] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
[    2.885590][   T10] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.00
[    2.894618][   T10] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.902658][   T10] usb usb4: Product: xHCI Host Controller
[    2.908277][   T10] usb usb4: Manufacturer: Linux 6.0.7-mvebu-tld-1 xhci-hcd
[    2.915366][   T10] usb usb4: SerialNumber: f10f8000.usb3
[    2.921252][   T10] hub 4-0:1.0: USB hub found
[    2.925750][   T10] hub 4-0:1.0: 1 port detected
[    2.930803][   T10] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.939821][   T10] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.00
[    2.948850][   T10] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.956974][   T10] usb usb5: Product: xHCI Host Controller
[    2.962582][   T10] usb usb5: Manufacturer: Linux 6.0.7-mvebu-tld-1 xhci-hcd
[    2.969700][   T10] usb usb5: SerialNumber: f10f8000.usb3
[    2.975525][   T10] hub 5-0:1.0: USB hub found
[    2.980040][   T10] hub 5-0:1.0: 1 port detected
[    2.985629][    T1] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    2.994218][    T1] md: Waiting for all devices to be available before autodetect
[    3.001770][    T1] md: If you don't use raid, use raid=noautodetect
[    3.008206][    T1] md: Autodetecting RAID arrays.
[    3.013026][    T1] md: autorun ...
[    3.016559][    T1] md: ... autorun DONE.
[    3.020945][    T1] /dev/root: Can't open blockdev
[    3.025773][    T1] VFS: Cannot open root device "sda2" or unknown-block(0,0): error -6
[    3.033863][    T1] Please append a correct "root=" boot option; here are the available partitions:
[    3.042974][    T1] 1f00            5120 mtdblock0 
[    3.042980][    T1]  (driver?)
[    3.050968][    T1] 1f01            5120 mtdblock1 
[    3.050973][    T1]  (driver?)
[    3.058952][    T1] 1f02            5120 mtdblock2 
[    3.058957][    T1]  (driver?)
[    3.066945][    T1] 1f03          189440 mtdblock3 
[    3.066951][    T1]  (driver?)
[    3.074924][    T1] 1f04           15360 mtdblock4 
[    3.074929][    T1]  (driver?)
[    3.082911][    T1] 1f05           20480 mtdblock5 
[    3.082915][    T1]  (driver?)
[    3.090898][    T1] 1f06           10240 mtdblock6 
[    3.090903][    T1]  (driver?)
[    3.098882][    T1] 1f07           10240 mtdblock7 
[    3.098887][    T1]  (driver?)
[    3.106864][    T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    3.115874][    T1] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.0.7-mvebu-tld-1 #1.0
[    3.123663][    T1] Hardware name: Marvell Armada 380/385 (Device Tree)
[    3.130316][    T1]  unwind_backtrace from show_stack+0x10/0x14
[    3.136285][    T1]  show_stack from dump_stack_lvl+0x40/0x4c
[    3.142071][    T1]  dump_stack_lvl from panic+0x104/0x328
[    3.147597][    T1]  panic from mount_block_root+0x150/0x1d8
[    3.153298][    T1]  mount_block_root from prepare_namespace+0x144/0x180
[    3.160043][    T1]  prepare_namespace from kernel_init_freeable+0x210/0x274
[    3.167138][    T1]  kernel_init_freeable from kernel_init+0x14/0x130
[    3.173622][    T1]  kernel_init from ret_from_fork+0x14/0x2c
[    3.179406][    T1] Exception stack(0xf0831fb0 to 0xf0831ff8)
[    3.185186][    T1] 1fa0:                                     00000000 00000000 00000000 00000000
[    3.194110][    T1] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    3.203032][    T1] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    3.210384][    C1] CPU1: stopping
[    3.213810][    C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.0.7-mvebu-tld-1 #1.0
[    3.221598][    C1] Hardware name: Marvell Armada 380/385 (Device Tree)
[    3.228250][    C1]  unwind_backtrace from show_stack+0x10/0x14
[    3.234212][    C1]  show_stack from dump_stack_lvl+0x40/0x4c
[    3.239996][    C1]  dump_stack_lvl from do_handle_IPI+0x208/0x2c0
[    3.246215][    C1]  do_handle_IPI from ipi_handler+0x14/0x20
[    3.251997][    C1]  ipi_handler from handle_percpu_devid_irq+0x58/0xfc
[    3.258654][    C1]  handle_percpu_devid_irq from handle_irq_desc+0x1c/0x2c
[    3.265661][    C1]  handle_irq_desc from gic_handle_irq+0x60/0x70
[    3.271885][    C1]  gic_handle_irq from generic_handle_arch_irq+0x28/0x3c
[    3.278804][    C1]  generic_handle_arch_irq from call_with_stack+0x18/0x20
[    3.285813][    C1]  call_with_stack from __irq_svc+0x98/0xc8
[    3.291596][    C1] Exception stack(0xf0871f50 to 0xf0871f98)
[    3.297376][    C1] 1f40:                                     00000001 00000000 00002469 c011d800
[    3.306299][    C1] 1f60: 00000000 00000000 00000001 c0f65be8 c18da180 c100a070 00000000 00000000
[    3.315221][    C1] 1f80: c1003d40 f0871fa0 c010c900 c010c8f0 60000113 ffffffff
[    3.322569][    C1]  __irq_svc from arch_cpu_idle+0x1c/0x38
[    3.328177][    C1]  arch_cpu_idle from default_idle_call+0x30/0x50
[    3.334485][    C1]  default_idle_call from do_idle+0x108/0x280
[    3.340446][    C1]  do_idle from cpu_startup_entry+0x18/0x1c
[    3.346231][    C1]  cpu_startup_entry from secondary_start_kernel+0x104/0x124
[    3.353499][    C1]  secondary_start_kernel from 0x101ec0
[    3.358938][    T1] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 03, 2022 03:37PM
This old u-boot is quite limited.


1. Change the bootargs to:

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

And boot.

Log into Debian,

cat /proc/mtd
cat /proc/cmdline

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 03, 2022 03:46PM
my kernel

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 bootargs 'console=ttyS0,115200 root=/dev/sda2 $mtdparts earlyprintk=serial'
Marvell>> setenv ipaddr 192.168.1.110; setenv serverip 192.168.1.23; tftp 0xa00000 boot/uimage-6.0.10;tftp 0x1200000 boot/uramdiskk6
Using egiga2 device
TFTP from server 192.168.1.23; our IP address is 192.168.1.110
Filename 'boot/uimage-6.0.10'.
Load address: 0xa00000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         410.2 KiB/s
done
Bytes transferred = 3804547 (3a0d83 hex)
Using egiga2 device
TFTP from server 192.168.1.23; our IP address is 192.168.1.110
Filename 'boot/uramdiskk6'.
Load address: 0x1200000
Loading: #################################################################
         ##############################################
         392.6 KiB/s
done
Bytes transferred = 1622632 (18c268 hex)
Marvell>> setenv initrd_high 0xffffffff
Marvell>> setenv fdt_skip_update yes
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>> sleep 5
Marvell>> bootm 0xa00000 0x1200000
## Booting image at 00a00000 ...
## Booting kernel from Legacy Image at 00a00000 ...
   Image Name:   WDMC-Gen2
   Created:      2022-11-29  14:24:14 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3804483 Bytes = 3.6 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01200000 ...
   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:0x003A42B0 (0x00004A93)
C:0x000080E0-0x003A8DE0->0x00C7C500-0x0101D200
DTB:0x010186D0 (0x00004B30)
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 Tue Nov 29 14:49:09 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: WD MyCloud Ex2 Ultra
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 s14164 r8192 d22700 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: 1024692K/1048576K available (7389K kernel code, 494K rwdata, 1928K rodata, 1024K init, 338K bss, 23884K reserved, 0K cma-reserved, 262144K highmem)
rcu: Hierarchical RCU implementation.
rcu:    RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
rcu: RCU calculated value of scheduler-enlistment delay is 10 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=6660000)
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
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 1000.
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: 19112604462750000 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'
cpuidle: using governor ladder
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()   592 MB/s
raid6: neonx4   gen()  1694 MB/s
raid6: neonx2   gen()  2070 MB/s
raid6: neonx1   gen()  1749 MB/s
raid6: int32x8  gen()   244 MB/s
raid6: int32x4  gen()   280 MB/s
raid6: int32x2  gen()   448 MB/s
raid6: int32x1  gen()   515 MB/s
raid6: using algorithm neonx2 gen() 2070 MB/s
raid6: .... xor() 1328 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
CacheFiles: 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)
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.
PCI: CLS 0 bytes, default 64
Trying to unpack rootfs image as initramfs...
Initialise system trusted keyrings
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
Freeing initrd memory: 1588K
xor: measuring software checksum speed
   arm4regs        :  2172 MB/sec
   8regs           :  1549 MB/sec
   32regs          :  1733 MB/sec
   neon            :  1634 MB/sec
xor: using function: arm4regs (2172 MB/sec)
async_tx: api initialized (async)
Key type asymmetric registered
Asymmetric key parser 'x509' registered
bounce: pool size: 64 pages
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
io scheduler kyber registered
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
ahci-mvebu f10a8000.sata: supply target not found, using dummy regulator
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 host0: ahci-mvebu
scsi host1: ahci-mvebu
ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 40
ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 40
hwmon hwmon0: temp1_input not attached to any thermal zone
mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
mvneta f1034000.ethernet eth0: Using hardware mac address 00:50:43:36:98:34
usbcore: registered new interface driver lan78xx
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
ehci-orion: EHCI orion driver
orion-ehci f1058000.usb: EHCI Host Controller
orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
orion-ehci f1058000.usb: irq 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
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci-pci: OHCI PCI platform driver
ohci-platform: OHCI generic platform driver
uhci_hcd: USB Universal Host Controller Interface driver
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
ata2: SATA link down (SStatus 0 SControl 300)
usb usb5: Product: xHCI Host Controller
ata1: SATA link down (SStatus 0 SControl 300)
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
fotg210_hcd: FOTG210 Host Controller (EHCI) Driver
Warning! fotg210_hcd should always be loaded before uhci_hcd and ohci_hcd, not after
SPI driver max3421-hcd has no spi_device_id for maxim,max3421
usbcore: registered new interface driver usb-storage
i2c_dev: i2c /dev entries driver
mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recovery not supported
mv64xxx_i2c f1011100.i2c: can't get pinctrl, bus recovery not supported
device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
ledtrig-cpu: registered to indicate activity on CPUs
marvell-cesa f1090000.crypto: CESA device successfully registered
hid: raw HID events driver (C) Jiri Kosina
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
Loading compiled-in X.509 certificates
input: gpio-keys as /devices/platform/gpio-keys/input/input0
Freeing unused kernel image (initmem) memory: 1024K
Run /init as init process
### Press any key to stop and run shell... (2)usb 4-1: new high-speed USB device number 2 using xhci-hcd
usb 4-1: New USB device found, idVendor=0951, idProduct=1665, bcdDevice= 1.00
usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 4-1: Product: DataTraveler 2.0
usb 4-1: Manufacturer: Kingston
usb 4-1: SerialNumber: 00241D8CE480FE10B97245FE
usb-storage 4-1:1.0: USB Mass Storage device detected
scsi host2: usb-storage 4-1:1.0
scsi 2:0:0:0: Direct-Access     Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 4
sd 2:0:0:0: [sda] 15131636 512-byte logical blocks: (7.75 GB/7.21 GiB)
sd 2:0:0:0: [sda] Write Protect is off
sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2
sd 2:0:0:0: [sda] Attached SCSI removable disk
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: command line is not complete, try "help"
systemd[1]: System time before build time, advancing clock.
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)
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]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
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]: Condition check resulted in POSIX Message Queue File System being skipped.
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...
fuse: init (API version 7.36)
systemd[1]: Started Nameserver information manager.
[  OK  ] Started Nameserver information manager.
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 Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
systemd[1]: Finished Create list of static device nodes for the current kernel.
[  OK  ystemd[1]: modprobe@configfs.service: Succeeded.
0m] Finished Create list of st… nodes for the currentsystemd[1]: Finished Load Kernel Module configfs.
 kernel.
systemd[1]: modprobe@drm.service: Succeeded.
[  OK  ] Finished Load Kernel Module configfs.
systemd[1]: Finished Load Kernel Module drm.
[  OK  ystemd[1]: modprobe@fuse.service: Succeeded.
0m] Finished Load Kernel Module drm.
systemd[1]: Finished Load Kernel Module fuse.
[  OK  ystemd[1]: Started Journal Service.
0m] Finished Load Kernel Module fuse.
[  OK  ] Started Journal Service.
[  OK  ] Finished Load Kernel Modules.
         Mounting FUSE Control File System...
[  OK  ] Started File System Check Daemon to report status.
         Starting Apply Kernel Variables...
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Finished File System Check on Root Device.
[  OK  ] Finished Apply Kernel Variables.
         Starting Remount Root and Kernel File Systems...
EXT4-fs (sda2): re-mounted. Quota mode: none.
[  OK  ] Finished Remount Root and Kernel File Systems.
         Starting Flush Journal to Persistent Storage...
         Starting Load/Save Random Seed...
systemd-journald[1056]: Received client request to flush runtime journal.
         Starting Create System Users...
systemd-journald[1056]: File /var/log/journal/8425379b321b4df9957e2a4ab3974d43/system.journal corrupted or uncleanly shut down, renaming and replacing.
[  OK  ] Finished Create System Users.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Finished Coldplug All udev Devices.
[  OK  ] Finished Create Static Device Nodes in /dev.
         Starting Helper to synchronize boot up for ifupdown...
         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.
sd 2:0:0:0: Attached scsi generic sg0 type 0
[  OK  ] Finished Set the console keyboard layout.
[  OK  ] Found device DataTraveler_2.0 1.
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /boot...
[  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...
zram: Added device: zram0
zram: Added device: zram1
zram: Added device: zram2
zram1: detected capacity change from 0 to 1027304
[  OK  ] Finished Create Volatile Files and Directories.
Adding 513648k swap on /dev/zram1.  Priority:5 extents:1 across:513648k SS
         Starting Network Time Synchronization...
         Starting Update UTMP about System Boot/Shutdown...
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  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target System Time Synchronized.
zram0: detected capacity change from 0 to 102400
zram2: detected capacity change from 0 to 1027304
EXT4-fs (zram2): mounted filesystem without journal. Quota mode: none.
ext4 filesystem being mounted at /tmp supports timestamps until 2038 (0x7fffffff)
[  OK  ] Finished Armbian ZRAM config.
         Starting Armbian memory supported logging...
EXT4-fs (zram0): mounted filesystem without journal. Quota mode: none.
ext4 filesystem being mounted at /var/log supports timestamps until 2038 (0x7fffffff)
[FAILED] Failed to start Set console font and keymap.
See 'systemctl status console-setup.service' for details.
mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
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.
[  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: root
Password: 
Linux wdmycloud 6.0.10+ #1 SMP Tue Nov 29 14:49:09 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: Sat Dec  3 21:53:47 CET 2022 on ttyS0
root@wdmycloud:~# cat /proc/mtd
dev:    size   erasesize  name
root@wdmycloud:~# cat /proc/cmdline
console=ttyS0,115200 root=/dev/sda2 $mtdparts earlyprintk=serial
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 03, 2022 03:50PM
yours:

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 bootargs 'console=ttyS0,115200 root=/dev/sda2 $mtdparts earlyprintk=serial'  
Marvell>> setenv ipaddr 192.168.1.110; setenv serverip 192.168.1.23; tftp 0xa00000 boot.b/uimage; tftp 0x1200000 boot.b/uramdisk
Using egiga2 device
TFTP from server 192.168.1.23; our IP address is 192.168.1.110
Filename 'boot.b/uimage'.
Load address: 0xa00000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################
         231.4 KiB/s
done
Bytes transferred = 5241862 (4ffc06 hex)
Using egiga2 device
TFTP from server 192.168.1.23; our IP address is 192.168.1.110
Filename 'boot.b/uramdisk'.
Load address: 0x1200000
Loading: #################################################################
         ##############################################
         214.8 KiB/s
done
Bytes transferred = 1622632 (18c268 hex)
Marvell>> setenv initrd_high 0xffffffff
Marvell>> setenv fdt_skip_update yes
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>> bootm 0xa00000 0x1200000
## Booting image at 00a00000 ...
## Booting kernel from Legacy Image at 00a00000 ...
   Image Name:   Linux-6.0.7-mvebu-tld-1
   Created:      2022-11-27  18:04:37 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5241798 Bytes = 5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01200000 ...
   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 ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.0.7-mvebu-tld-1 (root@tldDebian) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1.0 SMP PREEMPT Tue Nov 8 16:49:35 PST 2022
[    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 17 pages/cpu s38996 r8192 d22444 u69632
[    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] Unknown kernel command line parameters "$mtdparts", will be passed to user space.
[    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: 1018376K/1048576K available (10240K kernel code, 1513K rwdata, 3472K rodata, 1024K init, 470K bss, 30200K reserved, 0K cma-reserved, 262144K highmem)
[    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.000000][    T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000][    T0] kfence: initialized - using 2097152 bytes for 255 objects at 0x(ptrval)-0x(ptrval)
[    0.000000][    T0] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns
[    0.008677][    T0] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns
[    0.020385][    T0] Switching to timer-based delay loop, resolution 1ns
[    0.027197][    T0] Ignoring duplicate/late registration of read_current_timer delay
[    0.034915][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.047246][    T0] Console: colour dummy device 80x30
[    0.052391][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000)
[    0.063664][    T0] pid_max: default: 32768 minimum: 301
[    0.069171][    T0] LSM: Security Framework initializing
[    0.074613][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.082601][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.091678][    T0] CPU: Testing write buffer coherency: ok
[    0.097264][    T0] CPU0: Spectre v2: using BPIALL workaround
[    0.103198][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.110257][    T1] cblist_init_generic: Setting adjustable number of callback queues.
[    0.118170][    T1] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.125015][    T1] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.131880][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.138854][    T1] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.144778][    T1] mvebu-pmsu: Initializing Power Management Service Unit
[    0.151775][    T1] rcu: Hierarchical SRCU implementation.
[    0.157258][    T1] rcu:     Max phase no-delay instances is 1000.
[    0.163850][    T1] smp: Bringing up secondary CPUs ...
[    0.169618][    T1] Booting CPU 1
[    0.173085][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.173097][    T0] CPU1: Spectre v2: using BPIALL workaround
[    0.185239][    T1] smp: Brought up 1 node, 2 CPUs
[    0.190042][    T1] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.197076][    T1] CPU: All CPU(s) started in SVC mode.
[    0.202818][    T1] devtmpfs: initialized
[    0.210162][    T1] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.218813][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.229334][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.236885][    T1] prandom: seed boundary self test passed
[    0.244040][    T1] prandom: 100 self tests passed
[    0.248820][    T1] pinctrl core: initialized pinctrl subsystem
[    0.255631][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.262956][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.271184][    T1] audit: initializing netlink subsys (disabled)
[    0.277441][   T24] audit: type=2000 audit(0.250:1): state=initialized audit_enabled=0 res=1
[    0.277790][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.286054][    T1] cpuidle: using governor ladder
[    0.297543][    T1] cpuidle: using governor menu
[    0.302263][    T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.310943][    T1] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.317599][    T1] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.326355][    T1] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.537200][    T1] raid6: int32x8  gen()   244 MB/s
[    0.707084][    T1] raid6: int32x4  gen()   263 MB/s
[    0.877095][    T1] raid6: int32x2  gen()   459 MB/s
[    1.047076][    T1] raid6: int32x1  gen()   532 MB/s
[    1.052024][    T1] raid6: using algorithm int32x1 gen() 532 MB/s
[    1.227080][    T1] raid6: .... xor() 205 MB/s, rmw enabled
[    1.232638][    T1] raid6: using intx1 recovery algorithm
[    1.238710][    T1] SCSI subsystem initialized
[    1.243475][    T1] usbcore: registered new interface driver usbfs
[    1.249699][    T1] usbcore: registered new interface driver hub
[    1.255709][    T1] usbcore: registered new device driver usb
[    1.261721][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.267371][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.277179][    T1] PTP clock support registered
[    1.282728][    T1] vgaarb: loaded
[    1.286526][    T1] clocksource: Switched to clocksource arm_global_timer
[    1.293822][    T1] VFS: Disk quotas dquot_6.6.0
[    1.298554][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.313421][    T1] NET: Registered PF_INET protocol family
[    1.319212][    T1] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.328836][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    1.338031][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.346460][    T1] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.354985][    T1] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.362891][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    1.370105][    T1] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.378240][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.385545][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.393434][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.400305][    T1] RPC: Registered named UNIX socket transport module.
[    1.406947][    T1] RPC: Registered udp transport module.
[    1.412327][    T1] RPC: Registered tcp transport module.
[    1.417713][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.424825][    T1] PCI: CLS 0 bytes, default 64
[    1.429540][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.429609][   T10] Trying to unpack rootfs image as initramfs...
[    1.442860][   T10] Initramfs unpacking failed: invalid magic at start of compressed archive
[    1.442873][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    1.453650][   T10] Freeing initrd memory: 1588K
[    1.461138][    T1] Initialise system trusted keyrings
[    1.469885][    T1] Key type blacklist registered
[    1.474708][    T1] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    1.481935][    T1] zbud: loaded
[    1.486472][    T1] NFS: Registering the id_resolver key type
[    1.492290][    T1] Key type id_resolver registered
[    1.497164][    T1] Key type id_legacy registered
[    1.501890][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.509290][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.573098][    T1] xor: measuring software checksum speed
[    1.583106][    T1]    arm4regs        :  2172 MB/sec
[    1.594035][    T1]    8regs           :  1669 MB/sec
[    1.604745][    T1]    32regs          :  1733 MB/sec
[    1.609786][    T1] xor: using function: arm4regs (2172 MB/sec)
[    1.615690][    T1] async_tx: api initialized (async)
[    1.620730][    T1] Key type asymmetric registered
[    1.625504][    T1] Asymmetric key parser 'x509' registered
[    1.631849][    T1] alg: self-tests for CTR-KDF (hmac(sha256)) passed
[    1.638451][    T1] bounce: pool size: 64 pages
[    1.643079][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    1.651281][    T1] io scheduler bfq registered
[    1.658479][    T1] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.667136][    T1] debugfs: Directory 'f1018100.gpio' with parent 'regmap' already present!
[    1.676203][    T1] debugfs: Directory 'f1018140.gpio' with parent 'regmap' already present!
[    1.685614][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.757172][    T1] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.767246][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.827240][    T1] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.912538][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.921721][    T1] printk: console [ttyS0] disabled
[    1.947496][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 39, base_baud = 12500000) is a 16550A
[    1.957234][    T1] printk: console [ttyS0] enabled
[    1.957234][    T1] printk: console [ttyS0] enabled
[    1.967071][    T1] printk: bootconsole [earlycon0] disabled
[    1.967071][    T1] printk: bootconsole [earlycon0] disabled
[    1.999373][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 40, base_baud = 12500000) is a 16550A
[    2.010302][    T1] ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator
[    2.018765][    T1] ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator
[    2.027065][    T1] ahci-mvebu f10a8000.sata: supply target not found, using dummy regulator
[    2.035688][    T1] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    2.045502][    T1] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    2.056167][    T1] scsi host0: ahci-mvebu
[    2.060805][    T1] scsi host1: ahci-mvebu
[    2.065112][    T1] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 41
[    2.073797][    T1] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 41
[    2.083518][    T1] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[    2.090654][    T1] nand: Macronix MX30LF2G18AC
[    2.095213][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.103819][    T1] Bad block table found at page 131008, version 0x01
[    2.110742][    T1] Bad block table found at page 130944, version 0x01
[    2.117482][    T1] nand_read_bbt: bad block at 0x000002020000
[    2.123355][    T1] nand_read_bbt: bad block at 0x0000062e0000
[    2.129236][    T1] nand_read_bbt: bad block at 0x00000bac0000
[    2.135103][    T1] nand_read_bbt: bad block at 0x00000d300000
[    2.140974][    T1] nand_read_bbt: bad block at 0x00000dc60000
[    2.146964][    T1] 8 fixed-partitions partitions found on MTD device pxa3xx_nand-0
[    2.154673][    T1] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    2.160811][    T1] 0x000000000000-0x000000500000 : "U-Boot"
[    2.167598][    T1] 0x000000500000-0x000000a00000 : "uImage"
[    2.174313][    T1] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    2.181294][    T1] 0x000000f00000-0x00000c800000 : "image.cfs"
[    2.188628][    T1] 0x00000c800000-0x00000d700000 : "rescue fw"
[    2.195528][    T1] 0x00000d700000-0x00000eb00000 : "config"
[    2.202258][    T1] 0x00000eb00000-0x00000f500000 : "reserve1"
[    2.209190][    T1] 0x00000f500000-0x00000ff00000 : "reserve2"
[    2.216734][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    2.225315][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    2.238702][    T1] hwmon hwmon0: temp1_input not attached to any thermal zone
[    2.246510][    T1] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    2.258792][    T1] mvneta f1034000.ethernet eth0: Using hardware mac address 00:50:43:36:98:34
[    2.267932][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.275218][    T1] ehci-pci: EHCI PCI platform driver
[    2.280445][    T1] ehci-orion: EHCI orion driver
[    2.285398][    T1] orion-ehci f1058000.usb: EHCI Host Controller
[    2.291557][    T1] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    2.299968][    T1] orion-ehci f1058000.usb: irq 44, io mem 0xf1058000
[    2.346547][    T1] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    2.353476][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.00
[    2.362520][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.370506][    T1] usb usb1: Product: EHCI Host Controller
[    2.376125][    T1] usb usb1: Manufacturer: Linux 6.0.7-mvebu-tld-1 ehci_hcd
[    2.383235][    T1] usb usb1: SerialNumber: f1058000.usb
[    2.389073][    T1] hub 1-0:1.0: USB hub found
[    2.393572][    T1] hub 1-0:1.0: 1 port detected
[    2.399424][    T1] usbcore: registered new interface driver usblp
[    2.405738][    T1] usbcore: registered new interface driver usb-storage
[    2.408252][  T668] ata2: SATA link down (SStatus 0 SControl 300)
[    2.418740][  T663] ata1: SATA link down (SStatus 0 SControl 300)
[    2.425016][    T1] mousedev: PS/2 mouse device common for all mice
[    2.433103][    T1] armada38x-rtc f10a3800.rtc: registered as rtc0
[    2.439432][    T1] armada38x-rtc f10a3800.rtc: setting system clock to 2022-12-03T21:49:17 UTC (1670104157)
[    2.449641][    T1] i2c_dev: i2c /dev entries driver
[    2.454818][    T1] mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recovery not supported
[    2.463665][    T1] mv64xxx_i2c f1011100.i2c: can't get pinctrl, bus recovery not supported
[    2.474836][    T1] orion_wdt: Initial timeout 171 sec
[    2.480550][    T1] device-mapper: uevent: version 1.0.3
[    2.486075][    T1] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[    2.495524][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    2.502806][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    2.510165][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    2.517558][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    2.524386][    T1] device-mapper: raid: Loading target version 1.15.1
[    2.533118][    T1] marvell-cesa f1090000.crypto: CESA device successfully registered
[    2.541229][    T1] hid: raw HID events driver (C) Jiri Kosina
[    2.547405][    T1] usbcore: registered new interface driver usbhid
[    2.553713][    T1] usbhid: USB HID core driver
[    2.558628][    T1] drop_monitor: Initializing network drop monitor service
[    2.566039][    T1] NET: Registered PF_INET6 protocol family
[    2.572757][    T1] Segment Routing with IPv6
[    2.577166][    T1] RPL Segment Routing with IPv6
[    2.581940][    T1] In-situ OAM (IOAM) with IPv6
[    2.586679][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.594401][    T1] NET: Registered PF_PACKET protocol family
[    2.600374][    T1] 8021q: 802.1Q VLAN Support v1.8
[    2.605339][    T1] Key type dns_resolver registered
[    2.610459][    T1] ThumbEE CPU extension supported.
[    2.615459][    T1] Registering SWP/SWPB emulation handler
[    2.621418][    T1] registered taskstats version 1
[    2.626250][    T1] Loading compiled-in X.509 certificates
[    2.632297][    T1] zswap: loaded using pool lzo/zbud
[    2.637791][    T1] Key type ._fscrypt registered
[    2.642528][    T1] Key type .fscrypt registered
[    2.647189][    T1] Key type fscrypt-provisioning registered
[    2.654473][    T1] Key type big_key registered
[    2.659923][    T1] Key type encrypted registered
[    2.671454][   T42] usb_phy_generic usb3_0_phy: dummy supplies not allowed for exclusive requests
[    2.680700][   T42] usb_phy_generic usb3_1_phy: dummy supplies not allowed for exclusive requests
[    2.690164][   T42] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    2.696224][   T42] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    2.704756][   T42] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    2.714910][   T42] xhci-hcd f10f0000.usb3: irq 45, io mem 0xf10f0000
[    2.721542][   T42] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    2.727605][   T42] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    2.735847][   T42] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed
[    2.743070][   T42] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.00
[    2.752106][   T42] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.760086][   T42] usb usb2: Product: xHCI Host Controller
[    2.765692][   T42] usb usb2: Manufacturer: Linux 6.0.7-mvebu-tld-1 xhci-hcd
[    2.772787][   T42] usb usb2: SerialNumber: f10f0000.usb3
[    2.778734][   T42] hub 2-0:1.0: USB hub found
[    2.783234][   T42] hub 2-0:1.0: 1 port detected
[    2.788246][   T42] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.797198][   T42] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.00
[    2.806212][   T42] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.814195][   T42] usb usb3: Product: xHCI Host Controller
[    2.819887][   T42] usb usb3: Manufacturer: Linux 6.0.7-mvebu-tld-1 xhci-hcd
[    2.826990][   T42] usb usb3: SerialNumber: f10f0000.usb3
[    2.832801][   T42] hub 3-0:1.0: USB hub found
[    2.837311][   T42] hub 3-0:1.0: 1 port detected
[    2.842532][   T42] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    2.848699][   T42] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    2.857022][   T42] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    2.867044][   T42] xhci-hcd f10f8000.usb3: irq 46, io mem 0xf10f8000
[    2.873666][   T42] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    2.879806][   T42] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    2.888111][   T42] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
[    2.895310][   T42] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.00
[    2.904334][   T42] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.912371][   T42] usb usb4: Product: xHCI Host Controller
[    2.917990][   T42] usb usb4: Manufacturer: Linux 6.0.7-mvebu-tld-1 xhci-hcd
[    2.925080][   T42] usb usb4: SerialNumber: f10f8000.usb3
[    2.930933][   T42] hub 4-0:1.0: USB hub found
[    2.935429][   T42] hub 4-0:1.0: 1 port detected
[    2.940468][   T42] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.949482][   T42] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.00
[    2.958509][   T42] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.966473][   T42] usb usb5: Product: xHCI Host Controller
[    2.972228][   T42] usb usb5: Manufacturer: Linux 6.0.7-mvebu-tld-1 xhci-hcd
[    2.979347][   T42] usb usb5: SerialNumber: f10f8000.usb3
[    2.985167][   T42] hub 5-0:1.0: USB hub found
[    2.989680][   T42] hub 5-0:1.0: 1 port detected
[    2.995376][    T1] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    3.004446][    T1] md: Waiting for all devices to be available before autodetect
[    3.012005][    T1] md: If you don't use raid, use raid=noautodetect
[    3.018429][    T1] md: Autodetecting RAID arrays.
[    3.023248][    T1] md: autorun ...
[    3.026819][    T1] md: ... autorun DONE.
[    3.031193][    T1] /dev/root: Can't open blockdev
[    3.036022][    T1] VFS: Cannot open root device "sda2" or unknown-block(0,0): error -6
[    3.044106][    T1] Please append a correct "root=" boot option; here are the available partitions:
[    3.053224][    T1] 1f00            5120 mtdblock0 
[    3.053230][    T1]  (driver?)
[    3.061235][    T1] 1f01            5120 mtdblock1 
[    3.061241][    T1]  (driver?)
[    3.069231][    T1] 1f02            5120 mtdblock2 
[    3.069236][    T1]  (driver?)
[    3.077225][    T1] 1f03          189440 mtdblock3 
[    3.077231][    T1]  (driver?)
[    3.085204][    T1] 1f04           15360 mtdblock4 
[    3.085208][    T1]  (driver?)
[    3.093200][    T1] 1f05           20480 mtdblock5 
[    3.093205][    T1]  (driver?)
[    3.101187][    T1] 1f06           10240 mtdblock6 
[    3.101192][    T1]  (driver?)
[    3.109177][    T1] 1f07           10240 mtdblock7 
[    3.109182][    T1]  (driver?)
[    3.117183][    T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    3.126193][    T1] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.0.7-mvebu-tld-1 #1.0
[    3.133982][    T1] Hardware name: Marvell Armada 380/385 (Device Tree)
[    3.140635][    T1]  unwind_backtrace from show_stack+0x10/0x14
[    3.146605][    T1]  show_stack from dump_stack_lvl+0x40/0x4c
[    3.152391][    T1]  dump_stack_lvl from panic+0x104/0x328
[    3.157917][    T1]  panic from mount_block_root+0x150/0x1d8
[    3.163618][    T1]  mount_block_root from prepare_namespace+0x144/0x180
[    3.170363][    T1]  prepare_namespace from kernel_init_freeable+0x210/0x274
[    3.177457][    T1]  kernel_init_freeable from kernel_init+0x14/0x130
[    3.183942][    T1]  kernel_init from ret_from_fork+0x14/0x2c
[    3.189726][    T1] Exception stack(0xf0831fb0 to 0xf0831ff8)
[    3.195506][    T1] 1fa0:                                     00000000 00000000 00000000 00000000
[    3.204429][    T1] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    3.213351][    T1] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    3.220703][    C1] CPU1: stopping
[    3.224128][    C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 6.0.7-mvebu-tld-1 #1.0
[    3.231918][    C1] Hardware name: Marvell Armada 380/385 (Device Tree)
[    3.238569][    C1]  unwind_backtrace from show_stack+0x10/0x14
[    3.244533][    C1]  show_stack from dump_stack_lvl+0x40/0x4c
[    3.250317][    C1]  dump_stack_lvl from do_handle_IPI+0x208/0x2c0
[    3.256535][    C1]  do_handle_IPI from ipi_handler+0x14/0x20
[    3.262316][    C1]  ipi_handler from handle_percpu_devid_irq+0x58/0xfc
[    3.268972][    C1]  handle_percpu_devid_irq from handle_irq_desc+0x1c/0x2c
[    3.275980][    C1]  handle_irq_desc from gic_handle_irq+0x60/0x70
[    3.282203][    C1]  gic_handle_irq from generic_handle_arch_irq+0x28/0x3c
[    3.289124][    C1]  generic_handle_arch_irq from call_with_stack+0x18/0x20
[    3.296133][    C1]  call_with_stack from __irq_svc+0x98/0xc8
[    3.301915][    C1] Exception stack(0xf0871f50 to 0xf0871f98)
[    3.307695][    C1] 1f40:                                     00000001 00000000 000023c9 c011d800
[    3.316618][    C1] 1f60: 00000000 00000000 00000001 c0f65be8 c18dab00 c100a070 00000000 00000000
[    3.325539][    C1] 1f80: c1003d40 f0871fa0 c010c900 c010c8f0 60000113 ffffffff
[    3.332888][    C1]  __irq_svc from arch_cpu_idle+0x1c/0x38
[    3.338496][    C1]  arch_cpu_idle from default_idle_call+0x30/0x50
[    3.344803][    C1]  default_idle_call from do_idle+0x108/0x280
[    3.350762][    C1]  do_idle from cpu_startup_entry+0x18/0x1c
[    3.356547][    C1]  cpu_startup_entry from secondary_start_kernel+0x104/0x124
[    3.363815][    C1]  secondary_start_kernel from 0x101ec0
[    3.369253][    T1] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---

I do not understand why It can't detect or mount the usb...
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 03, 2022 03:57PM
I have tested sdb2 and sdc2, just in case, but it didn't work either, same error message.
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 03, 2022 04:05PM
> I do not understand why It can't detect or mount
> the usb...

I am not sure why either! it could be the DTS difference.

With the good boot:

root@wdmycloud:~# cat /proc/cmdline
console=ttyS0,115200 root=/dev/sda2 $mtdparts earlyprintk=serial
See that the mtdparts variable was not expanded.

This u-boot is really worse than I thought. So now to expose the mtdparts in Linux we need to play with it a bit.

Power up, interrupt serial console and,

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
printenv bootargs

If that did not work

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"
printenv bootargs

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



Edited 2 time(s). Last edit at 12/03/2022 04:08PM by bodhi.
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 03, 2022 04:12PM
First

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 bootargs console=ttyS0,115200 root=/dev/sda2 $mtdparts earlyprintk=serial
Marvell>> printenv bootargs
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

Second, just in case

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 bootargs "console=ttyS0,115200 root=/dev/sda2 $mtdparts earlyprintk=serial"
Marvell>> printenv bootargs
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



Edited 2 time(s). Last edit at 12/03/2022 04:14PM by i5Js.
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 03, 2022 04:14PM
Cool!

So the single quote was not working correctly with this u-boot.

Go ahead and boot into Debian (does not matter which kernel), and

cat /proc/cmdline
cat /proc/mtd

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 03, 2022 04:17PM
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:~# cat /proc/mtd
dev:    size   erasesize  name



Edited 1 time(s). Last edit at 12/03/2022 04:18PM by i5Js.
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 03, 2022 04:18PM
Post dmesg output.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 03, 2022 04:19PM
root@wdmycloud:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] 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 Tue Nov 29 14:49:09 CET 2022
[    0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: WD MyCloud Ex2 Ultra
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   HighMem  [mem 0x0000000030000000-0x000000003fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000] percpu: Embedded 11 pages/cpu s14164 r8192 d22700 u45056
[    0.000000] pcpu-alloc: s14164 r8192 d22700 u45056 alloc=11*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260416
[    0.000000] 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] Unknown kernel command line parameters "earlyprintk=serial", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1024688K/1048576K available (7389K kernel code, 494K rwdata, 1928K rodata, 1024K init, 338K bss, 23888K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] L2C: DT/platform modifies aux control register: 0x06070000 -> 0x16070000
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 D prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 Coherent cache controller enabled, 16 ways, 1024 kB
[    0.000000] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x56070001
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000001] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps every 4398046511103ns
[    0.000016] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x999999d70a, max_idle_ns: 440795225152 ns
[    0.000036] Switching to timer-based delay loop, resolution 1ns
[    0.000203] Ignoring duplicate/late registration of read_current_timer delay
[    0.000210] clocksource: armada_370_xp_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 76450417870 ns
[    0.000619] Console: colour dummy device 80x30
[    0.000647] Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000)
[    0.000657] pid_max: default: 32768 minimum: 301
[    0.000812] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.000821] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001291] CPU: Testing write buffer coherency: ok
[    0.001309] CPU0: Spectre v2: using BPIALL workaround
[    0.001444] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001853] Setting up static identity map for 0x100000 - 0x100060
[    0.001946] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.002048] mvebu-pmsu: Initializing Power Management Service Unit
[    0.002145] rcu: Hierarchical SRCU implementation.
[    0.002149] rcu:     Max phase no-delay instances is 1000.
[    0.002366] smp: Bringing up secondary CPUs ...
[    0.002706] Booting CPU 1
[    0.002856] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.002866] CPU1: Spectre v2: using BPIALL workaround
[    0.002929] smp: Brought up 1 node, 2 CPUs
[    0.002935] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.002941] CPU: All CPU(s) started in SVC mode.
[    0.003275] devtmpfs: initialized
[    0.005757] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.005857] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.005873] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.005961] pinctrl core: initialized pinctrl subsystem
[    0.006144] regulator-dummy: no parameters, enabled
[    0.006718] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.007327] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.007970] thermal_sys: Registered thermal governor 'step_wise'
[    0.008154] cpuidle: using governor ladder
[    0.008365] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.008373] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.020336] cryptd: max_cpu_qlen set to 1000
[    0.190108] raid6: neonx8   gen()   592 MB/s
[    0.360093] raid6: neonx4   gen()  1694 MB/s
[    0.530089] raid6: neonx2   gen()  2070 MB/s
[    0.700088] raid6: neonx1   gen()  1749 MB/s
[    0.870095] raid6: int32x8  gen()   244 MB/s
[    1.040158] raid6: int32x4  gen()   280 MB/s
[    1.210095] raid6: int32x2  gen()   448 MB/s
[    1.380103] raid6: int32x1  gen()   515 MB/s
[    1.380107] raid6: using algorithm neonx2 gen() 2070 MB/s
[    1.550083] raid6: .... xor() 1328 MB/s, rmw enabled
[    1.550087] raid6: using neon recovery algorithm
[    1.550501] SCSI subsystem initialized
[    1.550628] libata version 3.00 loaded.
[    1.550756] usbcore: registered new interface driver usbfs
[    1.550785] usbcore: registered new interface driver hub
[    1.550812] usbcore: registered new device driver usb
[    1.550887] pps_core: LinuxPPS API ver. 1 registered
[    1.550891] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.550903] PTP clock support registered
[    1.551629] clocksource: Switched to clocksource arm_global_timer
[    1.551788] VFS: Disk quotas dquot_6.6.0
[    1.551831] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.551880] FS-Cache: Loaded
[    1.552001] CacheFiles: Loaded
[    1.556648] NET: Registered PF_INET protocol family
[    1.556816] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.558110] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    1.558127] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    1.558137] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.558182] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.558255] TCP: Hash tables configured (established 8192 bind 8192)
[    1.558313] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.558345] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.558467] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.558753] RPC: Registered named UNIX socket transport module.
[    1.558759] RPC: Registered udp transport module.
[    1.558763] RPC: Registered tcp transport module.
[    1.558765] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.558772] PCI: CLS 0 bytes, default 64
[    1.558895] Trying to unpack rootfs image as initramfs...
[    1.559326] Initialise system trusted keyrings
[    1.559515] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    1.560855] NFS: Registering the id_resolver key type
[    1.560885] Key type id_resolver registered
[    1.560889] Key type id_legacy registered
[    1.561779] Key type cifs.idmap registered
[    1.606039] Freeing initrd memory: 1588K
[    1.621633] xor: measuring software checksum speed
[    1.626179]    arm4regs        :  2172 MB/sec
[    1.632535]    8regs           :  1549 MB/sec
[    1.638212]    32regs          :  1733 MB/sec
[    1.644233]    neon            :  1634 MB/sec
[    1.644236] xor: using function: arm4regs (2172 MB/sec)
[    1.644245] async_tx: api initialized (async)
[    1.644250] Key type asymmetric registered
[    1.644254] Asymmetric key parser 'x509' registered
[    1.644332] bounce: pool size: 64 pages
[    1.644383] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    1.644389] io scheduler kyber registered
[    1.645733] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    1.646427] gpio gpiochip0: (f1018100.gpio): added GPIO chardev (254:0)
[    1.646489] gpio gpiochip0: registered GPIOs 0 to 31 on f1018100.gpio
[    1.646887] gpio gpiochip1: (f1018140.gpio): added GPIO chardev (254:1)
[    1.646937] gpio gpiochip1: registered GPIOs 32 to 59 on f1018140.gpio
[    1.647529] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.722244] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.723386] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.802239] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    1.855574] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.857047] printk: console [ttyS0] disabled
[    1.857065] dw-apb-uart f1012000.serial: GPIO lookup for consumer rs485-term
[    1.857072] dw-apb-uart f1012000.serial: using device tree for GPIO lookup
[    1.857083] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/soc/internal-regs/serial@12000[0]'
[    1.857104] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/soc/internal-regs/serial@12000[0]'
[    1.857117] dw-apb-uart f1012000.serial: using lookup tables for GPIO lookup
[    1.857122] dw-apb-uart f1012000.serial: No GPIO consumer rs485-term found
[    1.877218] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 38, base_baud = 12500000) is a 16550A
[    2.528053] printk: console [ttyS0] enabled
[    2.531654] dw-apb-uart f1012100.serial: GPIO lookup for consumer rs485-term
[    2.531666] dw-apb-uart f1012100.serial: using device tree for GPIO lookup
[    2.531678] of_get_named_gpiod_flags: can't parse 'rs485-term-gpios' property of node '/soc/internal-regs/serial@12100[0]'
[    2.531698] of_get_named_gpiod_flags: can't parse 'rs485-term-gpio' property of node '/soc/internal-regs/serial@12100[0]'
[    2.531713] dw-apb-uart f1012100.serial: using lookup tables for GPIO lookup
[    2.531718] dw-apb-uart f1012100.serial: No GPIO consumer rs485-term found
[    2.551794] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 39, base_baud = 12500000) is a 16550A
[    2.562563] brd: module loaded
[    2.567119] loop: module loaded
[    2.569227] ahci-mvebu f10a8000.sata: Looking up ahci-supply from device tree
[    2.569238] ahci-mvebu f10a8000.sata: Looking up ahci-supply property in node /soc/internal-regs/sata@a8000 failed
[    2.569258] ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator
[    2.575678] ahci-mvebu f10a8000.sata: Looking up phy-supply from device tree
[    2.575687] ahci-mvebu f10a8000.sata: Looking up phy-supply property in node /soc/internal-regs/sata@a8000 failed
[    2.575702] ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator
[    2.581951] ahci-mvebu f10a8000.sata: Looking up target-supply from device tree
[    2.581959] ahci-mvebu f10a8000.sata: Looking up target-supply property in node /soc/internal-regs/sata@a8000 failed
[    2.581971] ahci-mvebu f10a8000.sata: supply target not found, using dummy regulator
[    2.588565] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    2.596368] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    2.604678] scsi host0: ahci-mvebu
[    2.607147] scsi host1: ahci-mvebu
[    2.609401] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 40
[    2.616078] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 40
[    2.624917] mdio_bus fixed-0: GPIO lookup for consumer reset
[    2.624931] mdio_bus fixed-0: using lookup tables for GPIO lookup
[    2.624937] mdio_bus fixed-0: No GPIO consumer reset found
[    2.625635] mdio_bus f1072004.mdio-mii: GPIO lookup for consumer reset
[    2.625645] mdio_bus f1072004.mdio-mii: using device tree for GPIO lookup
[    2.625658] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/soc/internal-regs/mdio@72004[0]'
[    2.625675] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/soc/internal-regs/mdio@72004[0]'
[    2.625690] mdio_bus f1072004.mdio-mii: using lookup tables for GPIO lookup
[    2.625696] mdio_bus f1072004.mdio-mii: No GPIO consumer reset found
[    2.627708] mdio_bus f1072004.mdio-mii:00: GPIO lookup for consumer reset
[    2.627721] mdio_bus f1072004.mdio-mii:00: using device tree for GPIO lookup
[    2.627732] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/soc/internal-regs/mdio@72004/ethernet-phy@0[0]'
[    2.627756] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/soc/internal-regs/mdio@72004/ethernet-phy@0[0]'
[    2.627771] mdio_bus f1072004.mdio-mii:00: using lookup tables for GPIO lookup
[    2.627778] mdio_bus f1072004.mdio-mii:00: No GPIO consumer reset found
[    2.628031] hwmon hwmon0: temp1_input not attached to any thermal zone
[    2.633637] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    2.641958] mvneta f1034000.ethernet eth0: Using hardware mac address 00:50:43:36:98:34
[    2.648987] usbcore: registered new interface driver lan78xx
[    2.653384] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.658636] ehci-pci: EHCI PCI platform driver
[    2.661833] ehci-orion: EHCI orion driver
[    2.664704] orion-ehci f1058000.usb: EHCI Host Controller
[    2.668836] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    2.675209] orion-ehci f1058000.usb: irq 42, io mem 0xf1058000
[    2.701647] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    2.706443] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.00
[    2.713459] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.719412] usb usb1: Product: EHCI Host Controller
[    2.723041] usb usb1: Manufacturer: Linux 6.0.10+ ehci_hcd
[    2.727247] usb usb1: SerialNumber: f1058000.usb
[    2.730940] hub 1-0:1.0: USB hub found
[    2.733439] hub 1-0:1.0: 1 port detected
[    2.736456] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.741374] ohci-pci: OHCI PCI platform driver
[    2.744580] ohci-platform: OHCI generic platform driver
[    2.748618] uhci_hcd: USB Universal Host Controller Interface driver
[    2.754116] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    2.758160] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    2.764464] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    2.772468] xhci-hcd f10f0000.usb3: irq 43, io mem 0xf10f0000
[    2.777026] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    2.781065] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    2.787301] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed
[    2.792514] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.00
[    2.799520] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.805504] usb usb2: Product: xHCI Host Controller
[    2.809100] usb usb2: Manufacturer: Linux 6.0.10+ xhci-hcd
[    2.813313] usb usb2: SerialNumber: f10f0000.usb3
[    2.817050] hub 2-0:1.0: USB hub found
[    2.819539] hub 2-0:1.0: 1 port detected
[    2.822462] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.829396] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.00
[    2.836417] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.842380] usb usb3: Product: xHCI Host Controller
[    2.845975] usb usb3: Manufacturer: Linux 6.0.10+ xhci-hcd
[    2.850180] usb usb3: SerialNumber: f10f0000.usb3
[    2.853892] hub 3-0:1.0: USB hub found
[    2.856377] hub 3-0:1.0: 1 port detected
[    2.859411] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    2.863486] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    2.869759] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    2.877756] xhci-hcd f10f8000.usb3: irq 44, io mem 0xf10f8000
[    2.882327] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    2.886365] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    2.892664] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
[    2.897871] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.00
[    2.904906] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.910860] usb usb4: Product: xHCI Host Controller
[    2.914461] usb usb4: Manufacturer: Linux 6.0.10+ xhci-hcd
[    2.918667] usb usb4: SerialNumber: f10f8000.usb3
[    2.922396] hub 4-0:1.0: USB hub found
[    2.924883] hub 4-0:1.0: 1 port detected
[    2.927808] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.934768] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.00
[    2.941792] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.947747] usb usb5: Product: xHCI Host Controller
[    2.951341] usb usb5: Manufacturer: Linux 6.0.10+ xhci-hcd
[    2.955553] usb usb5: SerialNumber: f10f8000.usb3
[    2.956962] ata1: SATA link down (SStatus 0 SControl 300)
[    2.963258] ata2: SATA link down (SStatus 0 SControl 300)
[    2.963422] hub 5-0:1.0: USB hub found
[    2.969865] hub 5-0:1.0: 1 port detected
[    2.972955] fotg210_hcd: FOTG210 Host Controller (EHCI) Driver
[    2.977512] Warning! fotg210_hcd should always be loaded before uhci_hcd and ohci_hcd, not after
[    2.985134] SPI driver max3421-hcd has no spi_device_id for maxim,max3421
[    2.990756] usbcore: registered new interface driver usb-storage
[    2.996082] i2c_dev: i2c /dev entries driver
[    2.999232] mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recovery not supported
[    3.006064] mv64xxx_i2c f1011100.i2c: can't get pinctrl, bus recovery not supported
[    3.014635] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialised: dm-devel@redhat.com
[    3.022104] sdhci: Secure Digital Host Controller Interface driver
[    3.027009] sdhci: Copyright(c) Pierre Ossman
[    3.030230] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.034789] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/sata1-red-led[0]' - status (0)
[    3.034812] gpio gpiochip1: Persistence not supported for GPIO 11
[    3.034818] gpio-43 (?): no flags found for gpios
[    3.034897] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/sata2-red-led[0]' - status (0)
[    3.034913] gpio gpiochip1: Persistence not supported for GPIO 20
[    3.034919] gpio-52 (?): no flags found for gpios
[    3.034983] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/sata1-blue-led[0]' - status (0)
[    3.034999] gpio gpiochip1: Persistence not supported for GPIO 21
[    3.035004] gpio-53 (?): no flags found for gpios
[    3.035069] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/sata2-blue-led[0]' - status (0)
[    3.035084] gpio gpiochip1: Persistence not supported for GPIO 22
[    3.035089] gpio-54 (?): no flags found for gpios
[    3.035642] ledtrig-cpu: registered to indicate activity on CPUs
[    3.041035] marvell-cesa f1090000.crypto: CESA device successfully registered
[    3.047088] hid: raw HID events driver (C) Jiri Kosina
[    3.051045] usbcore: registered new interface driver usbhid
[    3.055355] usbhid: USB HID core driver
[    3.058661] NET: Registered PF_INET6 protocol family
[    3.063262] Segment Routing with IPv6
[    3.065666] In-situ OAM (IOAM) with IPv6
[    3.068381] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.073481] NET: Registered PF_PACKET protocol family
[    3.077299] Bridge firewalling registered
[    3.080116] 8021q: 802.1Q VLAN Support v1.8
[    3.083103] Key type dns_resolver registered
[    3.086186] Registering SWP/SWPB emulation handler
[    3.090659] Loading compiled-in X.509 certificates
[    3.099885] reg-fixed-voltage usb3-vbus0: GPIO lookup for consumer (null)
[    3.099899] reg-fixed-voltage usb3-vbus0: using device tree for GPIO lookup
[    3.099911] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/usb3-vbus0[0]'
[    3.099936] of_get_named_gpiod_flags: parsed 'gpio' property of node '/usb3-vbus0[0]' - status (0)
[    3.099954] gpio gpiochip0: Persistence not supported for GPIO 26
[    3.099985] usb3-vbus0: 5000 mV, enabled
[    3.100096] reg-fixed-voltage usb3-vbus0: usb3-vbus0 supplying 5000000uV
[    3.100240] reg-fixed-voltage usb3-vbus1: GPIO lookup for consumer (null)
[    3.100248] reg-fixed-voltage usb3-vbus1: using device tree for GPIO lookup
[    3.100258] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/usb3-vbus1[0]'
[    3.100276] of_get_named_gpiod_flags: parsed 'gpio' property of node '/usb3-vbus1[0]' - status (0)
[    3.100290] gpio gpiochip0: Persistence not supported for GPIO 27
[    3.100312] usb3-vbus1: 5000 mV, enabled
[    3.100400] reg-fixed-voltage usb3-vbus1: usb3-vbus1 supplying 5000000uV
[    3.100870] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-keys/reset[0]' - status (0)
[    3.100893] gpio gpiochip1: Persistence not supported for GPIO 18
[    3.101075] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    3.109226] Freeing unused kernel image (initmem) memory: 1024K
[    3.151836] Run /init as init process
[    3.154214]   with arguments:
[    3.154217]     /init
[    3.154220]   with environment:
[    3.154223]     HOME=/
[    3.154226]     TERM=linux
[    3.154228]     earlyprintk=serial
[    3.221648] usb 4-1: new high-speed USB device number 2 using xhci-hcd
[    3.403453] usb 4-1: New USB device found, idVendor=0951, idProduct=1665, bcdDevice= 1.00
[    3.410371] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.416250] usb 4-1: Product: DataTraveler 2.0
[    3.419409] usb 4-1: Manufacturer: Kingston
[    3.422311] usb 4-1: SerialNumber: 00241D8CE480FE10B97245FE
[    3.427211] usb-storage 4-1:1.0: USB Mass Storage device detected
[    3.432305] scsi host2: usb-storage 4-1:1.0
[    4.489640] scsi 2:0:0:0: Direct-Access     Kingston DataTraveler 2.0 1.00 PQ: 0 ANSI: 4
[    4.497331] sd 2:0:0:0: [sda] 15131636 512-byte logical blocks: (7.75 GB/7.21 GiB)
[    4.503885] sd 2:0:0:0: [sda] Write Protect is off
[    4.507396] sd 2:0:0:0: [sda] Mode Sense: 45 00 00 00
[    4.507595] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    4.518003]  sda: sda1 sda2
[    4.519773] sd 2:0:0:0: [sda] Attached SCSI removable disk
[   13.189403] EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystem
[   13.215766] EXT4-fs (sda2): mounted filesystem with ordered data mode. Quota mode: none.
[   13.681490] systemd[1]: System time before build time, advancing clock.
[   13.762647] 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)
[   13.784728] systemd[1]: Detected architecture arm.
[   13.832605] systemd[1]: Set hostname to <wdmycloud>.
[   14.441185] systemd[1]: Queued start job for default target Graphical Interface.
[   16.601633] random: crng init done
[   16.603883] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[   16.615014] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[   16.662796] systemd[1]: Created slice system-getty.slice.
[   16.702466] systemd[1]: Created slice system-modprobe.slice.
[   16.742399] systemd[1]: Created slice system-serial\x2dgetty.slice.
[   16.782268] systemd[1]: Created slice User and Session Slice.
[   16.821897] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[   16.861859] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   16.901916] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
[   16.912428] systemd[1]: Reached target Local Encrypted Volumes.
[   16.951878] systemd[1]: Reached target Paths.
[   16.981769] systemd[1]: Reached target Remote File Systems.
[   17.021717] systemd[1]: Reached target Slices.
[   17.051779] systemd[1]: Reached target Swap.
[   17.082169] systemd[1]: Listening on Syslog Socket.
[   17.112083] systemd[1]: Listening on fsck to fsckd communication Socket.
[   17.161888] systemd[1]: Listening on initctl Compatibility Named Pipe.
[   17.226448] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[   17.233683] systemd[1]: Listening on Journal Socket (/dev/log).
[   17.282133] systemd[1]: Listening on Journal Socket.
[   17.319099] systemd[1]: Listening on udev Control Socket.
[   17.362010] systemd[1]: Listening on udev Kernel Socket.
[   17.412063] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[   17.419247] systemd[1]: Condition check resulted in POSIX Message Queue File System being skipped.
[   17.471947] systemd[1]: Mounting Kernel Debug File System...
[   17.512030] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[   17.522048] systemd[1]: Starting Set the console keyboard layout...
[   17.564437] systemd[1]: Starting Create list of static device nodes for the current kernel...
[   17.632319] systemd[1]: Starting Load Kernel Module configfs...
[   17.664730] systemd[1]: Starting Load Kernel Module drm...
[   17.704930] systemd[1]: Starting Load Kernel Module fuse...
[   17.725150] fuse: init (API version 7.36)
[   17.744493] systemd[1]: Started Nameserver information manager.
[   17.788513] systemd[1]: Reached target Network (Pre).
[   17.833445] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[   17.892140] systemd[1]: Starting File System Check on Root Device...
[   17.909637] systemd[1]: Starting Journal Service...
[   17.929812] systemd[1]: Starting Load Kernel Modules...
[   17.937187] systemd[1]: Starting Coldplug All udev Devices...
[   17.949623] systemd[1]: Mounted Kernel Debug File System.
[   17.955647] systemd[1]: Finished Create list of static device nodes for the current kernel.
[   17.973166] systemd[1]: modprobe@configfs.service: Succeeded.
[   17.984006] systemd[1]: Finished Load Kernel Module configfs.
[   17.999412] systemd[1]: modprobe@drm.service: Succeeded.
[   18.006009] systemd[1]: Finished Load Kernel Module drm.
[   18.011938] systemd[1]: modprobe@fuse.service: Succeeded.
[   18.017273] systemd[1]: Finished Load Kernel Module fuse.
[   18.062187] systemd[1]: Mounting FUSE Control File System...
[   18.067515] systemd[1]: Condition check resulted in Kernel Configuration File System being skipped.
[   18.079678] systemd[1]: Started File System Check Daemon to report status.
[   18.093485] systemd[1]: Finished Load Kernel Modules.
[   18.099001] systemd[1]: Mounted FUSE Control File System.
[   18.115321] systemd[1]: Starting Apply Kernel Variables...
[   18.164385] systemd[1]: Finished File System Check on Root Device.
[   18.182495] systemd[1]: Started Journal Service.
[   18.353932] EXT4-fs (sda2): re-mounted. Quota mode: none.
[   18.494417] systemd-journald[1056]: Received client request to flush runtime journal.
[   18.521156] systemd-journald[1056]: File /var/log/journal/8425379b321b4df9957e2a4ab3974d43/system.journal corrupted or uncleanly shut down, renaming and replacing.
[   21.764429] evbug: Connected device: input0 (gpio-keys at gpio-keys/input0)
[   21.914867] sd 2:0:0:0: Attached scsi generic sg0 type 0
[   24.165256] zram: Added device: zram0
[   24.169915] zram: Added device: zram1
[   24.182942] zram: Added device: zram2
[   24.363177] zram1: detected capacity change from 0 to 1027304
[   24.448882] Adding 513648k swap on /dev/zram1.  Priority:5 extents:1 across:513648k SS
[   24.562497] mvneta f1034000.ethernet eth0: PHY [f1072004.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL)
[   24.571964] mvneta f1034000.ethernet eth0: configuring for phy/sgmii link mode
[   25.314357] zram0: detected capacity change from 0 to 102400
[   25.384430] zram2: detected capacity change from 0 to 1027304
[   25.441574] EXT4-fs (zram2): mounted filesystem without journal. Quota mode: none.
[   25.447946] ext4 filesystem being mounted at /tmp supports timestamps until 2038 (0x7fffffff)
[   27.113310] EXT4-fs (zram0): mounted filesystem without journal. Quota mode: none.
[   27.119646] ext4 filesystem being mounted at /var/log supports timestamps until 2038 (0x7fffffff)
[   28.712059] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   28.718858] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 03, 2022 04:25PM
Ah. This kernel does not have supports for MTD.

So now back to my kernel and try to boot with USB rootfs or HDD rootfs.

Are you using the DTB that I included as part of the release tarball?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 03, 2022 04:27PM
The issue with your kernel is it can't detect the usb to continue booting into Debian.

Tomorrow I will double-check your steps, perhaps I missed something.

Thanks for your help!
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 04, 2022 12:26PM
Hi,

I am unable to boot with your kernel. I have followed yours steps as follow:

root@virtsrv:/mnt/root/boot# cp -a zImage-5.13.8-mvebu-tld-1 zImage.fdt
root@virtsrv:/mnt/root/boot# cat dts/armada-385-wd-ex2-ultra.dtb >> zImage.fdt 
root@virtsrv:/mnt/root/boot# 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
Image Name:   Linux-5.13.8-mvebu-tld-1
Created:      Sun Dec  4 19:15:34 2022
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    5236531 Bytes = 5113.80 KiB = 4.99 MiB
Load Address: 00008000
Entry Point:  00008000

But, for some reason I don't know, it can not mount sda2

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 bootargs "console=ttyS0,115200 root=/dev/sda2 $mtdparts earlyprintk=serial"
Marvell>> setenv ipaddr 192.168.1.110; setenv serverip 192.168.1.23; tftp 0xa00000 boot.b/uimagek5;tftp 0x1200000 boot.b/uramdiskk5
Using egiga2 device
TFTP from server 192.168.1.23; our IP address is 192.168.1.110
Filename 'boot.b/uimagek5'.
Load address: 0xa00000
Loading: T #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ################################
         299.8 KiB/s
done
Bytes transferred = 5236595 (4fe773 hex)
Using egiga2 device
TFTP from server 192.168.1.23; our IP address is 192.168.1.110
Filename 'boot.b/uramdiskk5'.
Load address: 0x1200000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ########
         445.3 KiB/s
done
Bytes transferred = 9649885 (933edd hex)
Marvell>> setenv initrd_high 0xffffffff
Marvell>> setenv fdt_skip_update yes
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>> bootm 0xa00000 0x1200000
## Booting image at 00a00000 ...
## Booting kernel from Legacy Image at 00a00000 ...
   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 01200000 ...
   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] INITRD: 0x01200000+0x00934000 overlaps in-use memory region - disabling initrd
[    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: 1021128K/1048576K available (11264K kernel code, 1483K rwdata, 3112K rodata, 1024K init, 325K bss, 27448K 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.052168][    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.068861][    T0] LSM: Security Framework initializing
[    0.074204][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.082189][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.091194][    T0] CPU: Testing write buffer coherency: ok
[    0.096763][    T0] CPU0: Spectre v2: using BPIALL workaround
[    0.102628][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.109441][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.116389][    T1] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.122337][    T1] mvebu-pmsu: Initializing Power Management Service Unit
[    0.129296][    T1] rcu: Hierarchical SRCU implementation.
[    0.135300][    T1] smp: Bringing up secondary CPUs ...
[    0.140929][    T1] Booting CPU 1
[    0.144386][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.144396][    T0] CPU1: Spectre v2: using BPIALL workaround
[    0.156542][    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.174048][    T1] devtmpfs: initialized
[    0.180856][    T1] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.189378][   T24] wait_for_initramfs() called before rootfs_initcalls
[    0.189519][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.206498][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.236317][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.243452][    T1] prandom: seed boundary self test passed
[    0.250572][    T1] prandom: 100 self tests passed
[    0.255357][    T1] pinctrl core: initialized pinctrl subsystem
[    0.262431][    T1] NET: Registered protocol family 16
[    0.268303][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.276433][    T1] audit: initializing netlink subsys (disabled)
[    0.282641][   T36] audit: type=2000 audit(0.250:1): state=initialized audit_enabled=0 res=1
[    0.283820][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.291351][    T1] cpuidle: using governor ladder
[    0.302835][    T1] cpuidle: using governor menu
[    0.307598][    T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.316268][    T1] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.322920][    T1] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.331704][    T1] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.547376][    T1] raid6: int32x8  gen()   243 MB/s
[    0.717060][    T1] raid6: int32x8  xor()   166 MB/s
[    0.887117][    T1] raid6: int32x4  gen()   280 MB/s
[    1.057102][    T1] raid6: int32x4  xor()   180 MB/s
[    1.227114][    T1] raid6: int32x2  gen()   447 MB/s
[    1.397070][    T1] raid6: int32x2  xor()   262 MB/s
[    1.567042][    T1] raid6: int32x1  gen()   497 MB/s
[    1.737040][    T1] raid6: int32x1  xor()   208 MB/s
[    1.741985][    T1] raid6: using algorithm int32x1 gen() 497 MB/s
[    1.748064][    T1] raid6: .... xor() 208 MB/s, rmw enabled
[    1.753615][    T1] raid6: using intx1 recovery algorithm
[    1.759802][    T1] vgaarb: loaded
[    1.763706][    T1] SCSI subsystem initialized
[    1.768815][    T1] usbcore: registered new interface driver usbfs
[    1.775062][    T1] usbcore: registered new interface driver hub
[    1.781140][    T1] usbcore: registered new device driver usb
[    1.787429][    T1] mc: Linux media interface: v0.10
[    1.792446][    T1] videodev: Linux video capture interface: v2.00
[    1.798909][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.804551][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.814416][    T1] PTP clock support registered
[    1.820617][    T1] clocksource: Switched to clocksource arm_global_timer
[    1.870911][    T1] VFS: Disk quotas dquot_6.6.0
[    1.875580][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.888906][    T1] NET: Registered protocol family 2
[    1.899132][    T1] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.908209][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.917314][    T1] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.926025][    T1] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.933965][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    1.941139][    T1] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.949239][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.956557][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.964412][    T1] NET: Registered protocol family 1
[    1.980870][    T1] RPC: Registered named UNIX socket transport module.
[    1.987464][    T1] RPC: Registered udp transport module.
[    1.992884][    T1] RPC: Registered tcp transport module.
[    1.998263][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.005386][    T1] PCI: CLS 0 bytes, default 64
[    2.010103][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    2.017517][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    2.624919][    T1] Initialise system trusted keyrings
[    2.630077][    T1] Key type blacklist registered
[    2.635205][    T1] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    2.642422][    T1] zbud: loaded
[    2.646505][    T1] NFS: Registering the id_resolver key type
[    2.652263][    T1] Key type id_resolver registered
[    2.657123][    T1] Key type id_legacy registered
[    2.661842][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.669215][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    2.677283][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.747009][    T1] xor: measuring software checksum speed
[    2.757026][    T1]    arm4regs        :  2172 MB/sec
[    2.768087][    T1]    8regs           :  1637 MB/sec
[    2.778805][    T1]    32regs          :  1733 MB/sec
[    2.783845][    T1] xor: using function: arm4regs (2172 MB/sec)
[    2.789748][    T1] async_tx: api initialized (async)
[    2.794789][    T1] Key type asymmetric registered
[    2.799561][    T1] Asymmetric key parser 'x509' registered
[    2.805204][    T1] bounce: pool size: 64 pages
[    2.809777][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    2.817916][    T1] io scheduler bfq registered
[    2.823923][    T1] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    2.832349][    T1] debugfs: Directory 'f1018100.gpio' with parent 'regmap' already present!
[    2.841302][    T1] debugfs: Directory 'f1018140.gpio' with parent 'regmap' already present!
[    2.850583][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    2.911185][    T1] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    2.920793][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    2.981179][    T1] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.055224][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.064262][    T1] printk: console [ttyS0] disabled
[    3.089353][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 31, base_baud = 12500000) is a 16550A
[    3.099115][    T1] printk: console [ttyS0] enabled
[    3.099115][    T1] printk: console [ttyS0] enabled
[    3.108952][    T1] printk: bootconsole [earlycon0] disabled
[    3.108952][    T1] printk: bootconsole [earlycon0] disabled
[    3.141234][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 32, base_baud = 12500000) is a 16550A
[    3.151938][    T1] ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator
[    3.160377][    T1] ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator
[    3.168670][    T1] ahci-mvebu f10a8000.sata: supply target not found, using dummy regulator
[    3.177278][    T1] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    3.187090][    T1] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    3.197615][    T1] scsi host0: ahci-mvebu
[    3.202213][    T1] scsi host1: ahci-mvebu
[    3.206506][    T1] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 52
[    3.215191][    T1] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 52
[    3.224955][    T1] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[    3.232090][    T1] nand: Macronix MX30LF2G18AC
[    3.236648][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    3.245557][    T1] Bad block table found at page 131008, version 0x01
[    3.252789][    T1] Bad block table found at page 130944, version 0x01
[    3.259681][    T1] nand_read_bbt: bad block at 0x000002020000
[    3.265566][    T1] nand_read_bbt: bad block at 0x0000062e0000
[    3.271445][    T1] nand_read_bbt: bad block at 0x00000bac0000
[    3.277311][    T1] nand_read_bbt: bad block at 0x00000d300000
[    3.283182][    T1] nand_read_bbt: bad block at 0x00000dc60000
[    3.289084][    T1] 8 cmdlinepart partitions found on MTD device pxa3xx_nand-0
[    3.296360][    T1] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    3.302497][    T1] 0x000000000000-0x000000500000 : "u-boot"
[    3.309113][    T1] 0x000000500000-0x000000a00000 : "kernel"
[    3.315624][    T1] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    3.322298][    T1] 0x000000f00000-0x00000c800000 : "image.cfs"
[    3.329430][    T1] 0x00000c800000-0x00000d700000 : "rescue_fw"
[    3.336267][    T1] 0x00000d700000-0x00000eb00000 : "config"
[    3.342807][    T1] 0x00000eb00000-0x00000f500000 : "reserve1"
[    3.349478][    T1] 0x00000f500000-0x00000ff00000 : "reserve2"
[    3.356726][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    3.365327][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    3.376355][    T1] libphy: Fixed MDIO Bus: probed
[    3.382153][    T1] libphy: orion_mdio_bus: probed
[    3.388170][    T1] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    3.400095][    T1] mvneta f1034000.ethernet eth0: Using hardware mac address 00:50:43:36:98:34
[    3.409222][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.416520][    T1] ehci-pci: EHCI PCI platform driver
[    3.421744][    T1] ehci-orion: EHCI orion driver
[    3.426631][    T1] orion-ehci f1058000.usb: EHCI Host Controller
[    3.432788][    T1] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    3.441205][    T1] orion-ehci f1058000.usb: irq 48, io mem 0xf1058000
[    3.480627][    T1] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    3.487468][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    3.496511][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.504495][    T1] usb usb1: Product: EHCI Host Controller
[    3.510113][    T1] usb usb1: Manufacturer: Linux 5.13.8-mvebu-tld-1 ehci_hcd
[    3.517308][    T1] usb usb1: SerialNumber: f1058000.usb
[    3.523075][    T1] hub 1-0:1.0: USB hub found
[    3.527574][    T1] hub 1-0:1.0: 1 port detected
[    3.533327][    T1] usbcore: registered new interface driver usblp
[    3.539623][    T1] usbcore: registered new interface driver usb-storage
[    3.546645][    T1] mousedev: PS/2 mouse device common for all mice
[    3.552026][ T1243] ata2: SATA link down (SStatus 0 SControl 300)
[    3.560105][    T1] armada38x-rtc f10a3800.rtc: registered as rtc0
[    3.566368][ T1238] ata1: SATA link down (SStatus 0 SControl 300)
[    3.573300][    T1] armada38x-rtc f10a3800.rtc: setting system clock to 2022-12-04T18:22:58 UTC (1670178178)
[    3.583455][    T1] i2c /dev entries driver
[    3.587818][    T1] mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recovery not supported
[    3.596644][    T1] mv64xxx_i2c f1011100.i2c: can't get pinctrl, bus recovery not supported
[    3.607668][    T1] orion_wdt: Initial timeout 171 sec
[    3.613200][    T1] device-mapper: uevent: version 1.0.3
[    3.618676][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    3.628084][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    3.635365][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    3.642723][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    3.650100][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    3.656933][    T1] device-mapper: raid: Loading target version 1.15.1
[    3.666441][    T1] marvell-cesa f1090000.crypto: CESA device successfully registered
[    3.674524][    T1] hid: raw HID events driver (C) Jiri Kosina
[    3.680683][    T1] usbcore: registered new interface driver usbhid
[    3.686990][    T1] usbhid: USB HID core driver
[    3.691802][    T1] drop_monitor: Initializing network drop monitor service
[    3.699120][    T1] NET: Registered protocol family 10
[    3.705034][    T1] Segment Routing with IPv6
[    3.709420][    T1] RPL Segment Routing with IPv6
[    3.714227][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.721768][    T1] NET: Registered protocol family 17
[    3.727065][    T1] 8021q: 802.1Q VLAN Support v1.8
[    3.732033][    T1] Key type dns_resolver registered
[    3.737135][    T1] ThumbEE CPU extension supported.
[    3.742150][    T1] Registering SWP/SWPB emulation handler
[    3.748003][    T1] registered taskstats version 1
[    3.752867][    T1] Loading compiled-in X.509 certificates
[    3.758771][    T1] zswap: loaded using pool lzo/zbud
[    3.764105][    T1] Key type ._fscrypt registered
[    3.768841][    T1] Key type .fscrypt registered
[    3.773503][    T1] Key type fscrypt-provisioning registered
[    3.780376][    T1] Key type big_key registered
[    3.785712][    T1] Key type encrypted registered
[    3.793207][    T7] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    3.799269][    T7] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    3.807636][    T7] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    3.817705][    T7] xhci-hcd f10f0000.usb3: irq 54, io mem 0xf10f0000
[    3.824429][    T7] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    3.833463][    T7] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.841438][    T7] usb usb2: Product: xHCI Host Controller
[    3.847042][    T7] usb usb2: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    3.854231][    T7] usb usb2: SerialNumber: f10f0000.usb3
[    3.860163][    T7] hub 2-0:1.0: USB hub found
[    3.864682][    T7] hub 2-0:1.0: 1 port detected
[    3.869682][    T7] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    3.875759][    T7] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    3.884012][    T7] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed
[    3.891235][    T7] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.900159][    T7] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[    3.909188][    T7] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.917168][    T7] usb usb3: Product: xHCI Host Controller
[    3.922781][    T7] usb usb3: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    3.929956][    T7] usb usb3: SerialNumber: f10f0000.usb3
[    3.935838][    T7] hub 3-0:1.0: USB hub found
[    3.940335][    T7] hub 3-0:1.0: 1 port detected
[    3.945665][    T7] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    3.951740][    T7] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    3.960043][    T7] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    3.970064][    T7] xhci-hcd f10f8000.usb3: irq 55, io mem 0xf10f8000
[    3.976880][    T7] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    3.985914][    T7] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.993889][    T7] usb usb4: Product: xHCI Host Controller
[    3.999495][    T7] usb usb4: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.006677][    T7] usb usb4: SerialNumber: f10f8000.usb3
[    4.012556][    T7] hub 4-0:1.0: USB hub found
[    4.017054][    T7] hub 4-0:1.0: 1 port detected
[    4.022054][    T7] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    4.028112][    T7] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    4.036378][    T7] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
[    4.043531][    T7] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.052516][    T7] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[    4.061544][    T7] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.069507][    T7] usb usb5: Product: xHCI Host Controller
[    4.075124][    T7] usb usb5: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.082306][    T7] usb usb5: SerialNumber: f10f8000.usb3
[    4.088168][    T7] hub 5-0:1.0: USB hub found
[    4.092688][    T7] hub 5-0:1.0: 1 port detected
[    4.098331][    T1] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    4.106855][    T1] md: Waiting for all devices to be available before autodetect
[    4.114430][    T1] md: If you don't use raid, use raid=noautodetect
[    4.120847][    T1] md: Autodetecting RAID arrays.
[    4.125666][    T1] md: autorun ...
[    4.129172][    T1] md: ... autorun DONE.
[    4.133557][    T1] VFS: Cannot open root device "sda2" or unknown-block(0,0): error -6
[    4.141645][    T1] Please append a correct "root=" boot option; here are the available partitions:
[    4.150785][    T1] 1f00            5120 mtdblock0 
[    4.150790][    T1]  (driver?)
[    4.158765][    T1] 1f01            5120 mtdblock1 
[    4.158769][    T1]  (driver?)
[    4.166766][    T1] 1f02            5120 mtdblock2 
[    4.166771][    T1]  (driver?)
[    4.174769][    T1] 1f03          189440 mtdblock3 
[    4.174773][    T1]  (driver?)
[    4.182752][    T1] 1f04           15360 mtdblock4 
[    4.182756][    T1]  (driver?)
[    4.190733][    T1] 1f05           20480 mtdblock5 
[    4.190737][    T1]  (driver?)
[    4.198708][    T1] 1f06           10240 mtdblock6 
[    4.198712][    T1]  (driver?)
[    4.206689][    T1] 1f07           10240 mtdblock7 
[    4.206694][    T1]  (driver?)
[    4.214670][    T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    4.223679][    T1] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.13.8-mvebu-tld-1 #1.0
[    4.231554][    T1] Hardware name: Marvell Armada 380/385 (Device Tree)
[    4.238210][    T1] [<c01153e8>] (unwind_backtrace) from [<c01100f8>] (show_stack+0x10/0x14)
[    4.246712][    T1] [<c01100f8>] (show_stack) from [<c0b05d18>] (dump_stack+0x80/0x9c)
[    4.254682][    T1] [<c0b05d18>] (dump_stack) from [<c0b01150>] (panic+0xe4/0x2f0)
[    4.262304][    T1] [<c0b01150>] (panic) from [<c1001ad8>] (mount_block_root+0x1b4/0x238)
[    4.270539][    T1] [<c1001ad8>] (mount_block_root) from [<c1001c4c>] (mount_root+0xf0/0x11c)
[    4.279119][    T1] [<c1001c4c>] (mount_root) from [<c1001dbc>] (prepare_namespace+0x144/0x180)
[    4.287873][    T1] [<c1001dbc>] (prepare_namespace) from [<c1001640>] (kernel_init_freeable+0x230/0x29c)
[    4.297502][    T1] [<c1001640>] (kernel_init_freeable) from [<c0b0d9ac>] (kernel_init+0x8/0x118)
[    4.306434][    T1] [<c0b0d9ac>] (kernel_init) from [<c0100150>] (ret_from_fork+0x14/0x24)
[    4.310631][   T25] usb 4-1: new high-speed USB device number 2 using xhci-hcd
[    4.314751][    T1] Exception stack(0xc18cffb0 to 0xc18cfff8)
[    4.327786][    T1] ffa0:                                     00000000 00000000 00000000 00000000
[    4.336708][    T1] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    4.345629][    T1] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    4.352982][    C1] CPU1: stopping
[    4.356405][    C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.13.8-mvebu-tld-1 #1.0
[    4.364282][    C1] Hardware name: Marvell Armada 380/385 (Device Tree)
[    4.370934][    C1] [<c01153e8>] (unwind_backtrace) from [<c01100f8>] (show_stack+0x10/0x14)
[    4.379429][    C1] [<c01100f8>] (show_stack) from [<c0b05d18>] (dump_stack+0x80/0x9c)
[    4.387396][    C1] [<c0b05d18>] (dump_stack) from [<c0112bbc>] (do_handle_IPI+0x250/0x30c)
[    4.395801][    C1] [<c0112bbc>] (do_handle_IPI) from [<c0112c8c>] (ipi_handler+0x14/0x20)
[    4.404120][    C1] [<c0112c8c>] (ipi_handler) from [<c0183c3c>] (handle_percpu_devid_irq+0x58/0x108)
[    4.413403][    C1] [<c0183c3c>] (handle_percpu_devid_irq) from [<c017e820>] (generic_handle_irq+0x28/0x38)
[    4.423206][    C1] [<c017e820>] (generic_handle_irq) from [<c017e9ec>] (__handle_domain_irq+0x90/0xa0)
[    4.432657][    C1] [<c017e9ec>] (__handle_domain_irq) from [<c0621a00>] (gic_handle_irq+0x74/0x84)
[    4.441763][    C1] [<c0621a00>] (gic_handle_irq) from [<c010128c>] (__irq_svc+0x6c/0xa8)
[    4.449991][    C1] Exception stack(0xc18edf50 to 0xc18edf98)
[    4.455771][    C1] df40:                                     00001910 ef7e0214 00000000 c011df80
[    4.464693][    C1] df60: 00000000 00000000 c1109fc8 00000002 ffffe000 c110a064 c0e5ff53 00000000
[    4.473615][    C1] df80: c1103d00 c18edfa0 c010cd4c c010cd3c 60000113 ffffffff
[    4.480964][    C1] [<c010128c>] (__irq_svc) from [<c010cd3c>] (arch_cpu_idle+0x1c/0x38)
[    4.489105][    C1] [<c010cd3c>] (arch_cpu_idle) from [<c0b12610>] (default_idle_call+0x30/0x50)
[    4.497944][    C1] [<c0b12610>] (default_idle_call) from [<c0158708>] (do_idle+0x134/0x2b0)
[    4.506439][    C1] [<c0158708>] (do_idle) from [<c0158b80>] (cpu_startup_entry+0x18/0x1c)
[    4.514757][    C1] [<c0158b80>] (cpu_startup_entry) from [<00101e50>] (0x101e50)
[    4.522294][    T1] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---



Edited 1 time(s). Last edit at 12/04/2022 12:28PM by i5Js.
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 04, 2022 12:30PM
Perhaps because the memory where I am booting both?

[    0.000000][    T0] INITRD: 0x01200000+0x00934000 overlaps in-use memory region - disabling initrd
[    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]

Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 04, 2022 12:38PM
Indeed, that was the issue:

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 bootargs "console=ttyS0,115200 root=/dev/sda2 $mtdparts earlyprintk=serial"
Marvell>> setenv ipaddr 192.168.1.110; setenv serverip 192.168.1.23; tftp 0x00800000 boot.b/uImagek5 ; tftp 0x02100000 boot.b/uRamdiskk5
Using egiga2 device
TFTP from server 192.168.1.23; our IP address is 192.168.1.110
Filename 'boot.b/uImagek5'.
Load address: 0x800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ################################
         439.5 KiB/s
done
Bytes transferred = 5236595 (4fe773 hex)
Using egiga2 device
TFTP from server 192.168.1.23; our IP address is 192.168.1.110
Filename 'boot.b/uRamdiskk5'.
Load address: 0x2100000
Loading: T T #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ########
         300.8 KiB/s
done
Bytes transferred = 9649885 (933edd hex)
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=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.027194][    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.052168][    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.068861][    T0] LSM: Security Framework initializing
[    0.074205][    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.091198][    T0] CPU: Testing write buffer coherency: ok
[    0.096767][    T0] CPU0: Spectre v2: using BPIALL workaround
[    0.102630][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.109441][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.116387][    T1] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.122337][    T1] mvebu-pmsu: Initializing Power Management Service Unit
[    0.129295][    T1] rcu: Hierarchical SRCU implementation.
[    0.135299][    T1] smp: Bringing up secondary CPUs ...
[    0.140922][    T1] Booting CPU 1
[    0.144379][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.144389][    T0] CPU1: Spectre v2: using BPIALL workaround
[    0.156533][    T1] smp: Brought up 1 node, 2 CPUs
[    0.161335][    T1] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.168369][    T1] CPU: All CPU(s) started in SVC mode.
[    0.174041][    T1] devtmpfs: initialized
[    0.180858][    T1] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.189379][   T24] wait_for_initramfs() called before rootfs_initcalls
[    0.189521][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.206496][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.236311][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.243447][    T1] prandom: seed boundary self test passed
[    0.250567][    T1] prandom: 100 self tests passed
[    0.255352][    T1] pinctrl core: initialized pinctrl subsystem
[    0.262419][    T1] NET: Registered protocol family 16
[    0.268289][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.276422][    T1] audit: initializing netlink subsys (disabled)
[    0.282630][   T36] audit: type=2000 audit(0.250:1): state=initialized audit_enabled=0 res=1
[    0.283814][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.291338][    T1] cpuidle: using governor ladder
[    0.302826][    T1] cpuidle: using governor menu
[    0.307590][    T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.316260][    T1] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.322913][    T1] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.331697][    T1] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.547088][    T1] raid6: int32x8  gen()   243 MB/s
[    0.717071][    T1] raid6: int32x8  xor()   167 MB/s
[    0.887099][    T1] raid6: int32x4  gen()   280 MB/s
[    1.057113][    T1] raid6: int32x4  xor()   180 MB/s
[    1.227079][    T1] raid6: int32x2  gen()   448 MB/s
[    1.397077][    T1] raid6: int32x2  xor()   257 MB/s
[    1.567063][    T1] raid6: int32x1  gen()   497 MB/s
[    1.737038][    T1] raid6: int32x1  xor()   208 MB/s
[    1.741984][    T1] raid6: using algorithm int32x1 gen() 497 MB/s
[    1.748062][    T1] raid6: .... xor() 208 MB/s, rmw enabled
[    1.753613][    T1] raid6: using intx1 recovery algorithm
[    1.759783][    T1] vgaarb: loaded
[    1.763495][    T1] SCSI subsystem initialized
[    1.768265][    T1] usbcore: registered new interface driver usbfs
[    1.774470][    T1] usbcore: registered new interface driver hub
[    1.780508][    T1] usbcore: registered new device driver usb
[    1.786451][    T1] mc: Linux media interface: v0.10
[    1.791453][    T1] videodev: Linux video capture interface: v2.00
[    1.797707][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.803347][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.813160][    T1] PTP clock support registered
[    1.819088][    T1] clocksource: Switched to clocksource arm_global_timer
[    1.853427][    T1] VFS: Disk quotas dquot_6.6.0
[    1.858099][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.872749][    T1] NET: Registered protocol family 2
[    1.877909][    T1] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.887051][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.896125][    T1] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.904695][    T1] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.912602][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    1.919779][    T1] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.927880][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.935322][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.943211][    T1] NET: Registered protocol family 1
[    1.948640][    T1] RPC: Registered named UNIX socket transport module.
[    1.955288][    T1] RPC: Registered udp transport module.
[    1.960725][    T1] RPC: Registered tcp transport module.
[    1.966103][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.973223][    T1] PCI: CLS 0 bytes, default 64
[    1.977940][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.977997][    T7] Trying to unpack rootfs image as initramfs...
[    1.991292][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    2.372614][    T7] Freeing initrd memory: 9424K
[    2.647744][    T1] Initialise system trusted keyrings
[    2.652922][    T1] Key type blacklist registered
[    2.657736][    T1] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    2.664963][    T1] zbud: loaded
[    2.669211][    T1] NFS: Registering the id_resolver key type
[    2.674952][    T1] Key type id_resolver registered
[    2.679824][    T1] Key type id_legacy registered
[    2.684528][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.691911][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    2.699980][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.770320][    T1] xor: measuring software checksum speed
[    2.780336][    T1]    arm4regs        :  2172 MB/sec
[    2.791401][    T1]    8regs           :  1637 MB/sec
[    2.802121][    T1]    32regs          :  1733 MB/sec
[    2.807154][    T1] xor: using function: arm4regs (2172 MB/sec)
[    2.813065][    T1] async_tx: api initialized (async)
[    2.818100][    T1] Key type asymmetric registered
[    2.822882][    T1] Asymmetric key parser 'x509' registered
[    2.828521][    T1] bounce: pool size: 64 pages
[    2.833178][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    2.841327][    T1] io scheduler bfq registered
[    2.847889][    T1] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    2.856610][    T1] debugfs: Directory 'f1018100.gpio' with parent 'regmap' already present!
[    2.865743][    T1] debugfs: Directory 'f1018140.gpio' with parent 'regmap' already present!
[    2.875524][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    2.939657][    T1] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    2.949353][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    3.009654][    T1] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.081061][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.089883][    T1] printk: console [ttyS0] disabled
[    3.114973][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 31, base_baud = 12500000) is a 16550A
[    3.124788][    T1] printk: console [ttyS0] enabled
[    3.124788][    T1] printk: console [ttyS0] enabled
[    3.134621][    T1] printk: bootconsole [earlycon0] disabled
[    3.134621][    T1] printk: bootconsole [earlycon0] disabled
[    3.166927][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 32, base_baud = 12500000) is a 16550A
[    3.177637][    T1] ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator
[    3.186096][    T1] ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator
[    3.194375][    T1] ahci-mvebu f10a8000.sata: supply target not found, using dummy regulator
[    3.202976][    T1] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    3.212789][    T1] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    3.223344][    T1] scsi host0: ahci-mvebu
[    3.228008][    T1] scsi host1: ahci-mvebu
[    3.232333][    T1] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 52
[    3.241016][    T1] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 52
[    3.250679][    T1] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[    3.257795][    T1] nand: Macronix MX30LF2G18AC
[    3.262367][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    3.271273][    T1] Bad block table found at page 131008, version 0x01
[    3.278491][    T1] Bad block table found at page 130944, version 0x01
[    3.285399][    T1] nand_read_bbt: bad block at 0x000002020000
[    3.291286][    T1] nand_read_bbt: bad block at 0x0000062e0000
[    3.297157][    T1] nand_read_bbt: bad block at 0x00000bac0000
[    3.303029][    T1] nand_read_bbt: bad block at 0x00000d300000
[    3.308894][    T1] nand_read_bbt: bad block at 0x00000dc60000
[    3.314795][    T1] 8 cmdlinepart partitions found on MTD device pxa3xx_nand-0
[    3.322066][    T1] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    3.328195][    T1] 0x000000000000-0x000000500000 : "u-boot"
[    3.334807][    T1] 0x000000500000-0x000000a00000 : "kernel"
[    3.341322][    T1] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    3.347989][    T1] 0x000000f00000-0x00000c800000 : "image.cfs"
[    3.355163][    T1] 0x00000c800000-0x00000d700000 : "rescue_fw"
[    3.362006][    T1] 0x00000d700000-0x00000eb00000 : "config"
[    3.368520][    T1] 0x00000eb00000-0x00000f500000 : "reserve1"
[    3.375217][    T1] 0x00000f500000-0x00000ff00000 : "reserve2"
[    3.382459][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    3.391062][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    3.402082][    T1] libphy: Fixed MDIO Bus: probed
[    3.407863][    T1] libphy: orion_mdio_bus: probed
[    3.422319][    T1] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    3.434225][    T1] mvneta f1034000.ethernet eth0: Using hardware mac address 00:50:43:36:98:34
[    3.443334][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.450631][    T1] ehci-pci: EHCI PCI platform driver
[    3.455846][    T1] ehci-orion: EHCI orion driver
[    3.460741][    T1] orion-ehci f1058000.usb: EHCI Host Controller
[    3.466885][    T1] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    3.475317][    T1] orion-ehci f1058000.usb: irq 48, io mem 0xf1058000
[    3.519101][    T1] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    3.525932][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    3.534973][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.542960][    T1] usb usb1: Product: EHCI Host Controller
[    3.548578][    T1] usb usb1: Manufacturer: Linux 5.13.8-mvebu-tld-1 ehci_hcd
[    3.555775][    T1] usb usb1: SerialNumber: f1058000.usb
[    3.561543][    T1] hub 1-0:1.0: USB hub found
[    3.566041][    T1] hub 1-0:1.0: 1 port detected
[    3.571797][    T1] usbcore: registered new interface driver usblp
[    3.578095][    T1] usbcore: registered new interface driver usb-storage
[    3.580452][ T1245] ata2: SATA link down (SStatus 0 SControl 300)
[    3.591084][ T1240] ata1: SATA link down (SStatus 0 SControl 300)
[    3.597346][    T1] mousedev: PS/2 mouse device common for all mice
[    3.605328][    T1] armada38x-rtc f10a3800.rtc: registered as rtc0
[    3.611660][    T1] armada38x-rtc f10a3800.rtc: setting system clock to 2022-12-04T18:36:44 UTC (1670179004)
[    3.621809][    T1] i2c /dev entries driver
[    3.626173][    T1] mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recovery not supported
[    3.634976][    T1] mv64xxx_i2c f1011100.i2c: can't get pinctrl, bus recovery not supported
[    3.646015][    T1] orion_wdt: Initial timeout 171 sec
[    3.651704][    T1] device-mapper: uevent: version 1.0.3
[    3.657172][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    3.666574][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    3.673856][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    3.681215][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    3.688591][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    3.695425][    T1] device-mapper: raid: Loading target version 1.15.1
[    3.704975][    T1] marvell-cesa f1090000.crypto: CESA device successfully registered
[    3.713057][    T1] hid: raw HID events driver (C) Jiri Kosina
[    3.719226][    T1] usbcore: registered new interface driver usbhid
[    3.725532][    T1] usbhid: USB HID core driver
[    3.730345][    T1] drop_monitor: Initializing network drop monitor service
[    3.737659][    T1] NET: Registered protocol family 10
[    3.743581][    T1] Segment Routing with IPv6
[    3.747967][    T1] RPL Segment Routing with IPv6
[    3.752771][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.760312][    T1] NET: Registered protocol family 17
[    3.765610][    T1] 8021q: 802.1Q VLAN Support v1.8
[    3.770570][    T1] Key type dns_resolver registered
[    3.775672][    T1] ThumbEE CPU extension supported.
[    3.780686][    T1] Registering SWP/SWPB emulation handler
[    3.786535][    T1] registered taskstats version 1
[    3.791398][    T1] Loading compiled-in X.509 certificates
[    3.797308][    T1] zswap: loaded using pool lzo/zbud
[    3.802640][    T1] Key type ._fscrypt registered
[    3.807376][    T1] Key type .fscrypt registered
[    3.812037][    T1] Key type fscrypt-provisioning registered
[    3.818919][    T1] Key type big_key registered
[    3.836974][    T1] Key type encrypted registered
[    3.844446][    T7] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    3.850573][    T7] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    3.858888][    T7] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    3.868928][    T7] xhci-hcd f10f0000.usb3: irq 54, io mem 0xf10f0000
[    3.875675][    T7] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    3.884707][    T7] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.892684][    T7] usb usb2: Product: xHCI Host Controller
[    3.898290][    T7] usb usb2: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    3.905479][    T7] usb usb2: SerialNumber: f10f0000.usb3
[    3.911431][    T7] hub 2-0:1.0: USB hub found
[    3.916071][    T7] hub 2-0:1.0: 1 port detected
[    3.921103][    T7] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    3.927161][    T7] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    3.935424][    T7] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed
[    3.942574][    T7] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.951590][    T7] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[    3.960626][    T7] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.968589][    T7] usb usb3: Product: xHCI Host Controller
[    3.974202][    T7] usb usb3: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    3.981385][    T7] usb usb3: SerialNumber: f10f0000.usb3
[    3.987250][    T7] hub 3-0:1.0: USB hub found
[    3.991765][    T7] hub 3-0:1.0: 1 port detected
[    3.997056][    T7] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    4.003134][    T7] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    4.011453][    T7] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    4.021579][    T7] xhci-hcd f10f8000.usb3: irq 55, io mem 0xf10f8000
[    4.028278][    T7] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    4.037311][    T7] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.045287][    T7] usb usb4: Product: xHCI Host Controller
[    4.050899][    T7] usb usb4: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.058075][    T7] usb usb4: SerialNumber: f10f8000.usb3
[    4.063959][    T7] hub 4-0:1.0: USB hub found
[    4.068456][    T7] hub 4-0:1.0: 1 port detected
[    4.073458][    T7] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    4.079534][    T7] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    4.087780][    T7] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
[    4.094932][    T7] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.104029][    T7] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[    4.113060][    T7] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.121032][    T7] usb usb5: Product: xHCI Host Controller
[    4.126637][    T7] usb usb5: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.133823][    T7] usb usb5: SerialNumber: f10f8000.usb3
[    4.139725][    T7] hub 5-0:1.0: USB hub found
[    4.144223][    T7] hub 5-0:1.0: 1 port detected
[    4.149903][    T1] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    4.159775][    T1] Freeing unused kernel memory: 1024K
[    4.209683][    T1] Checked W+X mappings: passed, no W+X pages found
[    4.216087][    T1] Run /init as init process
Loading, please wait...
Starting version 247.3-6
[    4.359160][ T1510] usb 4-1: new high-speed USB device number 2 using xhci-hcd
[    4.539574][ T1510] usb 4-1: New USB device found, idVendor=0781, idProduct=5567, bcdDevice= 1.00
[    4.548514][ T1510] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.556425][ T1510] usb 4-1: Product: Cruzer Blade
[    4.561260][ T1510] usb 4-1: Manufacturer: SanDisk
[    4.566079][ T1510] usb 4-1: SerialNumber: 02002829090522215920
[    4.577837][ T1510] usb-storage 4-1:1.0: USB Mass Storage device detected
[    4.590148][ T1510] scsi host2: usb-storage 4-1:1.0
[    4.596230][ 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.620019][  T622] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer Blade     1.00 PQ: 0 ANSI: 6
[    5.633968][    T7] sd 2:0:0:0: [sda] 120176640 512-byte logical blocks: (61.5 GB/57.3 GiB)
[    5.643107][    T7] sd 2:0:0:0: [sda] Write Protect is off
[    5.648895][    T7] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    5.683247][    T7]  sda: sda1 sda2 sda3
[    5.692375][    T7] sd 2:0:0:0: [sda] Attached SCSI removable disk
[    5.714858][    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, 22089/219024 files, 227632/875008 blocks
done.
[    6.219697][ T1582] EXT4-fs (sda2): mounting ext3 file system using the ext4 subsystem
[    6.299962][ 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.
INIT: version 2.96 booting
Using makefile-style concurrent boot in runlevel S.
Setting hostname to 'debian'...done.
Starting hotplug events dispatcher: systemd-udevd.
Synthesizing the initial hotplug events (subsystems)...done.
Synthesizing the initial hotplug events (devices)...done.
Waiting for /dev to be fully populated...[    8.230077][ T1770] sd 2:0:0:0: Attached scsi generic sg0 type 0
done.
Activating swap:.
[    8.992845][ T1912] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro. Quota mode: none.
Will now check all file systems.
Checking all file systems.
LABEL=rootfs is mounted
Done checking file systems.
Log is being saved in /var/log/fsck/checkfs if that location is writable.
Cleaning up temporary files...Cleaning /tmp...done.
 /tmp.
Will now mount local filesystems:.
Will now activate swapfile swap, if any:done.
Checking minimum space in /tmp...done.
Cleaning up temporary files....
[    9.883708][ T2287] random: dd: uninitialized urandom read (512 bytes read)
Initializing random number generator...done.
Starting Setting kernel variables: sysctl.
[   10.279966][ T2328] mvneta f1034000.ethernet eth0: PHY [f1072004.mdio-mii:00] driver [Marvell 88E1510] (irq=POLL)
[   10.291533][ T2328] mvneta f1034000.ethernet eth0: configuring for phy/sgmii link mode
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:50:43:36:98:34
Sending on   LPF/eth0/00:50:43:36:98:34
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
[   14.499515][   T18] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   14.509160][   T18] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPOFFER of 192.168.1.110 from 192.168.1.254
DHCPREQUEST for 192.168.1.110 on eth0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.110 from 192.168.1.254
bound to 192.168.1.110 -- renewal in 33041 seconds.
done.
Starting RPC port mapper daemon: rpcbind.
Starting NFS common utilities: statd idmapd.
Cleaning up temporary files....
INIT: Entering runlevel: 2
Using makefile-style concurrent boot in runlevel 2.
Not starting NFS kernel daemon: no exports. ... (warning).
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
2474 (syslogd)
.
Starting periodic command scheduler: cron.
[   21.217642][ T2533] random: dbus-daemon: uninitialized urandom read (12 bytes read)
Starting NTP server: ntpd.
[   21.250396][ T2533] random: dbus-daemon: uninitialized urandom read (12 bytes read)
Starting system message bus: dbus.
[   21.336524][ T2555] random: avahi-daemon: uninitialized urandom read (4 bytes read)
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[   22.359117][    C0] random: crng init done
[   22.363248][    C0] random: 1 urandom warning(s) missed due to ratelimiting
Starting OpenBSD Secure Shell server: sshdsshd: no hostkeys available -- exiting.
 failed!
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
2518 (klogd)
.
Running local boot scripts (/etc/rc.local)
ssh-keygen: generating new host keys: RSA 
DSA 
ECDSA 
ED25519 

Starting OpenBSD Secure Shell server: sshd
.
Cannot read environment, using default
Cannot read default environment from file
<13>Dec  4 10:37:18 root[2602]: Cannot read u-boot env ethaddr
.

Debian GNU/Linux 11 debian ttyS0
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 04, 2022 12:40PM
root@debian:~# 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@debian:~# 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"

It looks good :)
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 04, 2022 04:26PM
i5Js,

Congrats!

=========

I can't recall if you did the following.

1. Try kwboot the stock u-boot image to see if you can. Did you install the patched stock u-boot. I vagulely remember there is such version from the woking thread Debian on WD MyCloud EX2 Ultra )?

2. Did you try to save the envs in u-boot? I recall there is restriction on bootcmd (it cannot be updated and saved to NAND).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 05, 2022 02:04PM
Hi,

Yes, the u-boot is patched, I have used CyberPK's (https://forum.doozan.com/read.php?2,28939,98649#msg-98649) Should I use another? I guess I could save the envs, but I never did it, because I was testing the uImages and Rams.

I know it's patched, because, as he says in his post, the USB 1 is now active. With the stock uBoot, the USB 2 was active.



Edited 1 time(s). Last edit at 12/05/2022 02:09PM by i5Js.
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 05, 2022 04:28PM
i5Js,

OK, then

1. Try kwboot using CyberPK's patched u-boot image.

If you hav an ARM box such as rPI, use the kwboot binary here:
https://forum.doozan.com/read.php?3,27280

If your serial console in an x86 box such as Ubuntu, then use that distro kwboot command.

Example:
https://forum.doozan.com/read.php?3,51739,51919#msg-51919

2. Saveenvs. I will write the initial envs for you, and then you can expand to your liking.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 06, 2022 12:05AM
Question, just to learn and understand, what it is worth??
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 06, 2022 05:27AM
Anyway....

pi@raspi:~ $ sudo ./kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-GrandTeton_2014T3_PQ-nand-uart.bin -p
kwboot version 2022.07-00607-g36b661dc91
Sending boot message. Please reboot the target...-
Sending boot image header (70528 bytes)...
  0 % [.++++++++++.+.++.+++++++++++++++EE
xmodem: Bad message

pi@raspi:~ $ ./kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-GrandTeton_2014T3_PQ-nand-uart.bin -p
kwboot version 2022.07-00607-g36b661dc91
Sending boot message. Please reboot the target.../
Sending boot image header (70528 bytes)...
  0 % [.+++++++++++++.++++++++++++.++++++++++.+++++++++++++++EE
xmodem: Bad message

It seems the uart connection between the box and the pi is not stable.
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 06, 2022 04:47PM
i5Js,

> Question, just to learn and understand, what it is
> worth??

It is a rescue mechanism. If you can kwboot the u-boot image successfully, then the box is almost unbrickable. Even if your NAND is wiped out, you can still boot.

Since you have successfully run Debian with tftpboot (you are no longer in a hurry), I thougth it is wise to take time and find out if it works for you. Especially that you will mess with NAND when you flash kernel files.

Try this:

- Make sure the 3 wires are placed away from any power source (to avoid EM interference).
- When you see this "xmodem: Bad message", immediately up-arrow to recall the kwboot command and execute again. Repeating this as many times as you can, until the handshake occurs.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 07, 2022 04:19AM
It hard to complete it

pi@raspi:~ $ ./kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-GrandTeton_2014T3_PQ-nand-uart.bin -p
kwboot version 2022.07-00607-g36b661dc91
Sending boot message. Please reboot the target.../
Sending boot image header (70528 bytes)...
  0 % [..................................................+............+......]
 12 % [.................................+....................................]
 25 % [..........+.........+........................................+........]
 37 % [...+.................................+...+............................]
 49 % [......................................................................]
 62 % [..................................................................+...]
 74 % [...+......+...............................................+...........]
 86 % [...+.............+............+...........................+.E
xmodem: Protocol error

pi@raspi:~ $ ./kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-GrandTeton_2014T3_PQ-nand-uart.bin -p
kwboot version 2022.07-00607-g36b661dc91
Sending boot message. Please reboot the target...-
Sending boot image header (70528 bytes)...
  0 % [.......................................+....+.................+.......]
 12 % [.....+.................................+..........+...................]
 24 % [.........................+....+.............+.........+...............]
 36 % [.....................................+.................+..............]
 48 % [............+...............................................+.........]
 61 % [.......+.................+...................+........................]
 73 % [......................................................................]
 86 % [..................+...............+.....................E
xmodem: Protocol error

It always fails there.



Edited 1 time(s). Last edit at 12/07/2022 04:26AM by i5Js.
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 07, 2022 04:23AM
Almost!!

pi@raspi:~ $ ./kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-GrandTeton_2014T3_PQ-nand-uart.bin -p
kwboot version 2022.07-00607-g36b661dc91
Sending boot message. Please reboot the target...|
Sending boot image header (70528 bytes)...
  0 % [......................................................................]
 12 % [......................................................................]
 25 % [......................................................................]
 38 % [......................................................................]
 50 % [......................................................................]
 63 % [......................................................................]
 76 % [......................................................................]
 89 % [.............................................................         ]
Done
Sending boot image data (884248 bytes)...
  0 % [......................................................................]
  1 % [......................................................................]
  2 % [......................................................................]
  3 % [......................................................................]
  4 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  7 % [......................................................................]
  8 % [......................................................................]
  9 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 12 % [......................................................................]
 13 % [......................................................................]
 14 % [......................................................................]
 15 % [......................................................................]
 16 % [...................................................E
xmodem: Bad message



Edited 1 time(s). Last edit at 12/07/2022 04:26AM by i5Js.
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 07, 2022 04:25AM
grrrr

pi@raspi:~ $ ./kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-GrandTeton_2014T3_PQ-nand-uart.bin -p
kwboot version 2022.07-00607-g36b661dc91
Sending boot message. Please reboot the target.../
Sending boot image header (70528 bytes)...
  0 % [......................................................................]
 12 % [......................................................................]
 25 % [......................................................................]
 38 % [......................................................................]
 50 % [......................................................................]
 63 % [......................................................................]
 76 % [......................................................................]
 89 % [.............................................................         ]
Done
Sending boot image data (884248 bytes)...
  0 % [......................................................................]
  1 % [......................................................................]
  2 % [......................................................................]
  3 % [......................................................................]
  4 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  7 % [......................................................................]
  8 % [......................................................................]
  9 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 12 % [......................................................................]
 13 % [......................................................................]
 14 % [......................................................................]
 15 % [......................................................................]
 16 % [......................................................................]
 17 % [.............................E
xmodem: Bad message
Re: Debian Stretch on Sata disk in WD MyCloud EX2 Ultra
December 07, 2022 04:40AM
fuuuuuuck :D

pi@raspi:~ $ ./kwboot -t -B 115200 /dev/ttyUSB0 -b u-boot-a38x-GrandTeton_2014T3_PQ-nand-uart.bin -p
kwboot version 2022.07-00607-g36b661dc91
Sending boot message. Please reboot the target...-
Sending boot image header (70528 bytes)...
  0 % [......................................................................]
 12 % [......................................................................]
 25 % [......................................................................]
 38 % [......................................................................]
 50 % [......................................................................]
 63 % [......................................................................]
 76 % [......................................................................]
 89 % [.............................................................         ]
Done
Sending boot image data (884248 bytes)...
  0 % [......................................................................]
  1 % [......................................................................]
  2 % [......................................................................]
  3 % [......................................................................]
  4 % [......................................................................]
  5 % [......................................................................]
  6 % [......................................................................]
  7 % [......................................................................]
  8 % [......................................................................]
  9 % [......................................................................]
 10 % [......................................................................]
 11 % [......................................................................]
 12 % [......................................................................]
 13 % [......................................................................]
 14 % [......................................................................]
 15 % [......................................................................]
 16 % [......................................................................]
 17 % [......................................................................]
 18 % [...............................................E

Author:

Subject:


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