Support for TL-WR840N(ES) Ver 5.0 (EU)

@robimarko

I cant help you with that

well thanks anyway sir....

i recompile image for tl-wr840n v5 with luci and installed succesfully but i now notice that changes made not binding on device,, when i reboot it will reset to defaults :frowning:

Really, how come?

@robimarko, is there a way to have this 840n v5 to have Luci as a client device with just the right stuff? Like a micro version?
Thank you for your effort.

Most likely there is.
You can read throught this thread:

Also,you can disable kallsyms in kernel,that will save you about 120k

https://chef.libremesh.org/
thanks for this i have recompiled a 940n v6 with openvpn smoothly, i have to get my 840n v5 back.....and will try to put luci ...sorry for the english

I compiled with luci, but i'm not at home now to test, if someone want try

https://drive.google.com/open?id=1dR6A50QZxA72ynPfAwwdKAd_q1uQgvxd

anyone here had applied vongers idea for the wifi

iwpriv ra0 set SiteSurvey=1
this what it happens when i try the code above "no private ioctls"

image

with openvpn and luci

Hi, thanks for your help, I made the mistake of using the TFTP Recovery in my 840N v5 and I blocked it, I do not have much experience in these issues but I want to know how to rewrite the SPI Flash to try to fix it, when I connect it to the power green led is flashing ... Sorry my bad english

Read through the thread.
There are stock images modded for TFTP flashing,since you have LED flashing you can recover it with TFTP.

Is wifi working properly?

i tried vonger's but no lock

iwpriv ra0 set SiteSurvey=1
this what it happens when i try the code above “no private ioctls”

Hi, can you please give me the image that worked for you?

Excuse me, what are they for?

Hi, I tried using TFTP with all the threads that are here and I have not been able to revive it, these are the router data.

Versión del Firmware:0.9.1 3.16 v01e4.0 Build 170503 Rel.71903n
Versión del Hardware:TL-WR840N v5 00000005

My version is in Spanish, I'm from Colombia

UART

U-Boot 1.1.3 (May  3 2017 - 19:50:44)

Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fb8000
gpiomode2 05540554.
gpiomode2 00000000.
gpiomode2 05550555.
flash manufacture id: c8, device id 40 16
find flash: GD25Q32B
==========================================*
Ralink UBoot Version: 4.3.0.0
--------------------------------------------*
ASIC 7628_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:May  3 2017  Time:19:50:44
============================================*
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768

 .##### The CPU freq = 580 MHZ ####.
estimate memory size =64 Mbytes
RESET MT7628 PHY!!!!!!..................................................
starting recovery...
TODO, Read MAC Address from Flash


 netboot_common, argc= 3

 NetTxPacket = 0x83FE77C0

 KSEG1ADDR(NetTxPacket) = 0xA3FE77C0

 NetLoop,call eth_halt !

 NetLoop,call eth_init !
Trying Eth0 (10/100-M)

 Waitting for RX_DMA_BUSY status Start... done


 ETH_STATE_ACTIVE!!
TFTP from server 192.168.0.66; our IP address is 192.168.0.2
Filename 'tp_recovery.bin'.

 TIMEOUT_COUNT=10,Load address: 0x80060000
Loading: Got ARP REPLY, set server/gtwy eth addr (5c:b9:01:82:ae:47)
Got it
############################################checksum bad
###checksum bad
##################
         #################################################################
         ##########################################checksum bad
#######################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #####################################################checksum bad
#########checksum bad
####################################################################
         #################################checksum bad
################################
         #################################################################
         ##############
done
Bytes transferred = 4063744 (3e0200 hex)
NetBootFileXferSize= 003e0200

 Erase flash !!
From 0x20000 length 0x3C0000
................................................................

 Copy 0x80080000 to 0x00020000, count 0x3C0000....
............................................................
[04020C09][04020D09]
DDR Calibration DQS reg = 00008985

U-Boot 1.1.3 (May  3 2017 - 19:50:44)

Board: Ralink APSoC DRAM:  64 MB
relocate_code Pointer at: 83fb8000
.**********************************
 Software System Reset Occurred
.**********************************
gpiomode2 05540554.
gpiomode2 00000000.
gpiomode2 05550555.
flash manufacture id: c8, device id 40 16
find flash: GD25Q32B
============================================*
Ralink UBoot Version: 4.3.0.0
--------------------------------------------*
ASIC 7628_MP (Port5<->None)
DRAM component: 512 Mbits DDR, width 16
DRAM bus: 16 bit
Total memory: 64 MBytes
Flash component: SPI Flash
Date:May  3 2017  Time:19:50:44
============================================*
icache: sets:512, ways:4, linesz:32 ,total:65536
dcache: sets:256, ways:4, linesz:32 ,total:32768

. ##### The CPU freq = 580 MHZ ####
 estimate memory size =64 Mbytes
RESET MT7628 PHY!!!!!!
continue to starting system.                                                                                                                                          0
disable switch phyport...

3: System Boot system code via Flash.(0xbc020000)
do_bootm:argc=2, addr=0xbc020000
.## Booting image at bc020000 ...
   Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recover
[04020C0A][04020D09]
DDR Calibration DQS reg = 00008986

The green LED flashes, thank you very much

Those are full memory dumps.
You can flash this TFTP image
https://drive.google.com/file/d/0B1VOQQ-_EIXKejVNYU9Ja2hzRW8/view?usp=sharing

And then just sysupgrade to openwrt

1 Like

Thank you very much for your help @robimarko , this recovery if it worked for me ... I was able to return to the stock firmware thanks to @useit in message # 92

As I was able to restore it, I'm going to try the images that they are doing.

Regards