public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/5] meson64_android: use BCB for reboot reason
@ 2021-07-30  8:55 Mattijs Korpershoek
  2021-07-30  8:55 ` [PATCH 1/5] Revert "ARM: meson: Add support for fastboot_set_reboot_flag()" Mattijs Korpershoek
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Mattijs Korpershoek @ 2021-07-30  8:55 UTC (permalink / raw)
  To: Neil Armstrong; +Cc: u-boot-amlogic, u-boot, Mattijs Korpershoek

The SEI-610 and SEI-510 boards are well supported in the
Android Open Source project via the yukawa [1] platform.

Their U-Boot version, despite being public [2] is not in mainline.

Android has multiple OSes it can boot into:
* Main android
* Recovery OS
* Fastbootd (recovery OS with fastboot mode)
* Bootloader (U-Boot) with fastboot mode

The decision of which OS to boot into is taken by the bootloader based on
the "reboot reason".

For amlogic boards, we pass the reboot reason via a custom smc call.
This support is limited: we don't r

These series reworks the reboot reason handling to use the BCB, which
is the standard Android way.

[1] https://android.googlesource.com/device/amlogic/yukawa
[2] https://gitlab.com/baylibre/amlogic/atv/u-boot/-/tree/u-boot/v2021.07/integ

Mattijs Korpershoek (5):
  Revert "ARM: meson: Add support for fastboot_set_reboot_flag()"
  configs: meson64_android: use BCB for reboot to bootloader
  configs: meson64_android: implement recovery boot via BCB
  configs: meson64_android: reboot to fastbootd from bootloader
  configs: sei610/sei510: set CONFIG_CMD_BCB=y

 arch/arm/mach-meson/board-common.c | 34 -----------------
 configs/sei510_defconfig           |  1 +
 configs/sei610_defconfig           |  1 +
 include/configs/meson64_android.h  | 60 ++++++++++++++++++++----------
 4 files changed, 42 insertions(+), 54 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-07-30 12:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-30  8:55 [PATCH 0/5] meson64_android: use BCB for reboot reason Mattijs Korpershoek
2021-07-30  8:55 ` [PATCH 1/5] Revert "ARM: meson: Add support for fastboot_set_reboot_flag()" Mattijs Korpershoek
2021-07-30  8:55 ` [PATCH 2/5] configs: meson64_android: use BCB for reboot to bootloader Mattijs Korpershoek
2021-07-30  8:55 ` [PATCH 3/5] configs: meson64_android: implement recovery boot via BCB Mattijs Korpershoek
2021-07-30  8:55 ` [PATCH 4/5] configs: meson64_android: reboot to fastbootd from bootloader Mattijs Korpershoek
2021-07-30  8:55 ` [PATCH 5/5] configs: sei610/sei510: set CONFIG_CMD_BCB=y Mattijs Korpershoek
2021-07-30 11:35 ` [PATCH 0/5] meson64_android: use BCB for reboot reason Neil Armstrong
2021-07-30 12:29   ` Mattijs Korpershoek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox