mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 23:07:00 +00:00
configs: meson64_android: reboot to fastbootd from bootloader
Whenever we test for boot-fastboot in the BCB, it means that Android wants us to boot into recovery with a special mode (fastbootd). Force reboot into recovery in that case. Note: we don't erase the bcb on purpose here: recoveryOS needs to read the BCB as well to know if it boots into regular recovery mode or fastbootd mode. Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Acked-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
This commit is contained in:
parent
72d7c03074
commit
acc53c6ef6
1 changed files with 4 additions and 0 deletions
|
@ -44,6 +44,10 @@
|
|||
"bcb clear command; bcb store; " \
|
||||
"setenv run_fastboot 1;" \
|
||||
"fi; " \
|
||||
"if bcb test command = boot-fastboot; then " \
|
||||
"echo BCB: fastboot userspace boot...; " \
|
||||
"setenv force_recovery 1;" \
|
||||
"fi; " \
|
||||
"else " \
|
||||
"echo Warning: BCB is corrupted or does not exist; " \
|
||||
"fi;" \
|
||||
|
|
Loading…
Add table
Reference in a new issue