Buffalo WXR-1900DHP

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3 ... , 10, 11, 12  Next
Author Message
ludacrisvp
DD-WRT User


Joined: 21 Feb 2015
Posts: 102

PostPosted: Fri Apr 14, 2017 3:37    Post subject: Reply with quote
sesipod wrote:
If anyone can help me out here it would be amazing!

Im trying to start the mod process with my WXR_1900DHP.
I bought the serial cable mentioned ->
https://www.amazon.com/gp/product/B00QT7LQ88
I plugged it in and install the drivers from here -> http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225&pcid=41

I then get COM4 port for the cable open putty start the session for COM4 and then plug in my router to the ac adapter and then all I get is a bunch of trash text on the screen nothing that is remotely readable. So I switched to my MacBook and the same thing is happening all kinds of gobbled text. So is this maybe an issue with the router or the serial cable?


also
Start pressing CTRL-C until you get the CFE> prompt. This does nothing for me I have tried every combernation that I can think.

Please help me out thanks! Smile Very Happy


You probably have the serial cable set with the wrong settings or have a poor or incorrect connection. If that isn't perfect you aren't going to be able to do anything.
On the Mac what apps / tools / commands were you using to make the connection via serial?

_________________
Routers:
WXR-1900DHP - Active (main) - v3.0-r36070M kongac (05/31/18 )
WZR-N600DHP - Wired AP - v3.0-r33679 BS (11/04/17)
WNDR-3400 - retired to its box for several years
Sponsor
ludacrisvp
DD-WRT User


Joined: 21 Feb 2015
Posts: 102

PostPosted: Wed Apr 19, 2017 0:03    Post subject: Reply with quote
For what it is worth, the settings I use on the mac are:

Code:
# screen /dev/cu.usbserial 115200


If you don't have the right kext installed you will get garbage as well.

_________________
Routers:
WXR-1900DHP - Active (main) - v3.0-r36070M kongac (05/31/18 )
WZR-N600DHP - Wired AP - v3.0-r33679 BS (11/04/17)
WNDR-3400 - retired to its box for several years
sesipod
DD-WRT Novice


Joined: 20 Sep 2011
Posts: 5

PostPosted: Fri Apr 21, 2017 17:32    Post subject: Reply with quote
ludacrisvp wrote:
For what it is worth, the settings I use on the mac are:

Code:
# screen /dev/cu.usbserial 115200


If you don't have the right kext installed you will get garbage as well.


I tested it on my windows 10 computer and used the following drivers and putty: http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225&pcid=41

I have no kext installed on my mac. I do not remember witch command that I was using. Is there somewhere that I can download the proper Kext for the following usb serial cable: https://www.amazon.com/gp/product/B00QT7LQ88/ref=oh_aui_detailpage_o05_s00?ie=UTF8&psc=1

I used the following config on the cable:

Red - 5v
Black - Ground
Green - Rx
White - Tx

Connected to the following ports on the wifi router:
http://www.dd-wrt.com/nxt/wiki/lib/exe/fetch.php?media=hardware:buffalo:wxr1900.jpg
ludacrisvp
DD-WRT User


Joined: 21 Feb 2015
Posts: 102

PostPosted: Mon Apr 24, 2017 2:03    Post subject: Reply with quote
I guess I'd check connections and maybe you have TX and RX swapped.
You need to connect the TX cable to the RX port on the TTL header and RX on the cable to the TX port on the TTL header.

_________________
Routers:
WXR-1900DHP - Active (main) - v3.0-r36070M kongac (05/31/18 )
WZR-N600DHP - Wired AP - v3.0-r33679 BS (11/04/17)
WNDR-3400 - retired to its box for several years
sesipod
DD-WRT Novice


Joined: 20 Sep 2011
Posts: 5

PostPosted: Tue Apr 25, 2017 14:20    Post subject: Reply with quote
ludacrisvp wrote:
I guess I'd check connections and maybe you have TX and RX swapped.
You need to connect the TX cable to the RX port on the TTL header and RX on the cable to the TX port on the TTL header.


By TTL header you are meaning on the wifi router ?

TX cable to the RX port on the router?
RX cable to the TX port on the router?

the cable is pre made so im guessing this is what you mean.

-Shawn
sesipod
DD-WRT Novice


Joined: 20 Sep 2011
Posts: 5

PostPosted: Sun Apr 30, 2017 1:35    Post subject: Reply with quote
Here is my pin out config on the router, and a screen shot of what I'm getting.

This is the cable that I'm using and the driver:

Cable: https://www.amazon.com/gp/product/B00QT7LQ88/ref=oh_aui_detailpage_o06_s00?ie=UTF8&psc=1
Driver: http://www.prolific.com.tw/US/ShowProduct.aspx?p_id=225&pcid=41

Windows 10 x64 PRO - Fresh install.
59vw
DD-WRT Novice


Joined: 25 Nov 2006
Posts: 10

PostPosted: Fri Nov 03, 2017 22:50    Post subject: Reply with quote
@ludacrisvp I'm still running my original firmware from when I first flashed this router (page 4 of this thread) DD-WRT v3.0-r27805 std (09/11/15)

I'd like to upgrade now, do you predict I can just upgrade using the web interface to a recent build? Which is the latest you've tried that worked? Just trying to save myself a few hours.

Thanks,

_________________
Routers:
WXR-1900DHP DDWRT V3.0-r51140 12/31/2022 std (main)
WHR-HP-G54 DDWRT V24-sp2 14896 8/7/2010 std
memerchan
DD-WRT Novice


Joined: 20 Sep 2011
Posts: 19

PostPosted: Fri Nov 03, 2017 23:16    Post subject: Reply with quote
59vw I would recommend the 33555 is stable
59vw
DD-WRT Novice


Joined: 25 Nov 2006
Posts: 10

PostPosted: Sun Nov 12, 2017 17:28    Post subject: Reply with quote
thanks memerchan,

Do you have experience upgrading via the web interface to this build? My plan would be just to download that build and upgrade via the web interface but I'm nervous about the dual images on this router. TIA

_________________
Routers:
WXR-1900DHP DDWRT V3.0-r51140 12/31/2022 std (main)
WHR-HP-G54 DDWRT V24-sp2 14896 8/7/2010 std
memerchan
DD-WRT Novice


Joined: 20 Sep 2011
Posts: 19

PostPosted: Tue Nov 14, 2017 15:08    Post subject: Reply with quote
Yes I upgraded via Web interface, but keep I came from recently version maybe one from September.
ludacrisvp
DD-WRT User


Joined: 21 Feb 2015
Posts: 102

PostPosted: Tue Nov 14, 2017 15:47    Post subject: Reply with quote
59vw wrote:
thanks memerchan,

Do you have experience upgrading via the web interface to this build?
My plan would be just to download that build and upgrade via the web
interface but I'm nervous about the dual images on this router. TIA


As long as you use the BrainSlayer builds you should be ok to update via
the web interface as if you watch the flash process over the serial
connection you can see it write to the 'linux' partition then write to the
'linux2' partition (which is the second image).

The <kong> builds don't seem to update correctly, meaning the partition
layout isn't correct (there is no linux2 partition) which means only one of
the dual images gets updated which soft bricks you until you connect serial
cable and from the CFE you flash the updated image over the recovery
image. I have to do this after every update from the kong builds, this used
to work fine. This appears to have been broken somewhere between kong
build 29440 and kong build 31205.

When fixing this from the CFE, you don't need TFTP setup or anything just
use the flash command to read the new image and write it to the recovery:

Code:
CFE> flash nflash1.trx nflash1.trx_recovery


Then boot and it will work fine.

current Kong version layout:
Code:
root@WXR-1900DHP:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00100000 00010000 "boot"
mtd1: 00010000 00010000 "nvram_cfe"
mtd2: 00010000 00010000 "nvram"
mtd3: 06000000 00020000 "linux"
mtd4: 05e60000 00020000 "rootfs"
mtd5: 01f00000 00020000 "ddwrt"



BrainSlayer layout:
Code:
root@WXR-1900DHP:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00100000 00010000 "boot"
mtd1: 00010000 00010000 "nvram_cfe"
mtd2: 00010000 00010000 "nvram"
mtd3: 03000000 00020000 "linux"
mtd4: 02e60000 00020000 "rootfs"
mtd5: 03000000 00020000 "linux2"
mtd6: 02e60000 00020000 "rootfs2"
mtd7: 01f00000 00020000 "ddwrt"


Flashing kong from BrainSlayer build works fine once, however, the next
kong flash update or an attempt to update to a 'normal' BrainSlayer build
fails as the partition layout changed.

More info in this thread around this post:
https://www.dd-wrt.com/phpBB2/viewtopic.php?p=1072429#1072429

_________________
Routers:
WXR-1900DHP - Active (main) - v3.0-r36070M kongac (05/31/18 )
WZR-N600DHP - Wired AP - v3.0-r33679 BS (11/04/17)
WNDR-3400 - retired to its box for several years
59vw
DD-WRT Novice


Joined: 25 Nov 2006
Posts: 10

PostPosted: Tue Nov 14, 2017 17:22    Post subject: Reply with quote
Thanks again memerchan and ludacrisvp, I'll give it a try and post back. Soft brick wouldn't be the end of the world but like I said, just trying to save some precious time.

ludacrisvp can you comment on why you prefer the kong builds?

_________________
Routers:
WXR-1900DHP DDWRT V3.0-r51140 12/31/2022 std (main)
WHR-HP-G54 DDWRT V24-sp2 14896 8/7/2010 std
ludacrisvp
DD-WRT User


Joined: 21 Feb 2015
Posts: 102

PostPosted: Tue Nov 14, 2017 21:11    Post subject: Reply with quote
The kong builds can have different features.
Sometimes bug fixes are there first or new security vulnerabilities are fixed there first.
IIRC kong was the first one to implement SFE (the module that allows one to see full 1Gbps WAN performance on IPv4 which was previously impossible on any dd-wrt build).

I think there was more differentiation in the versions earlier vs now.

The ability to upgrade from the command line was nice, however doesn't work all that well right now due to the partition issues.

_________________
Routers:
WXR-1900DHP - Active (main) - v3.0-r36070M kongac (05/31/18 )
WZR-N600DHP - Wired AP - v3.0-r33679 BS (11/04/17)
WNDR-3400 - retired to its box for several years
bobpaul
DD-WRT Novice


Joined: 17 Mar 2014
Posts: 3

PostPosted: Fri Oct 05, 2018 0:12    Post subject: Re: flash lede/openw(maybe dd-wrt too) without opening the c Reply with quote
I'm trying to help someone who has DD-WRT NXT r1.5.5 on a WXR-1900dhpd. I noticed somethings have changed since 2.36.

meshroom wrote:
hey guys i've found a way to flash openwrt/lede directly from stock firmware(mine is 2.36) without opening the case

1. open telnetd
Code:

http://192.168.11.1/cgi-bin/cgi?req=frm&frm=py-db/55debug.html
account:  bufpy
password: otdpopypassword



This is no longer possible on the newer firmwares it seems.

meshroom wrote:

-------------------
original mtd layout
Code:

dev:    size   erasesize  name
mtd0: 00040000 00010000 "boot"
mtd1: 00010000 00010000 "org_nvram"
mtd2: 01d40000 00020000 "kernel"
mtd3: 01b66a4c 00020000 "rootfs"
mtd4: 03000000 00020000 "linux"
mtd5: 01d40000 00020000 "kernel_recover"
mtd6: 01b66a4c 00020000 "rootfs_recover"
mtd7: 03000000 00020000 "linux_recover"
mtd8: 01f00000 00020000 "user_property_raw"
mtd9: 00100000 00020000 "BBT"
mtd10: 0001f800 0001f800 "user_property"
mtd11: 0001f800 0001f800 "nvram"



original MTD on 1.5.5 is way different:

Code:

$ cat /proc/mtd
dev:    size   erasesize  name
mtd0: 08000000 00020000 "firmware"
mtd1: 07c00000 00020000 "ubi"
mtd2: 00060000 00010000 "boot"
mtd3: 00010000 00010000 "nvram"
$ ls /dev/mtd*

/dev/mtd0       /dev/mtd1ro     /dev/mtd3       /dev/mtdblock1
/dev/mtd0ro     /dev/mtd2       /dev/mtd3ro     /dev/mtdblock2
/dev/mtd1       /dev/mtd2ro     /dev/mtdblock0  /dev/mtdblock3


We'll have to investigate the serial console methods I guess.
IW4
DD-WRT Novice


Joined: 14 Jul 2007
Posts: 1

PostPosted: Mon Feb 04, 2019 21:12    Post subject: Reply with quote
For those of you who are getting garbage when connecting the TTL cable, make sure the order is correct. As mentioned, the RX wire needs to be connected to the TX pin on the board, but what isn't mentioned is that you'll likely not want to connect the +5V wire. (Every time, I did, the whole unit would go down, and all the Ethernet activity lights would stay stuck on).

For those who are visual learners, here's what worked for me:
Goto page Previous  1, 2, 3 ... , 10, 11, 12  Next Display posts from previous:    Page 11 of 12
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Broadcom SoC 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 can attach files in this forum
You can download files in this forum