Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
toh:linksys:e8450 [2024/11/22 07:23] – Clarify allowable keys during recovery wayfarertoh:linksys:e8450 [2024/12/05 16:12] – Formatting carlitossuper1
Line 50: Line 50:
  
 Read the advice there and download the initial installation image **...ubi-initramfs-recovery-installer.itb** Read the advice there and download the initial installation image **...ubi-initramfs-recovery-installer.itb**
 +
 +__**Upgrading an UBI installation to new releases after 2024-02 (Includes ALL SNAPSHOTS, 24.10-SNAPSHOTs, 24.10.0-rcX releases and all releases in the foreseable future)**__
 +
 +Since some SNAPSHOTs releases after February 2024, the flash layout of the router moved the FIP and Factory partitions into UBI, and thus, those releases need a new installer. That installer, as of December 2024 is v1.1.3 is available [[https://github.com/dangowrt/owrt-ubi-installer/releases/tag/v1.1.3|here]]. The procedure to upgrdade to Main SNAPSHOTS and newer releases (24.10-SNAPSHOT, 24.10.0-rcX and the future stable 24.10.0) //without keeping the configuration// is the following:
 +
 +1. Download the //unsigned// installed from the link above, and the desired sysupgrade image you want to upgrade to (On Firmware Selector or [[https://downloads.openwrt.org/|OpenWRT's downloads]] page).
 +2. Flash the unsigned installer on Luci > System > Backup/Flash Firmware. Make sure to force the upgrade and uncheck to Keep the configuration!
 +3. The router will reboot into a recovery environment and will be accessible at 192.168.1.1. Go again to Luci > System > Backup/Flash Firmware and flash the desired sysupgrade image. Again, don't keep the configuration.
 +4. The router will reboot on the desired image and is ready to be set up. All future releases can be safely flashed using Luci, Attended Sysupgrade or OWUT unless a new installer is required and is instructed to be flashed.
 +
 +**In case the configuration wants to be preserved:**
 +
 +The configuration between stable 23.05 and MAIN Snapshots and current 24.10-rcX releases is almost identical, but needs some changes, so the procedure to upgrade while keeping the configuration is the following.
 +1. On the stable release, SSH into the router and execute ''uci set system.@system[0].compat_version=2.0'' and ''uci commit''.
 +2. Make a backup of said configuration on Luci > System > Backup/Flash Firmware.
 +3. Delete the following files from the backup file:
 +  * /etc/config/ubootenv
 +  * /etc/fw_env.config
 +4. Flash the //unsigned// 1.1.3 installer like the previous instructions.
 +5. The router will reboot in a recovery environment and then, flash the desired sysupgrade image.
 +6. The router will reboot on the desired image and the backup file can be uploaded in Luci > System > Backup/Flash Firmware.
 +
 +In the event that those files aren't deleted from the backup, those files need to be modified to match the new flash layout and avoid problems on future sysupgrades:
 +- /etc/fw_env.config
 +
 +<webcode name="Default" frameborder=0 width=100% scrolling=yes externalResources="," renderingMode=story >
 +    /dev/ubi0_2 0x0 0x1f000 0x1f000 1
 +    /dev/ubi0_3 0x0 0x1f000 0x1f000 1
 +</webcode>
 +
 +- /etc/config/ubootenv
 +
 +<webcode name="Default" frameborder=0 width=100% scrolling=yes externalResources="," renderingMode=story >
 +
 +  config ubootenv
 +    option dev '/dev/ubi0_2'
 +    option offset '0x0'''
 +    option envsize '0x1f000'
 +    option secsize '0x1f000'
 +    option numsec '1'
 +    
 +  config ubootenv
 +    option dev '/dev/ubi0_3'
 +    option offset '0x0'
 +    option envsize '0x1f000'
 +    option secsize '0x1f000'
 +    option numsec '1'
 +    
 +</webcode>
 +
 +More info about those changes in the files [[https://forum.openwrt.org/t/belkin-rt3200-linksys-e8450-wifi-ax-discussion/94302/5950|here]].
  
 __**non-UBI**__ __**non-UBI**__
  • Last modified: 2024/12/05 16:22
  • by carlitossuper1