Success on installing DD-WRT to WRT32X w/o USB TTL cable

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 981
Location: Louisiana, USA

PostPosted: Sat Jun 02, 2018 21:38    Post subject: Reply with quote
I'll be so pissed off at myself if it turns out that I could've had DD-WRT running on this thing all along with just a simple variable adjust! Evil or Very Mad
_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
Sponsor
Lantis
DD-WRT Novice


Joined: 29 Sep 2016
Posts: 10

PostPosted: Sun Jun 03, 2018 1:35    Post subject: Reply with quote
My advice is to have this fixed in DD WRT in a similar way to how I fixed Openwrt.
This makes installation uncomplicated and leaves the device unmodified for returning to stock.

Not everyone is going to be comfortable/capable of modifying the uboot from the stock firmware via ssh.

You want simplicity, not “it works if we do xyz” where possible.
But that’s just my opinion.
ghoffman
DD-WRT User


Joined: 03 Jan 2010
Posts: 453

PostPosted: Sun Jun 03, 2018 11:36    Post subject: Reply with quote
ive been running dd-wrt on my wrt32x for the past 2 days now; fully functional serving basic network functions for 30-40 clients. thnak you devs.

question: how to flash a non-dd-wrt image on this router?
factory images are in sysupgrade format.
dd-wrt webflash are hdr0 format.

i tried ann openwrt factory.img using mtd write to the alternate partition, but no go.

suggestions?
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 981
Location: Louisiana, USA

PostPosted: Sun Jun 03, 2018 12:50    Post subject: Reply with quote
ghoffman wrote:
ive been running dd-wrt on my wrt32x for the past 2 days now; fully functional serving basic network functions for 30-40 clients. thnak you devs.

question: how to flash a non-dd-wrt image on this router?
factory images are in sysupgrade format.
dd-wrt webflash are hdr0 format.

i tried ann openwrt factory.img using mtd write to the alternate partition, but no go.

suggestions?


Have you tried flashing stock image from DD-WRT or LEDE/OpenWRT GUI?

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
ghoffman
DD-WRT User


Joined: 03 Jan 2010
Posts: 453

PostPosted: Sun Jun 03, 2018 14:03    Post subject: Reply with quote
spuriousoffspring wrote:

Have you tried flashing stock image from DD-WRT or LEDE/OpenWRT GUI?

factory firmware from linksys is sysupgrade format. it will work from the lede gui. or at least it has in the past.

however, i had lede on the 'other' mtd kernel partition that i screwed up trying to burn from dd-wrt.

so, im on dd-wrt, with a non-functional other image.
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 981
Location: Louisiana, USA

PostPosted: Sun Jun 03, 2018 14:23    Post subject: Reply with quote
Your best bet may be to serial flash the non dd-wrt partition with run flash_pri_image (partition 1) or run flash_alt_image (partition 2)

Partition 1 = kernel1 = mtd6
Partition 2 = kernel2 = mtd8

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
ghoffman
DD-WRT User


Joined: 03 Jan 2010
Posts: 453

PostPosted: Sun Jun 03, 2018 19:34    Post subject: Reply with quote
spuriousoffspring wrote:
Your best bet may be to serial flash the non dd-wrt partition


i am realizing that i have only initially flashed my wrt32xb with openwrt from the factory gui using a sysupgrade image.

whether using serial flash command or mtd write, a non-sysupgrade image is required.

can you point to the image did you used?
isg17
DD-WRT Novice


Joined: 28 Apr 2018
Posts: 12

PostPosted: Sun Jun 03, 2018 20:06    Post subject: Reply with quote
Lantis wrote:
My advice is to have this fixed in DD WRT in a similar way to how I fixed Openwrt.
This makes installation uncomplicated and leaves the device unmodified for returning to stock.

Not everyone is going to be comfortable/capable of modifying the uboot from the stock firmware via ssh.

You want simplicity, not “it works if we do xyz” where possible.
But that’s just my opinion.


What was specifically was your fix on OpenWrt that you referenced? The Venom GUI does not allow you to send Linux commands from the GUI. We should be thankful that Linksys didn't disable SSH by default on the stock Venom image. Basically, there are only two options available to installing any open firmware on WRT32x.
    1. Use the aforementioned SSH method to remove the "silent" environment variable.
    2. Purchase a USB to TTL cable, open up your unit, use a serial line terminal emulator to prevent the Linux kernel from starting using a space within a few seconds, removing the "silent" environment variable from U-Boot by issuing using, setenv silent
Please help me to understand any 3rd method available. It'd be greatly appreciated by the community.
Lantis
DD-WRT Novice


Joined: 29 Sep 2016
Posts: 10

PostPosted: Mon Jun 04, 2018 2:37    Post subject: Reply with quote
It’s exactly what BS has picked up in his patch here: https://svn.dd-wrt.com/changeset/36081

My patch: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=4fdc6ca31bda4aad2a65b8460b0caa5c60f87f41

Essentially it takes the supplied bootargs from DTS, applies them, reads the mtdblock value from the uboot supplied bootargs, puts them on the end of the append-rootblock from DTS, and then appends this to the bootargs.
This allows you to specifically pass in the console variable, and a (varying) root variable for each boot.

No changes required from user as it is all handled at boot. Smile

So BS is already working on all of this and there should be nothing to worry about in the future..
isg17
DD-WRT Novice


Joined: 28 Apr 2018
Posts: 12

PostPosted: Tue Jun 05, 2018 0:30    Post subject: Reply with quote
ghoffman wrote:
spuriousoffspring wrote:

Have you tried flashing stock image from DD-WRT or LEDE/OpenWRT GUI?

factory firmware from linksys is sysupgrade format. it will work from the lede gui. or at least it has in the past.

however, i had lede on the 'other' mtd kernel partition that i screwed up trying to burn from dd-wrt.

so, im on dd-wrt, with a non-functional other image.


@ghoffman I spent a couple of hours yesterday to retrace my steps and reproduce where you were stuck at. Wow, what an ordeal! I just realized that in my previous testing that I had been going into U-Boot and issuing run update_both_images and run flash_XXX_image with the aid of a USB to TTL cable. I had to do the same yesterday and tftp from U-Boot. OpenWrt's sysupgrade utility obviously doesn't have any problems. I still haven't successfully used mtd or any other method to revert back to stock firmware. My time is limited today and tomorrow but I'll take another stab at it this week and share my results.
Lantis
DD-WRT Novice


Joined: 29 Sep 2016
Posts: 10

PostPosted: Tue Jun 05, 2018 0:32    Post subject: Reply with quote
You can use Openwrt sysupgrade with a “factory” image (must be compiled from source, Linksys does not provide it).
isg17
DD-WRT Novice


Joined: 28 Apr 2018
Posts: 12

PostPosted: Tue Jun 05, 2018 0:36    Post subject: Reply with quote
Lantis wrote:
You can use Openwrt sysupgrade with a “factory” image (must be compiled from source, Linksys does not provide it).


I think @ghoffman is trying to go from DD-WRT --> Venom stock firmware.
ghoffman
DD-WRT User


Joined: 03 Jan 2010
Posts: 453

PostPosted: Tue Jun 05, 2018 9:41    Post subject: Reply with quote
isg17 wrote:

I think @ghoffman is trying to go from DD-WRT --> Venom stock firmware.

yes, from dd-wrt. to stock or openwrt. hoping to avoid the serial cable!
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 981
Location: Louisiana, USA

PostPosted: Tue Jun 05, 2018 12:13    Post subject: Reply with quote
Has anyone had success in flashing a WRT32X back to stock Venom Firmware using any available method?
_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
Lantis
DD-WRT Novice


Joined: 29 Sep 2016
Posts: 10

PostPosted: Tue Jun 05, 2018 13:09    Post subject: Reply with quote
Serial: yes
Openwrt GUI: haven’t tried, but don’t see a problem.

You must use a factory image, not sysupgrade like Linksys provides.
Goto page Previous  1, 2, 3, 4, 5, 6  Next Display posts from previous:    Page 2 of 6
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.) 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