openwrt-6.x/target/linux/ramips/image
Yijie Jin c35f2a23c8 ramips: mt7621: add support for JDCloud RE-SP-01B
JDCloud RE-SP-01B is a dual-band WiFi 5 router based on the MT7621AT.

Specifications:
- SoC: MediaTek MT7621AT
- RAM: 512MB DDR3
- Flash: 32MB SPI NOR
- WiFi: MediaTek MT7603EN (2.4GHz), MediaTek MT7615N (5GHz)
- Ethernet: 1x WAN, 2x LAN (Gigabit Ethernet)
- LEDs: red, blue, green (GPIO controlled)
- Button: Reset (GPIO controlled)
- eMMC: Single onboard (32GB/64GB/128GB)
- USB: 1x USB 2.0 port

MAC Address Structure:
The MAC addresses share the structure DC:D8:7C:XX:XX:XX, where:
- WAN, LAN, and 2.4GHz WiFi: same as the label MAC address.
- 5GHz WiFi: label MAC address + 0x800000.

The manufacturer writes the label MAC address at different
offsets depending on the storage version of the device:

e.g.
128GB version:  &config + 0x442a
64GB version:   &config + 0x4429

So `get_mac_ascii()` is used here to search for the
base label MAC address of the device.

Ref:
https://github.com/openwrt/openwrt/pull/17409#discussion_r1899674262
https://github.com/immortalwrt/immortalwrt/commit/c0c480d

Flash Instruction:
A 3rd party bootloader is required to boot the image. You can
use a SOP16 test clip to burn the image/bootloader to the flash.

The official bootloader does provide a web recovery interface
which only accepts an official image. To access it, you will
need to hold the reset button and power on the device, set your
IP address to 192.168.68.2 and visit http://192.168.68.1.

Co-authored-by: Chukun Pan <amadeus@jmu.edu.cn>
Signed-off-by: Yijie Jin <jinyijie@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/17409
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-06-19 20:33:57 +02:00
..
lzma-loader treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
common-sercomm.mk ramips: add support for Sercomm CPJ routers 2023-11-25 01:11:18 +01:00
common-tp-link.mk ramips: introduce TP-Link v1 header OKLI image recipe 2024-10-06 14:07:37 +02:00
Makefile ramips: fix wrg-header image recipe 2025-05-22 18:49:31 +02:00
mt76x8.mk ramips: mt76x8: add support for Keenetic Start (KN-1112) 2025-06-16 19:01:18 +02:00
mt7620.mk ramips: mt7620: Add support for the devolo WiFi Repeater ac (MT 2767, 2779) 2025-04-22 22:06:28 +02:00
mt7621.mk ramips: mt7621: add support for JDCloud RE-SP-01B 2025-06-19 20:33:57 +02:00
rt288x.mk ramips: rt288x: remove default build barriers 2025-05-09 11:31:20 +02:00
rt305x.mk treewide: rename ZyXEL to Zyxel 2024-08-25 15:08:25 +02:00
rt3883.mk ramips: fix image recipe for ASUS RT-N56U 2024-07-13 14:30:42 +02:00