openwrt/target/linux/mvebu/image
Robert Senderek 96ad29a0f3 mvebu: Add support for WD MyCloud EX2 Ultra
Hardware
--------
Marvell Armada 385 (MV88F6820)
1GB RAM
256MB NAND
1x 1Gbit
2x USB 3.0
2x SATA-III
UART: 115200 8N1 3.3V
RTC
Weltrend MCU WT6703F connected via UART1 for Power LED / PWM Fan / hw reset / WoL

Installation
------------
Connect UART 3.3V adapter to JP2  pins: 1-RX / 2-GND / 5-TX

Use USB2.0 FAT32 pendrive with openwrt-mvebu-cortexa9-wd_cloud-ex2-ultra-initramfs-kernel.bin
 1. stop boot by pressing 1
 2. usb start
 3. fatload usb 0:1  0x02000000 openwrt-mvebu-cortexa9-wd_cloud-ex2-ultra-initramfs-kernel.bin;bootm 0x02000000 -
 4. do backup mtd1 mtd3
 5. use sysupgrade

Or tftp
 1. stop boot by pressing 1
 2. setenv ethact egiga2;setenv serverip 192.168.11.114;setenv ipaddr 192.168.11.113
 3. tftpboot 0x02000000 openwrt-mvebu-cortexa9-wd_cloud-ex2-ultra-initramfs-kernel.bin; bootm 0x02000000 -
 4. do backup mtd1 mtd3
 5. use sysupgrade

or Evgeny Kolesnikov <evgenyz@gmail.com> method from his failed PR 2040

- Using original firmware's network settings obtain SSH access to the device.
- Put *-image-cfs-factory.bin and *-uImage-factory.bin images into device's /tmp directory.
- Write kernel (uImage) image 'flash_eraseall /dev/mtd1 && nandwrite --markbad -p /dev/mtd1 /tmp/*-uImage-factory.bin'.
- Write rootfs (image-cfs) image 'ubiformat /dev/mtd3 -f /tmp/*-image.cfs-factory.bin -y'.
- Reboot the device.

Installation (upgrade):

Use *-sysupgrade.bin in a usual way.
Weltrend MCU control is done via uart1 19200
install coreutils-stty
stty -F /dev/ttyS1 raw speed 19200
stty -F /dev/ttyS1 raw speed 19200

PWM Fan Control
off: 00
echo -n -e '\xfa\x02\x00\x00\x00\x00\xfb' > /dev/ttyS1
slow: 5F
echo -n -e '\xfa\x02\x00\x5f\x00\x00\xfb' > /dev/ttyS1
max: FF
echo -n -e '\xfa\x02\x00\xff\x00\x00\xfb' > /dev/ttyS1

Power LED Control
Blue
echo -n -e '\xfa\x26\x00\x11\x00\x01\xfb' > /dev/ttyS1
Red
echo -n -e '\xfa\x26\x00\x14\x00\x01\xfb' > /dev/ttyS1
Orange
echo -n -e '\xfa\x26\x00\x12\x00\x01\xfb' > /dev/ttyS1

more here: https://github.com/c-MM/mcm-daemon/blob/master/mcm.h

Signed-off-by: Robert Senderek <robert.senderek@10g.pl>
Link: https://github.com/openwrt/openwrt/pull/17779
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-01-02 18:07:42 +01:00
..
clearfog-pro.bootscript mvebu: add support for SolidRun ClearFog Pro 2024-03-02 14:21:20 +01:00
clearfog.bootscript mvebu: image: introduce BOOT_SCRIPT variable 2019-05-11 23:11:04 +02:00
cortexa9.mk mvebu: Add support for WD MyCloud EX2 Ultra 2026-01-02 18:07:42 +01:00
cortexa53.mk mvebu: add support for Turris MOX 2025-12-01 00:32:14 +01:00
cortexa72.mk mvebu: add support for Check Point V-81 2025-06-22 22:17:20 +02:00
espressobin.bootscript mvebu: Add bootscript for espressobin to support mainline firmware 2020-10-11 16:53:20 +02:00
gen_mvebu_sdcard_img.sh target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
generic-arm64.bootscript mvebu: image: add check for fdt_add_r and kernel_addr_r variables 2020-09-17 21:09:51 +02:00
gl-mv1000.bootscript mvebu: GL-MV1000: add custom boot script 2024-08-06 21:46:25 +02:00
Makefile mvebu: add specific signature support to Build/boot-scr 2025-06-22 22:17:20 +02:00
turris-mox.bootscript mvebu: add support for Turris MOX 2025-12-01 00:32:14 +01:00
turris-omnia.bootscript mvebu: Turris Omnia: use SFP module, if present 2021-08-08 19:50:45 +02:00
udpu.bootscript mvebu: uDPU/eDPU: mount F2FS with ZSTD compression 2024-06-17 20:16:20 +02:00
v-80.bootscript mvebu: add support for Check Point V-80 2025-06-22 22:17:20 +02:00