Differences
This shows you the differences between two versions of the page.
| Next revisionBoth sides next revision | |||
| toh:tp-link:tl-sg2452p [2022/09/10 20:34] – Created from the form at meta:create_new_device_page andyboeh | toh:tp-link:tl-sg2452p [2022/09/10 20:45] – Add details andyboeh | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== TP-Link TL-SG2452P ====== | ====== TP-Link TL-SG2452P ====== | ||
| ~~NOTOC~~ | ~~NOTOC~~ | ||
| - | |||
| - | /* This template is intended to be used via https:// | ||
| {{page> | {{page> | ||
| - | //Write a short, relevant description of the device. Include a technical overview, but avoid marketing buzzwords/ | + | The TL-SG2452P, also known as T1600G-52PS, is a 48 (52) port Gigabit switch with PoE on all 48 RJ45 ports and 4 additional SFP ports. |
| + | Only v4 is supported by OpenWrt, the earlier versions are based on a Broadcom SoC and cannot be supported. | ||
| - | /*****/ | + | ===== Non-working features |
| - | /* How to add images | + | |
| - | /*****/ | + | |
| - | {{ media:example:genericrouter1.png? | + | * SFP ports: No support for the PHY at the moment |
| + | * PoE: Additional workaround necessary to enable the ports | ||
| + | * LEDs: Additional workaround necessary to enable the LEDs | ||
| + | * Fan control: Only high and medium speed available, manual only | ||
| + | ===== Supported Versions ===== | ||
| + | ---- datatable ---- | ||
| + | cols : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, OWrt Forum Topic URL_url, Device Techdata_pageid | ||
| + | headers : Brand, Model, Version, Current Release, OEM Info, Forum Topic, Technical Data | ||
| + | align : c, | ||
| + | filter | ||
| + | ---- | ||
| - | ===== OpenWrt support | + | ===== Hardware Highlights |
| + | ---- datatable ---- | ||
| + | cols : Model, Versions, CPU, CPU MHz, Flash MB_mbflashs, | ||
| + | header | ||
| + | align : c, | ||
| + | filter | ||
| + | ---- | ||
| - | <color red> | + | ===== Installation ===== |
| + | ==== Serial console method ==== | ||
| + | The U-Boot firmware drops to a TP-Link specific " | ||
| + | 38400 baud. There is no known way to exit out of this shell, and no | ||
| + | way to do anything useful. | ||
| - | /*** if info available: uncomment and fill in | + | Ideally, one would trick the bootloader into flashing the sysupgrade |
| - | ===== Supporting activities ===== | + | image first. However, |
| - | //Describe if there are any ongoing activities that might lead to OpenWrt support.// | + | work. To install OpenWRT: |
| - | * OpenWrt forum thread: (add link) | + | Prepare a tftp server with: |
| - | ***/ | + | - server address: 192.168.0.146 |
| + | - the image as: " | ||
| + | Power on device, and stop boot by pressing any key. | ||
| + | Once the shell is active: | ||
| + | - Ground out the CLK (pin 16) of the ROM (U6) | ||
| + | - Select option "3. Start" | ||
| + | - Bootloader notes that "The kernel has been damaged!" | ||
| + | - Release CLK as soon as bootloader thinks image is corrupted. | ||
| + | - Bootloader enters automatic recovery -- details printed on console | ||
| + | - Watch as the bootloader flashes and boots OpenWRT. | ||
| - | /*** if info available: uncomment and fill in | + | ==== Blind install via tftp ==== |
| - | ===== Experimental firmware ===== | + | |
| - | //List experimental firmware download links here.// | + | This method works when it's not feasible to install a serial header. |
| - | //None at this time.// | + | Prepare a tftp server with: |
| + | - server address: 192.168.0.146 | ||
| + | - the image as: " | ||
| + | - Watch network traffic (tcpdump or wireshark works) | ||
| + | - Power on the device. | ||
| + | - Wait 1-2 seconds then ground out the CLK (pin 16) of the ROM (U6) | ||
| + | - When 192.168.0.30 makes tftp requests, release pin 16 | ||
| + | - Wait 2-3 minutes for device to auto-flash and boot OpenWRT | ||
| - | * External image (add link) | + | ===== Workarounds ===== |
| - | | + | |
| - | | + | ==== PoE ==== |
| - | ***/ | + | |
| + | The PoE modules and the kernel hwmon driver work, but the ICs are not in the correct mode during startup. In order to enable them, the package `i2c-tools` needs to installed and a startup script is required | ||
| + | |||
| + | < | ||
| + | i2cset -y 0 0x30 0x12 0xff | ||
| + | for i in `seq 3 14`; do | ||
| + | | ||
| + | | ||
| + | echo 1 > / | ||
| + | echo 1 > / | ||
| + | done | ||
| + | </code> | ||
| + | ==== LEDs ==== | ||
| - | ===== Hardware highlights ===== | + | The following commands enable the LEDs on the ports - you can put them into /etc/rc.local: |
| - | ^ CPU ^ Ram ^ Flash ^ Network | + | |
| - | | EXAMPLE RT3052 @ 384 MHz | + | |
| + | < | ||
| + | cd / | ||
| + | echo 0x0060f568 > led_glb_ctrl | ||
| + | echo 0x00007dea > led_set_0_1 | ||
| + | echo 0xffffffff > led_copr_pmask_ctrl_0 | ||
| + | echo 0x000fffff > led_copr_pmask_ctrl_1 | ||
| + | echo 0xffffffff > led_combo_ctrl_0 | ||
| + | echo 0x000fffff > led_combo_ctrl_1 | ||
| + | </ | ||
| /*** if info available: uncomment and fill in | /*** if info available: uncomment and fill in | ||
| Line 111: | Line 162: | ||
| ===== Hardware ===== | ===== Hardware ===== | ||
| ==== Info ==== | ==== Info ==== | ||
| - | ^ Architecture | + | ^ Architecture |
| - | ^ Vendor | + | ^ Vendor |
| - | ^ Bootloader | + | ^ Bootloader |
| - | ^ System-On-Chip | + | ^ System-On-Chip |
| - | ^ CPU/ | + | ^ CPU/ |
| - | ^ Flash-Chip | + | ^ Flash-Chip |
| - | ^ Flash size | + | ^ Flash size |
| - | ^ RAM | EXAMPLE 64 MiB | | + | ^ RAM | 256 MiB | |
| - | ^ Wireless | + | ^ Wireless |
| - | ^ Ethernet | + | ^ Ethernet |
| - | ^ Switch | + | ^ Switch |
| - | ^ USB | EXAMPLE 1x 2.0 | | + | ^ USB | none | |
| - | ^ Serial | + | ^ Serial |
| - | ^ JTAG | + | ^ JTAG |
| Line 136: | Line 187: | ||
| ***/ | ***/ | ||
| - | |||
| - | ==== Photos ==== | ||
| - | /* =====>>>>> | ||
| - | /* When uploading photos, **name them** intelligently. Nobody knows what 20100930_000602.jpg is! */ | ||
| - | /* e.g. {{: | ||
| - | /* Thanks, your wiki administration - Oct. 2015 */ | ||
| - | |||
| - | **Insert photo of front of the casing** | ||
| - | |||
| - | **Insert photo of back of the casing** | ||
| - | |||
| - | **Insert photo of backside label** | ||
| - | |||
| - | **Insert photo of PCB** | ||
| - | |||
| - | ==== Opening the case ==== | ||
| - | |||
| - | <WRAP BOX> | ||
| - | FIXME //Describe what needs to be done to open the device, e.g. remove rubber feet, adhesive labels, screws, ...// | ||
| - | </ | ||
| - | |||
| - | ==== Serial ==== | ||
| - | -> [[docs: | ||
| - | |||
| - | How to connect to the Serial Port of this specific device:\\ | ||
| - | **Insert photo of PCB with markings for serial port** | ||
| - | |||
| - | <WRAP BOX> | ||
| - | FIXME //Replace EXAMPLE by real values.// | ||
| - | </ | ||
| - | |||
| - | ^ Serial connection parameters\\ for TP-Link TL-SG2452P @@Version@@ | EXAMPLE 115200, 8N1, 3.3V | | ||
| - | |||
| - | ==== JTAG ==== | ||
| - | -> [[docs: | ||
| - | |||
| - | How to connect to the JTAG Port of this specific device:\\ | ||
| - | **Insert photo of PCB with markings for JTAG port** | ||
| - | |||
| - | ===== Bootlogs ===== | ||
| - | ==== OEM bootlog ==== | ||
| - | <WRAP bootlog> | ||
| - | < | ||
| - | </ | ||
| - | |||
| - | ==== OpenWrt bootlog ==== | ||
| - | <WRAP bootlog> | ||
| - | < | ||
| - | </ | ||
| - | |||
| - | ===== Notes ===== | ||
| ===== Tags ===== | ===== Tags ===== | ||
| [[meta: | [[meta: | ||
| - | {{tag>EXAMPLETAG unsupported}} | + | {{tag>}} |