Skip to content
Contents

Sanlinking D240

Can the Sanlinking D240 install OpenWrt from the stock web interface?

The hardware table lists Sanlinking D240 under `ramips/mt7620`. Match both the label on the unit and the target in the release directory.

Back to device overview

Some sources still need verification; follow only the confirmed information below.

The hardware table lists Sanlinking D240 under ramips/mt7620. Match both the label on the unit and the target in the release directory.

What changed in the support commit

Board identifiers recorded by the author. Compare these with the case label, boot log and chip markings on your unit.

Sanlinking Technologies D240

MT7620A

Device profile defined in the build rules — d240

Partition labels in the device tree. Use them to read the local partition map; verify the active layout before selecting a write target.

u-boot · u-boot-env · factory · firmware

These files show which parts of the board support or image-building process changed.

  • Board definition — target/linux/ramips/dts/D240.dts
  • Image build rules — target/linux/ramips/image/mt7620.mk
  • Upgrade handling — target/linux/ramips/base-files/lib/upgrade/platform.sh

Components mentioned in the commit's installation or recovery notes

On a running OpenWrt system, check the board name and active layout, then validate the sysupgrade file with the compatibility check. Initial installation from OEM firmware needs a separately documented entry point.

The author discusses a web updater. Identify whether it belongs to the OEM system, OpenWrt or the bootloader recovery environment; the three can accept different image headers.

Where installation starts

GUI OEM · U-Boot TFTP + serial recovery · U-Boot web recovery

Start a server on the computer if the router requests a file. If the bootloader waits for an upload, use a client in binary mode. Windows: start Tftpd64 or upload · macOS: start dnsmasq or upload · Read RRQ, WRQ and timeout logs

OEM web updater. Check what image format and signature the running OEM version accepts. Select the initial-install file for this revision. Stop if the updater rejects its header or signature.

Serial console. Check logic voltage, pinout and baud rate for the board. Capture a cold boot to identify the bootloader and partition layout before entering its menu.

Open a serial console for boot logs

TFTP transfer. Identify which end requests the file before setting the computer's wired address and server directory. Read the requested name in the log. A successful transfer alone does not show whether the image boots in RAM or is written to flash.

Bootloader recovery page. Connect by Ethernet on the recovery subnet and enter rescue mode using the board-specific procedure. Identify the rescue page and the image format it accepts before uploading.

Recovery paths to check if boot fails

U-Boot TFTP + serial recovery · U-Boot web recovery

Serial console. Check logic voltage, pinout and baud rate for the board. Capture a cold boot to identify the bootloader and partition layout before entering its menu.

TFTP transfer. Identify which end requests the file before setting the computer's wired address and server directory. Read the requested name in the log. A successful transfer alone does not show whether the image boots in RAM or is written to flash.

Bootloader recovery page. Connect by Ethernet on the recovery subnet and enter rescue mode using the board-specific procedure. Identify the rescue page and the image format it accepts before uploading.

Match the image to its purpose

Install field in the hardware table

  • openwrt-24.10.5-ramips-mt7620-sanlinking_d240-squashfs-sysupgrade.bin

Upgrade field in the hardware table

  • openwrt-24.10.5-ramips-mt7620-sanlinking_d240-squashfs-sysupgrade.bin

On a running OpenWrt system, check the board name and active layout, then validate the sysupgrade file with the compatibility check. Initial installation from OEM firmware needs a separately documented entry point.

Sources for this board

Upstream OpenWrt change · OpenWrt Table of Hardware

Guide sources

Comments