Currently running OpenWRT 24.10.1 on a Raspberry Pi CM4 using Attended Sysupgrade to apply updates.
I'd like to swap it out for a CM5 as part of an update to 24.10.2. Believing the kernel to be different between the CM4 and CM5 (if I'm wrong on that point, please advise!), I'm not sure the best way to go about updating.
Is there any way as part of an Attended Sysupgrade to switch hardware target platforms as part of the upgrade? If not, is there a suggested approach for this (given the large number of added packages to a base build)?
Hi.
If I understand correctly, you are using two Raspberries, with different hardwares? If so there no way to upgrade from one to another: what you have to do is setup the new one disregarding the old one.
Meanwhile you may want to export the config from the old one and import it in the new one. If the settings can't be directly imported, than you still can copy/paste data from the old one.
Sort of. I have a CM4-based router that I'm planning to update to a CM5 and want to retain my packages and configuration while also moving to 24.10.2.
My current strategy is to use ImageBuilder to create a CM5 firmware with the same packages as my current install, then do a config backup on the running CM4 instance, flash with 24.10.2 built for bcm2712, then restore the config backup.
1 Like