Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
toh:tp-link:tl-sg2210p_v3 [2023/09/08 21:46] – Add basic info, describe enabling LED controller mrnuketoh:tp-link:tl-sg2210p_v3 [2024/07/17 16:15] – [OEM installation using the TFTP method] mrnuke
Line 17: Line 17:
 ===== Supported Versions ===== ===== Supported Versions =====
  
----- datatable ---- +<!-- ToH: { 
-cols    BrandModelVersionsSupported Current Rel, OEM device homepage URL_url, Forum Search_search-forums, Device Techdata_pageid +  "source""json", 
-headers Brand, Model, Version, Current Release, OEM Info, Forum SearchTechnical Data +  "dom": "t", 
-align   c,c,c,c,c,c,c +  "paging": false
-filter  : Brand=TP-Link +  "rotate"true
-filter  : Model=SG2210P +  "shownColumns"["brand""model""version""supportedcurrentrel""oemdevicehomepageurl""forumsearch", "deviceid"]
-filter  : Versions~v3 +  "filterColumns"{"brand": "^TP-Link$""model""TL-SG2210P$", "version""^v3$"} 
----- +-->
- +
-/* If no unsupported functions knowncomment out the following datatable or delete it. */ +
----- datatable ---- +
-cols    Unsupported Functions_unsupporteds +
-filter  : Brand=TP-Link +
-filter  : Model=SG2210P +
-filter  Versions~v3 +
----- +
- +
-===== Experimental Versions ===== +
- +
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *  +
-   The official Table of Hardware only lists current, stable versions of OpenWrt. +
-   Use this space to describe any on-going efforts to create a newer version       * +
-   of the firmware for this device. Provide links to firmware images,              * +
-   active threads on the forum, or other sources of information.                   * +
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ +
- +
-//None at this time.//+
  
 ===== Hardware Highlights ===== ===== Hardware Highlights =====
----- datatable ---- +<!-- ToH: { 
-cols    ModelVersionsCPUCPU MHz, CPU Cores_numcores, Flash MB_mbflashs, RAM MB_mbram, WLAN Hardware, WLAN 2.4GHz, WLAN 5.0GHz, Ethernet 100M ports_, Ethernet Gbit ports_, ModemUSB ports_ +  "source""json", 
-header  : ModelVersion,SoC,CPU MHz,CPU Cores,Flash MB,RAM MB,WLAN Hardware,WLAN2.4,WLAN5.0,100M ports,Gbit ports,Modem,USB +  "dom": "t", 
-align   : c,c,c,c,c,c,c,c,c,c,c,c,c +  "paging": false, 
-filter  : Brand=TP-Link +  "rotate": true
-filter  Model=SG2210P +  "shownColumns"["model""version""cpu""cpumhz""cpucores""flashmb""rammb""wlanhardware""wlan24ghz""wlan50ghz""ethernet100mports""ethernet1gports""modem""usbports"]
-filter  Versions~v3 +  "filterColumns"{"brand": "^TP-Link$", "model""^TL-SG2210P$", "version""^v3$"} 
-----+-->
  
  
Line 59: Line 40:
 /* stable release */ /* stable release */
 /* uncomment once stable release is available /* uncomment once stable release is available
----- datatable ---- +<!-- ToH: { 
-cols    ModelVersionsSupported Current RelFirmware OpenWrt Install URL_urlFirmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url +  "source""json", 
-headers ModelVersionCurrent ReleaseFirmware OpenWrt InstallFirmware OpenWrt UpgradeFirmware OEM Stock +  "dom": "t", 
-align   : c,c,c +  "paging": false, 
-filter  : Brand=TP-Link +  "rotate": true
-filter  Model=SG2210P +  "shownColumns"["model""version""supportedcurrentrel""firmwareopenwrtinstallurl""firmwareopenwrtupgradeurl""firmwareoemstockurl"]
-filter  Versions~v3 +  "filterColumns"{"brand": "^TP-Link$", "model""^TL-SG2210P$", "version""^v3$"} 
-----+-->
 */ */
  
Line 72: Line 53:
 /* snapshot */ /* snapshot */
 /* delete once stable release is available */ /* delete once stable release is available */
----- datatable ---- +<!-- ToH: { 
-cols    ModelVersionsSupported Current Rel, Firmware OpenWrt snapshot Install URL_url, Firmware OpenWrt snapshot Upgrade URL_urlFirmware OEM Stock URL_url +  "source""json", 
-headers ModelVersionCurrent ReleaseFirmware OpenWrt snapshot InstallFirmware OpenWrt snapshot UpgradeFirmware OEM Stock +  "dom": "t", 
-align   : c,c,c +  "paging": false
-filter  : Brand=TP-Link +  "shownColumns"["model""version""supportedcurrentrel""firmwareopenwrtsnapshotinstallurl""firmwareopenwrtsnapshotupgradeurl""firmwareoemstockurl"]
-filter  Model=SG2210P +  "filterColumns"{"brand": "^TP-Link$", "model""^TL-SG2210P$", "version""^v3$"} 
-filter  Versions~v3 +-->
-----+
  
  
Line 99: Line 79:
 ==== OEM installation using the TFTP method ==== ==== OEM installation using the TFTP method ====
  
-->  [[docs:guide-user:installation:generic.flashing.tftp]]+The U-Boot firmware drops to a TP-Link specific "BOOTUTIL" shell at 
 +38400 baudThere is no known way to exit out of this shell, and no 
 +way to do anything useful.
  
-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. +Ideally, one would trick the bootloader into flashing the sysupgrade 
- +image first. However, if the image exceeds 6MiB in size, it will not 
-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. +work. To install OpenWRT:
- +
-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: Prepare a tftp server with:
- 1. server address: 192.168.0.146 +  - server address: 192.168.0.146 
- 2. the image as: "uImage.img"+  the image as: "uImage.img"
  
 Power on device, and stop boot by pressing any key. Power on device, and stop boot by pressing any key.
 Once the shell is active: Once the shell is active:
- 1. Ground out the CLK (pin 16) of the ROM (U7+  - Ground out the CLK (pin 16) of the ROM (U6
- 2. Select option "3. Start" +  Select option "3. Start" 
- 3. Bootloader notes that "The kernel has been damaged!" +  Bootloader notes that "The kernel has been damaged!" 
- 4. Release CLK as sson as bootloader thinks image is corrupted. +  Release CLK as soon as bootloader thinks image is corrupted. 
- 5. Bootloader enters automatic recovery -- details printed on console +  Bootloader enters automatic recovery -- details printed on console 
- 6. Watch as the bootloader flashes and boots OpenWrt.+  Watch as the bootloader flashes and boots OpenWRT.
  
-=== Specific values needed for tftp === 
- 
-<WRAP BOX> 
- 
-FIXME Enter values for "FILL-IN" below 
- 
-^ Bootloader tftp server IPv4 address  | 192.168.0.146   | 
-^ Bootloader MAC address (special)     | FILL-IN   | 
-^ Firmware tftp image                  | [[:downloads|Latest OpenWrt release]] (**''NOTE:''** Name must contain //"tftp"//) | 
-^ TFTP transfer window                 | FILL-IN seconds                                | 
-^ TFTP window start                    | approximately FILL-IN seconds after power on   | 
-^ TFTP client required IP address      | FILL-IN                                        | 
- 
-</WRAP> 
- 
-===== Upgrading OpenWrt ===== 
-->  [[docs:guide-user:installation:generic.sysupgrade]] 
- 
-<WRAP BOX> 
- 
-FIXME These are generic instructions. Update with your router's specifics. 
- 
-==== LuCI Web Upgrade Process ==== 
- 
-  * Browse to ''<nowiki>http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/</nowiki>'' LuCI Upgrade URL 
-  * Upload image file for sysupgrade to LuCI 
-  * Wait for reboot 
- 
-==== Terminal Upgrade Process ==== 
- 
-If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. 
-There are two command line methods for upgrading: 
- 
-  * ''sysupgrade'' 
-  * ''mtd'' 
- 
-Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing. 
- 
-=== sysupgrade === 
- 
-  * Login as root via SSH on 192.168.1.1, then enter the following commands: 
- 
-<code> 
-cd /tmp 
-wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc 
-sysupgrade /tmp/xxx.abc 
-</code> 
- 
-=== mtd === 
- 
-If ''sysupgrade'' does not support this router, use ''mtd''. 
- 
-  * Login as root via SSH on 192.168.1.1, then enter the following commands: 
- 
-<code> 
-cd /tmp 
-wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc 
-mtd write /tmp/xxx.abc linux && reboot 
-</code> 
- 
-</WRAP> 
- 
-===== Debricking ===== 
--> [[docs:guide-user:troubleshooting:generic.debrick]] 
- 
-===== Failsafe mode ===== 
--> [[docs:guide-user:troubleshooting:failsafe_and_factory_reset]] 
- 
-===== Basic configuration ===== 
--> [[docs:guide-user:base-system:start|Basic configuration]] After flashing, proceed with this.\\ 
-Set up your Internet connection, configure wireless, configure USB port, etc. 
  
 ===== Specific Configuration ===== ===== Specific Configuration =====
Line 239: Line 148:
 ===== Hardware ===== ===== Hardware =====
 ==== Info ==== ==== Info ====
-<WRAP BOX> 
-FIXME 
-  - This table is automatically generated, **once the correct filters for Brand and Model are set.** 
-  - If you see "Nothing." instead of a table, please **edit this section and adjust the filters with the proper Brand and Model.** Just try, it's easy. 
-  - If you still don't see a table here, or a table filled with '¿': [[toh:start|Is there already a Techdata page available]] for TP-Link TL-SG2210P v3? If not: [[meta:create_new_dataentry_page|Create one]]. 
-  - If you see a table with the desired device data, everything is OK and you can delete this text and the ''<nowiki><WRAP></nowiki>'' that encloses it. 
-  - If it still doesn't work: Don't panic, calm down, take a deep breath and [[:contact|contact a wiki admin]] (tmomas) for help. 
-</WRAP> 
  
----- datatemplatelist dttpllist ---- +<!-- ToH: { 
-templatemeta:template_datatemplatelist +  "source""json", 
-cols    BrandModelVersionsDevice TypeAvailabilitySupported Since Commit_gitSupported since RelSupported current RelUnsupportedBootloaderCPUTargetCPU MHzFlash MBsRAM MBSwitchEthernet 100M ports_Ethernet Gbit ports_Comments network ports_ModemVLANWLAN 2.4GHzWLAN 5.0GHzWLAN HardwaresWLAN Comments_Detachable Antennas_USB ports_SATA ports_Comments USB SATA ports_SerialJTAGLED countButton countPower supplyDevice Techdata_pageidForum topic URL_urlwikidevi URL_urlOEM Device Homepage URL_urlFirmware OEM Stock URL_urlFirmware OpenWrt Install URL_urlFirmware OpenWrt Upgrade URL_urlComments_ +  "dom""t", 
-filter  : Brand=TP-Link +  "paging"false, 
-filter  Model=TL-SG2210P +  "rotate": true, 
-filter  Versions=v3 +  "shownColumns": ["brand""model""version""devicetype""availability""supportedsincecommit""supportedsincerel""supportedcurrentrel""unsupported_functions""bootloader""cpu""target""cpumhz""flashmb""rammb""switch""ethernet100mports""ethernet1gports""commentsnetworkports""modem""vlan""wlan24ghz""wlan50ghz""wlanhardware""wlancomments""detachableantennas""usbports""sataports""commentsusbsataports""serial""jtag""ledcount""buttoncount""powersupply""deviceid""owrt_forum_topic_url""wikideviurl""oemdevicehomepageurl""firmwareoemstockurl", "firmwareopenwrtinstallurl", "firmwareopenwrtupgradeurl", "comments"]
-----+  "filterColumns"{"brand": "^TP-Link$", "model""^TL-SG2210P$", "version""^v3$"} 
 +-->
  
 ==== Photos ==== ==== Photos ====
Line 307: Line 209:
 None so far. None so far.
  
- 
-===== 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 ===== ===== Notes =====
 //Space for additional notes, links to forum threads or other resources.// //Space for additional notes, links to forum threads or other resources.//
  
 +====== Power over Ethernet control ======
 +By default, PoE is disabled. To enable PoE on boot, first install **i2c-tools**, then edit **/etc/rc.local** and add the following lines:
 +
 +<code>echo 0-0030 > /sys/bus/i2c/drivers/tps23861/unbind 
 +i2cset -y 0 0x30 0x12 0xff
 +echo tps23861 0x28 > /sys/bus/i2c/devices/i2c-0/new_device 
 +
 +for poe_enable in $(ls /sys/class/hwmon/hwmon*/in*_enable); do
 +        echo 1 > $poe_enable
 +done
 +
 +exit 0
 +</code>
 +
 +====== LED control ======
 To enable the status LEDs automatically on boot, copy the following to **/etc/init.d/realtek_leds** and run To enable the status LEDs automatically on boot, copy the following to **/etc/init.d/realtek_leds** and run
  
  • Last modified: 2024/07/17 16:26
  • by mrnuke