Welcome! Log In Create A New Profile

Advanced

How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition

Posted by i5Js 
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 03, 2023 05:19PM
Chris Wrote:
-------------------------------------------------------
> But I can remain with the uImage and uIntrd on the
> stick till then, yes?
>
> Thank You!

For now, boot with both EXT3 USB rootfs and HDD rootfs. The kernel will load the HDD rootfs. And then we'll update a bit more logistics to ensure that will happens everytime.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 04, 2023 11:49AM
So now I have the newest kernel with Debian,
on the stick, only the uImage and uInitrd.
I know this is not a complete Linux and kernel, but I'm having trouble installing OMV 6.
I've also tried docker and Nextcloud.
Nothing is working. Every program is missing some files or subprograms.
Although they are installed, it says that is missing.
What is wrong with my system? Maybe somebody had also this issue?
Thanks!

I'm missing a module :
WARN[2023-06-04T21:00:28.853945313+02:00] Running modprobe bridge br_netfilter failed with message: modprobe: WARNING: Module bridge not found in directory /lib/modules/6.3.5-mvebu-tld-1
is there anyway to install it?



Edited 1 time(s). Last edit at 06/04/2023 02:01PM by Chris.
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 04, 2023 02:06PM
Chris,

> So now I have the newest kernel with Debian,
> on the stick, only the uImage and uInitrd.
> I know this is not a complete Linux and kernel,

That's incorrect.

1. The stick has the kernel files only (not a rootfs), and you are running the Debian-5.13.6-kirkwood-tld-1-rootfs-bodhi.tar.bz2 rootfs on HDD. This rootfs is a complete Debian system, with the kernel running in it. Basically, after the kernel has booted the stick has nothing to do with the kernel anymore because your system is on HDD. You can unmount the USB drive if you want.

2. OTOH, if the USB stick has the complete Debian-5.13.6-kirkwood-tld-1-rootfs-bodhi.tar.bz2 rootfs populated, it is also a full system. You can run it permanently, and then use the HDDs for data only.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 04, 2023 02:13PM
Bodhi,
>
> Failed or successful, please post the entire
> serial console log (until the Debian login
> prompt). We are setting an example how to boot
> with the HDD rootfs here if it is successful.

we still can try to boot up the HDD if you have other ideas.
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 04, 2023 03:50PM
Bodhi,
could you please confirm that in the 6.3.5 kernel a bridge folder is available?

ln -s /lib/modules/6.3.5-mvebu-tld-1/kernel/net/bridge /lib/modules/6.3.5-mvebu-tld-1/kernel/net/bridge
ln: failed to create symbolic link '/lib/modules/6.3.5-mvebu-tld-1/kernel/net/bridge': No such file or directory
My system is "somehow" missing the br_netfilter. But I found it inside.

Could you please also try depmod?

root@debian:~# depmod
depmod: ERROR: could not open directory /lib/modules/6.3.5-mvebu-tld-1: No such file or directory
depmod: FATAL: could not search modules: No such file or directory


Thank you



Edited 1 time(s). Last edit at 06/04/2023 04:04PM by Chris.
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 04, 2023 04:12PM
Chris,

Yes. It should be there.

depmod: ERROR: could not open directory /lib/modules/6.3.5-mvebu-tld-1: No such file or directory
The error above error indicated that you have not installed the kernel 6.3.5-mvebu-tld-1 in the rootfs.

Do
uname -a
ls -lart /lib/modules
ls -lart /boot
mount
lsblk
df -h

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 04, 2023 04:17PM
Bodhi,
herby
>
>
> Do
>
> uname -a
Linux debian 6.3.5-mvebu-tld-1 #1 SMP PREEMPT Thu Jun  1 02:35:15 PDT 2023 armv7l GNU/Linux

> ls -lart /lib/modules
total 16
drwxr-xr-x  3 root root   4096 Sep 24  2021 5.13.8-mvebu-tld-1
drwxr-xr-x  2 root root   4096 Sep 24  2021 5.2.9-mvebu-tld-1
lrwxrwxrwx  1 root docker   18 Jun  4 22:19 6.3.5-mvebu-tld-1 -> /path/to/module.ko
drwxr-xr-x  4 root root   4096 Jun  4 22:19 .
drwxr-xr-x 14 root root   4096 Jun  4 22:28 ..

> ls -lart /boot
total 116032
drwxrwxrwx 21 root root     4096 Jan 20  2017 ..
-rwxr-xr-x  1 root root  5218232 Aug  7  2021 vmlinuz-5.13.8-mvebu-tld-1
-rw-r--r--  1 root root   205052 Aug  7  2021 config-5.13.8-mvebu-tld-1
-rw-r--r--  1 root root  4461631 Aug  7  2021 System.map-5.13.8-mvebu-tld-1
-rwxr-xr-x  1 root root  5218232 Aug  8  2021 zImage-5.13.8-mvebu-tld-1
-rw-r--r--  1 root root  7785524 Aug  8  2021 linux-headers-5.13.8-mvebu-tld-1_1.0_armhf.deb
drwxr-xr-x  2 root root     4096 May  2 04:04 dts
-rw-r--r--  1 root root   219839 Jun  1 08:10 config-6.3.5-mvebu-tld-1
-rwxr-xr-x  1 root root  5074352 Jun  1 11:37 zImage-6.3.5-mvebu-tld-1
-rw-r--r--  1 root root 23345024 Jun  1 11:58 linux-image-6.3.5-mvebu-tld-1_1_armhf.deb
-rw-r--r--  1 root root  8443956 Jun  1 11:58 linux-headers-6.3.5-mvebu-tld-1_1_armhf.deb
-rw-r--r--  1 root root  1269760 Jun  1 20:46 linux-dtb-6.3.5-mvebu-tld-1.tar
-rw-r--r--  1 root root    98461 Jun  2 07:32 linux-6.3.5-mvebu-tld-1.patch
-rw-r--r--  1 root root 37183909 Jun  4 07:46 linux-6.3.5-mvebu-tld-1-bodhi.tar.bz2
-rwxr-xr-x  1 root root  5093940 Jun  4 07:58 zImage.fdt
-rw-r--r--  1 root root  5094004 Jun  4 07:58 uImage
-rw-r--r--  1 root root        0 Jun  4 07:58 uInitrd
-rw-r--r--  1 root root 10065543 Jun  4 08:41 initrd.img-5.13.8-mvebu-tld-1
drwxr-xr-x  3 root root     4096 Jun  4 08:41 .

> mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=504884k,nr_inodes=126221,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,noexec,relatime,size=102068k,mode=755)
/dev/sda1 on / type ext4 (rw,noatime,errors=remount-ro)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
tmpfs on /tmp type tmpfs (rw,relatime)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=102064k,nr_inodes=25516,mode=700)

> lsblk
NAME      MAJ:MIN RM  SIZE RO TYPE  MOUNTPOINT
sda         8:0    1  3.6T  0 disk
|-sda1      8:1    1   20G  0 part  /
|-sda2      8:2    1  1.1G  0 part
| `-md1     9:1    0  1.1G  0 raid1
`-sda3      8:3    1  3.6T  0 part
  `-md2     9:2    0  3.6T  0 raid1
sdb         8:16   1  3.6T  0 disk
|-sdb1      8:17   1   20G  0 part
|-sdb2      8:18   1  1.1G  0 part
| `-md1     9:1    0  1.1G  0 raid1
`-sdb3      8:19   1  3.6T  0 part
  `-md2     9:2    0  3.6T  0 raid1
sdc         8:32   1  1.9G  0 disk
`-sdc1      8:33   1  1.9G  0 part
mtdblock0  31:0    0    5M  0 disk
mtdblock1  31:1    0    5M  0 disk
mtdblock2  31:2    0    5M  0 disk
mtdblock3  31:3    0  185M  0 disk
mtdblock4  31:4    0   15M  0 disk
mtdblock5  31:5    0   20M  0 disk
mtdblock6  31:6    0   10M  0 disk
mtdblock7  31:7    0   10M  0 disk

> df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            494M     0  494M   0% /dev
tmpfs           100M  1.6M   99M   2% /run
/dev/sda1        20G  2.0G   17G  11% /
tmpfs           499M     0  499M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           499M     0  499M   0% /tmp
tmpfs           100M     0  100M   0% /run/user/0
>

did I do something wrong?
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 04, 2023 04:32PM
Quote

did I do something wrong?

Yes.

The last initramfs is for the older kernel.
> ls -lart /boot
......
-rw-r--r--  1 root root 10065543 Jun  4 08:41 initrd.img-5.13.8-mvebu-tld-1

The docker installation populated this:

> ls -lart /lib/modules
lrwxrwxrwx  1 root docker   18 Jun  4 22:19 6.3.5-mvebu-tld-1 -> /path/to/module.ko

So you need to reinstall kernel 6.3.5-mvebu-tld-1

Quote
https://forum.doozan.com/read.php?2,32146

3. And install it with dpkg. Remove flash-kernel first to avoid potential problem (if flash-kernel was not installed then you'll see some error output):

cd /boot
apt-get remove flash-kernel
dpkg -i linux-image-6.3.5-mvebu-tld-1_1_armhf.deb

4. Create uImage and uInitrd (kernel file initrd.img-6.3.5-mvebu-tld-1 was generated by dpkg in step 3). I am using the Zyxel NAS326 as an example here. Please replace armada-380-zyxel-nas326.dtb below with the appropriate DTB name for your box.

cd /boot
cp -a zImage-6.3.5-mvebu-tld-1 zImage.fdt
cat dts/armada-380-zyxel-nas326.dtb >> zImage.fdt
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-6.3.5-mvebu-tld-1 -d zImage.fdt uImage
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-6.3.5-mvebu-tld-1 -d initrd.img-6.3.5-mvebu-tld-1 uInitrd

If the docker installation somehow needs to compile something, then you also need to install kernel headers first.

dpkg -i linux-headers-6.3.5-mvebu-tld-1_1_armhf.deb

And then reinstall docker.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 04, 2023 05:02PM
You are unbelievable Bodhi,
it's working, but now I have another error which comes maybe from the bootargs?

docker: Error response from daemon: failed to create task for container: failed to create shi m task: OCI runtime create failed: runc create failed: unable to start container process: err or during container init: error setting cgroup config for procHooks process: bpf_prog_query(B PF_CGROUP_DEVICE) failed



Edited 1 time(s). Last edit at 06/04/2023 05:03PM by Chris.
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 04, 2023 05:15PM
Quote

> docker: Error response from daemon: failed to
> create task for container: failed to create shi m
> task: OCI runtime create failed: runc create
> failed: unable to start container process: err or
> during container init: error setting cgroup config
> for procHooks process: bpf_prog_query(B
> PF_CGROUP_DEVICE) failed

This docker error is not related to bootargs, it is kernel related. You can find out the docker kernel requirements at their website.

But on the first look, I probably need to add more to the kernel BPF config to support this.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
bodhi i bought it new, and it has 2 memory chip...
i used this uboot from :
https://drive.google.com/drive/folders/1wJ9hGKyweA2AlRZaQnZuu3SdrYaCwz77

It is for wd my cloud mirror gen 2, where i can find for ultra version?
thanks for support
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 05, 2023 02:40PM
@gennnarino,

> bodhi i bought it new, and it has 2 memory
> chip...
> i used this uboot from :
> https://drive.google.com/drive/folders/1wJ9hGKyweA2AlRZaQnZuu3SdrYaCwz77
>
> It is for wd my cloud mirror gen 2

That's why you see only 512MB! RAM capacity is always hardcoded in u-boot.

> where i can find for ultra version?

I don't know where you can find stock u-boot. However, CyperPK rebuilt this u-boot:

https://forum.doozan.com/read.php?2,28939,98649#msg-98649

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 05, 2023 11:09PM
Dear Bodhi,
here is my botlog

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

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

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

NAND:  ID: dac2 ,256 MiB
MMC:   mv_sdh: 0
PCI-e 0: Detected No Link.
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00000f500000-0x00000ff00000 : "mtd=7"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=7"
UBI: MTD device size:            10 MiB
UBI: number of good PEBs:        80
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             32
UBI: total number of reserved PEBs: 48
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 3/0
UBIFS: mounted UBI device 0, volume 0, name "reserve2"
UBIFS: mounted read-only
UBIFS: file system size:   4063232 bytes (3968 KiB, 3 MiB, 32 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  200807 bytes (196 KiB)
Loading file '/mac_addr' to addr 0x02000000 with size 18 (0x00000012)...
Done
Set lan 2 WakeOnLan ok
Enable HD1
Enable HD2
Net:
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |   In-Band    |
| egiga1 |   RGMII   |   In-Band    |
| egiga2 |   SGMII   |     0x00     |
egiga0, egiga1, egiga2 [PRIME]
Hit any key to stop autoboot:  0
Marvell>> 111111111111111111111111111111<INTERRUPT>
Marvell>> printenv bootargs
bootargs=root=/dev/ram console=ttyS0,115200
Marvell>> print env bootargs_debian
## Error: "env" not defined
## Error: "bootargs_debian" not defined
Marvell>> printenv bootargs_debian
## Error: "bootargs_debian" not defined
Marvell>> printenv set_bootargs_debian
set_bootargs_debian=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs mtdpa
@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m
ial
Marvell>> setenv set_bootargs_debian "setenv bootargs console=ttyS0,115200 root=
),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215
2) earlyprintk=serial systemd.unified_cgroup_hierarchy=0"
Marvell>> boot
(Re)start USB...
USB0:   Port (usbActive) : 0    Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
5094004 bytes read in 488 ms (10 MiB/s)
10099340 bytes read in 626 ms (15.4 MiB/s)
## Booting image at 00800000 ...
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-6.3.5-mvebu-tld-1
   Created:      2023-06-03  21:27:26 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5093940 Bytes = 4.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02100000 ...
   Image Name:   initramfs-6.3.5-mvebu-tld-1
   Created:      2023-06-03  21:27:41 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    10099276 Bytes = 9.6 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 6.3.5-mvebu-tld-1 (root@tldDebian) (gcc (De
for Debian) 2.40) #1 SMP PREEMPT Thu Jun  1 02:35:15 PDT 2023
[    0.000000][    T0] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10
[    0.000000][    T0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing in
[    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-0x000000003f
[    0.000000][    T0] percpu: Embedded 14 pages/cpu s25300 r8192 d23852 u57344
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 26
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=root
rnel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),
intk=serial systemd.unified_cgroup_hierarchy=0
[    0.000000][    T0] Dentry cache hash table entries: 131072 (order: 7, 524288
[    0.000000][    T0] Inode-cache hash table entries: 65536 (order: 6, 262144 b
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 1009768K/1048576K available (10240K kernel code,
ss, 38808K reserved, 0K cma-reserved, 262144K highmem)
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_id
[    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 i
[    0.000000][    T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_id
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] L2C: DT/platform modifies aux control register: 0x0607000
[    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 enable
[    0.000000][    T0] L2C-310 Coherent cache controller enabled, 16 ways, 1024
[    0.000000][    T0] L2C-310 Coherent: CACHE_ID 0x410054c9, AUX_CTRL 0x5607000
[    0.000000][    T0] rcu: srcu_init: Setting srcu_struct sizes based on conten
[    0.000001][    T0] sched_clock: 64 bits at 666MHz, resolution 1ns, wraps eve
[    0.008682][    T0] clocksource: arm_global_timer: mask: 0xffffffffffffffff m
25152 ns
[    0.020390][    T0] Switching to timer-based delay loop, resolution 1ns
[    0.027211][    T0] Ignoring duplicate/late registration of read_current_time
[    0.034929][    T0] clocksource: armada_370_xp_clocksource: mask: 0xffffffff
870 ns
[    0.046788][    T0] kfence: initialized - using 2097152 bytes for 255 objects
[    0.056712][    T0] Console: colour dummy device 80x30
[    0.061865][    T0] Calibrating delay loop (skipped), value calculated using
00)
[    0.073138][    T0] pid_max: default: 32768 minimum: 301
[    0.078687][    T0] LSM: initializing lsm=capability,integrity
[    0.084645][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 byte
[    0.092633][    T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192
[    0.101910][    T0] CPU: Testing write buffer coherency: ok
[    0.107494][    T0] CPU0: Spectre v2: using BPIALL workaround
[    0.113420][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.120474][    T1] cblist_init_generic: Setting adjustable number of callbac
[    0.128390][    T1] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.135234][    T1] cblist_init_generic: Setting shift to 1 and lim to 1.
[    0.142100][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.149078][    T1] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.155002][    T1] mvebu-pmsu: Initializing Power Management Service Unit
[    0.162002][    T1] rcu: Hierarchical SRCU implementation.
[    0.167485][    T1] rcu:     Max phase no-delay instances is 1000.
[    0.174066][    T1] smp: Bringing up secondary CPUs ...
[    0.179812][    T1] Booting CPU 1
[    0.183276][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.183287][    T0] CPU1: Spectre v2: using BPIALL workaround
[    0.195429][    T1] smp: Brought up 1 node, 2 CPUs
[    0.200232][    T1] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.207265][    T1] CPU: All CPU(s) started in SVC mode.
[    0.212994][    T1] devtmpfs: initialized
[    0.220860][    T1] VFP support v0.3: implementor 41 architecture 3 part 30 v
[    0.229485][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffff
[    0.240006][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, lin
[    0.247677][    T1] prandom: seed boundary self test passed
[    0.254822][    T1] prandom: 100 self tests passed
[    0.259606][    T1] pinctrl core: initialized pinctrl subsystem
[    0.266529][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.273899][    T1] DMA: preallocated 256 KiB pool for atomic coherent alloca
[    0.282185][    T1] audit: initializing netlink subsys (disabled)
[    0.288432][   T24] audit: type=2000 audit(0.250:1): state=initialized audit_
[    0.288836][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.296999][    T1] cpuidle: using governor ladder
[    0.308488][    T1] cpuidle: using governor menu
[    0.313282][    T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 wat
[    0.321962][    T1] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.328621][    T1] mvebu-pmsu: CPU hotplug support is currently broken on Ar
[    0.337402][    T1] mvebu-pmsu: CPU idle is currently broken on Armada 38x: d
[    0.347424][    T1] platform soc: Fixed dependency cycle(s) with /soc/interna
[    0.527105][    T1] raid6: int32x8  gen()   266 MB/s
[    0.697146][    T1] raid6: int32x4  gen()   277 MB/s
[    0.867099][    T1] raid6: int32x2  gen()   459 MB/s
[    1.037109][    T1] raid6: int32x1  gen()   528 MB/s
[    1.042055][    T1] raid6: using algorithm int32x1 gen() 528 MB/s
[    1.217126][    T1] raid6: .... xor() 223 MB/s, rmw enabled
[    1.222680][    T1] raid6: using intx1 recovery algorithm
[    1.228932][    T1] SCSI subsystem initialized
[    1.233650][    T1] usbcore: registered new interface driver usbfs
[    1.239867][    T1] usbcore: registered new interface driver hub
[    1.245891][    T1] usbcore: registered new device driver usb
[    1.251884][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.257539][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodol
[    1.267348][    T1] PTP clock support registered
[    1.273233][    T1] vgaarb: loaded
[    1.277104][    T1] clocksource: Switched to clocksource arm_global_timer
[    1.284283][    T1] VFS: Disk quotas dquot_6.6.0
[    1.288965][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096
[    1.303652][    T1] NET: Registered PF_INET protocol family
[    1.309407][    T1] IP idents hash table entries: 16384 (order: 5, 131072 byt
[    1.318886][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order:
[    1.328041][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144
[    1.336464][    T1] TCP established hash table entries: 8192 (order: 3, 32768
[    1.344966][    T1] TCP bind hash table entries: 8192 (order: 5, 131072 bytes
[    1.353007][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    1.360220][    T1] MPTCP token hash table entries: 1024 (order: 2, 16384 byt
[    1.368357][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes, linea
[    1.375662][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes,
[    1.383530][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.390343][    T1] RPC: Registered named UNIX socket transport module.
[    1.396938][    T1] RPC: Registered udp transport module.
[    1.402355][    T1] RPC: Registered tcp transport module.
[    1.407744][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.414860][    T1] PCI: CLS 0 bytes, default 64
[    1.419631][    T1] NetWinder Floating Point Emulator V0.97 (double precision
[    1.419674][   T10] Trying to unpack rootfs image as initramfs...
[    1.433060][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7
[    1.443001][    T1] Initialise system trusted keyrings
[    1.448962][    T1] Key type blacklist registered
[    1.457274][    T1] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    1.464587][    T1] zbud: loaded
[    1.469226][    T1] NFS: Registering the id_resolver key type
[    1.474982][    T1] Key type id_resolver registered
[    1.479908][    T1] Key type id_legacy registered
[    1.484714][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering
[    1.492145][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Reg
[    1.557044][    T1] xor: measuring software checksum speed
[    1.567151][    T1]    arm4regs        :  2171 MB/sec
[    1.578162][    T1]    8regs           :  1667 MB/sec
[    1.588909][    T1]    32regs          :  1732 MB/sec
[    1.593949][    T1] xor: using function: arm4regs (2171 MB/sec)
[    1.599871][    T1] async_tx: api initialized (async)
[    1.604918][    T1] Key type asymmetric registered
[    1.609713][    T1] Asymmetric key parser 'x509' registered
[    1.615460][    T1] bounce: pool size: 64 pages
[    1.620269][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded
[    1.628497][    T1] io scheduler bfq registered
[    1.636173][    T1] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl d
[    1.645685][    T1] gpio gpiochip0: Static allocation of GPIO base is depreca
[    1.655863][    T1] debugfs: Directory 'f1018100.gpio' with parent 'regmap' a
[    1.665111][    T1] gpio gpiochip1: Static allocation of GPIO base is depreca
[    1.675307][    T1] debugfs: Directory 'f1018140.gpio' with parent 'regmap' a
[    1.685711][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.757926][    T1] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor
[    1.768689][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.845115][   T10] Freeing initrd memory: 9864K
[    1.847883][    T1] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor
[    1.941373][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.950844][    T1] printk: console [ttyS0] disabled
[    1.976072][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 39, base
[    1.985756][    T1] printk: console [ttyS0] enabled
[    1.985756][    T1] printk: console [ttyS0] enabled
[    1.995583][    T1] printk: bootconsole [earlycon0] disabled
[    1.995583][    T1] printk: bootconsole [earlycon0] disabled
[    2.048111][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 40, base
[    2.059175][    T1] ahci-mvebu f10a8000.sata: supply ahci not found, using du
[    2.067674][    T1] ahci-mvebu f10a8000.sata: supply phy not found, using dum
[    2.075943][    T1] ahci-mvebu f10a8000.sata: supply target not found, using
[    2.084592][    T1] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports
[    2.094413][    T1] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only
[    2.105163][    T1] scsi host0: ahci-mvebu
[    2.109914][    T1] scsi host1: ahci-mvebu
[    2.114237][    T1] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff]
[    2.122930][    T1] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff]
[    2.133208][    T1] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[    2.140325][    T1] nand: Macronix MX30LF2G18AC
[    2.144883][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048,
[    2.153497][    T1] Bad block table found at page 131008, version 0x01
[    2.160394][    T1] Bad block table found at page 130944, version 0x01
[    2.167183][    T1] 8 cmdlinepart partitions found on MTD device pxa3xx_nand-
[    2.174448][    T1] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    2.180590][    T1] 0x000000000000-0x000000500000 : "u-boot"
[    2.187739][    T1] 0x000000500000-0x000000a00000 : "kernel"
[    2.194695][    T1] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    2.201852][    T1] 0x000000f00000-0x00000c800000 : "image.cfs"
[    2.209499][    T1] 0x00000c800000-0x00000d700000 : "rescue_fw"
[    2.216895][    T1] 0x00000d700000-0x00000eb00000 : "config"
[    2.223948][    T1] 0x00000eb00000-0x00000f500000 : "reserve1"
[    2.231244][    T1] 0x00000f500000-0x00000ff00000 : "reserve2"
[    2.239477][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com
[    2.248079][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Ja
[    2.274378][    T1] hwmon hwmon0: temp1_input not attached to any thermal zon
[    2.283479][    T1] mvneta_bm f10c8000.bm: Buffer Manager for network control
[    2.296908][    T1] mvneta f1034000.ethernet eth0: Using random mac address 2
[    2.306213][    T1] usbcore: registered new interface driver smsc75xx
[    2.313059][    T1] orion-ehci f1058000.usb: EHCI Host Controller
[    2.319229][    T1] orion-ehci f1058000.usb: new USB bus registered, assigned
[    2.327633][    T1] orion-ehci f1058000.usb: irq 44, io mem 0xf1058000
[    2.367116][    T1] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    2.374029][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=
[    2.383073][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, Seria
[    2.391072][    T1] usb usb1: Product: EHCI Host Controller
[    2.396692][    T1] usb usb1: Manufacturer: Linux 6.3.5-mvebu-tld-1 ehci_hcd
[    2.403802][    T1] usb usb1: SerialNumber: f1058000.usb
[    2.409808][    T1] hub 1-0:1.0: USB hub found
[    2.414326][    T1] hub 1-0:1.0: 1 port detected
[    2.420760][    T1] usbcore: registered new interface driver usblp
[    2.427132][    T1] usbcore: registered new interface driver usb-storage
[    2.434326][    T1] mousedev: PS/2 mouse device common for all mice
[    2.442443][    T1] armada38x-rtc f10a3800.rtc: registered as rtc0
[    2.449716][    T1] armada38x-rtc f10a3800.rtc: setting system clock to 2023-
[    2.460113][    T1] i2c_dev: i2c /dev entries driver
[    2.465354][    T1] mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recovery
[    2.474201][    T1] mv64xxx_i2c f1011100.i2c: can't get pinctrl, bus recovery
[    2.485429][    T1] orion_wdt: Initial timeout 171 sec
[    2.491217][    T1] device-mapper: uevent: version 1.0.3
[    2.496736][    T1] device-mapper: ioctl: 4.47.0-ioctl (2022-07-28) initialis
[    2.506192][    T1] device-mapper: multipath round-robin: version 1.2.0 loade
[    2.513478][    T1] device-mapper: multipath queue-length: version 0.2.0 load
[    2.520867][    T1] device-mapper: multipath service-time: version 0.3.0 load
[    2.528270][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    2.535097][    T1] device-mapper: raid: Loading target version 1.15.1
[    2.541788][    T1] sdhci: Secure Digital Host Controller Interface driver
[    2.548713][    T1] sdhci: Copyright(c) Pierre Ossman
[    2.553901][    T1] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.562415][    T1] marvell-cesa f1090000.crypto: CESA device successfully re
[    2.570499][    T1] hid: raw HID events driver (C) Jiri Kosina
[    2.576606][    T1] usbcore: registered new interface driver usbhid
[    2.582932][    T1] usbhid: USB HID core driver
[    2.588192][    T1] NET: Registered PF_INET6 protocol family
[    2.594909][    T1] Segment Routing with IPv6
[    2.599322][    T1] RPL Segment Routing with IPv6
[    2.604100][    T1] In-situ OAM (IOAM) with IPv6
[    2.608852][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    2.616646][    T1] NET: Registered PF_PACKET protocol family
[    2.622602][    T1] 8021q: 802.1Q VLAN Support v1.8
[    2.627570][    T1] Key type dns_resolver registered
[    2.632729][    T1] ThumbEE CPU extension supported.
[    2.637126][  T664] ata2: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    2.644651][  T659] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    2.651594][    T1] Registering SWP/SWPB emulation handler
[    2.667310][  T664] ata2.00: ATA-10: WDC WD40EFAX-68JH4N1, 83.00A83, max UDMA
[    2.674857][  T664] ata2.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth 3
[    2.682280][    T1] registered taskstats version 1
[    2.695695][  T659] ata1.00: ATA-10: WDC WD40EFAX-68JH4N1, 83.00A83, max UDMA
[    2.703304][  T659] ata1.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth 3
[    2.703709][    T1] Loading compiled-in X.509 certificates
[    2.711270][  T664] ata2.00: configured for UDMA/133
[    2.716642][    T1] zswap: loaded using pool lzo/zbud
[    2.721310][  T659] ata1.00: configured for UDMA/133
[    2.731516][    T1] Key type .fscrypt registered
[    2.736169][    T1] Key type fscrypt-provisioning registered
[    2.742364][   T10] scsi 0:0:0:0: Direct-Access     ATA      WDC WD40EFAX-68J
[    2.742874][    T1] Key type big_key registered
[    2.756404][    T8] sd 0:0:0:0: [sda] 7814037168 512-byte logical blocks: (4.
[    2.756589][   T42] scsi 1:0:0:0: Direct-Access     ATA      WDC WD40EFAX-68J
[    2.765145][    T8] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    2.780344][    T8] sd 0:0:0:0: [sda] Write Protect is off
[    2.783057][   T41] sd 1:0:0:0: [sdb] 7814037168 512-byte logical blocks: (4.
[    2.794573][    T8] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabl
[    2.795010][   T41] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[    2.804957][    T8] sd 0:0:0:0: [sda] Preferred minimum I/O size 4096 bytes
[    2.817426][   T41] sd 1:0:0:0: [sdb] Write Protect is off
[    2.823914][   T41] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabl
[    2.824068][    T1] Key type encrypted registered
[    2.833928][   T41] sd 1:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes
[    2.846459][   T10] usb_phy_generic usb3_0_phy: dummy supplies not allowed fo
[    2.856545][   T10] usb_phy_generic usb3_1_phy: dummy supplies not allowed fo
[    2.865836][   T10] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    2.872005][   T10] xhci-hcd f10f0000.usb3: new USB bus registered, assigned
[    2.880453][   T10] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version
[    2.890574][   T10] xhci-hcd f10f0000.usb3: irq 45, io mem 0xf10f0000
[    2.895330][    T8]  sda: sda1 sda2 sda3
[    2.897265][   T10] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    2.903398][   T41]  sdb: sdb1 sdb2 sdb3
[    2.907139][   T10] xhci-hcd f10f0000.usb3: new USB bus registered, assigned
[    2.919323][   T10] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed
[    2.926621][   T10] usb usb2: New USB device found, idVendor=1d6b, idProduct=
[    2.926979][    T8] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    2.935866][   T10] usb usb2: New USB device strings: Mfr=3, Product=2, Seria
[    2.949929][   T10] usb usb2: Product: xHCI Host Controller
[    2.950094][   T41] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[    2.955538][   T10] usb usb2: Manufacturer: Linux 6.3.5-mvebu-tld-1 xhci-hcd
[    2.968874][   T10] usb usb2: SerialNumber: f10f0000.usb3
[    2.974751][   T10] hub 2-0:1.0: USB hub found
[    2.979270][   T10] hub 2-0:1.0: 1 port detected
[    2.984249][   T10] usb usb3: We don't know the algorithms for LPM for this h
[    2.993192][   T10] usb usb3: New USB device found, idVendor=1d6b, idProduct=
[    3.002220][   T10] usb usb3: New USB device strings: Mfr=3, Product=2, Seria
[    3.010253][   T10] usb usb3: Product: xHCI Host Controller
[    3.015860][   T10] usb usb3: Manufacturer: Linux 6.3.5-mvebu-tld-1 xhci-hcd
[    3.022962][   T10] usb usb3: SerialNumber: f10f0000.usb3
[    3.028854][   T10] hub 3-0:1.0: USB hub found
[    3.033351][   T10] hub 3-0:1.0: 1 port detected
[    3.038589][   T10] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    3.044648][   T10] xhci-hcd f10f8000.usb3: new USB bus registered, assigned
[    3.052984][   T10] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version
[    3.063004][   T10] xhci-hcd f10f8000.usb3: irq 46, io mem 0xf10f8000
[    3.069738][   T10] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    3.075790][   T10] xhci-hcd f10f8000.usb3: new USB bus registered, assigned
[    3.084050][   T10] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
[    3.091270][   T10] usb usb4: New USB device found, idVendor=1d6b, idProduct=
[    3.100297][   T10] usb usb4: New USB device strings: Mfr=3, Product=2, Seria
[    3.108270][   T10] usb usb4: Product: xHCI Host Controller
[    3.113876][   T10] usb usb4: Manufacturer: Linux 6.3.5-mvebu-tld-1 xhci-hcd
[    3.121026][   T10] usb usb4: SerialNumber: f10f8000.usb3
[    3.127016][   T10] hub 4-0:1.0: USB hub found
[    3.131556][   T10] hub 4-0:1.0: 1 port detected
[    3.136521][   T10] usb usb5: We don't know the algorithms for LPM for this h
[    3.145516][   T10] usb usb5: New USB device found, idVendor=1d6b, idProduct=
[    3.154637][   T10] usb usb5: New USB device strings: Mfr=3, Product=2, Seria
[    3.162692][   T10] usb usb5: Product: xHCI Host Controller
[    3.168396][   T10] usb usb5: Manufacturer: Linux 6.3.5-mvebu-tld-1 xhci-hcd
[    3.175486][   T10] usb usb5: SerialNumber: f10f8000.usb3
[    3.181357][   T10] hub 5-0:1.0: USB hub found
[    3.185853][   T10] hub 5-0:1.0: 1 port detected
[    3.191665][    T1] input: gpio-keys as /devices/platform/gpio-keys/input/inp
[    3.202620][    T1] Freeing unused kernel image (initmem) memory: 1024K
[    3.237831][    T1] Checked W+X mappings: passed, no W+X pages found
[    3.244345][    T1] Run /init as init process
[    3.267150][   T34] usb 2-1: new high-speed USB device number 2 using xhci-hc
Loading, please wait...
Starting version 247.3-6
[    3.448804][   T34] usb 2-1: New USB device found, idVendor=090c, idProduct=1
[    3.458196][   T34] usb 2-1: New USB device strings: Mfr=1, Product=2, Serial
[    3.466083][   T34] usb 2-1: Product: USB Flash Disk
[    3.471178][   T34] usb 2-1: Manufacturer: General
[    3.476001][   T34] usb 2-1: SerialNumber: FBK1510272200005
[    3.482581][   T34] usb-storage 2-1:1.0: USB Mass Storage device detected
[    3.497420][   T34] scsi host2: usb-storage 2-1:1.0
[    3.622119][ T1289] usbcore: registered new interface driver uas
[    3.876683][ T1290] mtdblock: MTD device 'u-boot' is NAND, please consider us
[    3.893266][ T1294] mtdblock: MTD device 'kernel' is NAND, please consider us
[    3.908937][ T1293] mtdblock: MTD device 'uRamdisk' is NAND, please consider
[    3.917866][ T1290] mtdblock: MTD device 'config' is NAND, please consider us
[    3.922095][ T1291] mtdblock: MTD device 'rescue_fw' is NAND, please consider
[    3.939324][ T1288] mtdblock: MTD device 'image.cfs' is NAND, please consider
[    3.944448][ T1294] mtdblock: MTD device 'reserve2' is NAND, please consider
[    3.962640][ T1288] mtdblock: MTD device 'reserve1' is NAND, please consider
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: Will now check root file system ... fsck from util-linux 2.36.1
fsck: error 2 (No such file or directory) while executing fsck.ext4 for /dev/sda
fsck exited with status code 8
done.
Warning: File system check failed but did not detect errors
[    4.707730][   T42] scsi 2:0:0:0: Direct-Access     General  USB Flash Disk
[    4.718318][   T10] sd 2:0:0:0: [sdc] 3932160 512-byte logical blocks: (2.01
[    4.727729][   T10] sd 2:0:0:0: [sdc] Write Protect is off
[    4.733820][   T10] sd 2:0:0:0: [sdc] No Caching mode page found
[    4.739887][   T10] sd 2:0:0:0: [sdc] Assuming drive cache: write through
[    4.749969][   T10]  sdc: sdc1
[    4.753895][   T10] sd 2:0:0:0: [sdc] Attached SCSI removable disk
[    9.433791][ T1318] EXT4-fs (sda1): INFO: recovery required on readonly files
[    9.441450][ T1318] EXT4-fs (sda1): write access will be enabled during recov
[    9.821016][ T1318] EXT4-fs (sda1): recovery complete
[    9.840826][ T1318] EXT4-fs (sda1): mounted filesystem 0cd33a27-d423-4e01-9fd
mode: none.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[   10.796013][    T1] systemd[1]: systemd 247.3-7+deb11u2 running in system mod
K +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +B
t-hierarchy=unified)
[   10.824642][    T1] systemd[1]: Detected architecture arm.

Welcome to Debian GNU/Linux 11 (bullseye)!

[   11.017532][    T1] systemd[1]: Set hostname to <debian>.
[   11.409109][ T1341] block sda: the capability attribute has been deprecated.
[   12.367119][    C1] random: crng init done
[   12.931706][    T1] systemd[1]: Queued start job for default target Graphical
[   12.940943][    T1] systemd[1]: system-getty.slice: unit configures an IP fir
BPF/cgroup firewalling.
[   12.954091][    T1] systemd[1]: (This warning is only shown for the first uni
[   13.042959][    T1] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[   13.079374][    T1] systemd[1]: Created slice system-modprobe.slice.
[  OK  ] Created slice system-modprobe.slice.
[   13.119252][    T1] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[   13.159035][    T1] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[   13.197470][    T1] systemd[1]: Started Dispatch Password Requests to Console
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[   13.237426][    T1] systemd[1]: Started Forward Password Requests to Wall Dir
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[   13.277813][    T1] systemd[1]: Set up automount Arbitrary Executable File Fo
[  OK  ] Set up automount Arbitrary…s File System Automount Point.
[   13.317346][    T1] systemd[1]: Reached target Local Encrypted Volumes.
[  OK  ] Reached target Local Encrypted Volumes.
[   13.357501][    T1] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[   13.387319][    T1] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[   13.417346][    T1] systemd[1]: Reached target System Time Set.
[  OK  ] Reached target System Time Set.
[   13.457576][    T1] systemd[1]: Listening on Device-mapper event daemon FIFOs
[  OK  ] Listening on Device-mapper event daemon FIFOs.
[   13.497625][    T1] systemd[1]: Listening on LVM2 poll daemon socket.
[  OK  ] Listening on LVM2 poll daemon socket.
[   13.537670][    T1] systemd[1]: Listening on RPCbind Server Activation Socket
[  OK  ] Listening on RPCbind Server Activation Socket.
[   13.577602][    T1] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[   13.617542][    T1] systemd[1]: Listening on fsck to fsckd communication Sock
[  OK  ] Listening on fsck to fsckd communication Socket.
[   13.657440][    T1] systemd[1]: Listening on initctl Compatibility Named Pipe
[  OK  ] Listening on initctl Compatibility Named Pipe.
[   13.697704][    T1] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[   13.737571][    T1] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   13.777632][    T1] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   13.817719][    T1] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[   13.857655][    T1] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   13.897532][    T1] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   13.937650][    T1] systemd[1]: Condition check resulted in Huge Pages File S
[   13.997635][    T1] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[   14.041806][    T1] systemd[1]: Mounting RPC Pipe File System...
         Mounting RPC Pipe File System...
[   14.081956][    T1] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[   14.117633][    T1] systemd[1]: Condition check resulted in Kernel Trace File
[   14.127084][    T1] systemd[1]: Condition check resulted in Kernel Module sup
[   14.137804][    T1] systemd[1]: Finished Availability of block devices.
[  OK  ] Finished Availability of block devices.
[   14.217855][    T1] systemd[1]: Starting Create list of static device nodes f
         Starting Create list of st…odes for the current kernel...
[   14.262103][    T1] systemd[1]: Starting Monitoring of LVM2 mirrors, snapshot
         Starting Monitoring of LVM…meventd or progress polling...
[   14.311528][    T1] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[   14.361656][    T1] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[   14.401817][    T1] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[   14.465369][ T1359] fuse: init (API version 7.38)
[   14.470510][    T1] systemd[1]: Condition check resulted in Set Up Additional
[   14.517906][    T1] systemd[1]: Starting File System Check on Root Device...
         Starting File System Check on Root Device...
[   14.564400][    T1] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[   14.624231][    T1] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[   14.647911][    T1] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[   14.669558][    T1] systemd[1]: Mounted POSIX Message Queue File System.
[  OK     14.676827][    T1] systemd[1]: Mounted RPC Pipe File System.
0m] Mounted POSIX Message Queue File System.
[  OK     14.697884][    T1] systemd[1]: Mounted Kernel Debug File System.
0m] Mounted RPC Pipe File System.
[   14.707980][    T1] systemd[1]: Finished Create list of static device nodes f
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Finished[   14.725828][    T1] systemd[1]: Finished Monitoring of LVM2
gress polling.
 Create list of st… n[   14.738934][    T1] systemd[1]: modprobe@configfs.servic
odes for the current kernel.
[  OK  [   14.750050][    T1] systemd[1]: Finished Load Kernel Module configfs.
] Finished Monitori[   14.759650][    T1] systemd[1]: modprobe@drm.service: Succ
ng of LVM… dmeventd or progres[   14.767989][    T1] systemd[1]: Finished Load K
s polling.
[  OK     14.776618][    T1] systemd[1]: modprobe@fuse.service: Succeeded.
0m] Finished Load Kernel Module configf[   14.787468][    T1] systemd[1]: Finish
s.
[  OK  ] Finished Lo[   14.797909][    T1] systemd[1]: Finished Load Kernel Modu
ad Kernel Module drm.
[  OK  ] Finished Load Kernel Module fuse.
[  OK  ] Finished Load Kernel Modules.
[   14.837790][    T1] systemd[1]: Mounting FUSE Control File System...
         Mounting FUSE Control File System...
[   14.881923][    T1] systemd[1]: Mounting Kernel Configuration File System...
         Mounting Kernel Configuration File System...
[   14.921910][    T1] systemd[1]: Starting pNFS block layout mapping daemon...
         Starting pNFS block layout mapping daemon...
[   14.953641][ T1369] mtdblock: MTD device 'u-boot' is NAND, please consider us
[   14.968618][    T1] systemd[1]: Started File System Check Daemon to report st
[   14.971711][ T1369] mtdblock: MTD device 'kernel' is NAND, please consider us
[  OK     14.987354][ T1369] mtdblock: MTD device 'uRamdisk' is NAND, please con
0m] Started    14.998165][ T1369] mtdblock: MTD device 'image.cfs' is NAND, plea
1;39mFile System[   15.009601][ T1369] mtdblock: MTD device 'rescue_fw' is NAND,
ead.
 Check Daemon to[   15.021079][ T1369] mtdblock: MTD device 'config' is NAND, pl
.
 report status   15.032349][ T1369] mtdblock: MTD device 'reserve1' is NAND, ple
0m.
[   15.043568][ T1369] mtdblock: MTD device 'reserve2' is NAND, please consider
[   15.117904][    T1] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[   15.161068][    T1] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Finished File System Check on Root Device.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Started pNFS block layout mapping daemon.
[  OK  ] Finished Apply Kernel Variables.
         Starting Remount Root and Kernel File Systems...
[   15.479594][ T1374] EXT4-fs (sda1): re-mounted 0cd33a27-d423-4e01-9fd9-1192c5
[  OK  ] Finished Remount Root and Kernel File Systems.
         Starting Flush Journal to Persistent Storage...
         Starting Load/Save Random Seed...
[   15.612349][ T1362] systemd-journald[1362]: Received client request to flush
         Starting Create System Users...
[  OK  ] Finished Coldplug All udev Devices.
[   15.746923][ T1362] systemd-journald[1362]: File /var/log/journal/50b0e021e74
d or uncleanly shut down, renaming and replacing.
         Starting Helper to synchronize boot up for ifupdown...
[  OK  ] Finished Create System Users.
         Starting Create Static Device Nodes in /dev...
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Starting Rule-based Manage…for Device Events and Files...
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Started Rule-based Manager for Device Events and Files.
         Starting Network Service...
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started Network Service.
         Starting Wait for Network to be Configured...
[   16.976223][ T1392] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   16.983892][ T1391] mtdblock: MTD device 'u-boot' is NAND, please consider us
[   16.993922][ T1392] sd 1:0:0:0: Attached scsi generic sg1 type 0
[   16.997465][ T1386] mtdblock: MTD device 'kernel' is NAND, please consider us
[   17.009995][ T1392] sd 2:0:0:0: Attached scsi generic sg2 type 0
[   17.033819][ T1385] mtdblock: MTD device 'uRamdisk' is NAND, please consider
[   17.044102][ T1388] mtdblock: MTD device 'image.cfs' is NAND, please consider
[   17.065901][ T1387] mtdblock: MTD device 'rescue_fw' is NAND, please consider
[   17.132237][ T1387] mtdblock: MTD device 'config' is NAND, please consider us
[   17.146225][ T1386] mtdblock: MTD device 'reserve1' is NAND, please consider
[   17.146292][ T1388] mtdblock: MTD device 'reserve2' is NAND, please consider
[   17.652444][ T1446] md/raid1:md2: active with 2 out of 2 mirrors
[   17.697455][ T1449] md/raid1:md1: active with 2 out of 2 mirrors
[   17.703566][ T1449] md1: detected capacity change from 0 to 2240512
[  OK  ] Started Timer to wait for …ctivating degraded array md1..
[  OK     17.758914][ T1446] md2: detected capacity change from 0 to 7769583232
0m] Started Timer to wait for …ctivating degraded array md2..
[  OK  ] Finished Helper to synchronize boot up for ifupdown.
[  OK  ] Stopped Timer to wait for …ctivating degraded array md1..
[  OK  ] Stopped Timer to wait for …ctivating degraded array md2..
[  OK  ] Started MD array monitor.
[ TIME ] Timed out waiting for device /dev/md0.
[DEPEND] Dependency failed for /dev/md0.
[DEPEND] Dependency failed for Swap.
         Mounting Mount /tmp as tmp…e access to the root device...
[  OK  ] Mounted Mount /tmp as tmpf…ite access to the root device.
[  OK  ] Reached target Local File Systems.
         Starting Raise network interfaces...
         Starting Preprocess NFS configuration...
         Starting Cleanup monit state file...
         Starting Cleanup PHP session files...
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Preprocess NFS configuration.
[  OK  ] Finished Cleanup monit state file.
[  OK  ] Finished Cleanup PHP session files.
[  OK  ] Finished Create Volatile Files and Directories.
[  OK  ] Reached target NFS client services.
         Starting RPC bind portmap service...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started RPC bind portmap service.
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems.
[  OK  ] Reached target RPC Port Mapper.
[  OK    104.391345][ T1515] mvneta f1034000.ethernet eth0: PHY [f1072004.mdio-m
0m] Finished   104.403322][ T1515] mvneta f1034000.ethernet eth0: configuring fo
;1;39mUpdate UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
         Starting Docker Socket for the API.
[  OK  ] Listening on Docker Socket for the API.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Avahi mDNS/DNS-SD Stack...
         Starting LSB: Starts syslogd...
[  OK  ] Started Regular background program processing daemon.
[  OK  ] Started D-Bus System Message Bus.
         Starting Remove Stale Onli…t4 Metadata Check Snapshots...
         Starting LSB: Load kernel …d to enable cpufreq scaling...
         Starting LSB: service and resource monitoring daemon...
         Starting System Logging Service...
         Starting User Login Management...
         Starting WPA supplicant...
[  OK  ] Started LSB: Starts syslogd.
[  OK  ] Finished Remove Stale Onli…ext4 Metadata Check Snapshots.
[  OK  ] Started System Logging Service.
         Starting LSB: Starts klogd...
[  OK  ] Started LSB: Starts klogd.
[  OK  ] Started User Login Management.
[  OK  ] Started LSB: service and resource monitoring daemon.
[  OK  ] Started WPA supplicant.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started LSB: Load kernel m…ded to enable cpufreq scaling.
         Starting LSB: set CPUFreq kernel parameters...
[  OK  ] Started LSB: set CPUFreq kernel parameters.
[  107.547533][   T25] mvneta f1034000.ethernet eth0: Link is Up - 1Gbps/Full -
[  107.556139][   T25] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  OK  ] Finished Wait for Network to be Configured.
[  OK  ] Finished Raise network interfaces.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
         Starting The Apache HTTP Server...
         Starting chrony, an NTP client/server...
         Starting containerd container runtime...
         Starting MariaDB 10.5.19 database server...
         Starting A high performanc… and a reverse proxy server...
         Starting The OpenMediaVaul…t processes the RPC request...
         Starting Generate the prelogin message...
         Starting The PHP 7.4 FastCGI Process Manager...
         Starting /etc/rc.local Compatibility...
         Starting Samba SMB Daemon...
         Starting OpenBSD Secure Shell server...
         Starting Permit User Sessions...
[  OK  ] Started Web Services Dynamic Discovery host daemon.
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started chrony, an NTP client/server.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Trigger anacron every hour.
[  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 Daily rotation of log files.
[  OK  ] Started Daily man-db regeneration.
[  OK  ] Started Clean PHP session files every 30 mins.
[  OK  ] Reached target Timers.
[  OK  ] Started Run anacron jobs.
         Starting LSB: start or stop rrdcached...
[  OK  ] Started The Apache HTTP Server.
[  OK  ] Started OpenBSD Secure Shell server.
[  144.685412] rc.local[1704]: Starting ssh (via systemctl): ssh.service.
[  144.818905] rc.local[1747]: Cannot read environment, using default
[  144.850491] rc.local[1747]: Cannot read default environment from file
[  144.990403] rc.local[1748]: <13>Jun  5 08:37:19 root[1748]: Cannot read u-boo
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttyS0.
[  OK  ] Started A high performance…er and a reverse proxy server.
[  OK  ] Started LSB: start or stop rrdcached.
         Starting Statistics collection and monitoring daemon...
[  OK  ] Started The OpenMediaVault…hat processes the RPC request.
[  OK  ] Started Statistics collection and monitoring daemon.
         Mounting Arbitrary Executable File Formats File System...
[  OK  ] Mounted Arbitrary Executable File Formats File System.
[  OK  ] Started The PHP 7.4 FastCGI Process Manager.
[  OK  ] Started containerd container runtime.
         Starting Docker Application Container Engine...
[  OK  ] Started Samba SMB Daemon.
[  OK  ] Started MariaDB 10.5.19 database server.
[  150.068817][ T1755] fbcon: Taking over console

openmediavault 6.4.2-1 (Shaitan) debian ttyS0
Copyright (C) 2009-2023 by Volker Theile. All rights reserved.

To manage the system visit the openmediavault workbench:

docker0: 172.17.0.1
eth0: 192.168.1.210
eth0: 2003:ed:171d:961:c090:9aff:feb0:fdd6
eth0: fe80::c090:9aff:feb0:fdd6

By default the workbench administrator account has the
username 'admin' and password 'openmediavault'.
It is recommended that you change the password for this account
within the workbench or using the 'omv-firstaid' CLI command.

For more information regarding this appliance, please visit the
web site: https://www.openmediavault.org

debian login: [  151.190458][ T1916] bridge: filtering via arp/ip/ip6tables is n
ripts to load br_netfilter if you need this.
[  151.234660][ T1916] Bridge firewalling registered
[  151.666897][ T1964] Initializing XFRM netlink socket

I've managed to get rid of the docker problem by adding
 systemd.unified_cgroup_hierarchy=0 
to the bootargs

I have another question, the system is always doing a mount check?
[42644.664952][T28684] mtdblock: MTD device 'u-boot' is NAND, please consider using UBI block devices instead.
[42644.687333][T28684] mtdblock: MTD device 'kernel' is NAND, please consider using UBI block devices instead.
[42644.710548][T28684] mtdblock: MTD device 'uRamdisk' is NAND, please consider using UBI block devices instead.
[42644.742099][T28684] mtdblock: MTD device 'image.cfs' is NAND, please consider using UBI block devices instead.
[42644.848377][T28684] mtdblock: MTD device 'rescue_fw' is NAND, please consider using UBI block devices instead.
[42644.889215][T28684] mtdblock: MTD device 'config' is NAND, please consider using UBI block devices instead.
[42644.912891][T28684] mtdblock: MTD device 'reserve1' is NAND, please consider using UBI block devices instead.
[42644.933011][T28684] mtdblock: MTD device 'reserve2' is NAND, please consider using UBI block devices instead.
very often.
where or what is here the problem?
also whenn it boots it takes about 1-2 minutes to connect to the network.

Thanks
Chris
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 06, 2023 01:17AM
Chris,

> please consider using UBI
> block devices instead.
> [42644.933011][T28684] mtdblock: MTD device
> 'reserve2' is NAND, please consider using UBI
> block devices instead.

> very often.
> where or what is here the problem?

There is no problem. It is just an info message that suggest using UBI for NAND partition. Usually you should see it only once. But I guess systemd or OMV decided that it should spam the syslog about that info. You can safely ignore it. Or find out how to make systemd/OMV more quiet.

> also whenn it boots it takes about 1-2 minutes to
> connect to the network.

Since you re not using RAID anymore, add this to the bootargs to make the kernel boot faster.

raid=noautodetect

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 06, 2023 05:21AM
But I'm still using RAID, but not booting from raid.
Should I still set that?

Is it enough to set that one option, or is it always needed to set up everything?
I mean the complete bootargs.
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 06, 2023 01:33PM
> But I'm still using RAID, but not booting from
> raid.
> Should I still set that?

In that case don't set raid=noautodetect

> I mean the complete bootargs.

When you want to add a kernel boot option, you need to change the env where the bootargs is set. Similar to your addition of systemd.unified_cgroup_hierarchy=0.

Quote

setenv set_bootargs_debian "setenv bootargs console=ttyS0,115200 root=),5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215
2) earlyprintk=serial systemd.unified_cgroup_hierarchy=0"

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 06, 2023 01:39PM
Your boot log showed some failures.

[DEPEND] Dependency failed for /dev/md0.
[DEPEND] Dependency failed for Swap.

So where is md0? and where is swap?
lsblk
swapon

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 06, 2023 01:45PM
Hi,
SWAP is there and functioning automatically .
md0 not anymore. Don’t really know why he is still looking for it

oot@debian:~# lsblk
NAME      MAJ:MIN RM  SIZE RO TYPE  MOUNTPOINT
sda         8:0    1  3.6T  0 disk
|-sda1      8:1    1   20G  0 part  /
|-sda2      8:2    1  1.1G  0 part
| `-md1     9:1    0  1.1G  0 raid1 [SWAP]
`-sda3      8:3    1  3.6T  0 part
  `-md2     9:2    0  3.6T  0 raid1 /srv/dev-disk-by-uuid-b6044502-7cf7-47f5-9f85-8182632d032
sdb         8:16   1  3.6T  0 disk
|-sdb1      8:17   1   20G  0 part  /srv/dev-disk-by-uuid-9b509a33-3753-48a6-917a-b0d309ba686
|-sdb2      8:18   1  1.1G  0 part
| `-md1     9:1    0  1.1G  0 raid1 [SWAP]
`-sdb3      8:19   1  3.6T  0 part
  `-md2     9:2    0  3.6T  0 raid1 /srv/dev-disk-by-uuid-b6044502-7cf7-47f5-9f85-8182632d032
sdc         8:32   1  1.9G  0 disk
`-sdc1      8:33   1  1.9G  0 part
mtdblock0  31:0    0    5M  0 disk
mtdblock1  31:1    0    5M  0 disk
mtdblock2  31:2    0    5M  0 disk
mtdblock3  31:3    0  185M  0 disk
mtdblock4  31:4    0   15M  0 disk
mtdblock5  31:5    0   20M  0 disk
mtdblock6  31:6    0   10M  0 disk
mtdblock7  31:7    0   10M  0 disk
root@debian:~#
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
June 06, 2023 04:55PM
Chris,

> SWAP is there and functioning automatically .
> md0 not anymore. Don’t really know why he is
> still looking for it

I guess this will be your own research about RAID (Perhaps you need to reassemble the RAID array?).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 15, 2023 11:49AM
Hi.
I have been unable to boot up my NAS for 3 weeks.
I'm getting close to running Debian, but something is going wrong.
Can you tell me what's wrong?
try to boot from USB port 2, fs=ext2, u-Boot patched, serial interface soldered.
logs:
>>printenv
BootROM - 1.73

Booting from NAND flash


General initialization - Version: 1.0.0

Detected Device ID 6820

High speed PHY - Version: 2.0


Load WD GrandTeton Serdes Config:

board SerDes lanes topology details:

 | Lane #  | Speed |  Type       |

 --------------------------------

 |   0    |  06   |  SATA0	|

 |   1    |  05   |  PCIe0	|

 |   2    |  06   |  SATA1	|

 |   3    |  05   |  USB3 HOST1	|

 |   4    |  05   |  USB3 HOST0	|

 |   5    |  00   |  SGMII2	|

 --------------------------------

PCIe, Idx 0: detected no link

High speed PHY - Ended Successfully

DDR3 Training Sequence - Ver TIP-1.26.0

mvSysEnvGetTopologyUpdateInfo: TWSI Read failed

DDR3 Training Sequence - Switching XBAR Window to FastPath Window 

DDR3 Training Sequence - Ended Successfully

BootROM: Image checksum verification PASSED


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


U-Boot 2013.01_v1.04 (Nov 25 2023 - 14:07:59) Marvell version: 2014_T3.0p6

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

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

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

Environment size: 4172/524284 bytes
Marvell>>

>>usb boot
Booting from USB ...
(Re)start USB...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
loading Image ...
5236595 bytes read in 472 ms (10.6 MiB/s)
loading uInitrd ...
9649885 bytes read in 563 ms (16.3 MiB/s)
## Booting image at 02000020 ...
## Booting kernel from Legacy Image at 02000020 ...
   Image Name:   Linux-5.13.8-mvebu-tld-1
   Created:      2023-12-13  19:19:22 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5236531 Bytes = 5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   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
...
...
[    4.071023][  T538] hub 5-0:1.0: 1 port detected
[    4.076526][    T1] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    4.085156][    T1] Waiting 10 sec before mounting root device...
[    4.129301][ T1442] usb 2-1: new high-speed USB device number 2 using xhci-hcd
[    4.309628][ T1442] usb 2-1: New USB device found, idVendor=0781, idProduct=5151, bcdDevice= 2.00
[    4.318557][ T1442] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.326450][ T1442] usb 2-1: Product: Cruzer Micro
[    4.331280][ T1442] usb 2-1: Manufacturer: SanDisk
[    4.336099][ T1442] usb 2-1: SerialNumber: 1233930CF760D009
[    4.342451][ T1442] usb-storage 2-1:1.0: USB Mass Storage device detected
[    4.349600][ T1442] scsi host2: usb-storage 2-1:1.0
[    5.379672][  T538] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer Micro     8.02 PQ: 0 ANSI: 0 CCS
[    5.389799][    T7] sd 2:0:0:0: [sda] 3907583 512-byte logical blocks: (2.00 GB/1.86 GiB)
[    5.398191][    T7] sd 2:0:0:0: [sda] Write Protect is off
[    5.403880][    T7] sd 2:0:0:0: [sda] No Caching mode page found
[    5.409961][    T7] sd 2:0:0:0: [sda] Assuming drive cache: write through
[    5.420012][    T7]  sda: sda1
[    5.424270][    T7] sd 2:0:0:0: [sda] Attached SCSI removable disk
[   14.579294][    T1] md: Waiting for all devices to be available before autodetect
[   14.586824][    T1] md: If you don't use raid, use raid=noautodetect
[   14.593230][    T1] md: Autodetecting RAID arrays.
[   14.598048][    T1] md: autorun ...
[   14.601563][    T1] md: ... autorun DONE.
[   14.605912][    T1] VFS: Cannot open root device "LABEL=rootfs" or unknown-block(0,0): error -6
[   14.614701][    T1] Please append a correct "root=" boot option; here are the available partitions:
[   14.623817][    T1] 1f00            5120 mtdblock0 
[   14.623822][    T1]  (driver?)
[   14.631808][    T1] 1f01            5120 mtdblock1 
[   14.631812][    T1]  (driver?)
[   14.639798][    T1] 1f02            5120 mtdblock2 
[   14.639802][    T1]  (driver?)
[   14.647775][    T1] 1f03          189440 mtdblock3 
[   14.647779][    T1]  (driver?)
[   14.655759][    T1] 1f04           15360 mtdblock4 
[   14.655764][    T1]  (driver?)
[   14.663765][    T1] 1f05           20480 mtdblock5 
[   14.663769][    T1]  (driver?)
[   14.671755][    T1] 1f06           10240 mtdblock6 
[   14.671759][    T1]  (driver?)
[   14.679749][    T1] 1f07           10240 mtdblock7 
[   14.679754][    T1]  (driver?)
[   14.687725][    T1] 0800         1953791 sda 
[   14.687729][    T1]  driver: sd
[   14.695272][    T1]   0801         1951744 sda1 2d606287-01
[   14.695277][    T1] 
[   14.703089][    T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   14.712099][    T1] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.13.8-mvebu-tld-1 #1.0
[   14.719974][    T1] Hardware name: Marvell Armada 380/385 (Device Tree)
[   14.726631][    T1] [<c01153e8>] (unwind_backtrace) from [<c01100f8>] (show_stack+0x10/0x14)
[   14.735133][    T1] [<c01100f8>] (show_stack) from [<c0b05d18>] (dump_stack+0x80/0x9c)
[   14.743103][    T1] [<c0b05d18>] (dump_stack) from [<c0b01150>] (panic+0xe4/0x2f0)
[   14.750725][    T1] [<c0b01150>] (panic) from [<c1001ad8>] (mount_block_root+0x1b4/0x238)
[   14.758961][    T1] [<c1001ad8>] (mount_block_root) from [<c1001c4c>] (mount_root+0xf0/0x11c)
[   14.767540][    T1] [<c1001c4c>] (mount_root) from [<c1001dbc>] (prepare_namespace+0x144/0x180)
[   14.776295][    T1] [<c1001dbc>] (prepare_namespace) from [<c1001640>] (kernel_init_freeable+0x230/0x29c)
[   14.785923][    T1] [<c1001640>] (kernel_init_freeable) from [<c0b0d9ac>] (kernel_init+0x8/0x118)
[   14.794855][    T1] [<c0b0d9ac>] (kernel_init) from [<c0100150>] (ret_from_fork+0x14/0x24)
[   14.803173][    T1] Exception stack(0xc18cffb0 to 0xc18cfff8)
[   14.808953][    T1] ffa0:                                     00000000 00000000 00000000 00000000
[   14.817875][    T1] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   14.826796][    T1] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   14.834149][    C0] CPU0: stopping
[   14.837574][    C0] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.13.8-mvebu-tld-1 #1.0
[   14.845451][    C0] Hardware name: Marvell Armada 380/385 (Device Tree)
[   14.852103][    C0] [<c01153e8>] (unwind_backtrace) from [<c01100f8>] (show_stack+0x10/0x14)
[   14.860599][    C0] [<c01100f8>] (show_stack) from [<c0b05d18>] (dump_stack+0x80/0x9c)
[   14.868567][    C0] [<c0b05d18>] (dump_stack) from [<c0112bbc>] (do_handle_IPI+0x250/0x30c)
[   14.876973][    C0] [<c0112bbc>] (do_handle_IPI) from [<c0112c8c>] (ipi_handler+0x14/0x20)
[   14.885291][    C0] [<c0112c8c>] (ipi_handler) from [<c0183c3c>] (handle_percpu_devid_irq+0x58/0x108)
[   14.894575][    C0] [<c0183c3c>] (handle_percpu_devid_irq) from [<c017e820>] (generic_handle_irq+0x28/0x38)
[   14.904377][    C0] [<c017e820>] (generic_handle_irq) from [<c017e9ec>] (__handle_domain_irq+0x90/0xa0)
[   14.913828][    C0] [<c017e9ec>] (__handle_domain_irq) from [<c0621a00>] (gic_handle_irq+0x74/0x84)
[   14.922934][    C0] [<c0621a00>] (gic_handle_irq) from [<c010128c>] (__irq_svc+0x6c/0xa8)
[   14.931163][    C0] Exception stack(0xc1101ef8 to 0xc1101f40)
[   14.936942][    C0] 1ee0:                                                       00000acc ef7cb214
[   14.945865][    C0] 1f00: 00000000 c011df80 00000000 00000000 c1109fc8 00000001 ffffe000 c110a064
[   14.954788][    C0] 1f20: c0e5ff53 c1042000 c1103d00 c1101f48 c010cd4c c010cd3c 60000113 ffffffff
[   14.963708][    C0] [<c010128c>] (__irq_svc) from [<c010cd3c>] (arch_cpu_idle+0x1c/0x38)
[   14.971849][    C0] [<c010cd3c>] (arch_cpu_idle) from [<c0b12610>] (default_idle_call+0x30/0x50)
[   14.980689][    C0] [<c0b12610>] (default_idle_call) from [<c0158708>] (do_idle+0x134/0x2b0)
[   14.989184][    C0] [<c0158708>] (do_idle) from [<c0158b80>] (cpu_startup_entry+0x18/0x1c)
[   14.997502][    C0] [<c0158b80>] (cpu_startup_entry) from [<c100120c>] (start_kernel+0x6bc/0x86c)
[   15.006431][    C0] [<c100120c>] (start_kernel) from [<00000000>] (0x0)
[   15.013094][    T1] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---

>>nand boot
Booting from stock ...
bootargs=root=/dev/ram console=ttyS0,115200

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

NAND read: device 0 offset 0xa00000, size 0x500000
 5242880 bytes read: OK
## Booting image at 00a00000 ...
## Booting kernel from Legacy Image at 00a00000 ...
   Image Name:   Kernel
   Created:      2022-10-27   8:25:58 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2928473 Bytes = 2.8 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 00f00000 ...
   Image Name:   Ramdisk
   Created:      2023-09-04  13:18:46 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    2260297 Bytes = 2.2 MiB
   Load Address: 00e00000
   Entry Point:  00e00000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.22-armada-18.09.3 (kman@kmachine) (gcc version 8.3.0 (Debian 8.3.0-2)) #1 SMP Thu Oct 27 08:25:39 UTC 2022 ga-18.09.3 Build-30
...
...
root@MyCloudEX2Ultra  # uname -a
Linux MyCloudEX2Ultra 4.14.22-armada-18.09.3 #1 SMP Thu Oct 27 08:25:39 UTC 2022 ga-18.09.3 Build-30 armv7l GNU/Linux
root@MyCloudEX2Ultra  # read /var/log/alert_send.xml not exist
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 15, 2023 02:37PM
an0,

The error indicated that the kernel could not find the USB rootfs.

So go back and trace the steps how you created the rootfs. Did you follow my instruction in the rootfs release?

Quote

Important: all steps below must be done while logging in as root user (not sudo). If you are not the root user then don't continue, because the rootfs will not work.

To become root
su -

Quote

1. Format a new USB drive with a single Ext3 partition, and label it rootfs (Ext4 might work for some MVEBU box)

You should use command line fdisk to create the partition. And then command line mkfs.ext3 to format the partition. And check the label of the partition, make sure it is rootfs. And don't use GUI (i.e on Ubuntu, Mint...) to do this step.

Attach the drive to the a Linux box. Assuming the USB drive is assigned /dev/sdb by the kernel on this host. If it was auto-mounted, then unmount it.
fdisk /dev/sdb
mkfs.ext3 -L rootfs /dev/sdb1

Quote

2. Mount the drive on a Linux box. cd to top level directory and extract the rootfs. Assuming the USB drive is mounted at /media/sdb1
cd /media/sdb1
tar -xjf Debian-5.13.8-mvebu-tld-1-rootfs-bodhi.tar.bz2

Mount the drive to /media/sdb1. And extract rootf as instructed above.

Quote

3. Create uImage with DTB appended. I am using the Zyxel NAS326 as an example here. Please replace armada-380-zyxel-nas326.dtb below with the appropriate DTB name for your box.

cd /media/sdb1/boot
cp -a zImage-5.13.8-mvebu-tld-1 zImage.fdt
cat dts/armada-380-zyxel-nas326.dtb >> zImage.fdt
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.13.8-mvebu-tld-1 -d zImage.fdt uImage

Make sure you use the correct DTB for this box in Step 3.

Quote

4. Adjust fstab (optional)

Edit /media/sdb1/etc/fstab entry for root device, it it is not Ext3.
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
LABEL=rootfs / ext3 noatime,errors=remount-ro 0 1

5. Sync, umount, and Done

sync
sync
umount /media/sdb1

That's it!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 16, 2023 02:20AM
bodhi,

no chance...
su

# fdisk /dev/sdb
d, n, p, w

Command (m for help): i
Selected partition 1
         Device: /dev/sdb1
          Start: 2048
            End: 3907582
        Sectors: 3905535
      Cylinders: 1017
           Size: 1.9G
             Id: 83
           Type: Linux
    Start-C/H/S: 0/33/3
      End-C/H/S: 1016/33/33

# mkfs.ext3 -L rootfs /dev/sdb1
      
# cp -a zImage-5.13.8-mvebu-tld-1 zImage.fdt
# cat dts/armada-385-wd-ex2-ultra.dtb >> zImage.fdt
# mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.13.8-mvebu-tld-1 -d zImage.fdt uImage
Image Name:   Linux-5.13.8-mvebu-tld-1
Created:      Sat Dec 16 11:00:31 2023
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    5236531 Bytes = 5113.80 KiB = 4.99 MiB
Load Address: 00008000
Entry Point:  00008000

try to boot from USB
BootROM - 1.73

Booting from NAND flash


General initialization - Version: 1.0.0

Detected Device ID 6820

High speed PHY - Version: 2.0


Load WD GrandTeton Serdes Config:

board SerDes lanes topology details:

 | Lane #  | Speed |  Type       |

 --------------------------------

 |   0    |  06   |  SATA0	|

 |   1    |  05   |  PCIe0	|

 |   2    |  06   |  SATA1	|

 |   3    |  05   |  USB3 HOST1	|

 |   4    |  05   |  USB3 HOST0	|

 |   5    |  00   |  SGMII2	|

 --------------------------------

PCIe, Idx 0: detected no link

High speed PHY - Ended Successfully

DDR3 Training Sequence - Ver TIP-1.26.0

mvSysEnvGetTopologyUpdateInfo: TWSI Read failed

DDR3 Training Sequence - Switching XBAR Window to FastPath Window 

DDR3 Training Sequence - Ended Successfully

BootROM: Image checksum verification PASSED


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


U-Boot 2013.01_v1.04 (Nov 25 2023 - 14:07:59) Marvell version: 2014_T3.0p6

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

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

NAND:  ID: dac2 ,256 MiB
MMC:   mv_sdh: 0
PCI-e 0: Detected No Link.
USB2.0 0: Host Mode
USB3.0 0: Host Mode
USB3.0 1: Host Mode
Board configuration detected:
Creating 1 MTD partitions on "nand0":
0x00000f500000-0x00000ff00000 : "mtd=7"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd1 to ubi0
UBI: MTD device name:            "mtd=7"
UBI: MTD device size:            10 MiB
UBI: number of good PEBs:        80
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             32
UBI: total number of reserved PEBs: 48
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 3/0
UBIFS: mounted UBI device 0, volume 0, name "reserve2"
UBIFS: mounted read-only
UBIFS: file system size:   4063232 bytes (3968 KiB, 3 MiB, 32 LEBs)
UBIFS: journal size:       1015809 bytes (992 KiB, 0 MiB, 6 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  200807 bytes (196 KiB)
Loading file '/mac_addr' to addr 0x02000000 with size 18 (0x00000012)...
Done
Set lan 2 WakeOnLan ok
Enable HD1
Enable HD2
Net:   
|  port  | Interface | PHY address  |
|--------|-----------|--------------|
| egiga0 |   RGMII   |   In-Band    |
| egiga1 |   RGMII   |   In-Band    |
| egiga2 |   SGMII   |     0x00     |
egiga0, egiga1, egiga2 [PRIME]
Hit any key to stop autoboot:  1  0 
Booting from USB ...
(Re)start USB...
USB0:   Port (usbActive) : 0	Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       scanning usb for ethernet devices... 0 Ethernet Device(s) found
loading Image ...
5236595 bytes read in 472 ms (10.6 MiB/s)
loading uInitrd ...
9649885 bytes read in 568 ms (16.2 MiB/s)
## Booting image at 02000020 ...
## Booting kernel from Legacy Image at 02000020 ...
   Image Name:   Linux-5.13.8-mvebu-tld-1
   Created:      2023-12-16   8:00:31 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5236531 Bytes = 5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   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=LABEL=rootfs rootdelay=10 mtdparts=armada-nand:5m(u-boot)ro,5m@5m(kernel),5m@10m(uRamdisk),185m@15m(image.cfs),15m@200m(rescue_fw),20m@215m(config),10m@235m(reserve1),10m@245m(reserve2) earlyprintk=serial init=/bin/system
[    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.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.047021][    T0] Console: colour dummy device 80x30
[    0.052168][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 1332.00 BogoMIPS (lpj=6660000)
[    0.063439][    T0] pid_max: default: 32768 minimum: 301
[    0.068861][    T0] LSM: Security Framework initializing
[    0.074205][    T0] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.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.102631][    T1] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.109440][    T1] Setting up static identity map for 0x100000 - 0x100060
[    0.116387][    T1] mvebu-soc-id: MVEBU SoC ID=0x6820, Rev=0x4
[    0.122336][    T1] mvebu-pmsu: Initializing Power Management Service Unit
[    0.129293][    T1] rcu: Hierarchical SRCU implementation.
[    0.135296][    T1] smp: Bringing up secondary CPUs ...
[    0.140919][    T1] Booting CPU 1
[    0.144376][    T0] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.144386][    T0] CPU1: Spectre v2: using BPIALL workaround
[    0.156532][    T1] smp: Brought up 1 node, 2 CPUs
[    0.161334][    T1] SMP: Total of 2 processors activated (2664.00 BogoMIPS).
[    0.168367][    T1] CPU: All CPU(s) started in SVC mode.
[    0.174040][    T1] devtmpfs: initialized
[    0.180914][    T1] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.189430][   T24] wait_for_initramfs() called before rootfs_initcalls
[    0.189570][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.206549][    T1] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.236369][    T1] prandom32: self test passed (less than 6 bits correlated)
[    0.243506][    T1] prandom: seed boundary self test passed
[    0.250626][    T1] prandom: 100 self tests passed
[    0.255411][    T1] pinctrl core: initialized pinctrl subsystem
[    0.262476][    T1] NET: Registered protocol family 16
[    0.268381][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.276520][    T1] audit: initializing netlink subsys (disabled)
[    0.282731][   T36] audit: type=2000 audit(0.250:1): state=initialized audit_enabled=0 res=1
[    0.283909][    T1] thermal_sys: Registered thermal governor 'step_wise'
[    0.291442][    T1] cpuidle: using governor ladder
[    0.302926][    T1] cpuidle: using governor menu
[    0.307727][    T1] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.316397][    T1] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.323052][    T1] mvebu-pmsu: CPU hotplug support is currently broken on Armada 38x: disabling
[    0.331834][    T1] mvebu-pmsu: CPU idle is currently broken on Armada 38x: disabling
[    0.547092][    T1] raid6: int32x8  gen()   243 MB/s
[    0.717103][    T1] raid6: int32x8  xor()   168 MB/s
[    0.887107][    T1] raid6: int32x4  gen()   280 MB/s
[    1.057129][    T1] raid6: int32x4  xor()   170 MB/s
[    1.227062][    T1] raid6: int32x2  gen()   447 MB/s
[    1.397045][    T1] raid6: int32x2  xor()   258 MB/s
[    1.567063][    T1] raid6: int32x1  gen()   497 MB/s
[    1.737039][    T1] raid6: int32x1  xor()   208 MB/s
[    1.741984][    T1] raid6: using algorithm int32x1 gen() 497 MB/s
[    1.748063][    T1] raid6: .... xor() 208 MB/s, rmw enabled
[    1.753613][    T1] raid6: using intx1 recovery algorithm
[    1.759770][    T1] vgaarb: loaded
[    1.763482][    T1] SCSI subsystem initialized
[    1.768249][    T1] usbcore: registered new interface driver usbfs
[    1.774445][    T1] usbcore: registered new interface driver hub
[    1.780489][    T1] usbcore: registered new device driver usb
[    1.786431][    T1] mc: Linux media interface: v0.10
[    1.791432][    T1] videodev: Linux video capture interface: v2.00
[    1.797687][    T1] pps_core: LinuxPPS API ver. 1 registered
[    1.803326][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.813143][    T1] PTP clock support registered
[    1.819104][    T1] clocksource: Switched to clocksource arm_global_timer
[    1.853500][    T1] VFS: Disk quotas dquot_6.6.0
[    1.858171][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.872746][    T1] NET: Registered protocol family 2
[    1.877903][    T1] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    1.889122][    T1] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.898168][    T1] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    1.906788][    T1] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.914901][    T1] TCP: Hash tables configured (established 8192 bind 8192)
[    1.922078][    T1] MPTCP token hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    1.930222][    T1] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.937528][    T1] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    1.945392][    T1] NET: Registered protocol family 1
[    1.950830][    T1] RPC: Registered named UNIX socket transport module.
[    1.957423][    T1] RPC: Registered udp transport module.
[    1.962853][    T1] RPC: Registered tcp transport module.
[    1.968232][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.975409][    T1] PCI: CLS 0 bytes, default 64
[    1.980171][    T1] NetWinder Floating Point Emulator V0.97 (double precision)
[    1.987575][    T1] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    2.626493][    T1] Initialise system trusted keyrings
[    2.631674][    T1] Key type blacklist registered
[    2.636676][    T1] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    2.644012][    T1] zbud: loaded
[    2.648092][    T1] NFS: Registering the id_resolver key type
[    2.653851][    T1] Key type id_resolver registered
[    2.658712][    T1] Key type id_legacy registered
[    2.663446][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.670833][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    2.678893][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.746478][    T1] xor: measuring software checksum speed
[    2.756494][    T1]    arm4regs        :  2172 MB/sec
[    2.767558][    T1]    8regs           :  1637 MB/sec
[    2.778277][    T1]    32regs          :  1733 MB/sec
[    2.783316][    T1] xor: using function: arm4regs (2172 MB/sec)
[    2.789226][    T1] async_tx: api initialized (async)
[    2.794261][    T1] Key type asymmetric registered
[    2.799033][    T1] Asymmetric key parser 'x509' registered
[    2.804676][    T1] bounce: pool size: 64 pages
[    2.809266][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    2.817393][    T1] io scheduler bfq registered
[    2.823408][    T1] armada-38x-pinctrl f1018000.pinctrl: registered pinctrl driver
[    2.831834][    T1] debugfs: Directory 'f1018100.gpio' with parent 'regmap' already present!
[    2.840799][    T1] debugfs: Directory 'f1018140.gpio' with parent 'regmap' already present!
[    2.850098][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    2.909672][    T1] mv_xor f1060800.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    2.919269][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    2.979669][    T1] mv_xor f1060900.xor: Marvell XOR (Descriptor Mode): ( xor cpy intr )
[    3.052857][    T1] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    3.062499][    T1] printk: console [ttyS0] disabled
[    3.087591][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 31, base_baud = 12500000) is a 16550A
[    3.097352][    T1] printk: console [ttyS0] enabled
[    3.097352][    T1] printk: console [ttyS0] enabled
[    3.107187][    T1] printk: bootconsole [earlycon0] disabled
[    3.107187][    T1] printk: bootconsole [earlycon0] disabled
[    3.139670][    T1] f1012100.serial: ttyS1 at MMIO 0xf1012100 (irq = 32, base_baud = 12500000) is a 16550A
[    3.150385][    T1] ahci-mvebu f10a8000.sata: supply ahci not found, using dummy regulator
[    3.158816][    T1] ahci-mvebu f10a8000.sata: supply phy not found, using dummy regulator
[    3.167104][    T1] ahci-mvebu f10a8000.sata: supply target not found, using dummy regulator
[    3.175708][    T1] ahci-mvebu f10a8000.sata: AHCI 0001.0000 32 slots 2 ports 6 Gbps 0x3 impl platform mode
[    3.185521][    T1] ahci-mvebu f10a8000.sata: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs 
[    3.196058][    T1] scsi host0: ahci-mvebu
[    3.200649][    T1] scsi host1: ahci-mvebu
[    3.204943][    T1] ata1: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x100 irq 52
[    3.213629][    T1] ata2: SATA max UDMA/133 mmio [mem 0xf10a8000-0xf10a9fff] port 0x180 irq 52
[    3.223410][    T1] nand: device found, Manufacturer ID: 0xc2, Chip ID: 0xda
[    3.230554][    T1] nand: Macronix MX30LF2G18AC
[    3.235112][    T1] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    3.244014][    T1] Bad block table found at page 131008, version 0x01
[    3.251246][    T1] Bad block table found at page 130944, version 0x01
[    3.258140][    T1] nand_read_bbt: bad block at 0x000003bc0000
[    3.264022][    T1] nand_read_bbt: bad block at 0x000005be0000
[    3.269966][    T1] 8 fixed-partitions partitions found on MTD device pxa3xx_nand-0
[    3.277667][    T1] Creating 8 MTD partitions on "pxa3xx_nand-0":
[    3.283803][    T1] 0x000000000000-0x000000500000 : "U-Boot"
[    3.290419][    T1] 0x000000500000-0x000000a00000 : "uImage"
[    3.296925][    T1] 0x000000a00000-0x000000f00000 : "uRamdisk"
[    3.303624][    T1] 0x000000f00000-0x00000c800000 : "image.cfs"
[    3.310776][    T1] 0x00000c800000-0x00000d700000 : "rescue fw"
[    3.317592][    T1] 0x00000d700000-0x00000eb00000 : "config"
[    3.324153][    T1] 0x00000eb00000-0x00000f500000 : "reserve1"
[    3.330849][    T1] 0x00000f500000-0x00000ff00000 : "reserve2"
[    3.338062][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[    3.346663][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[    3.357687][    T1] libphy: Fixed MDIO Bus: probed
[    3.363487][    T1] libphy: orion_mdio_bus: probed
[    3.369477][    T1] mvneta_bm f10c8000.bm: Buffer Manager for network controller enabled
[    3.381521][    T1] mvneta f1034000.ethernet eth0: Using random mac address 4e:7c:1f:a1:16:6b
[    3.390459][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.397745][    T1] ehci-pci: EHCI PCI platform driver
[    3.402972][    T1] ehci-orion: EHCI orion driver
[    3.407859][    T1] orion-ehci f1058000.usb: EHCI Host Controller
[    3.414021][    T1] orion-ehci f1058000.usb: new USB bus registered, assigned bus number 1
[    3.422425][    T1] orion-ehci f1058000.usb: irq 48, io mem 0xf1058000
[    3.449119][    T1] orion-ehci f1058000.usb: USB 2.0 started, EHCI 1.00
[    3.455960][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    3.465002][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.472989][    T1] usb usb1: Product: EHCI Host Controller
[    3.478608][    T1] usb usb1: Manufacturer: Linux 5.13.8-mvebu-tld-1 ehci_hcd
[    3.485802][    T1] usb usb1: SerialNumber: f1058000.usb
[    3.491560][    T1] hub 1-0:1.0: USB hub found
[    3.496058][    T1] hub 1-0:1.0: 1 port detected
[    3.501803][    T1] usbcore: registered new interface driver usblp
[    3.508099][    T1] usbcore: registered new interface driver usb-storage
[    3.515098][    T1] mousedev: PS/2 mouse device common for all mice
[    3.522417][    T1] armada38x-rtc f10a3800.rtc: registered as rtc0
[    3.528750][    T1] armada38x-rtc f10a3800.rtc: setting system clock to 2023-12-16T08:06:58 UTC (1702714018)
[    3.539662][    T1] i2c /dev entries driver
[    3.544052][    T1] mv64xxx_i2c f1011000.i2c: can't get pinctrl, bus recovery not supported
[    3.550483][ T1243] ata2: SATA link down (SStatus 0 SControl 300)
[    3.558752][ T1238] ata1: SATA link down (SStatus 0 SControl 300)
[    3.565154][    T1] mv64xxx_i2c f1011100.i2c: can't get pinctrl, bus recovery not supported
[    3.576164][    T1] orion_wdt: Initial timeout 171 sec
[    3.581754][    T1] device-mapper: uevent: version 1.0.3
[    3.587285][    T1] device-mapper: ioctl: 4.45.0-ioctl (2021-03-22) initialised: dm-devel@redhat.com
[    3.596687][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded
[    3.603969][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded
[    3.611328][    T1] device-mapper: multipath service-time: version 0.3.0 loaded
[    3.618708][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    3.625542][    T1] device-mapper: raid: Loading target version 1.15.1
[    3.634794][    T1] marvell-cesa f1090000.crypto: CESA device successfully registered
[    3.642882][    T1] hid: raw HID events driver (C) Jiri Kosina
[    3.648982][    T1] usbcore: registered new interface driver usbhid
[    3.655330][    T1] usbhid: USB HID core driver
[    3.660147][    T1] drop_monitor: Initializing network drop monitor service
[    3.667464][    T1] NET: Registered protocol family 10
[    3.673395][    T1] Segment Routing with IPv6
[    3.677780][    T1] RPL Segment Routing with IPv6
[    3.682589][    T1] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.690159][    T1] NET: Registered protocol family 17
[    3.695456][    T1] 8021q: 802.1Q VLAN Support v1.8
[    3.700418][    T1] Key type dns_resolver registered
[    3.705556][    T1] ThumbEE CPU extension supported.
[    3.710564][    T1] Registering SWP/SWPB emulation handler
[    3.716406][    T1] registered taskstats version 1
[    3.721266][    T1] Loading compiled-in X.509 certificates
[    3.727173][    T1] zswap: loaded using pool lzo/zbud
[    3.732516][    T1] Key type ._fscrypt registered
[    3.737251][    T1] Key type .fscrypt registered
[    3.741913][    T1] Key type fscrypt-provisioning registered
[    3.748759][    T1] Key type big_key registered
[    3.754099][    T1] Key type encrypted registered
[    3.761602][  T535] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    3.767663][  T535] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 2
[    3.776034][  T535] xhci-hcd f10f0000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    3.786097][  T535] xhci-hcd f10f0000.usb3: irq 54, io mem 0xf10f0000
[    3.792825][  T535] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    3.801858][  T535] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.809833][  T535] usb usb2: Product: xHCI Host Controller
[    3.815438][  T535] usb usb2: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    3.822627][  T535] usb usb2: SerialNumber: f10f0000.usb3
[    3.828559][  T535] hub 2-0:1.0: USB hub found
[    3.833080][  T535] hub 2-0:1.0: 1 port detected
[    3.838080][  T535] xhci-hcd f10f0000.usb3: xHCI Host Controller
[    3.844159][  T535] xhci-hcd f10f0000.usb3: new USB bus registered, assigned bus number 3
[    3.852412][  T535] xhci-hcd f10f0000.usb3: Host supports USB 3.0 SuperSpeed
[    3.859617][  T535] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.868538][  T535] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[    3.877567][  T535] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.885545][  T535] usb usb3: Product: xHCI Host Controller
[    3.891158][  T535] usb usb3: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    3.898334][  T535] usb usb3: SerialNumber: f10f0000.usb3
[    3.904228][  T535] hub 3-0:1.0: USB hub found
[    3.908732][  T535] hub 3-0:1.0: 1 port detected
[    3.914041][  T535] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    3.920119][  T535] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 4
[    3.928423][  T535] xhci-hcd f10f8000.usb3: hcc params 0x0a000990 hci version 0x100 quirks 0x0000000000010010
[    3.938443][  T535] xhci-hcd f10f8000.usb3: irq 55, io mem 0xf10f8000
[    3.945254][  T535] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[    3.954285][  T535] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.962258][  T535] usb usb4: Product: xHCI Host Controller
[    3.967863][  T535] usb usb4: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    3.975097][  T535] usb usb4: SerialNumber: f10f8000.usb3
[    3.981124][  T535] hub 4-0:1.0: USB hub found
[    3.985622][  T535] hub 4-0:1.0: 1 port detected
[    3.990681][  T535] xhci-hcd f10f8000.usb3: xHCI Host Controller
[    3.996733][  T535] xhci-hcd f10f8000.usb3: new USB bus registered, assigned bus number 5
[    4.004997][  T535] xhci-hcd f10f8000.usb3: Host supports USB 3.0 SuperSpeed
[    4.012150][  T535] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.021153][  T535] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[    4.030178][  T535] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.038141][  T535] usb usb5: Product: xHCI Host Controller
[    4.043754][  T535] usb usb5: Manufacturer: Linux 5.13.8-mvebu-tld-1 xhci-hcd
[    4.050987][  T535] usb usb5: SerialNumber: f10f8000.usb3
[    4.056855][  T535] hub 5-0:1.0: USB hub found
[    4.061370][  T535] hub 5-0:1.0: 1 port detected
[    4.067008][    T1] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    4.075460][    T1] Waiting 10 sec before mounting root device...
[    4.119130][   T25] usb 2-1: new high-speed USB device number 2 using xhci-hcd
[    4.299452][   T25] usb 2-1: New USB device found, idVendor=0781, idProduct=5151, bcdDevice= 2.00
[    4.308381][   T25] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.316271][   T25] usb 2-1: Product: Cruzer Micro
[    4.321101][   T25] usb 2-1: Manufacturer: SanDisk
[    4.325919][   T25] usb 2-1: SerialNumber: 1233930CF760D009
[    4.332290][   T25] usb-storage 2-1:1.0: USB Mass Storage device detected
[    4.339420][   T25] scsi host2: usb-storage 2-1:1.0
[    5.379526][   T23] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer Micro     8.02 PQ: 0 ANSI: 0 CCS
[    5.389777][  T535] sd 2:0:0:0: [sda] 3907583 512-byte logical blocks: (2.00 GB/1.86 GiB)
[    5.398155][  T535] sd 2:0:0:0: [sda] Write Protect is off
[    5.403840][  T535] sd 2:0:0:0: [sda] No Caching mode page found
[    5.409919][  T535] sd 2:0:0:0: [sda] Assuming drive cache: write through
[    5.420003][  T535]  sda: sda1
[    5.424311][  T535] sd 2:0:0:0: [sda] Attached SCSI removable disk
[   14.579118][    T1] md: Waiting for all devices to be available before autodetect
[   14.586649][    T1] md: If you don't use raid, use raid=noautodetect
[   14.593054][    T1] md: Autodetecting RAID arrays.
[   14.597872][    T1] md: autorun ...
[   14.601387][    T1] md: ... autorun DONE.
[   14.605747][    T1] VFS: Cannot open root device "LABEL=rootfs" or unknown-block(0,0): error -6
[   14.614517][    T1] Please append a correct "root=" boot option; here are the available partitions:
[   14.623643][    T1] 1f00            5120 mtdblock0 
[   14.623648][    T1]  (driver?)
[   14.631636][    T1] 1f01            5120 mtdblock1 
[   14.631641][    T1]  (driver?)
[   14.639628][    T1] 1f02            5120 mtdblock2 
[   14.639632][    T1]  (driver?)
[   14.647605][    T1] 1f03          189440 mtdblock3 
[   14.647609][    T1]  (driver?)
[   14.655588][    T1] 1f04           15360 mtdblock4 
[   14.655592][    T1]  (driver?)
[   14.663594][    T1] 1f05           20480 mtdblock5 
[   14.663599][    T1]  (driver?)
[   14.671583][    T1] 1f06           10240 mtdblock6 
[   14.671588][    T1]  (driver?)
[   14.679574][    T1] 1f07           10240 mtdblock7 
[   14.679578][    T1]  (driver?)
[   14.687550][    T1] 0800         1953791 sda 
[   14.687554][    T1]  driver: sd
[   14.695102][    T1]   0801         1952767 sda1 2d606287-01
[   14.695106][    T1] 
[   14.702920][    T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   14.711929][    T1] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.13.8-mvebu-tld-1 #1.0
[   14.719805][    T1] Hardware name: Marvell Armada 380/385 (Device Tree)
[   14.726460][    T1] [<c01153e8>] (unwind_backtrace) from [<c01100f8>] (show_stack+0x10/0x14)
[   14.734962][    T1] [<c01100f8>] (show_stack) from [<c0b05d18>] (dump_stack+0x80/0x9c)
[   14.742932][    T1] [<c0b05d18>] (dump_stack) from [<c0b01150>] (panic+0xe4/0x2f0)
[   14.750553][    T1] [<c0b01150>] (panic) from [<c1001ad8>] (mount_block_root+0x1b4/0x238)
[   14.758788][    T1] [<c1001ad8>] (mount_block_root) from [<c1001c4c>] (mount_root+0xf0/0x11c)
[   14.767368][    T1] [<c1001c4c>] (mount_root) from [<c1001dbc>] (prepare_namespace+0x144/0x180)
[   14.776122][    T1] [<c1001dbc>] (prepare_namespace) from [<c1001640>] (kernel_init_freeable+0x230/0x29c)
[   14.785751][    T1] [<c1001640>] (kernel_init_freeable) from [<c0b0d9ac>] (kernel_init+0x8/0x118)
[   14.794682][    T1] [<c0b0d9ac>] (kernel_init) from [<c0100150>] (ret_from_fork+0x14/0x24)
[   14.802999][    T1] Exception stack(0xc18cffb0 to 0xc18cfff8)
[   14.808778][    T1] ffa0:                                     00000000 00000000 00000000 00000000
[   14.817700][    T1] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   14.826621][    T1] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
[   14.833974][    C1] CPU1: stopping
[   14.837398][    C1] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.13.8-mvebu-tld-1 #1.0
[   14.845275][    C1] Hardware name: Marvell Armada 380/385 (Device Tree)
[   14.851927][    C1] [<c01153e8>] (unwind_backtrace) from [<c01100f8>] (show_stack+0x10/0x14)
[   14.860422][    C1] [<c01100f8>] (show_stack) from [<c0b05d18>] (dump_stack+0x80/0x9c)
[   14.868390][    C1] [<c0b05d18>] (dump_stack) from [<c0112bbc>] (do_handle_IPI+0x250/0x30c)
[   14.876795][    C1] [<c0112bbc>] (do_handle_IPI) from [<c0112c8c>] (ipi_handler+0x14/0x20)
[   14.885114][    C1] [<c0112c8c>] (ipi_handler) from [<c0183c3c>] (handle_percpu_devid_irq+0x58/0x108)
[   14.894397][    C1] [<c0183c3c>] (handle_percpu_devid_irq) from [<c017e820>] (generic_handle_irq+0x28/0x38)
[   14.904199][    C1] [<c017e820>] (generic_handle_irq) from [<c017e9ec>] (__handle_domain_irq+0x90/0xa0)
[   14.913650][    C1] [<c017e9ec>] (__handle_domain_irq) from [<c0621a00>] (gic_handle_irq+0x74/0x84)
[   14.922756][    C1] [<c0621a00>] (gic_handle_irq) from [<c010128c>] (__irq_svc+0x6c/0xa8)
[   14.930985][    C1] Exception stack(0xc18edf50 to 0xc18edf98)
[   14.936765][    C1] df40:                                     00001a20 ef7e0214 00000000 c011df80
[   14.945688][    C1] df60: 00000000 00000000 c1109fc8 00000002 ffffe000 c110a064 c0e5ff53 00000000
[   14.954609][    C1] df80: 00000000 c18edfa0 c010cd4c c010cd3c 60000113 ffffffff
[   14.961958][    C1] [<c010128c>] (__irq_svc) from [<c010cd3c>] (arch_cpu_idle+0x1c/0x38)
[   14.970100][    C1] [<c010cd3c>] (arch_cpu_idle) from [<c0b12610>] (default_idle_call+0x30/0x50)
[   14.978941][    C1] [<c0b12610>] (default_idle_call) from [<c0158708>] (do_idle+0x134/0x2b0)
[   14.987436][    C1] [<c0158708>] (do_idle) from [<c0158b80>] (cpu_startup_entry+0x18/0x1c)
[   14.995755][    C1] [<c0158b80>] (cpu_startup_entry) from [<00101e50>] (0x101e50)
[   15.003292][    T1] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---

try with setenv usb_set_bootargs 'setenv bootargs "console=ttyS0,115200 root=/dev/sda1 earlyprintk=serial"'...
also VFS: Cannot open root device "sda1" or unknown-block(0,0): error -6... kernel panic
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 16, 2023 10:06AM
OK so you are loading but not booting with uInitrd.

loading Image ...
5236595 bytes read in 472 ms (10.6 MiB/s)
loading uInitrd ...
9649885 bytes read in 568 ms (16.2 MiB/s)
## Booting image at 02000020 ...
## Booting kernel from Legacy Image at 02000020 ...
   Image Name:   Linux-5.13.8-mvebu-tld-1
   Created:      2023-12-16   8:00:31 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5236531 Bytes = 5 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Why is that?

Please list the u-boot envs in serial console
printenv

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

Environment size: 4172/524284 bytes
Marvell>>

NAS is used before & without disks now.
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 16, 2023 01:55PM
an01,

There is a typo in the env (extra semicolon).

bootcmd_usb=echo Booting from USB ... ; usb start; run usb_set_bootargs; if run load_image; then if run load_initrd; then bootm $load_image_addr; $load_initrd_addr; else bootm $load_image_addr; fi; fi; usb stop

Adjust it at serial console prompt

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

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
December 16, 2023 02:30PM
bodhi Wrote:
-------------------------------------------------------
>
> There is a typo in the env (extra semicolon).
>
facepalm. (

it worked! Thank you so much!
Re: How to install Debian in a WD MyCloud EX2 Ultra: Definitive edition
February 10, 2024 01:58PM
Hi All,

The file in this post: u-boot-a38x-GrandTeton_2014T3_PQ-nand.bin is for 512MB devices, while the u-boot-a38x-GrandTeton_2014T3_PQ-nand-uart.bin is for 1GB devices, but I cannot use this last one with bubt and burn on the nand. where can I find the correct uboot file for 1GB device that it is not for uart boot?
Author:

Your Email:


Subject:


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