Differences

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

toh:tp-link:tl-wdr4900 [2013/02/06 04:14]
qasdfdsaq
toh:tp-link:tl-wdr4900 [2013/05/17 13:15] (current)
conxuro
Line 17: Line 17:
===== Supported Versions ===== ===== Supported Versions =====
^ Version/Model ^ S/N ^ Release Date ^ OpenWrt Version Supported ^ Model Specific Notes ^ ^ Version/Model ^ S/N ^ Release Date ^ OpenWrt Version Supported ^ Model Specific Notes ^
-| v1.0 | - | 2013 | WIP | Freescale PPC w/2 Atheros radio chips |+| v1.0 | - | 2013 | trunk [[https://dev.openwrt.org/changeset/36051|r36051]] | Freescale PPC w/2 Atheros radio chips
 +| v1.3 | - | 2013 | trunk | http://downloads.openwrt.org/snapshots/trunk/mpc85xx/  |
| v2.0 | - | 2013 | ??? | ap135 - should be supportable  | | v2.0 | - | 2013 | ??? | ap135 - should be supportable  |
 +===== Hardware =====
 +
 +==== Photos ====
 +
 +{{:media:tplinkwdr4900v1serial.jpg|}}
 +
 +{{:media:tplinkwdr4900v1.jpg|}}
 +
 +
 +===== De-brick or OEM installation using the TFTP and RS232 (serial) method =====
 +
 +If you want to de-brick/upgrade your router using TFTP you follow these steps:
 +
 +
 +==== Pre-requisits ====
 +
 +  * Serial RS232 connected from your machine to TL-WDR4900 & a terminal program (e.g. minicom, screen) set to **115200 8N1**, no flow control, 3,3V.
 +  * Copy a working & full OpenWrt firmware image into your TFTP server folder (e.g: openwrt-mpc85xx-generic-tl-wdr4900-v1-squashfs-factory.bin).
 +  * A TFTP server started on your local machine on LAN address 192.168.1.x/24.
 +  * Connect your LAN-port to one of the routers LAN ports.
 +
 +
 +==== Written Flash Procedure ====
 +
 +  - Router should be unplugged (power off), your serial line connected, terminal open and TFTP server installed not yet running.
 +  - Copy your desired openwrt image for the TPlink-WDR4900 into your TFTP server folder and rename it into ''openwrt.bin'' (to save some typing within the flash procedure).
 +  - First goal is to get the command prompt from the U-Boot bootloader on your router.
 +  - Plug in your router and be ready to type "''vl''" just after you see the line ''Autobooting in 1 seconds'':
 +
 +<code>
 +U-Boot 2010.12-svn15934 (Dec 11 2012 - 16:23:49)
 +
 +CPU:  P1014, Version: 1.0, (0x80f10110)
 +Core:  E500, Version: 5.1, (0x80212151)
 +Clock Configuration:
 +      CPU0:800  MHz,
 +      CCB:400  MHz,
 +      DDR:333.333 MHz (666.667 MT/s data rate) (Asynchronous), IFC:100  MHz
 +L1:    D-cache 32 kB enabled
 +      I-cache 32 kB enabled
 +Board: P1014RDB
 +SPI:  ready
 +DRAM:  128 MiB
 +L2:    256 KB enabled
 +Using default environment
 +
 +PCIe1: Root Complex of mini PCIe Slot, x1, regs @ 0xffe0a000
 +  01:00.0    - 168c:abcd - Network controller
 +PCIe1: Bus 00 - 01
 +PCIe2: Root Complex of PCIe Slot, x1, regs @ 0xffe09000
 +  03:00.0    - 168c:0033 - Network controller
 +PCIe2: Bus 02 - 03
 +In:    serial
 +Out:  serial
 +Err:  serial
 +Net:  initialization for Atheros AR8327/AR8328
 +AR8327/AR8328 v1.1 is found!
 +eTSEC1
 +Autobooting in 1 seconds
 +</code>
 +
 +In case you failed the right timing just reboot again until the prompt appears
 +<code>=></code>
 +
 +  - Now lets check what kind of parameters the u-boot loader expects (e.g file name of firmware, IP via TFTP & load address).
 +  Type ''tftpboot'' & press ENTER …
 +<code>
 +=> tftpboot
 +Check for phy link status
 +Speed: 1000, full duplex
 +Using eTSEC1 device
 +TFTP from server 192.168.0.104; our IP address is 192.168.0.136
 +Filename 'uImage'.
 +Load address: 0x1000000
 +Loading: T T T T T T T T T T
 +Retry count exceeded; starting again
 +</code>
 +
 +  - As you can see, uboot expects a firmware image file name "''uImage''" at TFTP server address ''192.168.1.104'',
 +  then, just change you local ip into ''192.168.1.104'' and start your TFTP server.
 +  - Start the uBoot's TFTP client to download the image from your local machine by typing: ''tftpboot 0x1000000 openwrt.bin'' + ENTER
 +
 +<code>
 +=> tftpboot 0x1000000 openwrt.bin
 +Check for phy link status
 +Speed: 1000, full duplex
 +Using eTSEC1 device
 +TFTP from server 192.168.0.104; our IP address is 192.168.0.136
 +Filename 'openwrt.bin'.
 +Load address: 0x1000000
 +Loading: #################################################################
 +        #################################################################
 +        #################################################################
 +        #################################################################
 +        #################################################################
 +        #################################################################
 +        #################################################################
 +        #################################################################
 +        #################################################################
 +        #################################################################
 +        #################################################################
 +        #################################################################
 +        #################################################################
 +        #################################################################
 +        #################################################################
 +        #################################################################
 +        #################################################################
 +        ###
 +done
 +Bytes transferred = 16252928 (f80000 hex)
 +</code>
 +
 +// UNCOMPLETE (needed flash memory address)//
 +
 +  - The last line needs to show a size of f80000 hex, otherwise your image is unsuitable.
 +  - Now we need to erase parts of the flash memory to be able to copy your fresh loaded firmware into it,
 +    just type in the prompt ''sf erase 0xXXXXXXXX +f80000'':
 +<code>
 +=> sf erase 0xXXXXXXXX +f80000
 +[...]
 +</code>
 +
 +  - Now just copy the image to the right place by typing ''sf write 0x1000000 0xXXXXXXXX 0xf80000''
 +<code>
 +=> sf write 0x1000000 0xXXXXXXXX 0xf80000
 +[...]
 +</code>
 +
 +  - So, in case your image is the correct one, you should do just a single reboot to have a working TL-WRD4900 back on your desk.
 +    Type ''reset'' or just un-plug and re-plug the power of your router and watch the boot process.
 +<code>
 +=> reset
 +</code>
 +
 +
 +
 +===== Reverting to stock firmware =====
 +
 +You can revert to stock firmware by following these steps:
 +
 +  * Download / copy with SCP or wget this firmware to the /tmp folder of the router: [[ftp://everbest.ftpserver.biz/Share/TP-Link/TL-WDR4900%20Firmware/wdr4900nv1_en_3_14_1_up(130304)_beta.bin]]
 +  * Open a SSH session to the router, cd to /tmp
 +  * Execute the following command: mtd -r write wdr4900nv1_en_3_14_1_up(130304)_beta.bin firmware
 +  * Wait until the router reboots
 +
 +Note: You can only flash this firmware version because it has no BOOT in the filename. This image and OpenWRT images are the exact same size. Other images from TP-Link do have BOOT in the filename and these files are also
 +more bytes than this one.
 +{{tag>internalantenna 2usb 3x3 450mbps usb2.0 5ghz 5port 16flash 802.11abgn ath9k atheros detachableantenna 3ant 128ram 802.11abgn_simultan gigabitethernet 2radio wip bootloader tftpd}}

Back to top

toh/tp-link/tl-wdr4900.1360120467.txt.bz2 · Last modified: 2013/02/06 04:14 by qasdfdsaq