TP-LINK TL-SG2452P v4

From TechInfoDepot
Jump to navigationJump to search
48-Port Gigabit Smart Switch
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-SG2452P v4
CPU1 checkY Realtek RTL8393M
CPU1 Type MIPS 34Kc
CPU1 Speed 500 MHz 32-bit
Bus 32-bit
Flash1 Size 32 MiB 33,554,432 B <br />262,144 Kib <br />32,768 KiB <br />256 Mib <br />0.0313 GiB <br />
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 RTL8393M
Switch Realtek RTL8393M
Ethernet Port Count 48-1GbE
Ethernet connector 8P8C
Wired Standard IEEE 802.3i/3u/3ab
Auto-MDIX supported
Jumbo frame yes
Switch Class smart

Ethernet OUI: none specified

Expansion IF types SFP
SFP ports 4
Stock bootloader U-Boot
Power 100-240 VAC ~ 50/60 Hz, 6 A
Connector type AC (direct)
Serial Port (UART) yes, 3.3V TTL, (38400 8N1)
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: rtl839x
Package architecture: mips_24kc
Supported Since Commit
Support started version: 23.05.0
Current supported version: 25.12.1
LAN Hardware: Realtek RTL8393M
LAN Comment: 48 port PoE+, 384W budget
WLAN Hardware: none
WLAN Comment: No WLAN
Installation method(s):
see git-commit
Recovery method(s):
see git-commit
git • >>
realtek: add support for TP-Link SG2452P v4 aka T1600G-52PS v4
This is an RTL8393-based switch with 802.3af on all 48 ports.

Specifications:
---------------
 * SoC:       Realtek RTL8393M
 * Flash:     32 MiB SPI flash
 * RAM:       256 MiB
 * Ethernet:  48x 10/100/1000 Mbps with PoE+
 * Buttons:   1x "Reset" button, 1x "Speed" button
 * UART:      1x serial header, unpopulated
 * PoE:       12x TI TPS23861 I2C PoE controller, 384W PoE budget
 * SFP:       4 SFP ports

Works:
------
  - (48) RJ-45 ethernet ports
  - Switch functions
  - Buttons
  - All LEDs on front panel except port LEDs
  - Fan monitoring and basic control

Not yet enabled:
----------------
  - PoE - ICs are not in AUTO mode, so the kernel driver is not usable
  - Port LEDs
  - SFP cages

Install via web interface:
-------------------------

Not supported at this time.

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

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. 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 (U6)
 2. Select option "3. Start"
 3. Bootloader notes that "The kernel has been damaged!"
 4. Release CLK as soon as bootloader thinks image is corrupted.
 5. Bootloader enters automatic recovery -- details printed on console
 6. Watch as the bootloader flashes and boots OpenWRT.

Blind install via tftp:
-----------------------

This method works when it's not feasible to install a serial header.

Prepare a tftp server with:
 1. server address: 192.168.0.146
 2. the image as: "uImage.img"
 3. Watch network traffic (tcpdump or wireshark works)
 4. Power on the device.
 5. Wait 1-2 seconds then ground out the CLK (pin 16) of the ROM (U6)
 6. When 192.168.0.30 makes tftp requests, release pin 16
 7. Wait 2-3 minutes for device to auto-flash and boot OpenWRT