|
Re: WD MyCloud Gen2 (Glacier, Armada 375) May 06, 2024 09:11AM |
Registered: 12 years ago Posts: 87 |
# Before chroot mkdir /mnt/usb/boot # Inside chroot mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-6.6.2-mvebu-tld-1 -d initrd.img-6.6.2-mvebu-tld-1 uInitrd # Exit chroot cp /mnt/sdb3/boot/uImage /mnt/usb/boot/uImage cp /mnt/sdb3/boot/uInitrd /mnt/usb/boot/uRamdisk
fw_setenv bootargs 'root=/dev/sda3 console=ttyS0,115200'but it has to be done on the device as it alters the contents of the flash.
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) May 06, 2024 10:02AM |
Registered: 12 years ago Posts: 87 |
### Loading Firmware from USB 2.0 Disk ### usb reset; fatload usb 0:1 0xa00000 /boot/uImage; fatload usb 0:1 0xf00000 /boot/uRamdisk ### Loading Firmware from Disk ### ide reset; ext2load ide 0:3 0xa00000 /boot/uImage; ext2load ide 0:3 0xf00000 /boot/uRamdisk ### Loading Rescure Firmware from Disk ### ext2load ide 0:5 0xa00000 /boot/uImage; ext2load ide 0:5 0xf00000 /boot/uRamdisk ### Start network installation ### dhcp; tftp 0xa00000 uImage
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) May 06, 2024 10:19AM |
Registered: 1 year ago Posts: 10 |
> fw_setenv bootargs 'root=/dev/sda3 > console=ttyS0,115200' >> but it has to be done on the device as it alters
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) May 06, 2024 10:31AM |
Registered: 1 year ago Posts: 10 |
> cp /mnt/sdb3/boot/uImage /mnt/usb/boot/uImage > cp /mnt/sdb3/boot/uInitrd /mnt/usb/boot/uRamdisk >
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) May 07, 2024 07:48AM |
Registered: 12 years ago Posts: 87 |
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) May 07, 2024 03:42PM |
Admin Registered: 14 years ago Posts: 19,920 |
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) May 07, 2024 11:18PM |
Registered: 12 years ago Posts: 87 |
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) May 08, 2024 12:41AM |
Admin Registered: 14 years ago Posts: 19,920 |
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) May 08, 2024 02:31PM |
Admin Registered: 14 years ago Posts: 19,920 |
md5: 806ec0f497725b46b9e0d322719b4d5e sha256: c595b3a5794ddb9f7a60e27917b8c2e87db9819039e30b4a64fbcb2407f91955
usb start setenv ipaddr <some valid IP address in the subnet that this box is connected to> ping <router IP address>
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) June 03, 2024 04:54PM |
Registered: 10 years ago Posts: 54 |
kwboot version 2022.01+dfsg-2ubuntu2.5 Patching image boot signature to UART Aligning image header to Xmodem block size Sending boot message. Please reboot the target...- Waiting 2s and flushing tty Sending boot image header (33152 bytes)... 0 % [......................................................................] 27 % [......................................................................] 54 % [......................................................................] 81 % [................................................. ] Done BootROM - 1.51 Booting from SPI flash General initialization - Version: 1.0.0 High speed PHY - Version: 0.1.1 (COM-PHY-V20) USB2 UTMI PHY initialized succesfully USB2 UTMI PHY initialized succesfully High speed PHY - Ended Successfully DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run with PBS. DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED ** LOADER ** U-Boot 2013.01_v1.03 (Nov 20 2014 - 16:39:45) Marvell version: 2014_T2.0p3 Board: WD_Glacier_DB-88F6720-V2
BootROM - 1.51 Booting from SPI flash BootROM - 1.51 Booting from SPI flash BootROM - 1.51 Booting from SPI flash BootROM - 1.51 Booting from SPI flash BootROM - 1.51 Booting from SPI flash BootROM - 1.51 Booting from SPI flash BootROM - 1.51 Booting from SPI flash
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) June 03, 2024 07:55PM |
Admin Registered: 14 years ago Posts: 19,920 |
Quote
kwboot version 2022.01+dfsg-2ubuntu2.5
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) June 04, 2024 02:29AM |
Registered: 10 years ago Posts: 54 |
./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot -p kwboot version 2024.04-rc3-00001-g0861eab8ec-dirty Detected kwbimage v1 with SPI boot signature Patching image boot signature to UART Aligning image header to Xmodem block size Sending boot message. Please reboot the target...| Sending boot image header (33152 bytes)... 0 % [......................................................................] 27 % [......................................................................] 54 % [......................................................................] 81 % [................................................. ] Done BootROM - 1.51 Booting from SPI flash General initialization - Version: 1.0.0 High speed PHY - Version: 0.1.1 (COM-PHY-V20) USB2 UTMI PHY initialized succesfully USB2 UTMI PHY initialized succesfully High speed PHY - Ended Successfully DDR3 Training Sequence - Ver 5.7.1 DDR3 Training Sequence - Run with PBS. DDR3 Training Sequence - Ended Successfully BootROM: Image checksum verification PASSED ** LOADER ** U-Boot 2013.01_v1.03 (Nov 20 2014 - 16:39:45) Marvell version: 2014_T2.0p3
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) June 05, 2024 01:19AM |
Admin Registered: 14 years ago Posts: 19,920 |
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) June 05, 2024 04:06PM |
Registered: 10 years ago Posts: 54 |
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) June 05, 2024 04:16PM |
Admin Registered: 14 years ago Posts: 19,920 |
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) June 05, 2024 06:44PM |
Admin Registered: 14 years ago Posts: 19,920 |
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) June 06, 2024 05:03AM |
Registered: 10 years ago Posts: 54 |
./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2024.07-rc3-tld-1.db-88f6720.uart.kwb kwboot version 2024.04-rc3-00001-g0861eab8ec-dirty Detected kwbimage v1 with UART boot signature Sending boot message. Please reboot the target.../ Sending boot image header (22016 bytes)... 0 % [......................................................................] 41 % [......................................................................] 81 % [................................ ] Done BootROM - 1.51 Booting from SPI flash [blablablabla removed some output blablabla] ERROR: can't get kernel image! Marvell>> xmodem: Connection timed out
./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2024.07-rc3-tld-1.db-88f6720.uart.kwb -o 0 kwboot version 2024.04-rc3-00001-g0861eab8ec-dirty Detected kwbimage v1 with UART boot signature Sending boot message. Please reboot the target...- Sending boot image header (22016 bytes)... 0 % [+++++++++++++++EE xmodem: Bad messageand system diode is red (no blinking) and i can use kwboot without turning off/on power
root@debian:~# ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2024.07-rc3-tld-1.db-88f6720.uart.kwb -o 1 kwboot version 2024.04-rc3-00001-g0861eab8ec-dirty Detected kwbimage v1 with UART boot signature Sending boot message. Please reboot the target...- Sending boot image header (22016 bytes)... 0 % [+++++++++.++++++++.++++++++.++++++++.+++++.+...................+......] 18 % [......................................................................] 58 % [...E xmodem: Protocol error
./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2024.07-rc3-tld-1.db-88f6720.uart.kwb -o 1 kwboot version 2024.04-rc3-00001-g0861eab8ec-dirty Detected kwbimage v1 with UART boot signature Sending boot message. Please reboot the target...| Sending boot image header (22016 bytes)... 0 % [++++++++++.++++++++.++++++++.++++++++.++++.+.....................+....] 18 % [......................................................................] 58 % [......................................................................] 99 % [.. ] Done BootROM: Invalid header checksum Booting from SPI flash
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) June 06, 2024 01:42PM |
Admin Registered: 14 years ago Posts: 19,920 |
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) June 06, 2024 02:01PM |
Admin Registered: 14 years ago Posts: 19,920 |
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) June 06, 2024 05:36PM |
Registered: 10 years ago Posts: 54 |
./kwboot -t -b backup_wd.bin -B 115200 /dev/ttyUSB0
kwboot version 2024.04-rc3-00001-g0861eab8ec-dirty
Detected kwbimage v1 with SPI boot signature
Patching image boot signature to UART
Aligning image header to Xmodem block size
Sending boot message. Please reboot the target.../
Sending boot image header (92032 bytes)...
0 % [......................................................................]
9 % [......................................................................]
19 % [......................................................................]
29 % [......................................................................]
39 % [......................................................................]
48 % [......................................................................]
58 % [......................................................................]
68 % [......................................................................]
78 % [......................................................................]
87 % [......................................................................]
97 % [................... ]
Done
General initialization - Version: 1.0.0
High speed PHY - Version: 0.1.1 (COM-PHY-V20)
USB2 UTMI PHY initialized succesfully
USB2 UTMI PHY initialized succesfully
High speed PHY - Ended Successfully
DDR3 Training Sequence - Ver 5.7.1
DDR3 Training Sequence - Run with PBS.
DDR3 Training Sequence - Ended Successfully
Sending boot image data (837116 bytes)...
0 % [......................................................................]
1 % [......................................................................]
2 % [......................................................................]
3 % [......................................................................]
4 % [......................................................................]
5 % [......................................................................]
6 % [......................................................................]
7 % [......................................................................]
8 % [......................................................................]
9 % [......................................................................]
10 % [......................................................................]
11 % [......................................................................]
12 % [......................................................................]
13 % [......................................................................]
15 % [......................................................................]
16 % [......................................................................]
17 % [......................................................................]
18 % [......................................................................]
19 % [......................................................................]
20 % [......................................................................]
21 % [......................................................................]
22 % [......................................................................]
23 % [......................................................................]
24 % [......................................................................]
25 % [......................................................................]
26 % [......................................................................]
27 % [......................................................................]
28 % [......................................................................]
29 % [......................................................................]
31 % [......................................................................]
32 % [......................................................................]
33 % [......................................................................]
34 % [......................................................................]
35 % [......................................................................]
36 % [......................................................................]
37 % [......................................................................]
38 % [......................................................................]
39 % [......................................................................]
40 % [......................................................................]
41 % [......................................................................]
42 % [......................................................................]
43 % [......................................................................]
44 % [......................................................................]
46 % [......................................................................]
47 % [......................................................................]
48 % [......................................................................]
49 % [......................................................................]
50 % [......................................................................]
51 % [......................................................................]
52 % [......................................................................]
53 % [......................................................................]
54 % [......................................................................]
55 % [......................................................................]
56 % [......................................................................]
57 % [......................................................................]
58 % [......................................................................]
59 % [......................................................................]
61 % [......................................................................]
62 % [......................................................................]
63 % [......................................................................]
64 % [......................................................................]
65 % [......................................................................]
66 % [......................................................................]
67 % [......................................................................]
68 % [......................................................................]
69 % [......................................................................]
70 % [......................................................................]
71 % [......................................................................]
72 % [......................................................................]
73 % [......................................................................]
74 % [......................................................................]
76 % [......................................................................]
77 % [......................................................................]
78 % [......................................................................]
79 % [......................................................................]
80 % [......................................................................]
81 % [......................................................................]
82 % [......................................................................]
83 % [......................................................................]
84 % [......................................................................]
85 % [......................................................................]
86 % [......................................................................]
87 % [......................................................................]
88 % [......................................................................]
89 % [......................................................................]
90 % [......................................................................]
92 % [......................................................................]
93 % [......................................................................]
94 % [......................................................................]
95 % [......................................................................]
96 % [......................................................................]
97 % [......................................................................]
98 % [......................................................................]
99 % [.............................. ]
Done
Finishing transfer
[Type Ctrl-\ + c to quit]
** LOADER **
U-Boot 2013.01_v1.03 (Nov 20 2014 - 16:39:45) Marvell version: 2014_T2.0p3
Board: WD_Glacier_DB-88F6720-V2
SoC: MV88F6720 Rev A0
running 2 CPUs
CPU: ARM Cortex A9 MPCore (Rev 1) LE
CPU 0
CPU @ 800 [MHz]
L2 @ 400 [MHz]
TClock @ 200 [MHz]
DDR @ 534 [MHz]
DDR 16Bit Width, FastPath Memory Access, DLB Enabled
DRAM: 512 MiB
Map: Code: 0x1fed6000:0x1ff92c90
BSS: 0x1ffefa20
Stack: 0x1f9c5f20
Heap: 0x1f9c6000:0x1fed6000
SF: Detected MX25L8006E with page size 64 KiB, total 1 MiB
*** Warning - bad CRC, using default environment
PCI-e 0: Detected No Link.
PCI-e 1: Detected No Link.
SF: Detected MX25L8006E with page size 64 KiB, total 1 MiB
MAC addr: 00:90:A9:EB:5A:DA
### Loading Firmware from USB 3.0 Disk ###
USB2.0 0: Host Mode
USB2.0 1: Device Mode
USB3.0 0: Host Mode
Board configuration detected:
GE-PHY-0 on MAC0
SERDES configuration:
Lane #0: PCIe0
Lane #1: PCIe1
Lane #2: SATA0
Lane #3: USB3
Net: egiga0 [PRIME]
*** ERROR: ping address not given
Hit any key to stop autoboot: 0
(Re)start USB...
USB0: Port (usbActive) : 0 Interface (usbType = 3) : USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
** Bad device usb 0 **
** Bad device usb 0 **
## Booting image at 00a00000 ...
### Loading Firmware from USB 2.0 Disk ###
(Re)start USB...
USB0: Port (usbActive) : 1 Interface (usbType = 2) : USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
** Bad device usb 0 **
** Bad device usb 0 **
## Booting image at 00a00000 ...
### Loading Firmware from Disk ###
Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
** Bad device ide 0 **
** Bad device ide 0 **
## Booting image at 00a00000 ...
### Loading Rescure Firmware from Disk ###
** Bad device ide 0 **
** Bad device ide 0 **
## Booting image at 00a00000 ...
### Start network installation ###
RX_ICMP
rx_icmp(): Listening to incoming WD ICMP beacons for 3 second!
Error...
rxIcmp - rxIcmp
Usage:
rxIcmp Start Listening to incoming WD ICMP beacons
## Booting image at 00a00000 ...
Wrong Image Format for bootm command
ERROR: can't get kernel image!
Marvell>>
Marvell>>
Marvell>>
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) June 06, 2024 07:13PM |
Admin Registered: 14 years ago Posts: 19,920 |
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) January 29, 2025 06:46AM |
Registered: 9 months ago Posts: 3 |
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) January 29, 2025 01:25PM |
Admin Registered: 14 years ago Posts: 19,920 |
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) January 29, 2025 03:02PM |
Registered: 9 months ago Posts: 3 |
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
reading /boot/uImage
5192860 bytes read in 64 ms (77.4 MiB/s)
reading /boot/uRamdisk
5257173 bytes read in 69 ms (72.7 MiB/s)
## Booting image at 00a00000 ...
## Booting kernel from Legacy Image at 00a00000 ...
Image Name: Linux-6.6.2-mvebu-tld-1
Created: 2025-01-29 9:48:04 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 5192796 Bytes = 5 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 00f00000 ...
Image Name: initramfs-6.6.2-mvebu-tld-1
Created: 2023-12-12 22:03:52 UTC
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 5257109 Bytes = 5 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.6.2-mvebu-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT Mon Nov 20 18:44:27 PST 2023
[ 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 Gen2
[ 0.000000][ T0] Memory policy: Data cache writealloc
[ 0.000000][ T0] INITRD: 0x00f00000+0x00504000 overlaps in-use memory region
[ 0.000000][ T0] - disabling initrd
[ 0.000000][ T0] Zone ranges:
[ 0.000000][ T0] Normal [mem 0x0000000000000000-0x000000001fffffff]
[ 0.000000][ T0] HighMem empty
[ 0.000000][ T0] Movable zone start for each node
[ 0.000000][ T0] Early memory node ranges
[ 0.000000][ T0] node 0: [mem 0x0000000000000000-0x000000001fffffff]
[ 0.000000][ T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000001fffffff]
[ 0.000000][ T0] percpu: Embedded 29 pages/cpu s25364 r8192 d85228 u118784
[ 0.000000][ T0] Kernel command line: root=/dev/ram console=ttyS0,115200
[ 3.541977][ T1] Please append a correct "root=" boot option; here are the available partitions: [ 3.551096][ T1] 1f00 1024 mtdblock0 [ 3.551107][ T1] (driver?) [ 3.559084][ T1] 0800 117220824 sda [ 3.559093][ T1] driver: sd [ 3.566660][ T1] 0801 4194304 sda1 7192e0d2-a019-44ca-ad79-edfc978b4397 [ 3.566671][ T1] [ 3.576668][ T1] 0802 92053504 sda2 7dd4c0fd-aaea-410b-96e1-a99aab383bbe [ 3.576678][ T1] [ 3.586670][ T1] 0803 20971520 sda3 1520f883-373a-4beb-9b93-965ad44e254c [ 3.586679][ T1] [ 3.596682][ T1] List of all bdev filesystems: [ 3.601450][ T1] ext3 [ 3.601457][ T1] ext4 [ 3.604094][ T1] iso9660 [ 3.606730][ T1] udf [ 3.609638][ T1] [ 3.614383][ T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) January 29, 2025 05:33PM |
Admin Registered: 14 years ago Posts: 19,920 |
-rw-r--r-- 1 root root 5257109 Dec 12 14:03 initrd.img-6.6.2-mvebu-tld-1
bootm 0xa00000 0x3000000
Quote
Note 7. Shrink initramfs to smaller size (Optional):
In Debian bookworm, the default compression is zstd. However, to keep it simple, the initramfs (initrd.img-6.6.2-mvebu-tld-1) in this rootfs was compressed using gzip, which is perfectly OK. If you need to have a smaller initramfs (for example, you are trying to fit it in a limited sized NAND partition), see here for tutorial: HowTo Shrink initramfs.
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) January 30, 2025 12:36AM |
Registered: 9 months ago Posts: 3 |
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) January 30, 2025 02:38PM |
Registered: 10 years ago Posts: 54 |
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) January 30, 2025 02:50PM |
Admin Registered: 14 years ago Posts: 19,920 |
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) March 25, 2025 10:06PM |
Admin Registered: 14 years ago Posts: 19,920 |
|
Re: WD MyCloud Gen2 (Glacier, Armada 375) March 26, 2025 01:46PM |
Registered: 10 years ago Posts: 54 |