openwrt/target/linux
Hal Martin 741ac49396 realtek: add support for Datto L8
Add support for Datto L8 with 8 copper ports.
POE+ support with 55W power budget.

Specifications:
---------------

    * SoC: Realtek RTL8380M
    * Flash: 32MiB Flash
    * RAM: 256MiB
    * Ethernet: 8x 10/100/1000 Mbps
    * PoE: 8x
    * Serial: UART 3.3V TTL logic, 115200 8N1
        * pinout: G(ND) R(x) T(x) V(cc)
    * Buttons: 1x Reset, 1x LED Mode (noop in OpenWrt)

Note: OpenWrt combines the stock dual firmware partitions
for more overlay capacity, however the OpenWrt image cannot
exceed 13504k

Installation:
-------------

> When connected to CloudTrax, the local management login will be disabled to prevent settings conflicts.

Ensure the switch does not have a working internet connection or the local
web management interface is disabled.

Go to the web management page of the switch (may require factory reset).
By default the switch will use DHCP to obtain an IP address.

The default login user is `admin` with password `0p3nm3$h!`

On the left menu, click "Management" and then "Dual Image" and ensure that
"Partition 0" is selected as the active partition. If it is not, select
"Partition 0" and click "Apply" to save changes.

Click on "Upgrade" in the top right of the web interface. Select the
Active boot partition to update. Select the OpenWrt file ending
in `-initramfs-kernel.bin` as the update file to upload.

Upload the file and follow the prompts to upgrade the firmware.

Reboot the switch from the web UI after the firmware update is completed.
Wait for OpenWrt to finish booting (~2 minutes)

Use SSH or the Luci UI (if available) to perform the sysupgrade.

Copy the sysupgrade file ending in `-squashfs-sysupgrade.bin` to the switch:
```
scp -O openwrt-realtek-rtl838x-datto_l8-squashfs-sysupgrade.bin root@192.168.1.1:/tmp/
```

SSH to the switch and run `sysupgrade`:
```
ssh root@192.168.1.1
$ sysupgrade -n /tmp/openwrt-realtek-rtl838x-datto_l8-squashfs-sysupgrade.bin
```

OpenWrt will be installed. Note that first boot after installing requires ~3
minutes for the JFFS2 overlay to be formatted. When the Power LED stops blinking
in the first boot after `sysupgrade`, JFFS2 formatting is completed.

----

Revert back to stock firmware:

You will need a tftp server and the original Datto firmware.

Download the firmware for the S8-L/L8 from Datto:
https://networkinghelp.datto.com/help/Content/kb/Networking/Switches/KB360023113291.html

Rename `s8-l_fw_01.03.24_180823-1639.bix` to `vmlinux.bix`,
put `vmlinux.bix` in the root directory of your tftp server.

Connect a serial console to the UART header and power on the switch.

Interrupt U-Boot by typing `pac` when you see
`Enter correct key to stop autoboot:`

Run the following commands:
```
setenv serverip <tftp_server_ip>
setenv ipaddr <ip_on_same_subnet>
setenv netmask 255.255.255.0
run rtkon
run update_linux
run update_linux2
reset
```

The switch will boot the Datto firmware.

Signed-off-by: Hal Martin <hal.martin@gmail.com>
Tested-By: Raylynn Knight <rayknight@me.com>
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2026-04-02 22:25:37 +02:00
..
airoha airoha: backport minor fixup for Ethernet driver on Offload Scenario 2026-04-01 09:08:57 +02:00
apm821xx Revert "apm821xx: rename pciex to pcie" 2026-02-10 14:54:23 +01:00
armsr kernel: lift CONFIG_REGULATOR_VEXPRESS 'not set' to generic 2026-02-28 10:12:15 +01:00
at91
ath79 ath79: wndap360: use default 9600 baud rate 2026-04-02 12:32:52 +02:00
bcm27xx kernel: bump 6.12 to 6.12.78 2026-03-30 13:42:44 +02:00
bcm47xx
bcm53xx bcm53xx: mr26: fix nvmem MAC override 2026-03-11 12:13:14 +01:00
bcm4908 kernel: bump 6.12 to 6.12.78 2026-03-30 13:42:44 +02:00
bmips Revert "bmips: huawei-hg556a-c: use nvmem for wifi eeprom" 2026-02-20 23:01:29 +01:00
d1
econet kernel: bump 6.12 to 6.12.78 2026-03-30 13:42:44 +02:00
gemini gemini: add support for Teltonika RUT104 2026-02-17 11:27:22 +01:00
generic kernel: tune 24kc instead of 34kc for mips32r2 2026-04-01 14:05:56 +02:00
imx imx: cortexa53: remove KSZ9477 static driver 2026-03-13 19:59:59 +01:00
ipq40xx ipq40xx: refresh patches 2026-04-01 13:25:22 +02:00
ipq806x treewide: linksys: remove unnecessary properties 2026-03-30 19:35:41 +02:00
ixp4xx
kirkwood kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
lantiq lantiq: fix u-boot env size for Netgear DGN3500 2026-03-31 15:42:31 +02:00
layerscape kernel: bump 6.12 to 6.12.71 2026-02-14 18:30:02 +01:00
loongarch64
malta malta: enable 6.18 testing kernel 2026-04-01 16:36:50 +02:00
mediatek mediatek: backport upstream thermal patch for mt7981 2026-04-01 14:10:26 +02:00
microchipsw microchipsw: add 6.18 testing kernel 2026-03-29 18:07:05 +02:00
mpc85xx mpc85xx: remove swconfig package 2026-03-21 22:34:27 +01:00
mvebu kernel: bump 6.12 to 6.12.78 2026-03-30 13:42:44 +02:00
mxs mxs: enable 6.18 testing kernel 2026-03-29 18:52:41 +02:00
octeon
omap
pistachio kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
qoriq
qualcommax ipq60xx: linksys: add partition selection 2026-04-01 14:20:20 +02:00
qualcommbe kernel: bump 6.12 to 6.12.78 2026-03-30 13:42:44 +02:00
ramips ramips: fix WAN LED GPIO for Xiaomi Mi Router 4C 2026-03-31 15:45:30 +02:00
realtek realtek: add support for Datto L8 2026-04-02 22:25:37 +02:00
rockchip kernel: bump 6.12 to 6.12.78 2026-03-30 13:42:44 +02:00
sifiveu
siflower kernel: bump 6.12 to 6.12.75 2026-03-22 12:00:31 +01:00
starfive kernel: bump 6.12 to 6.12.78 2026-03-30 13:42:44 +02:00
stm32
sunxi sunxi: add PineCube support 2026-03-21 16:43:47 +01:00
tegra
uml
x86 x86/64: 6.12: 6.18: enable performance related options 2026-04-02 14:24:46 +02:00
zynq kernel: lift CONFIG_REGULATOR_VEXPRESS 'not set' to generic 2026-02-28 10:12:15 +01:00
Makefile