Great, there are no clashes with volume names. Backup Your configuration, list of installed packages and OEM kernel
with ubi_rootfs
volumes. These are the instruction to switch to upstream image:
- (optional) Remove
dummy
volume if exists, this is not used by anything in OEM or OpenWrt firmware and it doesn't store any data:
ubirmvol /dev/ubi0 -N dummy
- Download sysupgrade image from OpenWrt snapshots to
/tmp
and unpack it (it's an tar archive). The result should beCONTROL
,kernel
androot
files. - Run following commands:
updatevol /dev/ubi0_0 /tmp/kernel
updatevol /dev/ubi0_1 /tmp/root
ubirename /dev/ubi0 ubi_rootfs rootfs
- If every command above executed without errors run:
fw_setenv openwrt "setenv mtdids nand1=spi_nand; setenv mtdparts mtdparts=spi_nand:-(ubi); ubi part ubi; ubi read 0x84000000 kernel; bootm 0x84000000"
jffs2reset
confirm and reboot.
Now You should have upstream supported image running. Small reminder, the snapshots don't have web interface installed, so initial configuration needs to be done with ssh.
@rayclark If Your volume layout is similar to the one from jpstoppa, You can also follow the instructions above.