Install openwrt on Teltonika RUTX50

instructions here;a=commitdiff;h=897d55bcdf864f4d40cf50396b963ca240bbc1fc
mention two things:.

  1. Check that primary boot partition is 1 (I upgraded to latest Teltonika but boot partition is still 0). Should I do echo 1 > /proc/boot_info/rootfs/primaryboot ?
    Or how to change it ?

  2. It mentions to copy openwrt-factory.bin to root folder on teltonika device but when I go to downloads for RUTX50 I find openwrt-23.05.3-ipq40xx-generic-teltonika_rutx50-squashfs-sysupgrade.bin
    What file should I use to first install OpenWrt

Thank you

If updates have been installed already and it currently boots from 0, then you can just go ahead and flash the openwrt .ubi file

ubiformat /dev/mtd16 -y -f /tmp/*teltonika_rutx50-squashfs-factory.ubi

1 Like