]> git.ipfire.org Git - thirdparty/openwrt.git/commit
mvebu: cortexa53: uDPU/eDPU: update active bootscript as well 23017/head
authorRobert Marko <robert.marko@sartura.hr>
Mon, 25 May 2026 19:26:14 +0000 (21:26 +0200)
committerRobert Marko <robert.marko@sartura.hr>
Tue, 26 May 2026 17:35:42 +0000 (19:35 +0200)
commitfb7787803c64fcca1ae3d0a8882c8337c788f058
treec37168c0c7c0164ac3120158468535eee21dab66
parentada2753d6a315b7ff75604342ef69d55b3b418ae
mvebu: cortexa53: uDPU/eDPU: update active bootscript as well

Currently, sysupgrade will only upgrade the unused slot, however since the
whole dual firmware logic is in the bootscript U-boot will just use the
first bootscript it finds.

So, in a case that you are running slot A it will upgrade slot B, however
that means that slot B will be still booted by the old bootscript that came
with the previous firmware version.

This is an issue if you need to change anything, so lets add a custom
function that upgrades the active bootscript as well after flashing the
slot firmware.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
target/linux/mvebu/cortexa53/base-files/lib/upgrade/platform.sh