summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2025-12-23 15:31:11 +0100
committerTom Rini <[email protected]>2026-01-07 12:31:26 -0600
commit1f131385810fddaeea23c5cf0269497d7e637534 (patch)
tree0c5916f49c9a1964b12f00b21f2ec5df904fab68 /scripts/objdiff
parent88de22a4db03d6dfbc4779bf942383fa390eac34 (diff)
env: Add single to redundant environment upgrade path
Add support for converting single-copy environment to redundant environment. In case CRC checks on both redundant environment copies fail, try one more CRC check on the primary environment copy and treat it as single environment. If that check does pass, rewrite the single-copy environment into redundant environment format, indicate the environment is valid, and import that as usual primary copy of redundant environment. Follow up 'env save' will then store two environment copies and the system will continue to operate as regular redundant environment system. Add test which validates this upgrade path. The test starts with spi.bin which is pre-populated as single-copy environment and then upgrades that environment to dual-copy environment. Signed-off-by: Marek Vasut <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions