openwrt/target/linux/ramips
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
..
base-files/etc ramips: remove model name from LED labels 2020-10-02 14:51:57 +02:00
dts ramips: Add support for D-Link DIR-3040 A1 2024-04-14 20:34:36 +02:00
files/drivers ramips: adjusted pinctrl-aw9523 for kernel 6.6 2024-04-05 07:58:15 +02:00
image ramips: Add support for D-Link DIR-3040 A1 2024-04-14 20:34:36 +02:00
mt76x8 ramips: 6.6: refresh kernel config 2024-04-05 07:58:15 +02:00
mt7620 ramips: add support for TP-Link EC220-G5 v2 2024-04-13 17:40:51 +02:00
mt7621 ramips: Add support for D-Link DIR-3040 A1 2024-04-14 20:34:36 +02:00
patches-6.1 kernel/ramips: Restore kernel patches for v6.1 2024-04-05 07:58:15 +02:00
patches-6.6 ramips: mt7620: alignment with updated snd_soc_dai_driver structure 2024-04-05 07:58:15 +02:00
rt288x ramips: 6.6: refresh kernel config 2024-04-05 07:58:15 +02:00
rt305x ramips: 6.6: refresh kernel config 2024-04-05 07:58:15 +02:00
rt3883 ramips: 6.6: refresh kernel config 2024-04-05 07:58:15 +02:00
Makefile ramips: 6.6: set testing kernel 2024-04-05 07:58:15 +02:00
modules.mk ramips: switch to 6.1 kernel 2024-03-12 17:28:52 +01:00