diff options
| author | Marek Behún <marek.behun@nic.cz> | 2021-05-28 10:00:49 +0200 | 
|---|---|---|
| committer | Stefan Roese <sr@denx.de> | 2021-06-04 11:32:41 +0200 | 
| commit | 176c3e7760a2e302620b8b12b29f4aa385b86087 (patch) | |
| tree | f280cf847549aec7adabaffb645a64a7a014c552 /lib/efi_loader/efi_image_loader.c | |
| parent | 0b5bb36d13fe416fda29d593ce9ac1152e62186b (diff) | |
arm: mvebu: turris_omnia: support invoking rescue boot from console
Make it possible to invoke rescue boot from U-Boot console, without
having to press the factory reset button. This is needed when accessing
the device remotely, for example.
Achieve this by putting rescue command into `bootcmd_rescue` default
environment variable and setting some distroboot environment variables
to their default values when the factory button is pressed.
Rescue boot from console can be invoked by running
  run bootcmd_rescue
Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'lib/efi_loader/efi_image_loader.c')
0 files changed, 0 insertions, 0 deletions
