TP-Link WR841HP Atheros QCA9533-BL3A

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page Previous  1, 2, 3, 4, 5  Next
Author Message
ian5142
DD-WRT Guru


Joined: 23 Oct 2013
Posts: 2318
Location: Canada

PostPosted: Wed Jun 13, 2018 18:51    Post subject: Compiling Reply with quote
I am not compiling images, I am just modifying the header section for already compiled images. For other TP-Links 940N and 841ND that has worked in the past. This version they must have changed the LEDs and it will require a new version to be compiled. Open up a ticket on the SVN timeline: https://svn.dd-wrt.com/timeline
_________________
Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings


Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.

Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS

Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
Sponsor
gfx18
DD-WRT Novice


Joined: 05 Jun 2018
Posts: 27
Location: Dhk, Bd

PostPosted: Thu Jun 14, 2018 11:39    Post subject: ok Reply with quote
Now on Lede/Openwrt 17.0.x.x. It is significantly faster then original os/firmware, just as expected of linux.

But not sure it's fully stable or not.

It did reboot one time, may be power glitch...not sure, will watch carefully.

I hv installed Lede/Owrt for 841v11 with Luci. I hv used serial and combination of scp to install..just took few seconds, learning took over 2 weeks....

I hv also backed up my existing mtd partitions,
cat /proc/mtd
dev: size erasesize name
mtd0: 00020000 00010000 "u-boot"
mtd1: 00143ae8 00010000 "kernel"
mtd2: 0068c518 00010000 "rootfs"
mtd3: 004c0000 00010000 "rootfs_data"
mtd4: 00010000 00010000 "art"
mtd5: 007d0000 00010000 "firmware"

I can revert back to org. fw anytime I like...but being user of nix/linux for over 24 years...don't thing so.
ian5142
DD-WRT Guru


Joined: 23 Oct 2013
Posts: 2318
Location: Canada

PostPosted: Fri Jun 15, 2018 3:02    Post subject: LEDE Reply with quote
Can you post the working LEDE image?

I would like to see what the header and partitions look like in it.

_________________
Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings


Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.

Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS

Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
gfx18
DD-WRT Novice


Joined: 05 Jun 2018
Posts: 27
Location: Dhk, Bd

PostPosted: Fri Jun 15, 2018 14:03    Post subject: Here is the tl-wr841 v11 Reply with quote
Here are the image files,

flashed squashfs.bin and initramfs.bin,
ian5142
DD-WRT Guru


Joined: 23 Oct 2013
Posts: 2318
Location: Canada

PostPosted: Fri Jun 15, 2018 17:58    Post subject: Test File Reply with quote
Test file for 841HP based on LEDE header. NOT TESTED.
_________________
Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings


Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.

Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS

Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
jmfolcik
DD-WRT User


Joined: 06 Nov 2010
Posts: 125

PostPosted: Fri Jun 15, 2018 23:54    Post subject: Re: ok Reply with quote
Let it run a week, I could only get openwrt to function on an actual 841 v11 for a day or two before it would crumble and need a restart. Wasn't doing anything fancy and it'd eventually stop working with wifi and have really high load averages until a restart. I did what I could to troubleshoot but ended up going back to dd-wrt 33006 for it being rock solid with the 841n model range. The only thing openwrt has over dd-wrt on this model is they are able to fit the ipv6 stack into the 4mb image. However I saw zero performance improvements with it at all over dd-wrt on ipv4 with upnp off and just using port forwards.

gfx18 wrote:
Now on Lede/Openwrt 17.0.x.x. It is significantly faster then original os/firmware, just as expected of linux.

But not sure it's fully stable or not.

It did reboot one time, may be power glitch...not sure, will watch carefully.

I hv installed Lede/Owrt for 841v11 with Luci. I hv used serial and combination of scp to install..just took few seconds, learning took over 2 weeks....

I hv also backed up my existing mtd partitions,
cat /proc/mtd
dev: size erasesize name
mtd0: 00020000 00010000 "u-boot"
mtd1: 00143ae8 00010000 "kernel"
mtd2: 0068c518 00010000 "rootfs"
mtd3: 004c0000 00010000 "rootfs_data"
mtd4: 00010000 00010000 "art"
mtd5: 007d0000 00010000 "firmware"

I can revert back to org. fw anytime I like...but being user of nix/linux for over 24 years...don't thing so.
gfx18
DD-WRT Novice


Joined: 05 Jun 2018
Posts: 27
Location: Dhk, Bd

PostPosted: Sat Jun 16, 2018 3:15    Post subject: Re: ok Reply with quote
jmfolcik wrote:
Let it run a week, I could only get openwrt to function on an actual 841 v11 for a day or two before it would crumble and need a restart. Wasn't doing anything fancy and it'd eventually stop working with wifi and have really high load averages until a restart. I did what I could to troubleshoot but ended up going back to dd-wrt 33006 for it being rock solid with the 841n model range. The only thing openwrt has over dd-wrt on this model is they are able to fit the ipv6 stack into the 4mb image. However I saw zero performance improvements with it at all over dd-wrt on ipv4 with upnp off and just using port forwards.


I don't thing u'r right. Been running for the last 24 hours and my kids are playing online games like....

No hiccups...no nothing, also engaged upnp, adblock, samba and many others, no reboots no problem. It got firewall, ipv6 etc by default. Also using 30db wifi and working just simply great. My 65" samsung tv used to buffer a lot, seems much better now.

Lets run it for a week...still testing...keeping eye on system and kernel logs...
Smile
msisgr
DD-WRT Novice


Joined: 02 Jul 2018
Posts: 8

PostPosted: Sat Jul 14, 2018 16:24    Post subject: Re: ok Reply with quote
gfx18 wrote:
jmfolcik wrote:
Let it run a week, I could only get openwrt to function on an actual 841 v11 for a day or two before it would crumble and need a restart. Wasn't doing anything fancy and it'd eventually stop working with wifi and have really high load averages until a restart. I did what I could to troubleshoot but ended up going back to dd-wrt 33006 for it being rock solid with the 841n model range. The only thing openwrt has over dd-wrt on this model is they are able to fit the ipv6 stack into the 4mb image. However I saw zero performance improvements with it at all over dd-wrt on ipv4 with upnp off and just using port forwards.


I don't thing u'r right. Been running for the last 24 hours and my kids are playing online games like....

No hiccups...no nothing, also engaged upnp, adblock, samba and many others, no reboots no problem. It got firewall, ipv6 etc by default. Also using 30db wifi and working just simply great. My 65" samsung tv used to buffer a lot, seems much better now.

Lets run it for a week...still testing...keeping eye on system and kernel logs...
Smile


How did you install that firmware?
It'll be great if you help me.
And, how it's been working now?
Has the range increased?
gfx18
DD-WRT Novice


Joined: 05 Jun 2018
Posts: 27
Location: Dhk, Bd

PostPosted: Sun Aug 26, 2018 6:27    Post subject: It's easy Reply with quote
Hello msisgr,

It's not difficult. I hv already done firmware change to 5 more routers including my main 841hp. First Pls. remember, "U do it on your own risk, I'm not responsible for any bricked router", thats aside,

It's better if u can get a USB to serial TTL converter, in my country it costs about Tk.170 roughly about US$2.00, very cheap. Almost all routers now a days got serial interface/connector risers. Look here,

https://imgur.com/a/Hm6y8br
https://imgur.com/a/kqyNdVB

U need to find out the Gnd, Tx and Rx pins, See this docs,

http://www.devttys0.com/2012/11/reverse-engineering-serial-ports/

Watch these videos,

https://www.youtube.com/watch?v=t35Pei_eb6o

https://www.youtube.com/watch?v=pp_et2KF9PE

Connect yr serial port, If u'r running linux then use minicom or for windows use putty. Just before booting linux/ecos etc firmware bootloader u-boot waits for a second, u hv to write "tpl" and hit enter within 1 second, it's not possible, so I hv programmed minimcom to start init the router with "tpl" when starts. Please read the thread, everything detailed in the thread.

The reason for doing above is to stop booting into original firmware and get the u-boot(boot loader) prompt. so that u can install custom firmware i.e. dd-wrt or open-wrt or tomato etc.

U need to setup a tftp server before u can transfer image to the router. I use tftp-hpa, the default for arch linux(my linux distro, this is all I use, I don't use windows...but I got it for some external flasher I got)

Now connect yr router to your computer, place the Lede or openwrt image suitable for your router into the tftp server directory i.e. in my case it's /srv/gtftp

Now login to u-boot bootloader by using tpl and enter. U will get a prompt. here u can write help and it will show all commands available to u,
Old u-boot(defailt),
(I'm using subnet x.x.10.x),
set serverip 192.168.10.1
set ipaddr 192.168.10.10
If it's new u-boot from pepe's repo, then,
setenv serverip 192.168.10.1
setenv ipaddr 192.168.10.10

1. ping 192.168.10.1 (Check if server is live!!)
2. tftpboot 0xa0800000 tftp-boot-file(Yr dd-wrt/openwrt rom)
3. erase 0x9f020000 +0x3c0000
4. cp.b 0xa0800000 0x9f020000 0x3c0000 (Copy ram contant to flash chip)
5. bootm 0x9f020000

Pls. note that in step 3 erase depends on the total copied rom in step 2, if it says "copied (0x3c0000) then write +0x3c0000 in step 3 or write whatever last ram position reported by tftpboot command of u-boot!!

Also note u must connect yr pc with the router in any of the lan ports, wan also works...

If u write printenv and look close u will find all the items mentioned above i.e. boot memory location of 0x9f020000, mem location of startup address in hex.

In some routers u hv to note down yr Hardware or mac address as it may get changed, u hv to change it back to original.

Also, U should make backup of your router firmware. U can get the original firmware from tp-link website, keep it handy if anything goes sideways.

How to backup firmware from serial console or any console in openwrt/dd..,

First check which is yr art and u-boot partition for backup,

cat /proc/mtd

Firmware backup,

cat /dev/mtd0 > /tmp/uboot_backup.bin
cat /dev/mtd4 > /tmp/art_backup.bin
cat /dev/mtd5 > /tmp/firmware_backup.bin

Another way(Online with firmwares with boot in it i.e with bootloader),
ls /dev/ (Verify if mtd4 is art and mtd0 is uboot)
dd if=/dev/mtd4 of=/tmp/art_back2.bin
( U need to copy above art backup i..e art_back2.bin to yr computer with scp...see below how to scp)

After u hv flashed u need to update openwrt,
1. ssh root@192.168.1.1 (whichever ip now i.e. openwrt starts with 192.168.1.1 or 192.168.0.1)
1b. change password first, issue passwd command and change password to yr liking.
1c.then reboot system...

Then copy upgrade file to tmp dir,
scp /srv/gtftp/lede-ar71xx-generic-tl-wr841-v12-squashfs-sysupgrade.bin root@192.168.1.1:/tmp/

sysupgrade /tmp/lede-ar71xx-generic-tl-wr841-v12-squashfs-sysupgrade.bin

reboot system again

issue, opkg update
issue opkg install luci (if u hv not added luci in compile time, or using prebuilds)
issue, /etc/init.d/uhttpd enable
/etc/init.d/uhttpd start
then go into 192.168.1.1(from yr web browser) and change ip of router to 192.168.x.x(whatever subnet u prefer) and reboot

I hope it helps, if u need further help I will be around.

Openwrt prebuilds location,
https://downloads.openwrt.org/, I would choose latest stable versions.

N.B. Someone informed me I forgot one step, thank u. I hv edited my post, sorry about that(added cp.b part).
You can find more detailed explanation in my blog post here,
https://router-mod.blogspot.com/


Last edited by gfx18 on Wed Sep 19, 2018 2:27; edited 1 time in total
gfx18
DD-WRT Novice


Joined: 05 Jun 2018
Posts: 27
Location: Dhk, Bd

PostPosted: Sun Aug 26, 2018 7:22    Post subject: ch341a Reply with quote
I forgot in the last post,

U can also get a cheap programmer that also can be used as a USB to serial TTL adapter...

U can search in aliexpress for ch341a they cost roughly $2.xx very cheap,
I would choose the green one as it's selectable to 3.3v that u need for soip 8 Serial flash chips that almost all routers got.,
(See attached file for url..it mess up my post)

U will save yourself from a lots of grief if u also buy one set of these($1.xx,),
(See attached file for url..it messed up my post)

Please open up yr router and check if u got 8 pin flash chip before u buy any of the sockets above. if u got 16 pin chip u hv to buy the 16 pin version.
spawn0
DD-WRT Novice


Joined: 02 Mar 2019
Posts: 2

PostPosted: Sat Mar 02, 2019 6:28    Post subject: Reply with quote
slowmotionscene wrote:
says these https://i.imgur.com/Pmrlv8T.jpg


Hello, did you solve that problem with the flash ?

I have the same issue with my WR841HP V3.

Apparently a storm cause the WAN port die and im trying to flash ddwrt to use a LAN port as WAN.

Is it possible with this model?

thnx for answers
spawn0
DD-WRT Novice


Joined: 02 Mar 2019
Posts: 2

PostPosted: Tue Mar 05, 2019 22:09    Post subject: Re: TFTP Reply with quote
ian5142 wrote:
Did anybody try loading it via TFTP?


  1. Install TFTP32/TFTP64 on your computer.
  2. Download one of my test files.
  3. Create a folder tftp on the C:/ drive, or somewhere easy to navigate to.
  4. Set a Static IP, on the computer, of 192.168.0.66 (wired only)
  5. Start TFTP32/TFTP64, server mode, change the directory to C:/tftp, change the interface to 192.168.0.66
  6. Power on the router while holding the reset button.
  7. Check the TFTP32/TFTP64 log, it should say that the router tried to grab a file
  8. Rename the downloaded file to this name, place it in the C:/tftp folder.
  9. Power on the router while holding the reset button.
  10. This time the router will find the file, download it from the computer and flash it.
  11. Wait at least 5 min before rebooting the router manually.


hi, its not working for me with this method.

the router takes the file but nothing happens, couse i can log in the original router OS, any suggestion? i tried both versions that you uploaded for v3

sry for bad english


EDIT: this is the log that tftpd is showing

Connection received from 192.168.0.86 on port 3829 [05/03 19:05:29.724]
Read request for file <wr841hpv3_tp_recovery.bin>. Mode octet [05/03 19:05:29.724]
OACK: <timeout=2,> [05/03 19:05:29.724]
Using local port 55482 [05/03 19:05:29.724]
<wr841hpv3_tp_recovery.bin>: sent 7681 blks, 3932160 bytes in 7 s. 0 blk resent [05/03 19:05:36.683]
slowmotionscene
DD-WRT User


Joined: 03 Oct 2014
Posts: 364

PostPosted: Mon Sep 21, 2020 16:58    Post subject: Reply with quote
is these nontested for wr841v1 someone try? hows the results? Question
rsfjr
DD-WRT Novice


Joined: 07 Oct 2019
Posts: 1

PostPosted: Sat Oct 02, 2021 12:59    Post subject: Reply with quote
Any updates with this router?
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Sat Oct 02, 2021 15:01    Post subject: Reply with quote
Official support doesn't just happen. There is usually information or hardware donation required. This thread is specific to the v3:

https://wikidevi.wi-cat.ru/TP-LINK_TL-WR841HP_v3.x

https://wikidevi.wi-cat.ru/TP-LINK_TL-WR841HP

I will forward this to the developer to see if there is any interest in an official port.

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Goto page Previous  1, 2, 3, 4, 5  Next Display posts from previous:    Page 3 of 5
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum