TP-LINK TL-SG2210P v3

From TechInfoDepot
Jump to navigationJump to search
JetStream 10-Port Gigabit Smart Switch with 8-Port PoE+
Homepage Product page
3rd Party Firmware
dd-wrt Status Unknown
OpenWrt Supported
Tomato any flavor Incompatible
Gargoyle Status Unknown
Platform
Brand • Model • Rev TP-LINK TL-SG2210P v3
CPU1 checkY Realtek RTL8380M
CPU1 Type MIPS 4KEc
CPU1 Speed 500 MHz
Flash1 Size 32 MiB 33,554,432 B <br />262,144 Kib <br />32,768 KiB <br />256 Mib <br />0.0313 GiB <br /> (SPI)
RAM1 Size 256 MiB 268,435,456 B <br />2,097,152 Kib <br />262,144 KiB <br />2,048 Mib <br />0.25 GiB <br />
ETH chip1 Realtek RTL8380M
Switch Realtek RTL8380M
Ethernet Port Count 8-1GbE
Ethernet connector 8P8C
Wired Standard IEEE 802.3i/3u/3ab
Auto-MDIX unspecified
Switch Class managed

Ethernet OUI: none specified

Expansion IF types SFP
SFP ports 2
Stock bootloader U-Boot
PoE 802.3at, 802.3af, standard
Power 53.5 VDC, 1.3 A
Connector type barrel
Serial Port (UART) yes, 3.3V TTL, (115200 8N1)
JTAG Port no
3rd Party Firmware Support OpenWrt • (List | Dev | DLs)

For a list of all currently documented Realtek chipsets with specifications, see Realtek.

For a list of all currently documented TP-LINK devices with specifications, see TP-LINK.


Flashing

Flashing OpenWrt

Target: realtek
Subtarget: rtl838x
Package architecture: mips_4kec
Supported Since Commit
Support started version: 23.05.0
Current supported version: 25.12.1
LAN Hardware: Realtek RTL8380M
LAN Comment: PoE+ available on 8 1Gbit ports
WLAN Hardware: none
WLAN Comment: No WLAN
Installation method(s):
TFTP generic, see git-commit
Recovery method(s):
TFTP generic, see git-commit
git • >>
realtek: add support for TP-Link SG2210P
Add support for the TP-Link SG2210P switch. This is an RTL8380 based
switch with eight RJ-45 ports with 802.3af PoE, and two SFP ports.

This device shares the same board with the SG2008P and SG2008. To
model this, declare all the capabilities in the sg2xxx dtsi, and
disable unpopulated on the lower end models.

Specifications:
---------------
 - SoC:       Realtek RTL8380M
 - Flash:     32 MiB SPI flash (Vendor varies)
 - RAM:	      256 MiB (Vendor varies)
 - Ethernet:  8x 10/100/1000 Mbps with PoE (all ports)
              2x SFP ports
 - Buttons:   1x "Reset" button on front panel
 - Power:     53.5V DC barrel jack
 - UART:      1x serial header, unpopulated
 - PoE:       2x TI TPS23861 I2C PoE controller

Works:
------
  - (8) RJ-45 ethernet ports
  - (2) SFP ports (with caveats)
  - Switch functions
  - System LED

Not yet enabled:
----------------
  - Power-over-Ethernet (driver works, but doesn't enable "auto" mode)
  - PoE LEDs

Enabling SFP ports:
-------------------

The SFP port control lines are hardwired, except for tx-disable. These
lines are controller by the RTL8231 in shift register mode. There is
no driver support for this yet.

However, to enable the lasers on SFP1 and SFP2 respectively:

    echo 0x0510ff00 > /sys/kernel/debug/rtl838x/led/led_p_en_ctrl
    echo      0x140 > /sys/kernel/debug/rtl838x/led/led_sw_p_ctrl.26
    echo      0x140 > /sys/kernel/debug/rtl838x/led/led_sw_p_ctrl.24

Install via serial console/tftp:
--------------------------------

The footprints R27 (0201) and R28 (0402) are not populated. To enable
serial console, 50 ohm resistors should be soldered -- any value from
0 ohm to 50 ohm will work. R27 can be replaced by a solder bridge.

The u-boot firmware drops to a TP-Link specific "BOOTUTIL" shell at
38400 baud. There is no known way to exit out of this shell, and no
way to do anything useful.

Ideally, one would trick the bootloader into flashing the sysupgrade
image first. However, if the image exceeds 6MiB in size, it will not
work. The sysupgrade image can also be flashed. To install OpenWrt:

Prepare a tftp server with:
 1. server address: 192.168.0.146
 2. the image as: "uImage.img"

Power on device, and stop boot by pressing any key.
Once the shell is active:
 1. Ground out the CLK (pin 16) of the ROM (U7)
 2. Select option "3. Start"
 3. Bootloader notes that "The kernel has been damaged!"
 4. Release CLK as sson as bootloader thinks image is corrupted.
 5. Bootloader enters automatic recovery -- details printed on console
 6. Watch as the bootloader flashes and boots OpenWrt.