Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| toh:tp-link:tl-sg2210p_v3 [2024/02/12 11:13] – external edit | toh:tp-link:tl-sg2210p_v3 [2024/07/17 16:15] – [OEM installation using the TFTP method] mrnuke | ||
|---|---|---|---|
| Line 23: | Line 23: | ||
| " | " | ||
| " | " | ||
| - | " | + | " |
| } --> | } --> | ||
| - | |||
| - | /* If no unsupported functions known, comment out the following datatable or delete it. */ | ||
| - | <!-- ToH: { | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | } --> | ||
| - | |||
| - | ===== Experimental Versions ===== | ||
| - | |||
| - | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | ||
| - | | ||
| - | | ||
| - | | ||
| - | | ||
| - | * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ | ||
| - | |||
| - | //None at this time.// | ||
| ===== Hardware Highlights ===== | ===== Hardware Highlights ===== | ||
| Line 53: | Line 33: | ||
| " | " | ||
| " | " | ||
| - | " | + | " |
| } --> | } --> | ||
| Line 66: | Line 46: | ||
| " | " | ||
| " | " | ||
| - | " | + | " |
| } --> | } --> | ||
| */ | */ | ||
| Line 78: | Line 58: | ||
| " | " | ||
| " | " | ||
| - | " | + | " |
| } --> | } --> | ||
| Line 99: | Line 79: | ||
| ==== OEM installation using the TFTP method ==== | ==== OEM installation using the TFTP method ==== | ||
| - | -> [[docs: | + | 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. | ||
| - | 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 " | + | work. To install |
| - | + | ||
| - | 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 | + | |
| Prepare a tftp server with: | Prepare a tftp server with: | ||
| - | | + | - server address: 192.168.0.146 |
| - | 2. the image as: " | + | |
| 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: | ||
| - | | + | - 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 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. | + | |
| - | + | ||
| - | === Specific values needed for tftp === | + | |
| - | + | ||
| - | <WRAP BOX> | + | |
| - | + | ||
| - | FIXME Enter values for " | + | |
| - | + | ||
| - | ^ Bootloader tftp server IPv4 address | + | |
| - | ^ Bootloader MAC address (special) | + | |
| - | ^ Firmware tftp image | [[: | + | |
| - | ^ TFTP transfer window | + | |
| - | ^ TFTP window start | approximately FILL-IN seconds after power on | | + | |
| - | ^ TFTP client required IP address | + | |
| - | + | ||
| - | </ | + | |
| - | + | ||
| - | ===== Upgrading OpenWrt ===== | + | |
| - | -> [[docs: | + | |
| - | + | ||
| - | <WRAP BOX> | + | |
| - | + | ||
| - | FIXME These are generic instructions. Update with your router' | + | |
| - | + | ||
| - | ==== LuCI Web Upgrade Process ==== | + | |
| - | + | ||
| - | * Browse to ''< | + | |
| - | * 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: | + | |
| - | + | ||
| - | * '' | + | |
| - | * '' | + | |
| - | + | ||
| - | 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, | + | |
| - | + | ||
| - | < | + | |
| - | cd /tmp | + | |
| - | wget http:// | + | |
| - | sysupgrade / | + | |
| - | </ | + | |
| - | + | ||
| - | === mtd === | + | |
| - | + | ||
| - | If '' | + | |
| - | + | ||
| - | * Login as root via SSH on 192.168.1.1, | + | |
| - | + | ||
| - | < | + | |
| - | cd /tmp | + | |
| - | wget http:// | + | |
| - | mtd write / | + | |
| - | </ | + | |
| - | + | ||
| - | </ | + | |
| - | + | ||
| - | ===== Debricking ===== | + | |
| - | -> [[docs: | + | |
| - | + | ||
| - | ===== Failsafe mode ===== | + | |
| - | -> [[docs: | + | |
| - | ===== Basic configuration ===== | ||
| - | -> [[docs: | ||
| - | 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 " | ||
| - | - If you still don't see a table here, or a table filled with ' | ||
| - | - If you see a table with the desired device data, everything is OK and you can delete this text and the ''< | ||
| - | - If it still doesn' | ||
| - | </ | ||
| <!-- ToH: { | <!-- ToH: { | ||
| Line 308: | Line 209: | ||
| None so far. | None so far. | ||
| - | |||
| - | ===== Bootlogs ===== | ||
| - | ==== OEM bootlog ==== | ||
| - | <WRAP bootlog> | ||
| - | < | ||
| - | </ | ||
| - | |||
| - | ==== OpenWrt bootlog ==== | ||
| - | <WRAP bootlog> | ||
| - | < | ||
| - | </ | ||
| ===== 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**, | ||
| + | |||
| + | < | ||
| + | i2cset -y 0 0x30 0x12 0xff | ||
| + | echo tps23861 0x28 > / | ||
| + | |||
| + | for poe_enable in $(ls / | ||
| + | echo 1 > $poe_enable | ||
| + | done | ||
| + | |||
| + | exit 0 | ||
| + | </ | ||
| + | |||
| + | ====== LED control ====== | ||
| To enable the status LEDs automatically on boot, copy the following to **/ | To enable the status LEDs automatically on boot, copy the following to **/ | ||