meta-digi/meta-digi-dey/recipes-core/recovery/recovery-utils/recovery-utils
Gabriel Valcazar 85e59417a3 recovery: prevent partition encryption when singlemtdsys is enabled
In legacy NAND platforms like the ccimx6ul, it's possible to use a single-MTD
configuration with dualboot disabled, which allows access to the functionality
provided by the recovery partition. However, the partition encryption feature
requires a multi-MTD configuation, so said feature shouldn't be accessible in
this case.

Prevent access to partition encryption in a single-MTD system by:

    * Adding the "system" partition to the partition blacklist in both the
      recovery-utils library and the recovery initscript.
    * Checking the "singlemtdsys" environment variable before using any
      functionality related to partition encryption.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
2024-07-01 13:27:38 +02:00
..
include recovery: add support to update a specific image set 2022-11-23 17:19:05 +01:00
lib recovery: prevent partition encryption when singlemtdsys is enabled 2024-07-01 13:27:38 +02:00
recovery-reboot recovery: add support to update a specific image set 2022-11-23 17:19:05 +01:00
Makefile meta-digi-dey: add new 'recovery-utils' recipe 2017-01-11 17:51:07 +01:00
README.md meta-digi-dey: add new 'recovery-utils' recipe 2017-01-11 17:51:07 +01:00

README.md

Recovery utils

recovery-utils allows to configure recovery commands and reboot into recovery mode.

Provides:

  • librecovery static library which implements the supported recovery commands.
  • recovery-reboot command line example application to configure and reboot into recovery mode.
  • update-firmware command supporting only the firmware update recovery command.