Re: WD MyCloud Gen2 (Glacier, Armada 375) May 06, 2024 09:11AM |
Registered: 11 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: 11 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: 3 months 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: 3 months 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: 11 years ago Posts: 87 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) May 07, 2024 03:42PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) May 07, 2024 11:18PM |
Registered: 11 years ago Posts: 87 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) May 08, 2024 12:41AM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) May 08, 2024 02:31PM |
Admin Registered: 13 years ago Posts: 18,821 |
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: 9 years ago Posts: 47 |
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: 13 years ago Posts: 18,821 |
Quote
kwboot version 2022.01+dfsg-2ubuntu2.5
Re: WD MyCloud Gen2 (Glacier, Armada 375) June 04, 2024 02:29AM |
Registered: 9 years ago Posts: 47 |
./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: 13 years ago Posts: 18,821 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) June 05, 2024 04:06PM |
Registered: 9 years ago Posts: 47 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) June 05, 2024 04:16PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) June 05, 2024 06:44PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) June 06, 2024 05:03AM |
Registered: 9 years ago Posts: 47 |
./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: 13 years ago Posts: 18,821 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) June 06, 2024 02:01PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) June 06, 2024 05:36PM |
Registered: 9 years ago Posts: 47 |
./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: 13 years ago Posts: 18,821 |