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/07/16 17:23] – Remove useless sections to clean up the page a bit mrnuke | 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: { | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| } --> | } --> | ||
| Line 42: | Line 33: | ||
| " | " | ||
| " | " | ||
| - | " | + | " |
| } --> | } --> | ||
| Line 55: | Line 46: | ||
| " | " | ||
| " | " | ||
| - | " | + | " |
| } --> | } --> | ||
| */ | */ | ||
| Line 67: | Line 58: | ||
| " | " | ||
| " | " | ||
| - | " | + | " |
| } --> | } --> | ||
| Line 88: | 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 | ||
| - | |||
| - | </ | ||
| ===== Specific Configuration ===== | ===== Specific Configuration ===== | ||
| Line 232: | 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 **/ | ||