openwrt-mirror/target/linux
Roland Reinl b16b75efba ramips: Add support for Cudy M1300 v2
The M1300 v2 is similar to the WR1300 series from Cudy. Differences:
- Only 1 LAN port
- No USB

Specifications:
- MT7621
- MT7603E (2.4G b/g/n) and MT7613BE (5G ac/n) wifi
- 128 MB RAM
- 16 MB flash

MAC Addresses:
- There is one on the label, e.g. xx:xx:xx:xx:xx:1C
- LAN (bottom connector) is the same as the label, e.g. xx:xx:xx:xx:xx:1C
- WAN (top connector) is label +2, e.g. xx:xx:xx:xx:xx:1E
- WLAN (2.4G) is the same as the label, e.g. xx:xx:xx:xx:xx:1C
- WLAN (5G) is the same as WAN, e.g. xx:xx:xx:xx:xx:1E

UART:
- is available via the pin holes on the board
- From inner to outer pin: TX, RX, GND, VCC
- Do NOT connect VCC
- Settings: 3.3V, 115200, 8N1

GPIO:
- There are two LEDs: Red (GPIO 3) and White (GPIO 4)
- There are two buttons: Reset (GPIO 8) and WPS (GPIO 10)

Migration to OpenWrt:
- Download the migration image from the Cudy website (it should be available as soon as OpenWrt officially supports the device)
- The migration image is also available here until a image is provided by Cudy: https://github.com/RolandoMagico/openwrt-build/releases/tag/M1300_Build_20240222
- File: openwrt-ramips-mt7621-cudy_m1300-v2-squashfs-flash-signed.bin
- Connect computer to LAN (bottom connector) and flash the migration image via OEM web interface
- In the migration image, LAN and WAN are swapped. Computer must be connected to the other port after flashing
- OpenWrt is now accessible via 192.168.1.1
- After flashing an up to date OpenWrt image, LAN and WAN settings are again the same as in the OEM firmware
- So use the other connector again

Revert back to OEM firmware:
- Set up a TFTP server on IP 192.168.1.88 and connect to the LAN port (lower port)
- Provide the Cudy firmware as recovery.bin in the TFTP server
- Press the reset button while powering on the device
- Recovery process is started now
- When recovery process is done, OEM firmware is accessible via 192.168.10.1 again

General information:
- No possibility to load a initramfs image via U-Boot because there is no option to interrupt U-Boot

Signed-off-by: Roland Reinl <reinlroland+github@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18139
(cherry picked from commit 8a78637670)
Link: https://github.com/openwrt/openwrt/pull/18204
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-03-15 12:30:44 +01:00
..
airoha kernel: bump 6.6 to 6.6.79 2025-02-25 23:16:17 +01:00
apm821xx apm821xx: NETGEAR WNDR4700: Fix compat version 2025-01-27 23:53:29 +01:00
archs38 kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
armsr armsr: change image names to 'combined-efi' 2025-01-16 21:07:53 +01:00
at91 kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
ath79 kernel: bump 6.6 to 6.6.76 2025-02-25 23:16:17 +01:00
bcm27xx kernel: bump 6.6 to 6.6.79 2025-02-25 23:16:17 +01:00
bcm47xx kernel: bump 6.6 to 6.6.78 2025-02-25 23:16:17 +01:00
bcm53xx kernel: bump 6.6 to 6.6.76 2025-02-25 23:16:17 +01:00
bcm4908 kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
bmips bmips: shg2500: add missing led controller cells 2025-01-28 08:35:57 +01:00
d1 d1: Use correct module for devices with wifi 2025-01-20 23:01:30 +01:00
gemini kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
generic kernel: usbnet: Restore usb%d naming for cdc-ethernet devices with local MAC 2025-03-06 16:55:10 +01:00
imx kernel: bump 6.6 to 6.6.76 2025-02-25 23:16:17 +01:00
ipq40xx kernel: bump 6.6 to 6.6.78 2025-02-25 23:16:17 +01:00
ipq806x ipq806x: fix broken WAN on Linksys EAX and Asrock G10 2025-02-03 01:55:01 +01:00
ixp4xx ixp4xx: Break out mv88e6060 DSA switch to package 2025-01-04 19:27:05 +01:00
kirkwood kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
lantiq lantiq: xrx200: fb7430 set correct label-mac 2025-01-21 00:16:40 +01:00
layerscape kernel: bump 6.6 to 6.6.64 2024-12-15 01:43:39 +01:00
loongarch64 kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
malta kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
mediatek mediatek: add support for CMCC A10 2025-03-15 11:48:57 +01:00
mpc85xx kernel: bump 6.6 to 6.6.64 2024-12-15 01:43:39 +01:00
mvebu mvebu: WD Cloud Mirror Gen2: Remove stty dependency 2025-01-16 21:24:52 +01:00
mxs mxs: run kernel_oldconfig 2024-11-28 18:48:55 +00:00
octeon octeon: ubnt-usg: add board name to supported devices 2025-01-27 02:10:46 +01:00
omap kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
pistachio kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
qoriq kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
qualcommax qualcommax: ipq807x: add support for Linksys MX4300 (LN1301) 2025-02-16 13:03:23 +01:00
ramips ramips: Add support for Cudy M1300 v2 2025-03-15 12:30:44 +01:00
realtek realtek: add PoE enable line to Netgear GS310TP 2025-02-22 12:33:08 +01:00
rockchip kernel: bump 6.6 to 6.6.76 2025-02-25 23:16:17 +01:00
sifiveu kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
siflower kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
starfive kernel: bump 6.6 to 6.6.79 2025-02-25 23:16:17 +01:00
stm32 stm32: enable CONFIG_SMSC_PHY 2025-01-27 15:14:50 +01:00
sunxi kernel: bump 6.6 to 6.6.61 2024-11-24 22:46:21 +01:00
tegra kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
uml uml: fix glibc-static check with GCC14 2024-06-22 22:06:06 +02:00
x86 x86: Add kmod-drm-i915 as default package 2025-01-31 21:37:05 +01:00
zynq kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
Makefile linux: fix missing default packages in profiles.json 2025-01-03 11:14:12 +01:00