Flashing WRT32X failing

Hi all,

Not too long ago I updated to SNAPSHOT r28216+8-39b0f081ec using an image I compiled myself. That went well. Prior to that I had been with a really old snapshot build, can't remember the exact version.

I wanted to install PBR but with the recent changes the build I'm on can;t install any new packages so decided to compile a new image.

Compiling completes without issue, but after flashing the router it becomes inaccessible. I've tried SYSUPGRADE with and without keeping settings, and I tried the FACTORY image, but that doesn't work either.

Luckily these routers have a dual flash so I can fail back fairly easily.

I came across another post which sounded a lot like my issue: Sysupgrade not flashing (WRT3200) - #12 by TheBeard

But after checking both issues linked in that thread, I checked the corresponding files and can see that those changes are already present in my cloned repo.

Not sure what else to try at this stage. Hoping someone can guide me through troubleshooting. Any suggestions welcome.

Thanks

i think there is another issue going on with wrt32x builds in the last 24 hours.
i have images built from firmware-selector.
r28676 -> r28695 - this succeeded
r28695 -> r28724 - this failed; device hung; power cycle X3 -> fall back ok

update:
r28695 -> r28676 (backwards) succeeds, so i think the issue is with recent builds after r28695

1 Like

Thanks ghoffman,

Hopefully someone opens an issue, someone with more OpenWRT chops than I have. :laughing:

I might open one myself actually, using what we know so far, can't hurt.

Hopefully I've done this right and they don't revoke my GitHub account... haha

1 Like

First guess: commit eaa8211 adds a needed new module for wrt3200acm package list, but not for wrt32x, although they should have practically identical hardware.

Wrt32x .dts refers to "armada-385-linksys.dtsi" which defined the affected switch.

Adding kmod-dsa-mv88e6xxx to wrt32x might be the correct solution?

Ps there might be other similar routers where the grey mentioned in the commit did not find the switch reference due to inclusion via .dtsi

1 Like

i agree - looking at
https://patchwork.ozlabs.org/project/openwrt/patch/20250113-mv88e6xxx-modularize-v2-1-3064419615cd@linaro.org/
there is no entry for wrt32x
i'll try your suggested module addition to firmware-selector build, and try to flash again. i dont haave accesss to the device right now but will in a few hours and will report back asap.

@hnyman
edit/update:
i built the am image r28724 with kmod-dsa-mv88e6xxx in the module list, flashed it from r28695, and the device is WORKING. i did this remotely so the access after flashing had to await a 10 minute delay for the device to regain WAN access.

any other suggestions for later?
thank you

1 Like

Reply to the GitHub bug and confirm my guess.

I'm just compiling with the additional mod now. I'll reply to the bug once tested too.

Awesome, that worked for me too. I'll reply to the bug now.

I dont have permission to comment/edit in the github bug section.
edit - added confirmation on github

also - still broken in r28735; need to manually add the kmod.

PR #17793

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.