openwrt/target/linux
Roland Reinl 8a78637670 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
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-03-09 16:51:26 +01:00
..
airoha airoha: drop MTD Airoha parser patch 2025-03-05 00:04:36 +01:00
apm821xx apm821xx: NETGEAR WNDR4700: Fix compat version 2025-01-27 23:36:32 +01:00
archs38 kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
armsr armsr: add Hyper-V on Arm64 support 2025-01-24 22:19:34 +01:00
at91 kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
ath79 kernel: bump 6.6 to 6.6.80 2025-03-02 11:39:59 +01:00
bcm27xx kernel: bump 6.6 to 6.6.80 2025-03-02 11:39:59 +01:00
bcm47xx kernel: bump 6.6 to 6.6.78 2025-02-20 19:27:57 +01:00
bcm53xx linux: use packages kmod-hci-uart and kmod-btusb instead of kmod-bluetooth 2025-02-24 00:08:42 +01:00
bcm4908 kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
bmips bmips: shg2500: add missing led controller cells 2025-01-28 08:30:10 +01:00
d1 generic: globally enable CONFIG_PCPU_DEV_REFCNT 2025-03-08 11:33:56 +01:00
gemini gemini: Convert to use module for Realtek switch 2025-02-14 00:34:16 +01:00
generic generic: globally enable CONFIG_PCPU_DEV_REFCNT 2025-03-08 11:33:56 +01:00
imx imx: cortexa53: fix sysupgrade image device support for venice 2025-02-16 16:46:51 +01:00
ipq40xx kernel: bump 6.6 to 6.6.80 2025-03-02 11:39:59 +01:00
ipq806x ipq806x: make use of ASCII env NVMEM driver for Linksys EAX devices 2025-02-03 01:54:26 +01:00
ixp4xx ixp4xx: Break out mv88e6060 DSA switch to package 2025-01-02 02:30:24 +01:00
kirkwood kirkwood: Make the Marvell DSA switch a module 2024-12-16 22:03:05 +01:00
lantiq lantiq: xrx200_legacy: migrate ECI V-2FUb/R to upstream PHY LED control 2025-03-08 20:26:03 +01:00
layerscape kernel: bump 6.6 to 6.6.64 2024-12-13 21:40:02 +01:00
loongarch64 generic: globally enable CONFIG_PCPU_DEV_REFCNT 2025-03-08 11:33:56 +01:00
malta kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
mediatek mediatek: add support for CMCC A10 2025-03-08 15:44:56 +01:00
mpc85xx kernel: bump 6.6 to 6.6.64 2024-12-13 21:40:02 +01:00
mvebu mvebu/image/cortexa53.mk: add kmod-dsa-mv88e6xxx 2025-03-07 14:01:51 +01:00
mxs mxs: adapt default package list for Duckbill devices 2025-02-05 22:00:09 +01:00
octeon octeon/generic: ubnt,erlite: define profile 2025-02-16 16:06:10 +01:00
omap kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
pistachio kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
qoriq qoriq: Switch to use a module for mv88e6xxx 2025-01-26 22:07:44 +01:00
qualcommax qualcommax: fap650: fix dtc warnings on partitions 2025-03-07 14:03:12 +01:00
qualcommbe kernel: bump 6.6 to 6.6.78 2025-02-20 19:27:57 +01:00
ramips ramips: Add support for Cudy M1300 v2 2025-03-09 16:51:26 +01:00
realtek realtek: Drop redundant LED labels 2025-02-28 16:30:29 +01:00
rockchip kernel: bump 6.6 to 6.6.76 2025-02-13 00:03:54 +01:00
sifiveu kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
siflower siflower: move soruce-only flag to sf19a2890 subtarget 2025-02-05 11:12:42 +08:00
starfive kernel: bump 6.6 to 6.6.79 2025-02-23 12:17:38 +01:00
stm32 generic: globally enable CONFIG_PCPU_DEV_REFCNT 2025-03-08 11:33:56 +01:00
sunxi sunxi: enable usbgadget feature 2025-02-22 18:43:23 +01:00
tegra kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01: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-30 13:08:17 +01:00
zynq kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
Makefile linux: fix missing default packages in profiles.json 2024-11-17 19:29:06 +01:00