Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| toh:tp-link:re200 [2020/08/27 11:03] – [Back to Stock (v2,v3,v4)] misanthropos | toh:tp-link:re200 [2024/09/20 22:23] (current) – Add notes to flash OpenWrt on official Web UI for v3 ivzhh | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| The [[toh: | The [[toh: | ||
| + | |||
| + | <WRAP round important> | ||
| + | **The latest RE200 v5 is not supported by OpenWrt! The device only has 4MB of flash and runs VxWorks by default.** | ||
| + | </ | ||
| + | |||
| + | <WRAP round important> | ||
| + | The latest OpenWrt release (23.05.3, 23.05.4 and 22.03.7) are broken on the RE200v1! \\ | ||
| + | **Do not flash these images, you will brick your device!** | ||
| + | </ | ||
| ===== Supported Versions ===== | ===== Supported Versions ===== | ||
| - | ---- datatable ---- | + | <!-- ToH: { |
| - | cols | + | " |
| - | headers | + | " |
| - | align : c,c,c,c,c,c,c | + | " |
| - | filter | + | " |
| - | ---- | + | " |
| + | | ||
| + | } --> | ||
| ===== Hardware Highlights ===== | ===== Hardware Highlights ===== | ||
| - | ---- datatable ---- | + | <!-- ToH: { |
| - | cols | + | " |
| - | header | + | " |
| - | align : c,c,c,c,c,c,c,c,c,c,c,c,c | + | " |
| - | filter | + | |
| - | ---- | + | " |
| + | | ||
| + | } --> | ||
| ===== Installation ===== | ===== Installation ===== | ||
| - | /* **Release** */ | + | <!-- ToH: { |
| - | /* uncomment when release is available; at the same time, remove the snapshot datatables below */ | + | " |
| - | /* | + | " |
| - | ---- datatable ---- | + | " |
| - | cols | + | |
| - | headers | + | " |
| - | align : c,c,c | + | |
| - | filter | + | } --> |
| - | ---- | + | |
| - | */ | + | |
| - | + | ||
| - | ---- datatable ---- | + | |
| - | cols : Model, Versions, Supported Current Rel, Firmware OpenWrt snapshot Install URL_url, Firmware OpenWrt snapshot Upgrade URL_url, Firmware OEM Stock URL_url | + | |
| - | headers | + | |
| - | align : c,c,c | + | |
| - | filter | + | |
| - | ---- | + | |
| -> [[docs: | -> [[docs: | ||
| + | Note that the time for an initial flash is very long for these devices. Users should expect 20 minutes before being able to access it, V4 can be 10 minutes, V1 is slower. Further sysupgrades may be a little faster at around 8 minutes. | ||
| ==== Web Interface Method (v1) ==== | ==== Web Interface Method (v1) ==== | ||
| + | |||
| + | <WRAP round important> | ||
| + | The latest OpenWrt release (23.05.3, 23.05.4 and 22.03.7) are broken on the RE200v1! \\ | ||
| + | **Do not flash these images, you will brick your device!** | ||
| + | </ | ||
| It is possible to install OpenWrt via the TP-Link web interface, but you need to prepare the image first. | It is possible to install OpenWrt via the TP-Link web interface, but you need to prepare the image first. | ||
| Line 49: | Line 59: | ||
| === Automatic image preparation === | === Automatic image preparation === | ||
| - | A GUI tool for creating a web-flashable image based on an original TP-Link firmware image and an OpenWrt image is available | + | The [[https:// |
| === Manual image preparation === | === Manual image preparation === | ||
| Line 64: | Line 74: | ||
| ==== Web Interface Method (v2, v3, v4) ==== | ==== Web Interface Method (v2, v3, v4) ==== | ||
| - | Simply install the -factory.bin image via the stock web interface. This procedure does not overwrite U-Boot, hence you have higher chances of being able to recover from a bad flash. | + | Simply install the -factory.bin image via the stock web interface. This procedure does not overwrite U-Boot, hence you have higher chances of being able to recover from a bad flash. |
| ==== Serial (v1 and v2) ==== | ==== Serial (v1 and v2) ==== | ||
| Line 75: | Line 85: | ||
| - | ===== Back to Stock (v1) ===== | + | ===== Back to Stock ===== |
| + | |||
| + | ==== Back to Stock (v1) ==== | ||
| Download an OEM firmware from TP-Link and prepare it as follows (we need to strip the first 0x200 bytes TP-Link header and the next 0x20000 bytes U-Boot): | Download an OEM firmware from TP-Link and prepare it as follows (we need to strip the first 0x200 bytes TP-Link header and the next 0x20000 bytes U-Boot): | ||
| Line 81: | Line 93: | ||
| < | < | ||
| - | Put the resulting | + | Transfer this file to your RE200 running OpenWrt: |
| + | |||
| + | < | ||
| + | |||
| + | Install | ||
| + | |||
| + | < | ||
| + | |||
| + | Flashing this relatively big file takes some time, so be patient. Afterwards, | ||
| + | |||
| + | <WRAP round important> | ||
| + | **If you flash the wrong file or mess up the preparation, | ||
| + | </ | ||
| - | In theory, you could also you '' | + | As an alternative, you can use serial console: Put the resulting re200v1_tftp.bin image as " |
| - | ===== Back to Stock (v2, | + | ==== Back to Stock (v2, v3, v4) ==== |
| Download an OEM firmware from TP-Link and prepare it using the tool '' | Download an OEM firmware from TP-Link and prepare it using the tool '' | ||
| - | < | + | < |
| Transfer the resulting file to /tmp on the device, then run '' | Transfer the resulting file to /tmp on the device, then run '' | ||
| Line 95: | Line 119: | ||
| **Attention: | **Attention: | ||
| - | **Note:** RE200v4 firmware requires a softver higher | + | **Note:** RE200v4 |
| If you | If you | ||
| Line 102: | Line 126: | ||
| - Upgrade stock to newer stock version | - Upgrade stock to newer stock version | ||
| - | will require the firmware image to contain a later firmware version than the one currently installed. However, if OpenWrt is always $STOCK+1, you cannot simply flash OpenWrt and revert to stock. Doing so would leave you with the OpenWrt-supplied FW version stored in the soft-version partition. Stock will then refuse any FW with a version lower or equal to this; which simply might not exist. | + | it will require the firmware image to contain a later firmware version than the one currently installed. However, if OpenWrt is always $STOCK+1, you cannot simply flash OpenWrt and revert to stock. Doing so would leave you with the OpenWrt-supplied FW version stored in the soft-version partition. Stock will then refuse any FW with a version lower or equal to this; which simply might not exist. |
| - | This would also make the following impossible: | + | This also makes the following impossible: |
| - flash OpenWrt | - flash OpenWrt | ||
| - revert to stock | - revert to stock | ||
| - flash OpenWrt again (fails because the firmware already has the version used by this image) | - flash OpenWrt again (fails because the firmware already has the version used by this image) | ||
| + | |||
| + | If the obove mentioned serial recovery should fail because of this, one could do the following: | ||
| + | - place openwrt-ramips-mt76x8-tplink_re200-v4-initramfs-kernel.bin as test.bin at the tftp server (if you compile that target it will drop in bin/targets along with the other images) | ||
| + | - press 4 to enter console mode (write help for available commands) | ||
| + | - tftp to load image into ram | ||
| + | - bootm to start the kernel | ||
| + | - you now have a running openwrt kernel and may bring a working image to /tmp (wget) | ||
| + | - sysupgrade with your image | ||
| + | |||
| + | This however will not overwrite '' | ||
| Line 127: | Line 161: | ||
| ^ [[docs: | ^ [[docs: | ||
| - | ==== Photos ==== | + | ==== Photos |
| /* =====>>>>> | /* =====>>>>> | ||
| /* When uploading photos, **name them** intelligently. Nobody knows what 20100930_000602.jpg is! */ | /* When uploading photos, **name them** intelligently. Nobody knows what 20100930_000602.jpg is! */ | ||
| Line 146: | Line 180: | ||
| **Note:** This will void your warranty! | **Note:** This will void your warranty! | ||
| - | <WRAP BOX> | ||
| The case is welded together and you can't open it easily. I used a swivel vise to crack open the case. If done carefully, it only leaves a few small marks. I super-glued mine back together after porting OpenWrt. | The case is welded together and you can't open it easily. I used a swivel vise to crack open the case. If done carefully, it only leaves a few small marks. I super-glued mine back together after porting OpenWrt. | ||
| - | </WRAP> | + | |
| + | {{page>meta: | ||
| ==== Serial ==== | ==== Serial ==== | ||
| - | Serial port: | + | Serial port: |
| {{media: | {{media: | ||
| Line 304: | Line 339: | ||
| ===== Tags ===== | ===== Tags ===== | ||
| [[meta: | [[meta: | ||
| - | {{tag>mt7620a | + | {{tag>ramips |