Linksys 32X oem firmware is out........

Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Goto page Previous  1, 2, 3 ... 8, 9, 10, 11  Next
Author Message
inteliboy
DD-WRT Novice


Joined: 03 May 2011
Posts: 44
Location: Poland

PostPosted: Thu Oct 05, 2017 17:33    Post subject: Reply with quote
It seems Linksys is not happy with people converting their WRT3200ACM to WRT32X as they removed firmware download section from they WRT32X support website Razz
_________________
Main HW:
Netgear R7800 @ DD-DWRT r50274 (Router+AP)
- Wireguard client

Offsite HW:
PCEngines APU2E4 @ DD-WRT r50176 (Router) + Netgear XR500 @ DumaOS (AP)
-Wireguard server
Sponsor
cybrnook
DD-WRT User


Joined: 08 Jan 2014
Posts: 279

PostPosted: Thu Oct 05, 2017 17:55    Post subject: Reply with quote
Maybe just in the middle of a new release? Maybe with updated dnsmasq Smile (HAHA)
open
DD-WRT Novice


Joined: 05 Oct 2017
Posts: 2

PostPosted: Thu Oct 05, 2017 19:32    Post subject: Reply with quote
As far as the prioritization goes, can we make a change so that this is way it does it, as it makes the most sense.

Highest priority: Killer networks prioritized clients applications with priority 1 set in KCC (killer control center)

Next: Routers High priority set devices and Killer Clients applications in KCC with priority 2-3

Next: Routers Normal priority set devices and KCC priority 4

Lowest: Routers Low priority set devices and Killer Clients applications in KCC with priority 5-6

I believe this design scheme makes the most sense as is or with some minor tweaking. This is assuming that the router is able to communicate with Killer enabled devices on a specific level which I assume is occurring already because I am able to tap into the router via KCC.
inteliboy
DD-WRT Novice


Joined: 03 May 2011
Posts: 44
Location: Poland

PostPosted: Fri Oct 06, 2017 15:07    Post subject: Reply with quote
cybrnook wrote:
Maybe just in the middle of a new release? Maybe with updated dnsmasq Smile (HAHA)


It does not seem so as they also removed the GPL sources Razz
I feel like it's my fault as I pointed out on Linksys forums that any WRT3200ACM can be converted to WRT32X Razz

@open
Requests like that should be made on Linksys community forums Smile

_________________
Main HW:
Netgear R7800 @ DD-DWRT r50274 (Router+AP)
- Wireguard client

Offsite HW:
PCEngines APU2E4 @ DD-WRT r50176 (Router) + Netgear XR500 @ DumaOS (AP)
-Wireguard server
Beradon
DD-WRT Novice


Joined: 05 Nov 2016
Posts: 36

PostPosted: Fri Oct 06, 2017 15:15    Post subject: Reply with quote
Well my wireless crashed twice this morning... Going to try to flip over to the real WRT32X that I have and see if it is more stable
inteliboy
DD-WRT Novice


Joined: 03 May 2011
Posts: 44
Location: Poland

PostPosted: Fri Oct 06, 2017 15:18    Post subject: Reply with quote
Beradon wrote:
Well my wireless crashed twice this morning... Going to try to flip over to the real WRT32X that I have and see if it is more stable


Mine is running stable on both bands, 8 days now. 6 devices in total connected, 2 to 5GHz and 4 to 2.4GHz.

_________________
Main HW:
Netgear R7800 @ DD-DWRT r50274 (Router+AP)
- Wireguard client

Offsite HW:
PCEngines APU2E4 @ DD-WRT r50176 (Router) + Netgear XR500 @ DumaOS (AP)
-Wireguard server
Beradon
DD-WRT Novice


Joined: 05 Nov 2016
Posts: 36

PostPosted: Fri Oct 06, 2017 15:47    Post subject: Reply with quote
inteliboy wrote:
Beradon wrote:
Well my wireless crashed twice this morning... Going to try to flip over to the real WRT32X that I have and see if it is more stable


Mine is running stable on both bands, 8 days now. 6 devices in total connected, 2 to 5GHz and 4 to 2.4GHz.


I have drastically more devices, I have around 15 wireless devices, most of them on 2.4GHz with a couple on 5GHz. And another 10 or so wired devices.

The items that seem to have trouble first are the Amazon Echos (I have 3), followed shortly by the rest of the devices falling off the network.
Adamcarter
DD-WRT User


Joined: 09 Aug 2016
Posts: 235

PostPosted: Fri Oct 06, 2017 22:05    Post subject: Reply with quote
Can anyone post the most latest linksys wrt32x firmware the one before they removed it?
_________________
WRT3200ACM V1 r39267 std (03/22/19) OpenVPN client
respun01
DD-WRT Novice


Joined: 20 May 2017
Posts: 9

PostPosted: Sat Oct 07, 2017 0:24    Post subject: Reply with quote
Blank

Last edited by respun01 on Sat Oct 07, 2017 2:38; edited 1 time in total
Adamcarter
DD-WRT User


Joined: 09 Aug 2016
Posts: 235

PostPosted: Sat Oct 07, 2017 2:00    Post subject: Reply with quote
Anybody willing to teamviewer into my computer and do this for me? I can have my computer directly connected to cable modem and router connected via the usb to serial connector, so in theory it can work. This sorta stuff is over my head.
_________________
WRT3200ACM V1 r39267 std (03/22/19) OpenVPN client


Last edited by Adamcarter on Sat Oct 07, 2017 2:31; edited 1 time in total
ghoffman
DD-WRT User


Joined: 03 Jan 2010
Posts: 453

PostPosted: Sat Oct 07, 2017 2:21    Post subject: Reply with quote
my notes and questions on the wrt3200acm->wrt32x process:

i crossflashed using the steps provided :
Code:

Initial flash to 32X process:
Set PC's IP to 192.168.1.254 / 255.255.255.0 and serve provided rango.img via TFTPD (http://tftpd32.jounin.net/)


U-boot console issue:

setenv mtdparts 'mtdparts=armada-nand:2048K(uboot)ro,128K(u_env),256K(s_env),256K@8064K(devinfo),123m@9m(firmware1),123m@132m(firmware2)'
setenv nandboot 'setenv bootargs console=ttyS0,115200 root=/dev/mtdblock6;nand read $defaultLoadAddr $priKernAddr $priKernSize; bootz $defaultLoadAddr'
setenv altnandboot 'setenv bootargs console=ttyS0,115200 root=/dev/mtdblock8;nand read $defaultLoadAddr $altKernAddr $altKernSize; bootz $defaultLoadAddr'
setenv priKernAddr 0x0900000
setenv altKernAddr 0x8400000
setenv altFwSize 0x7b00000
setenv priFwSize 0x7b00000
save
run update_both_images
boot


From SSH convert U-boot:
mtd write /uboot209.bin u-boot

Reboot into U-boot:
resetenv
reset

Reboot into U-boot:
setenv -f silent
saveenv


on reboot, i could upgrade to either the .201 or .208 wrt32x upgrade images without diffculty.

however, there seems to be a mtd inconsistency:

on serial console, u-boot environment, before loading firmware, here is the mtd map:

Code:
Venom>> mtdparts

device nand0 <armada-nand>, # parts = 6
 #: name                size            offset          mask_flags
 0: uboot               0x000000200000          0x000000000000          1
 1: u_env               0x000000020000          0x000000200000          0
 2: s_env               0x000000040000          0x000000220000          0
 3: devinfo             0x000000040000          0x0000007e0000          0
 4: firmware1           0x000007b00000          0x000000900000          0
 5: firmware2           0x000007b00000          0x000008400000          0

active partition: nand0,0 - (uboot) 0x000000200000 @ 0x000000000000

defaults:
mtdids  : none
mtdparts: none
Venom>>


after allowing factory image to boot, (or dd-wrt), here is the mtd map:

Code:
root@Linksys04063:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00200000 00020000 "u-boot"
mtd1: 00020000 00020000 "u_env"
mtd2: 00040000 00020000 "s_env"
mtd3: 005c0000 00020000 "unused_area"
mtd4: 00040000 00020000 "devinfo"
mtd5: 07b00000 00020000 "kernel1"
mtd6: 07800000 00020000 "ubi"
mtd7: 07b00000 00020000 "kernel2"
mtd8: 07800000 00020000 "rootfs2"
mtd9: 00100000 00020000 "BBT"
root@Linksys04063:/#


questions:
1- is the mtd map a problem?
2- does anyone have a venom.img that can be loaded from the wrt32x (uboot209) bootloader?

i dont know where this process is going. wrt32x is sold as 'open source' but seems linksys is closing it down.

hopefully folks at openwrt/lede and at dd-wrt will provide an image to load open source firmware, and a back-to-original firmware image.

how can i help?
thanks
inteliboy
DD-WRT Novice


Joined: 03 May 2011
Posts: 44
Location: Poland

PostPosted: Sat Oct 07, 2017 16:35    Post subject: Reply with quote
venom.img represent the full image, just like rango.img I compiled. those are the same things content-wise, I just named it rango.img. Linksys does not provide such images for WRT32X, they need to be build from the GPL sources - currently removed by Linksys.
Here is the latest firmware update from Linksys site before it got removed. http://www51.zippyshare.com/v/buzobakm/file.html

As for the MTD partitions all is good. In U-boot there is a physical layout and then the kernel creates a virtual layout on top of it. kernel1+rootfs1 virtual partition are physically stored of firmware1 parition etc. Currently used rootfs partition is always named ubi.

_________________
Main HW:
Netgear R7800 @ DD-DWRT r50274 (Router+AP)
- Wireguard client

Offsite HW:
PCEngines APU2E4 @ DD-WRT r50176 (Router) + Netgear XR500 @ DumaOS (AP)
-Wireguard server
spuriousoffspring
DD-WRT Guru


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

PostPosted: Sat Oct 07, 2017 21:03    Post subject: Reply with quote
Amazing work @inteliboy and all others who've contributed. This Topic makes me wish I had spent some time (any!) with Linux over the years instead of all my time on Windows & Mac.

I really wanted to compile a version of DD-WRT similar to LEDE's 4.4 Kernel version for the WRT1900AC v1.
I got about 5 minutes into it and then realized that I would be more qualified for the Mars Program.

_________________
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: Sat Oct 07, 2017 23:18    Post subject: Reply with quote
inteliboy wrote:
venom.img represent the full image, just like rango.img I compiled. those are the same things content-wise, I just named it rango.img. Linksys does not provide such images for WRT32X, they need to be build from the GPL sources - currently removed by Linksys.
Here is the latest firmware update from Linksys site before it got removed. http://www51.zippyshare.com/v/buzobakm/file.html

As for the MTD partitions all is good. In U-boot there is a physical layout and then the kernel creates a virtual layout on top of it. kernel1+rootfs1 virtual partition are physically stored of firmware1 parition etc. Currently used rootfs partition is always named ubi.


@inteliboy:
thank you for confirming this about the mtd layer structure. and for all your help.
do you know what the devinfo variable 'recovery_key' is used for?
the loss of images on the linksys site is problematic when they advertise their device as 'open source' and 'open source ready'.
currently there are no ddwrt or openwrt images flashable by gui as far as i know. have you other information?
adi-brasov
DD-WRT User


Joined: 03 May 2017
Posts: 126

PostPosted: Sun Oct 08, 2017 10:08    Post subject: Reply with quote
respun01 wrote:
@ghoffman :
2- does anyone have a venom.img that can be loaded from the wrt32x (uboot209) bootloader?


there is no need to compile a image from source.all can be done from dd-wrt or lede prompt.if you have FW_WRT32X_1.0.170828.208.img, then copy with winscp to /tmp and extract kernel and root files, and make the image :

#cd /tmp
#tar -xf FW_WRT32X_1.0.170828.208.img
#cd sysupgrade-armada-385-linksys-venom

- kernel is 2090870 bytes . acording to new partition layout, kernel has alocated 3mb so we must pad with 0 :

#dd if=/dev/zero of=padk bs=1 count=1054858
#cat padk >> kernel

now we have a 3mb kernel.

- now we must ubinize root file.create a file ubi.cfg with this content :

[rootfs]
mode=ubi
image=root
vol_id=0
vol_type=dynamic
vol_name=rootfs
vol_alignment=1

[rootfs_data]
mode=ubi
vol_id=1
vol_size=1MiB
vol_type=dynamic
vol_name=rootfs_data
vol_flags=autoresize
vol_alignment=1

- run this command :

#ubinize -o ubi_root -p 128KiB -m 2048 -s 2048 -v ubi.cfg

- appent to paded kernel file :

#cat kernel ubi_root > wrt32x.img

thats all. we have a image that can be flashed to new partition layout (new env vars must be set) from u-boot or from dd-wrt/lede using "mtd -f write" command.


about the mtdparts : the partition layout is stored in dtb file (compiled dts).actualy the kernel file is zimage+dtb. you can see it with an hex viewer at the end of kernel file starting with a "d0 0d fe ed". it can be decompiled in linux with dtc command.
i played with editing some values in dtb zone, modifying some partition size, to see if it is working. and it is.
the opensource firmware doesnt use mtd params passed to kernel, using instead dts or internal table compiled with kernel. wich make sense, preventing the manufacturer to enforce mtdparts boot argument.


Adamcarter wrote:
Can anyone post the most latest linksys wrt32x firmware the one before they removed it?


for posting here such "sensitive" file, i think acord from @BS is needed (not from linksys, fk them).
Goto page Previous  1, 2, 3 ... 8, 9, 10, 11  Next Display posts from previous:    Page 9 of 11
Post new topic   Reply to topic    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