The hardware table lists D-Link DIR-2640 A1 under ramips/mt7621. Match both the label on the unit and the target in the release directory.
Install using the method recorded for this board
-
Connect the computer directly over Ethernet and assign it 192.168.0.2/24. Power off the router, hold Reset and reapply power. Release Reset when the power LED starts flashing orange. Open http://192.168.0.1 on the computer, submit the first-install image for this revision and wait for writing and reboot.
-
If browser submission fails, confirm that no write has started. Upstream also documents the curl form below. Run it on the computer in the image directory, replacing file.bin with the verified filename. In Windows PowerShell use curl.exe. Once the device accepts the request, leave power connected and wait.
curl -v -i -F "firmware=@./file.bin" http://192.168.0.1
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.
D-Link DIR-2640 A1
MT7621AT · MT7615N
Device profile defined in the build rules — dlink_dir-2640-a1
These files show which parts of the board support or image-building process changed.
- Board definition —
target/linux/ramips/dts/mt7621_dlink_dir-2640-a1.dts - Image build rules —
target/linux/ramips/image/mt7621.mk - Upgrade handling —
target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh
Files explicitly named in the author's install or recovery notes. Use these older names to identify their role, then check the full names in the release you are using.
file.bin
This change documents software support. By itself it does not establish an OEM upload format, button sequence or target partition for initial installation.
Where installation starts
D-Link Recovery GUI
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
D-Link Recovery GUI
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-mt7621-dlink_dir-2640-a1-squashfs-factory.bin
Upgrade field in the hardware table
openwrt-24.10.5-ramips-mt7621-dlink_dir-2640-a1-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
Comments