Giter VIP home page Giter VIP logo

BringUp OpenWRT to TP-Link D50 v1

The router needs small hardware modification to allow usage of openwrt. This document is an guide with step by step instructions.

  1. open cover and connect uart adapter
  2. setup tftp server
  3. start router and check that uart adapter is working like expected
  4. transfer and flash openwrt image

open cover

You need to remove the two screws which are behind the label on the housing underside. You can remove the housing topside from the underside after that. note: some force is needed to open all the plastic latches

setup tftp server

You need a tftp server for the update/flash procedure. I used PUMKIN for windows which allows you an easy and painless setup:

Please download the tftp server application [5] and the Openwrt image [2] to your windows workstation. After Installation of PumpKIN you need to specify the "tftp filesystem root" (this is the location of your Openwrt image file).

3 - connect UART adapter

I added some pins to PCB of Router to allow connection with USB/UART adapter see picture photos/uart_connected.jpg

4 - flash procedures

The following instructions require a connection to the J2 UART interface.

note:

  • you need tftp server for data transfer of openwrt image (openwrt-19.07.2-ath79-generic-tplink_archer-d50-v1-squashfs-sysupgrade.bin).
  • you need to connect ethernet port of the router with your home network
  • ip address of the tftp server is 192.168.1.32 in my network.

Flash instruction under U-Boot, using UART



# set the ip address of tp-link router
setenv ipaddr 192.168.1.101

# set the ip address of tftp router
setenv serverip 192.168.1.32

# transfer openwrt image from tftp server to RAM of router
tftpboot 0x81000000 openwrt-19.07.2-ath79-generic-tplink_archer-d50-v1-squashfs-sysupgrade.bin

# erase partition on router
erase 0x9f020000 +$filesize

# copy openwrt image from RAm to flash filesystem
cp.b 0x81000000 0x9f020000 $filesize

# restart router
reset

Basic configuration of router

Set static IP adress

edit file /etc/config/network

config interface 'lan'
        option type 'bridge'
        option ifname 'eth0.1'
        option proto 'static'
        option ipaddr '192.168.1.101'
        option netmask '255.255.255.0'
        option ip6assign '60'
        list dns '8.8.8.8'
        option gateway '192.168.1.1'

Bookmark

-> [1] patch with first support and flash instructions https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=f5d2c91415a68f554815860d574145644fc31c16

-> [2] download image http://downloads.openwrt.org/releases/19.07.2/targets/ath79/generic/openwrt-19.07.2-ath79-generic-tplink_archer-d50-v1-squashfs-sysupgrade.bin

-> [3] OpenWrt Forum "Archer D50 Support" https://forum.openwrt.org/t/archer-d50-support/38613

-> [4] OpenWrt Techdata TP-Link Archer D50 v1 https://openwrt.org/toh/hwdata/tp-link/tp-link_archer_d50_v1

-> [5] Pumpkin TFTP Server for Windows http://kin.klever.net/dist/pumpkin-2.7.3-exe.zip

stevo01's Projects

depth_api2 icon depth_api2

Copy from SVN, only upload api and only current version

imgkap icon imgkap

Tool to create and convert BSB / KAP charts

nodogsplash icon nodogsplash

Nodogsplash offers a simple way to provide restricted access to an Internet connection using a captive portal. Pull requests are welcome!

paho.mqtt.c icon paho.mqtt.c

An Eclipse Paho C client library for MQTT for Windows, Linux and MacOS.

php-dev icon php-dev

docker based environment for development of php applications with vscode

pytestdocu icon pytestdocu

python framework for generation of test documents

python-en16931 icon python-en16931

A Python 3 package to parse, generate and manage the EN16931 Invoice format.

rpi_gpioctrl icon rpi_gpioctrl

The project includes sample for raspberry PI GPIO access with MQTT protocol.

upd72020x-load icon upd72020x-load

Firmware loader for Renesas uPD72020x USB 3.0 chipsets for Linux

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.