Re: WD MyCloud Gen2 (Glacier, Armada 375) January 05, 2021 03:33PM |
Registered: 9 years ago Posts: 47 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) January 05, 2021 04:56PM |
Admin Registered: 13 years ago Posts: 18,821 |
faktorqm
Re: WD MyCloud Gen2 (Glacier, Armada 375) January 21, 2021 06:06AM |
Re: WD MyCloud Gen2 (Glacier, Armada 375) January 21, 2021 04:34PM |
Admin Registered: 13 years ago Posts: 18,821 |
Quote
https://forum.doozan.com/read.php?2,32146
Updated 23 Aug 2017:
This Debian-4.12.4-mvebu-tld-1-rootfs-bodhi.tar.bz2 has been uploaded
Re: WD MyCloud Gen2 (Glacier, Armada 375) January 22, 2021 04:08PM |
Registered: 3 years ago Posts: 7 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) January 22, 2021 07:18PM |
Registered: 3 years ago Posts: 7 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) January 22, 2021 09:33PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) February 01, 2021 09:23AM |
Registered: 9 years ago Posts: 47 |
root@debian:~# uname -a Linux debian 5.10.7-mvebu-tld-1 #1.0 SMP PREEMPT Sat Jan 16 19:49:06 PST 2021 armv7l GNU/Linux
Re: WD MyCloud Gen2 (Glacier, Armada 375) February 01, 2021 03:43PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) February 01, 2021 04:40PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) February 02, 2021 08:45AM |
Registered: 3 years ago Posts: 7 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) February 02, 2021 11:30AM |
Registered: 9 years ago Posts: 47 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) February 02, 2021 04:35PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) February 02, 2021 08:10PM |
Registered: 9 years ago Posts: 47 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) February 02, 2021 10:30PM |
Admin Registered: 13 years ago Posts: 18,821 |
Quote
4. Chroot and the kernel
We jump into the chroot for a moment so that we can follow the guide
mount -t proc none /mnt/HD/HD_a2/proc/
mount -o bind /dev /mnt/HD/HD_a2/dev/
chroot /mnt/HD/HD_a2/
We are in chroot. We issue orders one by one
sed -i '/rootfs/c\/dev/sda2 / ext4 noatime,errors=remount-ro 0 1' /etc/fstab
cd /boot
apt-get remove flash-kernel
dpkg -i linux-image-5.10.7-mvebu-tld-1_1.0_armhf.deb
cp -a zImage-5.10.7-mvebu-tld-1 zImage.fdt
cat dts/armada-375-wd-mycloud-gen2.dtb >> zImage.fdt
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.10.7-mvebu-tld-1 -d zImage.fdt uImage
mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-5.10.7-mvebu-tld-1 -d initrd.img-5.10.7-mvebu-tld-1 uInitrd
sed -i '/mtd1/c\/dev/mtd0 0xf0000 0x10000 0x10000 1' /etc/fw_env.config
fw_setenv bootargs 'root=/dev/sda2 console=ttyS0,115200'
exit
Re: WD MyCloud Gen2 (Glacier, Armada 375) February 03, 2021 03:15AM |
Registered: 3 years ago Posts: 7 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) February 03, 2021 04:04AM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) February 08, 2021 08:03PM |
Admin Registered: 13 years ago Posts: 18,821 |
cp -a zImage-5.2.9-mvebu-tld-1 zImage.fdt cat dts/armada-375-wd-mycloud-gen2.dtb >> zImage.fdt mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.2.9-mvebu-tld-1 -d zImage.fdt uImage
Re: WD MyCloud Gen2 (Glacier, Armada 375) February 16, 2021 06:28PM |
Registered: 3 years ago Posts: 7 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) February 16, 2021 10:09PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) February 17, 2021 05:52AM |
Registered: 8 years ago Posts: 20 |
root@debian:~# uname -a Linux debian 5.2.9-mvebu-tld-1 #1 SMP PREEMPT Mon Aug 19 12:47:39 PDT 2019 armv7l GNU/Linux
BootROM - 1.51 Booting from SPI flash BootROM: Bad header at offset D4000000 BootROM: Bad header at offset D4200000 BootROM: Bad header at offset D4400000 BootROM: Bad header at offset D4600000 BootROM: Bad header at offset D4800000 BootROM: Bad header at offset D4A00000 BootROM: Bad header at offset D4C00000 BootROM: Bad header at offset D4E00000
cat /proc/mtd dev: size erasesize name mtd0: 00100000 00010000 "u-boot"
nanddump -f /home/mtd0 /dev/mtd0 ECC failed: 0 ECC corrected: 0 Number of bad blocks: 0 Number of bbt blocks: 0 Block size 65536, page size 1, OOB size 0 Dumping data starting at 0x00000000 and ending at 0x00100000...
kwboot -t -B 115200 /dev/ttyUSB0 -b mtd0 -p Sending boot message. Please reboot the target...- Sending boot image... 0 % [+++++++++++++++++xmodem: Bad message
kwboot -t -B 115200 /dev/ttyUSB0 -b /pxe/mtd0 Sending boot message. Please reboot the target.../ Sending boot image... Bnf 0 % [+xmodem: Protocol error
Re: WD MyCloud Gen2 (Glacier, Armada 375) February 17, 2021 05:58AM |
Registered: 3 years ago Posts: 7 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) February 17, 2021 04:38PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) February 17, 2021 04:51PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) February 19, 2021 01:26PM |
Registered: 3 years ago Posts: 1 |
dd -if=wdc2.dump -of=temp.bin -skip=929388
cat temp.bin >> u-boot.bin
Re: WD MyCloud Gen2 (Glacier, Armada 375) February 19, 2021 04:15PM |
Admin Registered: 13 years ago Posts: 18,821 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) February 26, 2021 07:01PM |
Admin Registered: 13 years ago Posts: 18,821 |
Quote
Installation Instruction for specific boxes:
Zyxel NAS326 (Armada 380) Installation: see this thread.
WD My Cloud EX2100 (Armada 385) Installation: see this thread.
GlobalScale Technologies Mirabox (Armada 370) Installation: see this thread
Thecus N2350 (Armada 385) Installation: see this thread.
Synolgy RS816 (Armada 385) Installation: see Installation with USB rootfs (Section I). And see Installation with HDD rootfs (Section II).
Netgear RN102 (Armada 370) Installation: see this thread
Synolgy DS116 (Armada 385) Installation: see Installation with USB rootfs (Section I). And see Installation with HDD rootfs (Section II)
HP Thin Client T5335z and Dell Wyse T10/T50 (Armada 510, aka Dove) Installation: see this thread
WD MyCloud Gen2 (Glacier, Armada 375)
Re: WD MyCloud Gen2 (Glacier, Armada 375) April 07, 2021 10:23AM |
Registered: 3 years ago Posts: 6 |
fw_setenv bootargs 'root=/dev/sda2 console=ttyS0,115200'), so started with the recovery USB miniOS by fox_exe and gluing up post around (basically i've chrooted from in the miniOS to generate image) i made a uImage and uRamdisk for the kernel 5.2.9-mvebu-tld-1 that can be used with the bodhi rootfs (and than upgrade to the latest kernel)
ip link set dev eth0 address $(dd if=/dev/mtd0 bs=1 skip=1046528 count=17 2>/dev/null)and probably also need to edit in the 8th row of /root/set_persistent_mac_address
root@debian:/boot# ll | grep uIma -rw-r--r-- 1 root root 5070972 Apr 7 14:44 uImage5.2.9 -rw-r--r-- 1 root root 5138284 Apr 7 14:58 uImage5.10.7 -rw-r--r-- 1 root root 5156052 Apr 7 14:54 uImage5.11.7
Re: WD MyCloud Gen2 (Glacier, Armada 375) April 12, 2021 04:50AM |
Registered: 3 years ago Posts: 7 |
Re: WD MyCloud Gen2 (Glacier, Armada 375) April 12, 2021 06:46PM |
Admin Registered: 13 years ago Posts: 18,821 |
> ip link set dev eth0 address $(dd if=/dev/mtd0 > bs=1 skip=1046528 count=17 2>/dev/null) >> and probably also need to edit in the 8th row of