openwrt/target/linux
Luis Mita d414ed185e ramips: mt76x8: add support for Cudy RE1200 Outdoor v1
Hardware:
 - SoC: MediaTek MT7628DAN
 - Flash: 8 MiB XMC 25QH64CHIQ
 - RAM: 64 MiB (integrated on SoC)
 - WLAN: 2.4 GHz (MT7603E, 11n), 5 GHz (MediaTek MT7613BEN, 11ac)
 - Ethernet: 1x10/100 Mbps LAN
 - Buttons: 1 Reset button, 1 WPS button
 - LEDs: 5x Green
 - Serial Console: unpopulated header 115200 8n1
 - Power: 24v Passive POE

MAC addresses:
+---------+-------------------+-----------+
|         | MAC               | Algorithm |
+---------+-------------------+-----------+
| LAN     | 80:af:ca:xx:xx:x0 | label     |
| WLAN 2g | 80:af:ca:xx:xx:x0 | label     |
| WLAN 5g | 80:af:ca:xx:xx:x2 | +2        |
+---------+-------------------+-----------+

Installation:
Please check the Wiki for this device for a more convenient solution than the one below.

1. Disassemble the device, desolder and dump the flash chip with a SPI programmer.
2. Separate the partitions with dd:

dd if=spi_dump.bin of=u-boot.bin     bs=1  skip=0        count=196608  status=progress
dd if=spi_dump.bin of=u-boot-env.bin bs=1  skip=196608   count=65536   status=progress
dd if=spi_dump.bin of=factory.bin    bs=1  skip=262144   count=65536   status=progress
dd if=spi_dump.bin of=firmware.bin   bs=1  skip=327680   count=7995392 status=progress
dd if=spi_dump.bin of=bdinfo.bin     bs=1  skip=8323072   count=65536   status=progress

3. Download the sysupgrade firmware at openwrt.bin.
4. The firmware size should be 7995392 bytes. Fix the size of your firmware putting zeros to the end, with:

truncate -s 7995392 firmware.bin

5. Combine all the parititions:

cat u-boot.bin u-boot-env.bin factory.bin openwrt.bin bdinfo.bin > spi_new.bin

6. Erase and flash the SPI chip with the new file. Solder the chip and boot the router.

Signed-off-by: Luis Mita <luis@luismita.com>
Link: https://github.com/openwrt/openwrt/pull/20381
(cherry picked from commit 65215e6d46)
Link: https://github.com/openwrt/openwrt/pull/20463
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-11-09 14:39:45 +01:00
..
airoha kernel: add support for FudanMicro FM25S01A SPI-NAND 2025-09-10 00:02:22 +02:00
apm821xx kernel: bump 6.6 to 6.6.103 2025-09-02 23:09:49 +02:00
archs38 kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
armsr armsr: remove 'console=tty1' from kernel command line 2025-08-31 18:30:08 +02:00
at91 at91bootstrap: put at91bootstrap images into image staging directory 2025-10-22 18:19:42 +02:00
ath79 ath79: add calibration variant for TP-Link Archer C60 v2 2025-10-24 12:05:32 +02:00
bcm27xx kernel: bump 6.6 to 6.6.116 2025-11-09 14:21:42 +01:00
bcm47xx kernel: bump 6.6 to 6.6.78 2025-02-25 23:16:17 +01:00
bcm53xx bcm53xx: modify 180-usb-xhci-add-support-for-performing-fake-doorbell.patch 2025-10-19 16:29:37 +02:00
bcm4908 bcm63xx-cfe: install into image staging dir 2025-10-22 18:17:40 +02:00
bmips bmips: fix leds on f@st3864op 2025-11-06 09:57:37 +01:00
d1 kernel: bump 6.6 to 6.6.93 2025-06-15 13:37:46 +02:00
gemini kernel: bump 6.6 to 6.6.95 2025-07-06 14:51:08 +02:00
generic kernel: bump 6.6 to 6.6.116 2025-11-09 14:21:42 +01:00
imx kernel: bump 6.6 to 6.6.103 2025-09-02 23:09:49 +02:00
ipq40xx ipq40xx: fix Linksys WHW0x sorting 2025-10-19 17:24:59 +02:00
ipq806x kernel: bump 6.6 to 6.6.113 2025-10-28 22:16:44 +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 kernel: bump 6.6 to 6.6.114 2025-10-28 22:16:44 +01:00
layerscape layerscape: armv7: drop skipped packages 2025-10-22 18:19:10 +02:00
loongarch64 generic: globally enable CONFIG_PCPU_DEV_REFCNT 2025-03-19 09:24:43 +01:00
malta kernel: filter out compiler opts from config 2024-11-28 18:47:54 +00:00
mediatek kernel: bump 6.6 to 6.6.114 2025-10-28 22:16:44 +01:00
mpc85xx mpc85xx: p1010: kernel: add missing symbol 2025-10-17 06:43:08 +02:00
mvebu kernel: bump 6.6 to 6.6.113 2025-10-28 22:16:44 +01:00
mxs mxs: run kernel_oldconfig 2024-11-28 18:48:55 +00:00
octeon octeon: ubnt-*: Add device specific DTS pruning 2025-09-05 00:48:55 +02: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 targetwide: imagebuilder: add explicit guards around initramfs rules 2025-10-21 11:39:10 +02:00
ramips ramips: mt76x8: add support for Cudy RE1200 Outdoor v1 2025-11-09 14:39:45 +01:00
realtek kernel: bump 6.6 to 6.6.116 2025-11-09 14:21:42 +01:00
rockchip rockchip: add Lunzn FastRhino R66S support 2025-11-09 14:36:56 +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.115 2025-11-09 14:21:42 +01:00
stm32 stm32: add missing config option 2025-05-28 13:22:00 +02:00
sunxi kernel: bump 6.6 to 6.6.61 2024-11-24 22:46:21 +01:00
tegra tegra: bring back workaround for spurious interrupts 2025-07-28 23:20:46 +02:00
uml uml: fix glibc-static check with GCC14 2024-06-22 22:06:06 +02:00
x86 x86: config: add CONFIG_MITIGATION_VMSCAPE=y 2025-09-22 01:22:49 +02: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