ramips: fix support for Cudy r700
authorMarcin Leksmark <[email protected]>
Wed, 12 Nov 2025 20:39:56 +0000 (21:39 +0100)
committerHauke Mehrtens <[email protected]>
Sat, 15 Nov 2025 19:37:20 +0000 (20:37 +0100)
commit35a86267e90312f24fd11553cd5a5db0736b79ca
tree9cf9168c2e670b39688043cb0768839a913a4ca8
parent2f184801c3b88bbccf114d517df2943814f33e15
ramips: fix support for Cudy r700

This PR fixes support for Cudy r700.

Original PR: https://github.com/openwrt/openwrt/pull/18532
Fixed:

- WAN port functionality;
- RESET button;
- Status LED;
- LAN port names consistent with the chassis;
- Merged partitions "debug", "backup" & "firmware"  to one partition "firmware" ("debug" & "backup" contained unimportant data);
- Removed redundant DTS elements.

Installation:

To install OpenWRT, you need the intermediate firmware from Cudy. (U-boot is locked). After installing the intermediate firmware, you can install OpenWRT via sysupgrade.

Recovery:

TFTP available.
1. Place the recovery.bin in the serving directory of your TFTP server.
2. Set your IP to 192.168.1.88/24.
3. Press the “Reset” button of Cudy router and hold it. Before the Cudy router is powered on and before TFTP start to download the firmware, don't release the “Reset” button.
4. Power on the Cudy router.
5. You can release the reset button only when TFTP starts downloading firmware.
6. When the SYSTEM LED turns solid green, the upgrade is complete.

Fixes: 75403dd1d05b ("ramips: add support for Cudy R700")
Signed-off-by: Marcin Leksmark <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20756
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/ramips/dts/mt7621_cudy_r700.dts
target/linux/ramips/image/mt7621.mk
target/linux/ramips/mt7621/base-files/etc/board.d/01_leds
target/linux/ramips/mt7621/base-files/etc/board.d/02_network