openwrt/target/linux/ramips/image
Vince McKinsey cab2e1de0d ramips: Add support for D-Link DIR-3040 A1
This adds support for the A1 hardware revision of the DIR-3040.
It is an exact copy of the DIR-3060 save for some cosmetic changes to the housing.
Even going so far as having the same FCC ID.

Hardware specification:
SoC: MediaTek MT7621AT
Flash: Winbond W29N01HVSINA 128MB
RAM: Micron MT41K128M16JT-125 256MB
Ethernet: 5x 10/100/1000 Mbps
WiFi1: MT7615DN 2.4GHz N 2x2:2
WiFi2: MT7615DN 5GHz AC 2x2:2
WiFi3: MT7615N 5GHz AC 4x4:4
Button: WPS, Reset

Flash instructions:
OpenWrt can be installed via D-Link Recovery GUI:
NOTE: Seems to only work in Firefox on Windows.
Tried with Chrome on Windows, Firefox in Linux, and Chromium in Linux.
None of these other browsers worked.

    1. Push and hold reset button (on the bottom of the device) until power led
	starts flashing (about 10 secs or so) while plugging in the power cable.
    2. Give it ~30 seconds, to boot the recovery mode GUI
    3. Connect your client computer to LAN1 of the device
    4. Set your client IP address manually to 192.168.0.2 / 255.255.255.0.
    5. Call the recovery page for the device at http://192.168.0.1/
    6. Use the provided emergency web GUI to upload and flash a new firmware to the device

Thanks to @Lucky1openwrt and @iivailo for creating the DIR-3060 DTS file and related changes,
so it was possible for me to adapt them to the DIR-3040, build images,
test and fix minor issues.

MAC Addresses:

| use | address | example |
| --- | --- | --- |
| LAN | label | f4:*:61 |
| WAN | label + 4 | f4:*:65 |
| WI1/2g | label + 2 | f4:*:63 |
| WI1/5g | label + 1 | f4:*:62 |
| WI2/5g | label + 3 | f4:*:64 |

The label MAC address was found in Factory, 0xe000

Checklist:

✓ nand
✓ ethernet
✓ button
✓ wifi2g
✓ wifi5g
✓ wifi5g
✓ mac
✓ led

Signed-off-by: Vince McKinsey <vincemckinsey@gmail.com>
2024-04-14 20:34:36 +02:00
..
lzma-loader ramips: lzma-loader: use default uart for rt305x 2024-01-02 22:10:34 +01:00
common-sercomm.mk ramips: add support for Sercomm CPJ routers 2023-11-25 01:11:18 +01:00
common-tp-link.mk ramips: add basic support for TP-Link EC330-G5u v1 2023-01-14 18:36:33 +01:00
Makefile image: use helper function for size units 2023-11-26 18:37:20 +01:00
mt76x8.mk ramips: add support for TP-Link RE205 v3 2024-03-23 23:38:33 +01:00
mt7620.mk ramips: add support for TP-Link EC220-G5 v2 2024-04-13 17:40:51 +02:00
mt7621.mk ramips: Add support for D-Link DIR-3040 A1 2024-04-14 20:34:36 +02:00
rt288x.mk treewide: Disable building 32M RAM devices 2023-05-21 01:08:22 +02:00
rt305x.mk treewide: Disable building 32M RAM devices 2023-05-21 01:08:22 +02:00
rt3883.mk treewide: Disable building 32M RAM devices 2023-05-21 01:08:22 +02:00