Hi, I've been converting my Linksys devices to OpenWRT when I came across the instructions for the EA4500 v1, v2 / E4200 v2 devices. The section regarding Recent Builds >= 24.10 has a few commands listed to change the uboot fw env settings before proceeding to push the update to 24.10.
Following these commands resulted in an error causing my device to be stuck on the stock Linksys firmware (as I didn't double-flash 23.05 beforehand). The only way I was able to recover from this was using the serial flashing method to restore the stock Linksys firmware and then reflashing 23.05 from the web UI.
The error is when modifying the altnandboot variable, there's a missing " | " in the command, resulting in the removal of altnandboot variable altogether.
Command listed currently in the wiki page:
fw_setenv altnandboot "$(fw_printenv altnandboot | awk -F= '{sub(/^altnandboot=/, "");print}' sed 's/0x300000/0x400000/g')"
Command should be corrected to:
fw_setenv altnandboot "$(fw_printenv altnandboot | awk -F= '{sub(/^altnandboot=/, "");print}' | sed 's/0x300000/0x400000/g')"
Thanks!