Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 andyboehtoh: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://openwrt.org/meta/create_new_device_page . */ 
  
 {{page>meta:infobox:construction&noheader&nofooter&noeditbtn}} {{page>meta:infobox:construction&noheader&nofooter&noeditbtn}}
  
-//Write a shortrelevant description of the device. Include a technical overviewbut avoid marketing buzzwords/useless stuff. Two to four sentences is about rightA picture is goodtoo. Edit the page to see how to add pictures.//+The TL-SG2452Palso 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 ========> https://openwrt.org/meta/adding_images_to_openwrt_wiki */ +
-/*****/+
  
-{{ media:example:genericrouter1.png?200|Generic Router}}+  * SFP portsNo support for the PHY at the moment 
 +  * PoEAdditional 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,c,c,c,c,c,c
 +filter  : Model=TL-SG2452P
 +----
  
-===== OpenWrt support =====+===== Hardware Highlights ===== 
 +---- datatable ---- 
 +cols    : Model, Versions, CPU, CPU MHz, Flash MB_mbflashs, RAM MB_mbram, WLAN Hardware, WLAN 2.4GHz, WLAN 5.0GHz, Ethernet 100M ports_, Ethernet Gbit ports_, Modem, USB ports_ 
 +header  : Model, Version,SoC,CPU MHz,Flash MB,RAM MB,WLAN Hardware,WLAN2.4,WLAN5.0,100M ports,Gbit ports,Modem,USB 
 +align   : c,c,c,c,c,c,c,c,c,c,c,c,
 +filter  : Model=TL-SG2452P 
 +----
  
-<color red>**Not supported.**</color>+===== Installation =====
  
 +==== Serial console method ====
 +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.
  
-/*** if info available: uncomment and fill in +Ideally, one would trick the bootloader into flashing the sysupgrade 
-===== Supporting activities ===== +image first. However, if the image exceeds 6MiB in size, it will not 
-//Describe if there are any ongoing activities that might lead to OpenWrt support.//+workTo install OpenWRT:
  
-  * OpenWrt forum thread(add link) +Prepare a tftp server with
-***/+  - server address: 192.168.0.146 
 +  - the image as: "uImage.img"
  
 +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: "uImage.img" 
 +  - 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 ===== 
-  * trunk image (add link) + 
-  * ... +==== 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 (e.g. /etc/rc.local)
 + 
 +<code> 
 +i2cset -y 0 0x30 0x12 0xff 
 +for i in `seq 3 14`; do 
 +  echo 1 > /sys/class/hwmon/hwmon$i/in0_enable 
 +  echo 1 > /sys/class/hwmon/hwmon$i/in1_enable 
 +  echo 1 > /sys/class/hwmon/hwmon$i/in2_enable 
 +  echo 1 > /sys/class/hwmon/hwmon$i/in3_enable 
 +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     ^ WLAN   ^ USB      ^ Serial   ^ JTag   ^ +
-| EXAMPLE RT3052 @ 384 MHz    64 MiB  |  8 MiB  |  4x 10/100  |  bgn    1x 2.0  |   Yes    |   ?    |+
  
 +<code>
 +cd /sys/kernel/debug/rtl838x/led
 +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
 +</code>
  
 /*** if info available: uncomment and fill in /*** if info available: uncomment and fill in
Line 111: Line 162:
 ===== Hardware ===== ===== Hardware =====
 ==== Info ==== ==== Info ====
-^ Architecture     EXAMPLE MIPS                             | +^ Architecture     | MIPS                             | 
-^ Vendor           EXAMPLE Ralink                           | +^ Vendor           Realtek                           | 
-^ Bootloader       EXAMPLE U-Boot                           | +^ Bootloader       (Crippled) U-Boot                           | 
-^ System-On-Chip   EXAMPLE Ralink RT3052 - MIPS 24K V4.12   | +^ System-On-Chip   RTL8393M   | 
-^ CPU/Speed        | EXAMPLE 451 MHz                          | +^ CPU/Speed        | 500 MHz                          | 
-^ Flash-Chip       EXAMPLE unkown                           | +^ Flash-Chip       Winbond                           | 
-^ Flash size       EXAMPLE 8 MiB                            | +^ Flash size       32 MiB                            | 
-^ RAM              | EXAMPLE 64 MiB                           | +^ RAM              | 256 MiB                           | 
-^ Wireless         EXAMPLE RT2860v2 2.4GHz 802.11bgn        | +^ Wireless         None        | 
-^ Ethernet         EXAMPLE 10/100 Mbit/s w/ vlan support    | +^ Ethernet         1GBit    | 
-^ Switch           EXAMPLE Qualcomm Atheros QCA8337         +^ Switch           48x GBit, 4x SFP  
-^ USB              | EXAMPLE 1x 2.0                           | +^ USB              | none                           | 
-^ Serial           | EXAMPLE [[#Serial|Yes]]                  | +^ Serial           | Yes                  | 
-^ JTAG             EXAMPLE [[#JTAG|Not populated]]          |+^ JTAG             No          |
  
  
Line 136: Line 187:
 ***/ ***/
  
- 
-==== Photos ==== 
-/* =====>>>>> Standard size for photos: add ?400 to the medialink                                */ 
-/* When uploading photos, **name them** intelligently. Nobody knows what 20100930_000602.jpg is! */ 
-/* e.g. {{:media:yourbrand:yourbrand_yourmodel_front.jpg?400|}}                                  */ 
-/* 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, ...// 
-</WRAP> 
- 
-==== Serial ==== 
--> [[docs:techref:hardware:port.serial]] general information about the serial port, serial port cable, etc. 
- 
-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.// 
-</WRAP> 
- 
-^ Serial connection parameters\\ for TP-Link TL-SG2452P @@Version@@ | EXAMPLE 115200, 8N1, 3.3V | 
- 
-==== JTAG ==== 
--> [[docs:techref:hardware:port.jtag]] general information about the JTAG port, JTAG cable, etc. 
- 
-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> 
-<nowiki>COPY HERE THE BOOTLOG WITH THE ORIGINAL FIRMWARE</nowiki> 
-</WRAP>\\ 
- 
-==== OpenWrt bootlog ==== 
-<WRAP bootlog> 
-<nowiki>COPY HERE THE BOOTLOG ONCE OPENWRT IS INSTALLED AND RUNNING</nowiki> 
-</WRAP>\\ 
- 
-===== Notes ===== 
  
 ===== Tags ===== ===== Tags =====
 [[meta:tags|How to add tags]] [[meta:tags|How to add tags]]
-{{tag>EXAMPLETAG unsupported}}+{{tag>}}
  • Last modified: 2024/02/12 08:58
  • by 127.0.0.1