EdgeRouter X-SFP v2.0.9-hotfix.2 Factory firmware installation method failure

When following the ToH info for the EdgeRouter X-SFP factory install: https://openwrt.org/toh/ubiquiti/edgerouter_x_er-x_ka#factory_firmware_installation_method

on a EdgeOS v2 firmware ER X-SFP, I get a "Cannot find upgrade image" failure message:

admin@gw:/tmp$ cat /etc/version
admin@gw:~$ add system image /tmp/openwrt-18.06-snapshot-r7911-f65330d27d-ramips-mt7621-ubnt-erx-initramfs-factory.tar
Version [v2.0.9-hotfix.1.5371034.210122.1014] is about to be replaced
Are you sure you want to replace old version? (Yes/No) [Yes]: 
Cannot find upgrade image. Upgrade failed.

I also tried https://downloads.openwrt.org/releases/19.07.7/targets/ramips/mt7621/openwrt-19.07.7-ramips-mt7621-ubnt-erx-sfp-initramfs-kernel.bin:

admin@gw:~$ add system image /tmp/openwrt-19.07.7-ramips-mt7621-ubnt-erx-sfp-initramfs-kernel.bin 
Version [v2.0.9-hotfix.1.5371034.210122.1014] is about to be replaced
Are you sure you want to replace old version? (Yes/No) [Yes]: yes
Checking upgrade image...Upgrade image does not support the device. Upgrade failed.

I presume this is something that has changed in Ubiqiuti's v2 firmware; I will try next to switch to EdgeOS v1 and try the openwrt install as above from there. Any other ideas?

I've been successful in getting OpenWRT 19.07.7 running on the ERX-SFP, following the information here: Step by step install openwrt onto edgerouter x? - #2 by pwned and the factory image from https://github.com/stman/OpenWRT-19.07.2-factory-tar-file-for-Ubiquiti-EdgeRouter-x.

As I understand the stman repo readme, the root problem is that the factory image is missing as the openwrt build fails as a result of a slightly-too-large kernel image. stman trimmed the kernel build and graciously provides a working factory tar file from which you can then sysupgrade to a stock openwrt image per the ToH directions. I had to force the sysupgrade as the stman image is for an ubnt-erx and not ubnt-erx-sfp, I switched to latter for the final install as that is the hardware I have.

I will try and update the wiki with this info a little later.

1 Like

Any chance you could take a shot at updating the wiki with this information?

All done: https://openwrt.org/toh/ubiquiti/edgerouter_x_er-x_ka#factory_firmware_installation_method

Loving my newly invigorated EdgeRouter!

1 Like

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