Differences

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

Link to this comparison view

Next revision
Previous revision
projects:re200 [2020/01/26 16:32] – created Andreas Böhlerprojects:re200 [2021/10/02 17:28] (current) – old revision restored (2020/02/03 22:23) Andreas Böhler
Line 1: Line 1:
-====== Linux/OpenWrt on the TP-Link RE200v1 ======+~~NOTOC~~
  
-Over a year ago, I got a TP-Link RE200 for free. Quickly, I discovered some severe limitations in the Firmware and wanted to port OpenWrt to the device. The first problem was opening the case: It's welded together.+====== Linux/OpenWrt on the TP-Link RE200v1/RE200v2 ====== 
 + 
 +Over a year ago, I got a TP-Link RE200v1 for free. Quickly, I discovered some severe limitations in the Firmware and wanted to port OpenWrt to the device. The first problem was opening the case: It's welded together.
  
 I read on the Internet to use a vice to crack open the case - that worked pretty well. Inside, I found a serial header, a MediaTek SoC and some other parts. For details, see the OpenWrt device page at [[https://openwrt.org/toh/tp-link/re200|openwrt.org/toh/tp-link/re200]].  I read on the Internet to use a vice to crack open the case - that worked pretty well. Inside, I found a serial header, a MediaTek SoC and some other parts. For details, see the OpenWrt device page at [[https://openwrt.org/toh/tp-link/re200|openwrt.org/toh/tp-link/re200]]. 
 +
 +In the meantime, I've also bought and added support for the RE200v2 device. The rest of this page still exclusively refers to the RE200v1, though.
  
 ===== Hacking around ===== ===== Hacking around =====
Line 15: Line 19:
 The web interface upgrade requires a firmware image with bootloader. The upgrade also overwrite the boot loader and there is no failsafe mode present. If flashing goes wrong, the device is bricked. The web interface upgrade requires a firmware image with bootloader. The upgrade also overwrite the boot loader and there is no failsafe mode present. If flashing goes wrong, the device is bricked.
  
-In order to update from stock to OpenWrt, a specially prepared firmware image is necessary. I create a small tool to ease preparation of such an image: openwrt-imagetool. The source code is available at [[https://www.aboehler.at/hg/openwrt-imagetool|www.aboehler.at/hg/openwrt-imagetool]] and Windows binaries can be downloaded {{:projects:openwrt-imagetool.zip|here}}.+In order to update from stock to OpenWrt, a specially prepared firmware image is necessary. I created a small tool to ease preparation of such an image: openwrt-imagetool. The source code is available at [[https://www.aboehler.at/hg/openwrt-imagetool|www.aboehler.at/hg/openwrt-imagetool]] and Windows binaries can be downloaded {{:projects:openwrt-imagetool.zip|here}}.
  
 After starting the program, you simply select TP-Link RE200v1, an original firmware image (from TP-Link), OpenWrt image file and the output directory. The tool then creates the file 'openwrt-webif.bin' in the selected output directory after clicking on 'Process'. The tool comes without any warranty and usage is at your own risk. After starting the program, you simply select TP-Link RE200v1, an original firmware image (from TP-Link), OpenWrt image file and the output directory. The tool then creates the file 'openwrt-webif.bin' in the selected output directory after clicking on 'Process'. The tool comes without any warranty and usage is at your own risk.
Line 22: Line 26:
  
 The resulting openwrt-webif.bin can now be uploaded via the stock web interface. The resulting openwrt-webif.bin can now be uploaded via the stock web interface.
 +
 +==== Changelog and Download ====
 +
 +v0.2 - 2020/02/03 {{:projects:openwrt-imagetool.zip|openwrt-imagetool.zip}}.
 +  * Fixed a bug where the MD5 sum would net get updated
 +  * Check all images before processing
 +
 +v0.1 - 2020/01/31
 +  * Initial Public Release