openwrt/target/linux
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
..
airoha airoha: remove 5.15 support 2024-03-28 13:06:43 +01:00
apm821xx apm821xx: restore 6.1 config+patches 2024-04-05 09:26:26 +02:00
archs38 archs38: remove 5.15 support 2024-03-29 09:58:45 +01:00
armsr kernel: bump 6.1 to 6.1.72 2024-01-19 21:24:44 +01:00
at91 kernel: bump 5.15 to 5.15.153 2024-03-31 18:34:04 +02:00
ath79 ath79: add support for Comfast CF-EW71 v2 2024-04-14 19:20:06 +02:00
bcm27xx kernel: bump 6.1 to 6.1.86 2024-04-14 18:03:37 +02:00
bcm47xx bcm47xx: refresh kernel 6.1 config 2024-03-29 00:12:50 +01:00
bcm53xx kernel: bump 5.15 to 5.15.152 2024-03-29 13:44:41 +01:00
bcm4908 kernel: bump 6.1 to 6.1.83 2024-04-14 18:03:37 +02:00
bmips bmips: add support for SmartRG SR505n 2024-03-10 20:26:07 +01:00
d1 d1: define subtarget specifically 2024-04-08 21:52:51 +02:00
gemini kernel: bump 6.1 to 6.1.71 2024-01-06 12:52:49 +01:00
generic kernel: add pending patches for new LED_FUNCTION_* definitions 2024-04-14 19:46:30 +02:00
imx imx: kernel: add imx8mp PCI support 2024-03-24 21:19:10 +01:00
ipq40xx kernel: bump 6.1 to 6.1.86 2024-04-14 18:03:37 +02:00
ipq806x kernel: bump 6.1 to 6.1.83 2024-04-14 18:03:37 +02:00
ixp4xx ixp4xx: add Generic subtarget definition 2023-12-09 14:45:50 +01:00
kirkwood kirkwood: 6.6: refresh patches 2024-04-05 09:27:45 +02:00
lantiq lantiq: Fix build after kernel 5.15.150 2024-03-08 14:49:09 +01:00
layerscape treewide: disable spectre mitigation on unaffected Arm32 targets 2024-03-23 20:00:49 +01:00
malta malta: Remove kernel 5.15 configuration 2024-02-03 04:35:25 +00:00
mediatek kernel: bump 6.1 to 6.1.84 2024-04-14 18:03:37 +02:00
mpc85xx mpc85xx: add 6.6 testing kernel 2024-03-24 21:20:46 +01:00
mvebu mvebu: fix LEDs on IIJ SA-W2 2024-04-14 19:46:30 +02:00
mxs mxs: switch default kernel to 6.1 2024-03-14 14:24:16 +01:00
octeon octeon: convert to new LED color/function format where possible 2024-02-07 14:48:41 +01:00
octeontx kernel: bump 5.15 to 5.15.153 2024-03-31 18:34:04 +02:00
omap omap: drop kernel 5.15 2024-02-13 19:05:48 +01:00
oxnas kernel: bump 5.15 to 5.15.153 2024-03-31 18:34:04 +02:00
pistachio kernel: bump 6.1 to 6.1.84 2024-04-14 18:03:37 +02:00
qoriq qoriq: pad rootfs with zeros 2023-12-02 14:06:56 +02:00
qualcommax qualcommax: enhance smp_affinity (log, uci, syntax) 2024-04-12 13:22:12 +02:00
ramips ramips: Add support for D-Link DIR-3040 A1 2024-04-14 20:34:36 +02:00
realtek realtek: fix filter_port_list_reverse calls 2024-04-13 13:22:11 +03:00
rockchip rockchip: remove redundant 'console' parameter from boot script 2024-03-29 19:34:42 +01:00
sifiveu kernel: remove CONFIG_DEVTMPFS_SAFE from target config 2023-11-19 16:46:24 +01:00
starfive generic: 6.1: backport AXP PMIC support 2024-03-26 21:56:57 +01:00
sunxi sunxi: backport h616 thermal sensor support 2024-03-26 21:56:57 +01:00
tegra
uml uml: restore 6.1 config + patches 2024-03-23 21:38:00 +01:00
x86 kernel: bump 6.1 to 6.1.86 2024-04-14 18:03:37 +02:00
zynq
Makefile linux: add dtb makefile target to targets list 2024-02-08 23:04:55 +01:00